‎2008 Jan 03 12:31 PM
hi guys
happy new yr..
i need ur help ..ver urgent....
my bdc session program is working fine in foreground,giving the following output';
_TRANSACTION MIR4 returncode: 0 RECORD: 0
I Document 2007 is being reversed
W Document date and posting date are in different fiscal years
W Net due date on 19.09.2006 is in the past
*S Document 5106733906 2007 was deleted and created again under 5107082600 2008
but wen i run the same in background with the same variant,I am getting the following error
CALL_TRANSACTION MIR4 returncode: 1.001 RECORD: 0
I Document 2007 is being reversed
S Control Framework: Fatal error - GUI cannot be reached
A Runtime error RAISE_EXCEPTION has occurred
I am new to debbuging session in backgroung,so do tell me steps to debugg session in backgroung ,so that i can close this issue soon...
let me know wat is the reason for the above error..
thanks in advance..
minu
‎2008 Jan 03 12:43 PM
Hi Madhavi,
Wish you the same and welcome to SDN family.
Now the thing is while debugging in call transaction when ever controller reaches to call transaction syntax then double click on MODE. It will display the mode(either A/N/E) Make it as A and press F6. Now check the data.
Remember mode should be declared as DATA.
Hope this helps you. Reply for queries, shall post the updates.
Regards.
Kumar.
‎2008 Jan 03 3:47 PM
Hi,
Actually my bdc session program was written in ECC5.0, for MIR4 transaction,
now when i am running the same program in ECC 6.0 in frontend I have no issues,but when running in Background i.e in mode 'N'.I am getting error that, " Batch input is unable to take the data".
I think there is some variation of screens of MIR4 in ECC6.0 when compared to ECC 5.0,
so do sujjest a solution or a SAP note.
‎2008 Jan 03 12:45 PM
Hi Madhavi,
This error RAISE_EXCEPTION is due to custum containers used in transaction, Thisa can't be handle in BDC seesion method in background.
This can be handle in Call Transaction method only. try call transaction method.
Reward points if helpful
Thanks & Regards
RK
‎2020 Aug 08 2:03 PM
MIR4 is a ENJOY transaction, so BDC (Call Transaction) will not work in background mode.
If ran in background mode you will end up getting following error message :
"Control Framework: Fatal error - GUI cannot be reached"
‎2022 May 30 1:22 AM
Is there a BAPI that performs the accounting of the MIR4 to be able to invoke it in an ABAP program and to be able to execute it in the background?
‎2022 May 30 1:45 AM
Could someone please tell me if, despite the fact that this bapi "MRM_INVOICE_PREPARE_AND_POST" is not released, it works correctly? please a person with experience in use.