Question:
Hello,
Please help me while writing a BDC Program i am getting a problem.
In this Transaction there is a POPUP SCREEN 300 .
HOW TO WRITE CODE FOR IT.
EXAMPLE
I WROTE LIKE THIS
PERFORM BDC_DYNPRO USING 'SAPLSPO1' '0300'.
PERFORM BDC_FIELD USING 'BDC_OKCODE' '=YES'.
IT IS WORKING IN FORE GROUND
BUT GIVING PROBLEM IN BACK GROUND
ANY HELP IS APPRICIATED
REGARDS
Answer:
take the recording value instead of =yes for the ok code
bcz some times it takes the code value for these values like /11 for save etc.
Answer:
Thanks for Info.
But in the recording also it =YES.
So i am using the same thing.
It is working fine in fore ground but giving error in back ground
send maore details
Thnaks in advance
Answer:
Thanks
i am getting an error when this program is run in back ground
Control Framework : Fatal Error - GUI Cannot be reached.
i hope now any one can help me out
Answer:
Hi,
Which transaction code are you using?
And also remember that starting 46, we can't use all transactions for BDC's, especially the transactions that end with 'N'. BDC's don't support Control technologies.
Regards,
Sumant.
Answer:
Hi Sumanth
Thanks for Info.
I am using the Transaction Code ML81N.
You so now you can tell why exactly this bdc program is not working in Background.
Can you give some Technical explanation about this.
It will be of more help for me if you can explain in detail.
Thanks once again
Regards
Anitha
Answer:
The problem is that some transactions (and it appears the one you are trying to use is one of these transactions) cannot be run in batch mode as they require GUI controls in order to run.
Since in batch there is no GUI active this transactions cannot be run.
Options to resolve your problem with this transaction are:
1. Use the old transaction number (take the 'N' off of the transaction code) and see if you can perform your BDC on that
2. Find a BAPI or Direct Input program which you can use to perform your data load / change / whatever.
Hope this helps
_________________
Kind Regards
Rosie Brent
Please remember to search the forum and check the FAQ before posting questions, thank you.
Tuly Idiot most of the time, part-time Guru
Answer:
Hi,
If you are creating a service entry sheet you can use "BAPI_ENTRYSHEET_CREATE" to do the same function of the BDC.
Hope this helps.
Regards