‎2010 Nov 12 11:26 AM
hi guys,
CALL TRANSACTION 'LT31' USING IT_BDCTAB MODE 'N' MESSAGES INTO it_msg.
WRITe:/ SY-SUBRC.
here i am getting sy-subrc is 1.001 . what does this mean? can any one please explain?
‎2010 Nov 12 11:44 AM
‎2010 Nov 12 11:28 AM
Hi,
sy-subrc = 1.001 means transaction not completed with the given data, this may be due to wrong data passed.
Analyze internal table, you will come to know of the error.
Regards
Nicole
‎2010 Nov 12 11:44 AM
‎2010 Nov 12 12:03 PM
Hi raymond,
when i am trying to run call transation mode A it is excuting means there sy-subrc is 0. when i am excuting with mode N then only i am getting this probelm .
‎2010 Nov 12 12:12 PM
‎2010 Nov 12 12:17 PM
hi raymond,
ya i am getting status message after excuting that transaction . liking printing successfully completed. whem am trying in mode E also I am getting the status message like success.
CALL TRANSACTION 'LT31' USING IT_BDCTAB MODE 'N' MESSAGES INTO it_msg.
when am in debugging mode system doesnot going to that particular transaction it directly coming out of that transaction.
‎2010 Nov 12 12:19 PM
Hi,
Please use the sy-batch option with the call transaction .
Hope this will solve your problem.
With Regards,
Sumodh.P
‎2010 Nov 12 12:21 PM
‎2010 Nov 12 12:42 PM
Hi,
Below is the sample code.
data begin of bdcdata occurs 20.
include structure bdcdata.
data end of bdcdata.
data begin of messtab occurs 10.
include structure bdcmsgcoll.
data end of messtab.
data : options type ctu_params.
options-UPDMODE = 'S'.
options-NOBINPT = 'X'.
call TRANSACTION 'VF03' using bdcdata OPTIONS FROM options MESSAGES INTO messtab.
Here you can see that the NOBINPT eq 'X'.
Try with this.
Hope this might help to solve your Problem.
With Regards,
Sumodh.P
‎2010 Nov 12 12:51 PM
Hi,
If you run in the BDC in foreground mode you may be getting some warning messages.
These warning messages could be a reason for failure in backgroung mode.
Change your recording so that there should not be any warning messages in forground also.
Regards
Praveen
‎2010 Nov 15 5:59 AM
‎2010 Nov 15 6:24 AM
It would be great, if you could let the people who tried to help you, and others know how you solved your problem, and if any of the suggestions given above helped you.
Vikranth
‎2010 Nov 15 10:16 AM
H i vikranth ,
raymond answer is very helpful to me.. he given me suich a great answer.
‎2010 Nov 15 10:53 AM
Well then you should be assigning the ponits to Raymond and not me
Vikranth