03-02-2011 10:30 AM
Hi All,
iam creating & updating Vendor master details through BDC Recording by following syntax
DATA :lt_bdcmsgcoll1 TYPE STANDARD TABLE OF bdcmsgcoll.
DATA opt TYPE ctu_params.
opt-dismode = 'N'.
opt-updmode = 'X'.
opt-cattmode ='N'.
opt-defsize = 'X'.
opt-racommit ='X'.
opt-nobinpt = 'X'.
opt-nobiend = 'X'.
CALL TRANSACTION 'XK01' USING bdcdata OPTIONS FROM opt
MESSAGES INTO lt_bdcmsgcoll1 .
i have given opt-dismode = 'N' then vendor are NOT getting created.When i give opt-dismode = 'A' or 'E' then vendors are getting created / updating .
can any one suggest me how to proceed ?
regards
Fareed
03-02-2011 10:56 AM
Hi Fareed,
in dismode 'E' you should see the 1st screen that causes an error (missing function code or something else).
Regards,
Klaus
03-02-2011 3:34 PM
Run the program with mode A and check any warning messages are coming and analyse why the messages are coming.
03-02-2011 10:24 PM
Hi Fareed
>
opt-updmode = 'X'.
The update mode should be either:
A, S, L or blank.
Please see help excerpt below:
The UPDATE addition determines the processing mode for batch input processing. You can specify a character-type object for upd. Its possible content and its effect are displayed in the following table. Without use of one of the additions UPDATE or OPTIONS FROM, the effect is the same as if upd had the content "A".
"A" Asynchronous update. Updates of called programs are executed in the same way as if in the COMMIT WORK statement the AND WAIT addition was not specified.
"S" Synchronous processing. Updates of the called programs are executed in the same way as if in the COMMIT WORK statement the AND WAIT addition had been specified.
"L" Local update. Updates of the called program are executed in such a way as if the SET UPDATE TASK LOCAL statement had been executed in it.
Kind regards,
Robert
03-03-2011 5:55 AM
Hi Fareed,
opt-dismode 'N' is for Back-ground processing, so if you specify opt-dismode = 'N' you can not Create or Update vendor master.
Instead you you can proceed with opt-dismode = 'A' (Create/Update) or 'E'(Eror Display).
Regards,
Renuka
Edited by: renu1ece on Mar 3, 2011 6:57 AM