‎2009 Nov 11 4:43 PM
Hi,
I have to modify a development which uses the BAPI bapi_acc_document_post to create documents, and the thing is that they want to add the field "Planning Level" (BSEG-FDLEV) but i cant find it in any of the structures that this BAPI uses.
Any idea of how to do this?
Slds,
Roberto
‎2009 Nov 11 5:05 PM
Hi,
You have to use parameter 'EXTENSION2' , and you can fill the structure in the BADI ACC_DOCUMENT. If you look at the sample code using the menu path Goto> Sample code you would get some idea on how to do it basically you ahve to pass the structure that you wnat to fill in the structure field of parameter: EXTENSION2 and then map it to the value in the BAPI.
Parameter C_ACCIT would have the field that you want to fill.
Regards,
Himanshu
‎2009 Nov 11 5:05 PM
Hi,
You have to use parameter 'EXTENSION2' , and you can fill the structure in the BADI ACC_DOCUMENT. If you look at the sample code using the menu path Goto> Sample code you would get some idea on how to do it basically you ahve to pass the structure that you wnat to fill in the structure field of parameter: EXTENSION2 and then map it to the value in the BAPI.
Parameter C_ACCIT would have the field that you want to fill.
Regards,
Himanshu
‎2009 Nov 11 5:05 PM
Hi
I think this field is not availble in the BAPI.
But to post the document u can use the standard prorgam RFBIBL00, in this program the field
FDLEV is available.
Regards,
Raghu.