04-21-2008 4:50 AM
Hi All,
I have a BDC for update LR Date...
My prob. is that when we create a invoice no. (for ex. 15.04.2008), if we r taken LR date 20.04.2008...it will upload correctly..but when we insert date below 15.04.2008 (or earlier date from invoice created)....it also update correctly...
I want that it should not take earlier date (LR Date) from invoice no (and Invoice Date)..
what should i take condition for it...
Thanks..
Edited by: Prince Kumar on Apr 21, 2008 9:20 AM
04-21-2008 4:58 AM
Hi Prince,
BDC using CALL TRANSACTION or BATCH SESSION can do whatever the original transaction does. So basically the original transaction itself ignores these validations or gives only warning messages.
BDC with No display mode will not display these messages in foreground. So check the original transaction. If the validation is already there and you get a warning message there, Process your BDC in error display mode.
CALL TRANSACTION <tcode> using BDCDATA mode 'E'.
If there is no validation in the original transaction itself, then you will have to identify a user exit to do the validation. that part will be executed even when you are calling it using BDC.
Hope this helps!
Thanks and Regards,
Lakshmi.
04-21-2008 5:11 AM
Hello Prince,
I would suggest you to go for avlidity check before running the BDC.
Please mention the name of the transcation for which you are running the BDC.
I will investigate more into the transcation and let you know the solution.
Regards.
Abhijit.