Application Development and Automation 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: 
Read only

BAPI_ACC_DOCUMENT_POST - WBS element Posting - CJI3.

Former Member
0 Likes
2,002

Hi,

I am posting the Open GL Items through the BAPI 'BAPI_ACC_DOCUMENT_POST'. The document gets posted and also the WBS Element is being shown in the document but when I check in the Transaction CJI3 for the WBS Element the Document that gets posted through the BAPI does not show the Amount posted against it.

Whereas when I create the Documennt Manually it posts the Document with WBS Element and also it shows against the Entry in Transaction CJI3 which shows the respective amount posted against the WBS Element.

Can any one please let me know  what change should I make in my Table fillings in the BAPI which should post the Amount in the Transaction CJI3 against that WBS Element.

Any help would be highly Desirable.

Regards,

Deepak.

Hi,

I am posting the Open GL Items through the BAPI 'BAPI_ACC_DOCUMENT_POST'. The document gets posted and also the WBS Element is being shown in the document but when I check in the Transaction CJI3 for the WBS Element the Document that gets posted through the BAPI does not show the Amount posted against it.

Whereas when I create the Documennt Manually it posts the Document with WBS Element and also it shows against the Entry in Transaction CJI3 which shows the respective amount posted against the WBS Element.

Can any one please let me know  what change should I make in my Table fillings in the BAPI which should post the Amount in the Transaction CJI3 against that WBS Element.

Any help would be highly Desirable.

Regards,

Deepak.

1 REPLY 1
Read only

Former Member
0 Likes
975

Hi,

Since the FM is not throwing the error! Please check the value of WBS element before passing to the FM.  Try to convert the WBS value by using FM CONVERSION_EXIT_ABPSN_INPUT.

try to debug the following code for tracing the issue.

Include : LACC9F20

perform convert_input_psp_element
           using gs_bapi_accit-parameter
                 gs_bapi_accit-tabix
                 gs_bapi_accit-wbs_element
                 gs_accit-ps_psp_pnr.

Thanks,

Kiran