cancel
Showing results for 
Search instead for 
Did you mean: 

Customer PO number

Former Member
0 Kudos

Hi,

My requirement is to print customer PO number on the o/p of a smartform based on the delivery number.

The delivery number is already being printed in the o/p.When I checked in debugging mode,this delivery number is being looped twice.The set of values which are coming in the second loop are being printed in the o/p.These set of values are coming in ls_stages-vbeln field(ls_stages is a work area).

Now to get customer PO number,I need to loop ls_stages-vbeln field.How can I do that?

Regards,

Hema

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

declare one global variable and assign the po number to this variable in side the loop . so that u can capture the Purchase ordre no here and u can use that po out side of the loop also, make sure that u r not clearing this variable