on 09-21-2005 5:30 AM
Hai guru's,
i want to set a parameter id for screen field which exists on BD87 transaction, i know that if dataelement contains parameter id (example vbeln has parameter id 'AUN' and we can pass parameter value as
SET PARAMETER ID 'AUN' FIELD FIELD-VAL.),If a data element does not contain parameter id how to set that...
if any of you people overcome this kind of problem, plz reply to this query.
thanks in advance
innu.
Hi,
Did you tried as I told?
Use submit statement.
Submit RBDMON00 with field in value and return.
<b>Just try giving the changed_on field in submit.</b>
Kindly reward points by clicking the star on the left of reply if you find it as useful.
Message was edited by: Jayanthi Jayaraman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sx_docnu is a select-option
SUBMIT RBDMON00 WITH sx_docnu<b>-low</b> = sel_field-value
else.
DATA: rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab .
rspar_line-selname = 'SX_DOCNU'.
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = '<idoc number>'.
APPEND rspar_line TO rspar_tab.
SUBMIT RBDMON00 WITH SELECTION-TABLE rspar_tab .
Regards
Raja
Hai durai,
thanks for the reply,but its not working...(if u feel free try it on ur system)
and one more thing is that i tried in the following way
bdctab-program = 'RBDMON00'.
bdctab-dynpro = '1100'.
bdctab-dynbegin = 'X'.
append bdctab.
bdctab-fnam = 'SX_DOCNU-LOW'.
bdctab-fval = sel_field-value.
append bdctab.
bdctab-fnam = 'BDC_OKCODE'.
bdctab-fval = 'ONLI'.
append bdctab.
call transaction 'BD87' using bdctab .
this is working fine but if i add mode as 'N' Then
its not showing the transaction
innu.
Hi,
U have mentioned that u dont have parameterid then y u r CALLING transaction u can
SUBMIT PROGRAM
The SUBMIT statement executes a report from within a report. i.e. you could have a drill-down which
calls another report. Can only execute reports of type '1'.
*Code used to execute a report
SUBMIT Zreport.
*Code used to populate 'select-options' & execute report
DATA: seltab type table of rsparams,
seltab_wa like line of seltab.
seltab_wa-selname = 'PNPPERNR'.
seltab_wa-sign = 'I'.
seltab_wa-option = 'EQ'.
* load each personnel number accessed from the structure into
* parameters to be used in the report
loop at pnppernr.
seltab_wa-low = pnppernr-low.
append seltab_wa to seltab.
endloop.
SUBMIT zreport with selection-table seltab
via selection-screen.
*Code used to populate 'parameters' & execute report
SUBMIT zreport with p_param1 = 'value'
with p_param2 = 'value'.
Other additions for SUBMIT
*Submit report and return to current program afterwards
SUBMIT zreport AND RETURN.
*Submit report via its own selection screen
SUBMIT zreport VIA SELECTION-SCREEN.
*Submit report using selection screen variant
SUBMIT zreport USING SELECTION-SET 'VARIANT1'
You requirement is not clear. Are you trying to call BD87
with SUBMIT through your custom program????
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hai sunjay,
i have a list which displays idoc results(based on requirement)in hierarchial list.when i select one idoc that should navigate to bd87 transaction without showing selection screen with result, same way when i click on back button in bd87 result screen i must navigate to my list.
innu
Hi,
U will be using
SET PARAMETER ID 'AUN' FIELD FIELD-VAL
, when u want to
CALL TRANSACTION BD87 AND SKIP FIRST SCREEN.
Before calling a transaction u want to pass values for the default screen fields, so for that we will set parameter id.
In case if u dont have the PARAMETER-ID for a particular field then it is better to
SUBMIT PROGRAM programname...
This is the way u have to do if u dont have parameter id.
To check the program name goto the transaction in that system> status > u can find the program name.
Hope this helps u, Kindly reward points and close the thraed if ur problem got solved or kindly revert back.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When u use
<b>SKIP FIRT SCREEN</b>
after the CALL TRANSACTION u wont be getting the selction screen it will directly go to the next screen.
Make sure that u pass all the default values in the transaction.
Also see to that the values u r passing are not blank.
Eg:
WHEN 'MATNR'.
IF lv_lines EQ 0 .
MESSAGE s001 WITH text-008.
" Select at least one entry in the report
ELSE.
*As we are not clearing the work area the last entry will be in w_block
SET PARAMETER ID 'MAT' FIELD w_block-matnr.
SET PARAMETER ID 'WRK' FIELD w_block-werks.
SET PARAMETER ID 'LAG' FIELD w_block-lgort.
SET PARAMETER ID 'CHA' FIELD w_block-charg.
CALL TRANSACTION c_transaction_call_mmbe AND <b>SKIP FIRST SCREEN .</b>
ENDIF.
Hope this helps.Get back if u need more help.
i don't have parameter id to pass
the only possible is i have to submit the report
even i am writing the below code its showing the selection screen
WHEN 'CALLT'.
SET PARAMETER ID 'ZDOC' FIELD sel_field-value.
CALL TRANSACTION 'BD87'. " AND SKIP FIRST SCREEN.
*
SUBMIT RBDMON00 WITH sx_docnu = sel_field-value
AND RETURN.
ENDCASE.
sx_docnu = is the name of the select-options in BD87 transaction.
innu
Which field you want to set the parameter on BD87.
Also is it that every time a user goes into BD87 you want that value to be defaulted and you want this for all users ???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Normally I used to run BDC for the transaction or I will use Submit statement.
Submit statement will be used by supplying the mandatory parameters in the selection screen of the standard program of the transaction.Find the standard program of the transaction in se93 and then use submit statement[check the syntax].
Kindly reward points by clicking the star on the left of reply,if it is useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.