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

problem with bdc

Former Member
0 Likes
476

hi,

I have done a recording in shdb for fb02.i want to change the header text in fb02.my recording works fine if i hit process(after saving the recording).now i wrote a program for this recording..here there is a problem...all the screens are working ...in the screen where i pass data to header text ..it is required to hit the enter button twice ..if i do this the bdc is working good..can any one help me in solving this issue..

thanks,

challa.

3 REPLIES 3
Read only

Former Member
0 Likes
441

Hi Challa,

It is not recommended to write a BDC for FB02 or FB01. As there are lots of checks based on the account type and the same screen is used for all accounting entries.

You better use the BAPI for this. BAPI_ACC_GL_POSTING_POST

Regards,

Atish

Read only

0 Likes
441

Hi Atish,

Thank You.

Actually i used bapi_acc_document_post to adjust a account document(belnr1).now this bapi creates a account document(belnr2)now i want to pass this belnr2 in the header text of belnr1 so that belnr1 will not to be adjusted again.can u help me in this...

Thanks,

Bhaskar.

Read only

0 Likes
441

Hi Bhaskar,

have you tried with the BAPI I suggested?

Regards,

Atish