10-10-2007 7:24 PM
Hi Experts,
By using SHD0 tx,I created a transaction veriant- my_fv50 for SAP's FV50 (in which I deactivated the POST button in INITIAL SCREEN).
By SE93, I created a tcode as my_fv50 of type Variant Tx with follwoing values/entries,
Tx- FV50
Tx varinat - my_fv50.
Working fine, after setting the authorsation at basis/security level.
Now, I need to MODIFY/add extra feature to this existing my_fv50 Tx Variant!!
xtra feature, am looking: fv50--->Initial screen->specify values-->SIMULATE button->here we can see the again POST button--->here I need to deactivate the POST button!!!!!!
pls. clarify that How to change/modify the existing Z transaction varinats?
thanq
10-10-2007 8:28 PM
Hi,
Instead of all those things. Implement the BTE 1140 and write the following code. That should solve your problem.
IF sy-tcode = 'FV50'.
t_exctab-okcod = 'BU'. " do not allow to post
APPEND t_exctab.
ENDIF.
If you want to disable this post option for multiple transactions, just maintain them in a custom table. Instead of IF Sy-tcode = 'FV50' just read from this custom table.
Hope this solves your problem.
<b><REMOVED BY MODERATOR></b>
Enjoy SAP.
Rajasekhar
Message was edited by:
Alvaro Tejada Galindo
10-10-2007 7:27 PM
Hi,
You need to go back to transaction SHD0 to change/modify the existing Z transaction variant.
Regards,
Ferry Lianto
10-10-2007 8:29 PM
thanq,
yes, i did!
but, i culd not able get the pop-up screen for the (spaecific) simulation screen, if so, I know how to carry out my function, like choosing MENU function button>choosing POST / BU from the list->clicking deactivate button!!
if possible, if u wanna send me the screen shots, send them to
<b><REMOVED BY MODERATOR></b>
Any idea?
thanq.
Message was edited by:
Alvaro Tejada Galindo
10-10-2007 8:28 PM
Hi,
Instead of all those things. Implement the BTE 1140 and write the following code. That should solve your problem.
IF sy-tcode = 'FV50'.
t_exctab-okcod = 'BU'. " do not allow to post
APPEND t_exctab.
ENDIF.
If you want to disable this post option for multiple transactions, just maintain them in a custom table. Instead of IF Sy-tcode = 'FV50' just read from this custom table.
Hope this solves your problem.
<b><REMOVED BY MODERATOR></b>
Enjoy SAP.
Rajasekhar
Message was edited by:
Alvaro Tejada Galindo
10-10-2007 8:32 PM
thanq,
got bte1140, let me try.
thanq.
Message was edited by:
Srikhar
10-10-2007 9:20 PM
Execute the transaction FIBF
Goto Environment->Info System(P/S)
Just Press Execute in the next screen
Double Click on Event 1140
Click on Sample Function Module
Copy the Sample Function Module(SAMPLE_INTERFACE_00001140) to 'ZSAMPLE_INTERFACE_00001140'
In the Z function module put the above code save acivate
Go back to the FIBF first screen.
Go to Settings->Products ->of a Customer
Click on New Entries and create a new product ZPOST, give a proper description , Select the check box and save.
Go back to the FIBF first screen.
Go to Settings->P/S Modules->of a customer
Click on the new entries Enter the event as 00001140, Product as ZPOST and Function Module as ZSAMPLE_INTERFACE_00001140.
Save.
Now when you execute FV50, you will not see POST option on the application tool bar as well as from the Menu.
Hope this solves your problem.
Enjoy SAP
Rajasekhar
10-10-2007 8:48 PM
Hi,
Sorry ... I don't have FI data in my sandbox.
But you need to delete the old screen variants and recreate new ones by goinf through screen by screen as you described below.
Path: FV50 -> Initial screen -> Specify Values -> SIMULATE -> Deactivate the POST button.
Regards,
Ferry Lianto
10-10-2007 8:51 PM
thanq,
yes, am also thinking the in the same manner!
or BTE1140!
anyways, thanq.
Message was edited by:
Srikhar
10-11-2007 7:15 PM
hi,
bte is the best solution
thanq.
Message was edited by:
Srikhar
Edited by: Srinivas on Dec 21, 2007 5:01 PM
10-12-2007 2:14 PM
Hi,
if possible / if ur time permits, y dont u send me the answer!
thanq.