2010 Apr 26 5:20 PM
Hello Experts,
I am creating an upload program to post Invoice using BAPI_ACC_DOCUMENT_POST. The file which the Upload Program process has a field for "Personal Number (BSEG-PERNR). However the BAPI_ACC_DOCUMENT_POST does not have the field BSEG-PERNR in any of it's structures. Can anybody please let me know how can I populate this field?
I greatly appreciate your help.
Thanks.
Do I have to use 'Extension' for this? Has anybody already implemented something like this? Please let me know.
Thanks.
Edited by: dev a on Apr 26, 2010 11:08 AM
Hello Experts,
I am creating an upload program to post Invoice using BAPI_ACC_DOCUMENT_POST. The file which the Upload Program process has a field for "Personal Number (BSEG-PERNR). However the BAPI_ACC_DOCUMENT_POST does not have the field BSEG-PERNR in any of it's structures. Can anybody please let me know how can I populate this field?
I greatly appreciate your help.
Thanks.
Do I have to use 'Extension' for this? Has anybody already implemented something like this? Please let me know.
Thanks.
Edited by: dev a on Apr 26, 2010 11:08 AM
2010 Apr 26 11:16 PM
2010 Apr 27 5:55 AM
Use extension1 structure for your requirement.
Eg.
clear wa_extension.
concatenate wa_acc_item-item_no wa_acc_item-<pernr> into wa_extension-field1.
append wa_extension to it_extension.Implement the BTE "RWBAPI01" (Which uses the function module :SAMPLE_INTERFACE_RWBAPI01) , to read the extension1 data and update in the structure ACCIT-PERNR. Copy the function module mentioned above, do the coding as per your requirement and assign this function module to the BTE.
Regards
Vinod
2010 Apr 27 6:04 AM
Hi,
u can copy the standard bapi as a custom (Z****), then u can add the structure with that field and do the necessary code using input parameters.
Thanks
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |