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

error while calling call transaction ?

Former Member
0 Likes
1,379

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?

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,321

Are you in debug mode or did you put a break-point in the called transaction, in all cases look at SAP [CALL TRANSACTION online hel|http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION.htm]p, 1001 is Error in batch input processing.

Try to call the transaction in mode 'A' or 'E'.

Regards,

Raymond

13 REPLIES 13
Read only

Former Member
0 Likes
1,321

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

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,322

Are you in debug mode or did you put a break-point in the called transaction, in all cases look at SAP [CALL TRANSACTION online hel|http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION.htm]p, 1001 is Error in batch input processing.

Try to call the transaction in mode 'A' or 'E'.

Regards,

Raymond

Read only

0 Likes
1,321

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 .

Read only

0 Likes
1,321

Do you get status message when executing in mode 'A', also remove every break-point/debug mode in mode 'N'. Try also mode 'E'.

Regards,

Raymond

Read only

0 Likes
1,321

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.

Read only

0 Likes
1,321

Hi,

Please use the sy-batch option with the call transaction .

Hope this will solve your problem.

With Regards,

Sumodh.P

Read only

0 Likes
1,321

hi sumodh ,

can you please explain me briefly ?

Read only

0 Likes
1,321

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

Read only

0 Likes
1,321

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

Read only

0 Likes
1,321

hi every one

my probelm is solved . Thank you to every one.

Read only

0 Likes
1,321

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

Read only

0 Likes
1,321

H i vikranth ,

raymond answer is very helpful to me.. he given me suich a great answer.

Read only

0 Likes
1,321

Well then you should be assigning the ponits to Raymond and not me

Vikranth