Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A


hi all,

i have problem with AT NEW COMMAND.

IF THE BELNR IS DIFFERENT THEN IT SHOULD goto prps-post1 and pass post1 to

gt_line_item-postl, if the same belnr repeats 2 times varaible.

at new command is not working

please see my code as below.

gt_line_item-BELNR = bseg-belnr.

at new belnr.

gt_line_item-post1 = prps-post1.


gt_line_item-name1 = gt_lfa1-name1.

please help me if the belnr is same as previoue belnr it should not goto post1 filed,

Former Member
Not what you were looking for? View more on this topic or Ask a question