2007 Nov 28 1:53 PM
Hi,
We have two custom fields created under the address data section of the vendor and coded a BDC to update the same for the existing vendors. The problem is the screen sequence is varying,
1) while we run the transaction XK02 directly and give vendor number and check the address checkbox and hit enter the screen number 110 is appearing
2)But when we record the above in SHDB, the screen number 111 is appearing.
The two screens have varying fields and though the BDC updates the two custom fields successfully, the XK04 change log for the vendor shows a log *deleted* for most of the fields in 0110 screen since the BDC runs for screen 111 and not 110. Why is this screen variation occuring?This is stopping us from running the BDC any further. Please let me know what could be the issue here.
Regards,
Prabaharan.G
2007 Nov 28 2:05 PM
hi Prabaharan,
it is because transaction work differently in background and foreground. Using CALL TRANSACTION (instead of BDC session method) you can turn this off and all transaction will have screens like in foreground.
First you have to turn this off in SHDB, when you record the transaction (tick 'No BI session'), than you have to use CALL TRANSACTION that OPTIONS-NOBINPT is set to X
hope this helps
ec
2007 Nov 28 2:24 PM
Hi Eric,
That was really helpful and informative. Thanks.
Regards,
Prabaharan.G