Application Development 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: 

Parameter ID Issue

Former Member
0 Kudos

Hi Experts,

I have one query. Can anybody suggest me what is the parameter id for IDoc Number?

My requirement is if I select particular idoc number & hit one button it should go BD87 tcode & populating that selected idoc number in BD87.

I tried to check the parameter id for that field it but it is not maintained?

I wrote the below code as considering the parameter id for that field as 'DCN'.

IF NOT ITAB-DOCNUM IS INITIAL.

SET PARAMETER ID 'DCN' FIELD itab-docnum.

CALL TRANSACTION 'BD87'.

ENDIF.

Can you suggest me how I can achieve my requirment becoz its not working??

Regards,

Neha

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello

BD87 - it is report RBDMON00.

Try this way:


SUBMIT RBDMON00 AND RETURN WITH SX_DOCNU-LOW = ITAB-DOCNUM.

8 REPLIES 8

Former Member
0 Kudos

I think there is no parameter id for this, do BDC recording.

Former Member
0 Kudos

Hello

BD87 - it is report RBDMON00.

Try this way:


SUBMIT RBDMON00 AND RETURN WITH SX_DOCNU-LOW = ITAB-DOCNUM.

0 Kudos

Hi Dzed,

That is also not working.

Regards,

Neha

0 Kudos

Check whether itab-docnum is getting the idoc number with leading zeros or not.

0 Kudos

HI Neha,

Dzed's solution should work. What error do you get when you try the submit statement?

Regards,

Ravi

former_member203501
Active Contributor
0 Kudos

parameter ids are stored in table TPARA ..please look into the table...i found there are no parameter ids for the idocs

Former Member
0 Kudos

d

0 Kudos

Hi Neha,

I have the same requirement as yours . Can you tell me what solution you implemented for this requirement? How did you get the parameter ID of DOCNUM field in BD87 transaction?