Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

condition upload

Former Member
0 Kudos
184

hi christian and all, i while populating the main strucuter bgroo,bkond1 bkond2, i need to populate the KOMG strucutre using vakey ,but i am not getting how it get approprite split and populatee the stru KOMG,

can any one please help me in details.

1 REPLY 1

christian_wohlfahrt
Active Contributor
0 Kudos
70

Hi Deepak!

Either you work with an own structure, defined like the key of your A-Table, our you might use a function module. I prefered the structure, it's less coding lines and easy to understand.

*       Bestimme zugehörigen Objektschlüssel.
* Translation: Get the according object key "CWO
        call function 'SD_CONDITION_KOMG_FILL'
             exporting
                  p_kotabnr =  konh-kotabnr
                  p_kvewe   =  konh-kvewe
                  p_vakey   =  konh-vakey
             importing
                  p_komg    =  i_komg.

Regards,

Christian