2009 Mar 02 2:24 AM
Hi,
I'm currently working on an LSMW using BAPI to create PO. The name of the BAPI is BAPI_PO_CREATE1.
I'd like to extend the field using "ExtensionIn" dictionary reference "BAPIPAREX". Please let me know how do I fill the values in the following fields in LSMW.
Parameter fields:
STRUCTURE Structure name of BAPI table extension
VALUEPART1 Data part of BAPI extension parameter
VALUEPART2 Data part of BAPI extension parameter
VALUEPART3 Data part of BAPI extension parameter
VALUEPART4 Data part of BAPI extension parameter
I tried to fill the structure name "BAPIPAREX" in the strucure but how do the fields in this structure be mapped to Valuepart1.
Please let me know in case of any issues.
Thanks,
Ramky.G
Hi,
I'm currently working on an LSMW using BAPI to create PO. The name of the BAPI is BAPI_PO_CREATE1.
I'd like to extend the field using "ExtensionIn" dictionary reference "BAPIPAREX". Please let me know how do I fill the values in the following fields in LSMW.
Parameter fields:
STRUCTURE Structure name of BAPI table extension
VALUEPART1 Data part of BAPI extension parameter
VALUEPART2 Data part of BAPI extension parameter
VALUEPART3 Data part of BAPI extension parameter
VALUEPART4 Data part of BAPI extension parameter
I tried to fill the structure name "BAPIPAREX" in the strucure but how do the fields in this structure be mapped to Valuepart1.
Please let me know in case of any issues.
Thanks,
Ramky.G
2009 Mar 02 6:12 AM
you can try this way, your new fields which table added , below example is VBAP
move 'BAPE_VBAP' to lwa_extensionin-structure.
lwa_bape_vbap-posnr = sd_item_ls-itm_number.
lwa_bape_vbap-yy_slotid = lv_slotid.
move lwa_bape_vbap-yy_slotid to lwa_bape_vbap-yy_slotid.
move lwa_bape_vbap to lwa_extensionin-valuepart1.
append lwa_extensionin to extensionin_lt.
clear: lwa_extensionin,
2009 Mar 02 9:57 AM
HI,
Check below link, it may be helpful for you.
Thanks,
Asit Purbey.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |