on 07-30-2008 8:20 AM
I have written a BDC for QA01 transaction. when the inspection lot is created a script is getting printed. this script should not be printed when the inspection lot is created using the BDC, but the script should be triggered if it the user manually goes to QA01 and creates a inspection lot. please suggest how can this be achieved.
Cheers!
Prabhu
use this FM to determine if it is running bdc:
CALL FUNCTION 'BDC_RUNNING'
IMPORTING
BI_INFO = BI_INFO " A=Hell, E=Fehler, N=Dunkel
EXCEPTIONS
OTHERS = 1.
Put it in an adecuate enhacement exit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try this:
In your BDC program set some memory id.
In your diriver program read this memory id right at the begining of processing. If memory Id is not initial,
that means the bdc program has been run. So u dont trigger the form. If your driver program is standard one then u have to make it a z- program and do the necessary configurations( in NACE).
At the termination of the BDC program clear the memory id.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.