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

Reg: BDC for FB01

Former Member
0 Likes
1,293

Hi,

I have an requirement where in to create BDC for FB01 for posting documents. The module-pool application calls this BDC as session via application tool bar button. The problem i face is in the BDC created for FB01 for simulation as session method.

I have recorded the program and is working perfectly, but the session goes for error in the final screen as not able to press back button to end simulation as message pop s up staing not defined in batch input.

But in Call transaction i am able to simulate and press back button to go back. SInce clients wants session method, Please suggest your views on this.

Hi,

I have an requirement where in to create BDC for FB01 for posting documents. The module-pool application calls this BDC as session via application tool bar button. The problem i face is in the BDC created for FB01 for simulation as session method.

I have recorded the program and is working perfectly, but the session goes for error in the final screen as not able to press back button to end simulation as message pop s up staing not defined in batch input.

But in Call transaction i am able to simulate and press back button to go back. SInce clients wants session method, Please suggest your views on this.

4 REPLIES 4
Read only

kamesh_g
Contributor
0 Likes
883

HI

Insession method total data will be update at time .

in call transaction record by record wil update

because of this you are getting BACK in call transaction .

IN session method you have EXIT from the session when u occur error in last screen .

is the last screen is your custom screen or standard screen?

Edited by: KAMESH G on Feb 24, 2009 7:39 AM

Read only

Former Member
0 Likes
883

Hi,

When a you record a transaction the recodring as to be completed till you go back to your original screen or until the documnet is created .

And other suggestion

Use BAPI rather than using recording and doing call transaction

You can use BAPI -BAPI_ACC_DOCUMENT_POST.this increases the performance and also these type of errors will not occur

Regards,

Amitteja

Read only

naveen_inuganti2
Active Contributor
0 Likes
883

Hi,

I dont think you need to press the BACK button, also no need to record it for simulate option,

As we know to post the documnet record the SAVE button.

and to simulate the Document, just press the simulat eoptuion in the menu bar.

And the document will automatically simulates. If you press back button it will rollout the work.

So there is no need to press the BACK button to simulate just leave by pressing the simulate option.

It will comes back automatically by simulating the document you can check the same in Call transaction NO-DISPLAY mode.

And ,

And if there is any error while simulationg the document anyway the log can capture that error, right?

All the best and Dont forget to update your solution here.

Thanks,

Naveen Inuganti.

Read only

Former Member
0 Likes
883

Hi

Use the following FMs to post the FI documents.(for Tcodes FB01, FBS1 etc) Its very useful and you need to just pass all the data need to post a document.

POSTING_INTERFACE_START

POSTING_INTERFACE_DOCUMENT

POSTING_INTERFACE_END

Regards

Senthil