Ich hab mein Problem selber lösen können:
Ich hab zwei Sachen nochmals in eine @If-Schleife gepackt!!!!
FIELD OrigEndTime:=OrigEndTime;
FIELD Archivja:=Archivja;
FIELD ArchEndTime:=ArchEndTime;
FIELD Status:=Status;
FIELD Statusi:=Statusi;
FIELD Statusr:=Statusr;
@If(beschreibung = "";@Return(@Prompt([OK];"Error";"you must input a specification."));
Group = "";@Return(@Prompt([OK];"Error";"you must input a group."));
CreateDate="";@Return(@Prompt([OK];"Error";"you must input an end date."));
@Do(@If(Group = "0.) Info";@If(Statusi="";
@Return(@Prompt([OK];"Error";"you must input a status."));@Do(@SetField("Statusr" ;"");@SetField("Status";Statusi);@Success));@Success);
@If(Group != "0.) Info";@If(Statusr="";
@Return(@Prompt([OK];"Error";"you must input a status."));@Do(@SetField("Statusi" ;"");@SetField("Status";Statusr);@Success));@Success);
@If(Statusr="4.) Finished Customer";@Do(@If(Archivja="False";@SetField("ArchEndTime";@Today);@Success);@SetField("Archivja";"True"));@Success);
@If(@IsNewDoc ;@SetField("CreateDate_1";CreateDate);@Success);@PostedCommand([FileSave]); @PostedCommand([FileCloseWindow])))