‎2007 Feb 17 9:35 AM
hi guys,
i have developed a report which updates me 12 and me 22 using call transactions
both at a time but when i am running this report in fore ground its updating fine but when i am running in back ground its not updating.
i used this syntax -
CALL TRANSACTION 'ME12'
USING i_bdcdata
MODE 'A'
UPDATE 'S' MESSAGES INTO IT_MESSAGES.
REFRESH i_bdcdata
CALL TRANSACTION 'ME22'
USING i_bdcdata
MODE 'N'
UPDATE 'A' MESSAGES INTO IT_MESSAGES.
can any one please help and do you think we can run 2 transactions in back ground at a time.
Thanks
pavan
‎2007 Feb 17 9:42 AM
Hi,
Keep both the programs mode in 'N' mode.
that is in the background mode...
then run ur report....
Cheers,
Simha.
‎2007 Feb 17 9:42 AM
Hi,
Keep both the programs mode in 'N' mode.
that is in the background mode...
then run ur report....
Cheers,
Simha.
‎2007 Feb 17 9:48 AM
i am sorry narasimha, actually i put both the modes in N i.e no screen only and running but its not updating.
Do u think any other reason why its not updating
Thanks
pavan
‎2007 Feb 17 9:56 AM
Hi,
Just check it in debugging mode..
U can be able to track it very easilyy...
If there is a problem..
Paste ur piece of code....
Cheers,
Simha.
‎2007 Feb 17 10:08 AM
Hi Pavan,
Please record the transaction again and check you have missed to call some screen or fill some screen field during the call transaction.
In foreground we ignore this but this has impact in the background and so it does not do complete the process completely.
Please check if you have missed any confirmation popup at the end of the recording and add it in your code.
Regards,
George
‎2007 Feb 17 10:10 AM
I think you are using 6.0 in this versions SAP came with Active X Controls which we can't run in back ground.
so that we need to go for BAPIS
1) try for these BAPI_INFORECORD_GETLIST for ME12
2) And BAPI_PO_CHANGE For ME22
bye
‎2007 Feb 17 10:25 AM
hi anil kumar,
i never used BAPI's can you please tell me how to use these BAPI's by sending a piece of code especially for ME12 and ME22.
Thanks and waiting for your reply
Pavan kumar
‎2007 Feb 17 11:17 AM
‎2007 Feb 20 2:05 PM
Hi,
Can you try doing a COMMIT WORK and WAIT after the first call transaction in case table i_messages does not have any error, and then have the second bdc
Regards,
Anil.