‎2007 Oct 01 12:50 AM
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.
‎2007 Oct 01 12:58 AM
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
‎2007 Oct 01 1:22 AM
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.
‎2007 Oct 01 1:26 AM
Hi Bhaskar,
have you tried with the BAPI I suggested?
Regards,
Atish