Is this simple code correct?Hello,I was wondering if someone could just confirm whether I got the logic right for the following code.Ist should do this:Exclude (by setting sy-subrc to 4) whenat current date,the sales ststus(MVKE-VMSTA ) is N1 or Z2 A

来源:学生作业帮助网 编辑:作业帮 时间:2024/10/03 07:31:42
Is this simple code correct?Hello,I was wondering if someone could just confirm whether I got the logic right for the following code.Ist should do this:Exclude (by setting sy-subrc to 4) whenat current date,the sales ststus(MVKE-VMSTA ) is N1 or Z2 A
xAn0E2]b *NB#'ɎkT9T\ @VC/Rlzv#H~5H\! HBL/b޼EaA1:G+ Ȕh*59KiK 8FPf%3rU8X֖76"&y=[ tkiۡza3p(-xri\8<$ͻq&͇p|I Ao3uuNӳNA؋R3jm<u.yZ9nGu c%y+xZǼ\;j5}$^/{N' mgv}:=h<%Qr]ɱ}IXXJ:4ir_5H:#Pΐ*t(:(wA.&zM;n9(d +52 fg%@uUqˬ!Jd?arudeʚ .J XuC:򋕐χ￾}~`R%6

Is this simple code correct?Hello,I was wondering if someone could just confirm whether I got the logic right for the following code.Ist should do this:Exclude (by setting sy-subrc to 4) whenat current date,the sales ststus(MVKE-VMSTA ) is N1 or Z2 A
Is this simple code correct?
Hello,I was wondering if someone could just confirm whether I got the logic right for the following code.Ist should do this:Exclude (by setting sy-subrc to 4) whenat current date,the sales ststus(MVKE-VMSTA ) is N1 or Z2 ANDMMPP status (MARC-MMSTA ) is 11 or 01 ANDplant stock unrestricted (MARD-LABST ) is zero IF SYDATUM LE MVKE-VMSTD AND MVKE-VMSTA = 'N1' or MVKE-VMSTA = 'Z2' AND MARC-MMSTA = '11' or MARC-MMSTA = '01' AND MARD-LABST = 0.SY-SUBRC = 4.ENDIF.I'm worried whetehr all these AND OR statements will work in the sequence that I want them to...

Is this simple code correct?Hello,I was wondering if someone could just confirm whether I got the logic right for the following code.Ist should do this:Exclude (by setting sy-subrc to 4) whenat current date,the sales ststus(MVKE-VMSTA ) is N1 or Z2 A
Oh right,Thanks I didn't realise brackets could be used in statements.I suppose they would have the same relevance as when used for numeric statements i.e.process the brackets frist then do the rest...Thanks again!查看原帖>>