04-02-2009 8:47 AM
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
04-02-2009 8:55 AM
Hello
BD87 - it is report RBDMON00.
Try this way:
SUBMIT RBDMON00 AND RETURN WITH SX_DOCNU-LOW = ITAB-DOCNUM.
04-02-2009 8:50 AM
04-02-2009 8:55 AM
Hello
BD87 - it is report RBDMON00.
Try this way:
SUBMIT RBDMON00 AND RETURN WITH SX_DOCNU-LOW = ITAB-DOCNUM.
04-02-2009 9:23 AM
04-02-2009 9:28 AM
Check whether itab-docnum is getting the idoc number with leading zeros or not.
04-02-2009 9:36 AM
HI Neha,
Dzed's solution should work. What error do you get when you try the submit statement?
Regards,
Ravi
04-02-2009 9:27 AM
parameter ids are stored in table TPARA ..please look into the table...i found there are no parameter ids for the idocs
01-15-2010 6:22 AM
02-19-2012 5:13 PM
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?