‎2013 May 15 11:32 AM
Hi Abapers,
My requirement is to disable the standard transaction save button while I triggering it from Zreport using Call Transaction skip initial screen.
Please suggest ur ideas.
Thanks in advance.
Regards,
Praveen Kumar G.V.S
‎2013 May 15 12:45 PM
Hello Praveen
DISABLING SAVE BUTTON WHILE CALL TRANSACTION
DATA: it_ucomm TYPE TABLE OF sy-ucomm.
APPEND 'SPOS' TO it_ucomm, "for SAVE
call transactionn 'MM01'
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = it_ucomm.
hope this will solve your issues.
‎2013 May 15 11:36 AM
Does not the transaction have a display mode ? for ex: MM03, ME23N...
or
is it something else you require ?
Please do not post all caps in your subject line
‎2013 May 15 11:39 AM
Thanks,
I am not using display transaction codes. I am using create transaction codes.
ex: mm01. me21n
‎2013 May 15 12:54 PM
Hi,
Then what is the use of disabling the SAVE button ? What is expected by disabling the save button in create mode ?
Please try to provide more details in the first place itself, we cannot assume what is required.
‎2013 May 15 12:04 PM
Hi,
Check the PF Status for the transaction, and when the requirement occurs, use
set pf-status 'pf_status' (pf status name) excluding 'save'.
I think this would help you.
Thanks & Regards,
Vinay
‎2013 May 15 12:45 PM
Hello Praveen
DISABLING SAVE BUTTON WHILE CALL TRANSACTION
DATA: it_ucomm TYPE TABLE OF sy-ucomm.
APPEND 'SPOS' TO it_ucomm, "for SAVE
call transactionn 'MM01'
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = it_ucomm.
hope this will solve your issues.
‎2013 May 15 12:52 PM
Hi Praveen,
Search for appropriate BADI for particular Transaction Code to disable SAVE button..
Regards ,
SG
‎2013 Sep 12 1:29 PM
Hi, swadhin ghatuary .
I´ve tried using CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' but no success.
I need to let user go to VF01 but cannot let him/her save billing document.
Before someone asks me why I am doing this, I´ll explain. I´ve created a program to simulate billing document creation. User wants to see conditions for items of document which has not been saved yet, it is the one with $ in the billing document number. If he/she uses VF01, he/she can input the invoice, choose the item from it, and push enter. The program displays the original document and the one with $.
In my program, I am using a CALL TRANSACTION VF01, but, as I said before, I cannot let button SAVE available.
Any ideas?
Thanks in advance.
‎2013 Sep 13 11:43 AM
Check with transaction variants. Variant Transactions (SAP Library - ABAP Workbench Tools)
Create a transaction variant and call it.
‎2013 Sep 13 9:02 PM
Thanks, but I´ve already tried it.
It seems transaction variant does not let us modify toolbar(save button).