2009 Feb 24 6:25 AM
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.
2009 Feb 24 6:38 AM
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
2009 Feb 24 6:47 AM
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
2009 Feb 24 6:40 AM
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.
2009 Apr 09 3:09 PM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |