Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC Problem

Former Member
0 Likes
904

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
822

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.

6 REPLIES 6
Read only

Former Member
0 Likes
822

are you passing '00' or just space ?

Read only

Former Member
0 Likes
823

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.

Read only

Former Member
0 Likes
822

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

Read only

Former Member
0 Likes
822

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

Read only

vinod_vemuru2
Active Contributor
0 Likes
822

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.

Read only

Former Member
0 Likes
822

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