‎2008 Feb 19 12:54 PM
Hi all
I am writing a BDC for MN05 to Lock the Vendors for this i have to remove the Dispatch time of a particular vendor
While writing the BDC when i remove the Dispatch Time and press save it shows warning give dispatch time and then i press enter it says record saved which i need
Suppose Dispatch time for any vendor is 4 when i run that BDC it is not changing the dispatch time to blank
Please suggest sumthin <REMOVED BY MODERATOR>
Regards
Hitesh
Edited by: Alvaro Tejada Galindo on Feb 19, 2008 3:28 PM
‎2008 Feb 19 1:02 PM
Hi Hitesh Batra,
See the following procedure
First goto MN05 tcode press F1 in the Dispatch Time field and press Technical information (F9) button a window will be displayed in that see the Screen-field (Last one) name.
Now in your program write a condition
if Screen-fiend name ne 4.
clear screen-field name.
endif.
Then pass the value to the BDC
Regards,
Mahi.
‎2008 Feb 19 12:57 PM
‎2008 Feb 19 1:02 PM
Hi Hitesh Batra,
See the following procedure
First goto MN05 tcode press F1 in the Dispatch Time field and press Technical information (F9) button a window will be displayed in that see the Screen-field (Last one) name.
Now in your program write a condition
if Screen-fiend name ne 4.
clear screen-field name.
endif.
Then pass the value to the BDC
Regards,
Mahi.
‎2008 Feb 19 1:06 PM
Hi Hitesh,
Please check the date format of MN05 traansaction
Also while recording if its mendatory field then enter date 00 in that format. And you need to change the upload file according to that.
If its not mendatory field then you can pass SPACE.
If u have still doubt, revert back.
<REMOVED BY MODERATOR>
Sachin
Edited by: Alvaro Tejada Galindo on Feb 19, 2008 3:29 PM
‎2008 Feb 19 1:10 PM
Hi Sachin and Mahi
Actually my problem is it is not mandatory still when manually i am passing the blank it is taking when i am running a BDC for that it is not taking blank
can u please help
regards
Hitesh
‎2008 Feb 19 1:18 PM
Hi Hitesh,
Is ur recording successfull? I mean when u process ur BDC recording(Explicitly) is it updating the database?. If yes then you can ignore the warning messages. BDC will not consider warning messages. U can also specify UPDATE mode as 'S'(Synchronous) or do an explicit commit work if ur call transaction is successfull.
Second thing u need to check is format of the field. U can check this in ur recording it self. Go to that table field and check the data type. If it is char then u can pass space. If it is TIMS then try to pass '000000'.
Thanks,
Vinod.
‎2008 Feb 19 9:22 PM
Hello Hitesh,
I guess if you give nothing the time will be defaulted. So, when you are passing 'blank', it is again getting the default time. So, rather then passing 'blank' try passing '000000' so that the time gets overwritten to '0'. Not sure though if this works.
Please verify the same.
Regards,
Pavan