‎2008 Oct 22 6:47 PM
Dear experts,
I try to post the following coding:
SET PARAMETER ID 'RBN' FIELD '9600000000'.
CALL TRANSACTION 'MIR6' AND SKIP FIRST SCREEN.
when I execute this program, the Document number field is blank in MIR6,
I try to press F1 in the Document number,the Parameter ID is RBN,
which I use correcly in my coding. Can anyone tell me why data is not passed in the Document number field in MIR6?
If I use the load program in that case its going to shortdump
Regards,
Sam
‎2008 Oct 22 7:05 PM
Document number is a select option.You cannot fill it by SET parameter ID.instead you have to use
SUBMIT <reportname> WITH param1 = ''
SUBMIT SAPMM08N WITH SO_BELNR-LOW = '9600000000'.
‎2008 Oct 22 7:07 PM
Hi,
Pass the value to a variable. This variable must have the same data type that has the parameter id RBN and then pass it to the parameter id.
something like this :
data var1 type ....
set parameter id 'RBN' field var1.
regards,
Advait
‎2008 Oct 22 7:21 PM
Hi,
I got the same in my system, maybe because there are a lot of subscreens(this subscreens are selections-screens) or there is any "FREE" statament in the PBO screens.
Regards,
Alexandre
‎2008 Oct 22 7:40 PM
you need to pass many parameters like year, company code, vendor. instead you can call MIR4. why can't you try that.
‎2008 Oct 22 8:00 PM
Hi,
SET PARAMETER ID should work for SELECT-OPTIONS also.
As per SAP Help:
On a selection screen, you link fields to parameters using the MEMORY ID addition in the PARAMETERS or SELECT-OPTIONS statement. If you specify an SPA/GPA parameter ID when you declare a parameter or selection option, the corresponding input field is linked to that input field.
Refer to the Link:
http://help.sap.com/saphelp_nw04/helpdata/EN/9f/db9e0435c111d1829f0000e829fbfe/content.htm