2010 Mar 26 12:56 PM
Hi Experts !
I need to call transaction SM30 from my program and return to the program.
PERFORM dynpro USING:
'X' 'SAPMSVMA' '0100',
' ' 'BDC_CURSOR' 'VIEWNAME',
' ' 'BDC_OKCODE' '=UPD',
' ' 'VIEWNAME' wa_alv-tabla,
' ' 'VIMDYNFLDS-LTD_DTA_NO' 'X'.
CALL TRANSACTION 'SM30'
USING bdc_tab MODE 'E'
MESSAGES INTO t_error.
But the "problem" is when I BAKC from de SM30, not return directly to the progam when it call, it back to dynpro 100 and when press BACK it back to my program.
I can't use AND SKIP FIRST SCREEN beacuse don't have SPA/GPA parameters .
Someone help me?
Thanks.
2010 Mar 26 1:07 PM
To overcome this problem..create a new transaction code with 'Transaction with paramters' option and give transaction as SM30 and default values with VIEWNAME as your view and UPDATE as 'X'. Then call this transaction from your program.
Hi Experts !
I need to call transaction SM30 from my program and return to the program.
PERFORM dynpro USING:
'X' 'SAPMSVMA' '0100',
' ' 'BDC_CURSOR' 'VIEWNAME',
' ' 'BDC_OKCODE' '=UPD',
' ' 'VIEWNAME' wa_alv-tabla,
' ' 'VIMDYNFLDS-LTD_DTA_NO' 'X'.
CALL TRANSACTION 'SM30'
USING bdc_tab MODE 'E'
MESSAGES INTO t_error.
But the "problem" is when I BAKC from de SM30, not return directly to the progam when it call, it back to dynpro 100 and when press BACK it back to my program.
I can't use AND SKIP FIRST SCREEN beacuse don't have SPA/GPA parameters .
Someone help me?
Thanks.
2010 Mar 26 1:07 PM
To overcome this problem..create a new transaction code with 'Transaction with paramters' option and give transaction as SM30 and default values with VIEWNAME as your view and UPDATE as 'X'. Then call this transaction from your program.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |