on 04-12-2006 11:41 AM
Hi All!
I had created a Z transaction through SE93 option parameter transaction.
I had given values to pass to the T-code SE54.
Now my problem is there is a test button on this screen which has fetch code TEST ,while passing values i had given the following entries
screen field name : TEST
Value : X
But i am getting an warning message saying TEST field is not available on screen.But infact it is available on the screen which i had checked using layout editor.
Because of this i could not able to skip first screen.
Please advise
Praneeth
Hi Praneeth. What do you want to do with this transaction? why not create a parameter transaction calling trx. SM30 to update the table?
Jesus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good question jesus!
The requirement is that the user wants a cluster of all check tables at one place through one Ztransaction . otherwise if i use SM30 ,for each table i have to create single transaction and it will result in multiple z transaction which would be tedious to the user.
I think you are clear.
Regards
Praneeth
Set the SPA/GPA parameter using
set parameter id 'DVI' field <dobj>.
then call the transaction.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Praneeth,
It seems that you can not use that test button.
Do one thing, make one program without any parameter on selection screen . Use BDC to call SE54 and put all your coding to call the View cluster button. And finally create a simple trnasaction for that.
Hope this will help you.
Regards,
Naimesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Praneeth,
I have pasted code for you. Copy the code and create one simple report.
After that create report transaction for this report.
Regards,
Naimesh.
**************************
REPORT ZTEST_NP.
DATA: BEGIN OF IT_BDCTAB OCCURS 0.
INCLUDE STRUCTURE BDCDATA.
DATA: END OF IT_BDCTAB.
START-OF-SELECTION.
PERFORM BDC_TAB.
&----
*& Form BDC_TAB
&----
FORM BDC_TAB.
PERFORM DYNPRO USING:
'X' 'SAPMSVIM' '0050',
' ' 'VIMDYNFLDS-VIEWNAME' 'ZTAB1',
' ' 'VIMDYNFLDS-STRUCT_MNT' 'X',
' ' 'BDC_OKCODE' '=CLUS'.
PERFORM DYNPRO USING:
'X' 'SAPLMGMM' '0052',
' ' 'VIMDYNFLDS-VCLNAME' 'ZTAB1',
' ' 'BDC_OKCODE' 'TEST'.
CALL TRANSACTION 'SE54' USING IT_BDCTAB MODE 'E'.
ENDFORM. " BDC_TAB
&----
*& Form DYNPRO
&----
FORM DYNPRO USING DYNBEGIN FIELD FIELD_VAL.
CLEAR IT_BDCTAB.
IF DYNBEGIN = 'X'.
IT_BDCTAB-DYNBEGIN = DYNBEGIN.
IT_BDCTAB-PROGRAM = FIELD.
IT_BDCTAB-DYNPRO = FIELD_VAL.
ELSE.
IT_BDCTAB-FNAM = FIELD.
IT_BDCTAB-FVAL = FIELD_VAL.
ENDIF.
APPEND IT_BDCTAB.
CLEAR IT_BDCTAB.
ENDFORM. " DYNPRO
If at all you are using it for filling BDCDATA, use it like this:
bdcdata-fname = 'BDC_OKCODE'.
bdcdata-fval = 'TEST'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to use the SET/GET parameter way to transfer the default values or use the USING BDCDATA option.
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.