Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: How to fill dynamic fields of a Structure with a Condition?

$
0
0

Hi,

 

I tend to use a macro for this,  something along the lines of:

 

Define Fill_Po.       ls_po_Header-&1 = &2.       ls_po_Headerx-&1 = Abap_True.
End-Of-Definition

And then when you want to populate your structure:

 

Fill_Po: Po_Number '9000000020',         Comp_Code '1000',         Doc_Type  'ZFIT'.

Regards,

 

Rich


Viewing all articles
Browse latest Browse all 8581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>