User Exit to be used in Substitution
Hello,
We have recently got an requirement from one of the clients as they want to copy the material description to the GL text field (against Doc Type WA & WE) . I am able to find that this can be achieved by way of creating substitution, but I wander which user exit to be used for this purpose.
Its been my experience that when ever a question of user exit arise I go blank as which user exit to be used, where will I get all this information with clear update motioning the purpose or use of each SAP delivered user exit.
I have tried goggling it out but I was not able to find much use full stuff. Please share your expertise.
Thanks a ton in advance,
Regards,
Shilpa
Hi Shilpa,
there is no hard code rule to use the specific user exit for substitutions, attached screen shots will help you to resolve the issue.
Step 1: Go to the t.code: OKC9, specify the controlling area and event 0001.
Step 2 : Create the substitution and select the step (attachment 1)
Step 3: below mentioned screen shot specify the any existing user exit (naming conversion starts with U) by F4 option and double click on the particular exit
Step 4: you can see the Report ZGGBS800, here you can create the user exit next free number starts with U naming conversion, once it's created the replace the existing user exit in the substitution rule.
Hope this will help you to understand the user exit process in substitution rule.
Note: Only substitution rules there is no hand code rule for user exit, for other transactions we need to check the SAP delivered exits.
Make sure that substitution rule must be activated once exit created
Thanks & Regards
Srinu
Similar Messages
-
How to find out FICO user exits that are used by User
How to find out the FICO user exits that are used by user.
Go to tcode CMOD. In the project field drop down your list there. Put a Z* there and run the list. These should be all the exits that are activated. Search for the ones that pertain to FI. You can also search by development class. You need a little ABAP knowledge to search easily. You get this by going to the tcode then to status then to the program then to the attributes. There you find the development class. Ie FBAS.
pls assign points if helpful as a way to say thanks. -
How to know where the user exits or enhancement used in standard sap code?
Hi
I m pretty new to abap.
How can I know where the user exits or enhancement used in standard sap code?
As i have to add some functionality to the standard sap code. I m looking to search the enhancement or user exits used in this standard code wher i can add my functionality.
thanks in advance.
Moderator message : Search for available information, thread locked.
Edited by: Vinod Kumar on Oct 19, 2011 2:38 PMHi Henry,
I don't think this is the easiest way to look at the code around a particular field on the screen. Debugging standard programs also can be very tedious, if not impossbile. So, instead of this question, I would like to find out exactly what you want to do if you know the code.
If you are in a transaction and you want to know where the code of a particular field is, the fastest way to get to it is by pressing the F1 key on the field and then press the Technical info button on the help screen. In here you will typically see the same kind of information but it is very specific to the field you selected.
PROGRAM(SCREEN) tells you which program is manipulating the main screen, in which your field is embedded. Remember your field may be included in a sub-screen and that subscreen may be the one included in the main screen.
PROGRAM(SUB SCREEN) tells you which program is directly responsible for the field on the subscreen it is included in. This is where you should find the code most appropriate for the field, but not necessarily.
PROGRAM(GUI) controls how your push buttons and the menu options in the screen behave and controlled.
Srinivas -
What User Exit can I use to add a cust field to PO Item overview in ME23n?
Hi,
I need help!
Does anyone have any examples of adding a new cust field to PO Item Detail screen with a user exit?
In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
Which user exit I can use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
We are on release SAP ERP Central Component 5.0Hi,
Thank you for the response. I tried this and found Badi ME_PROCESS_PO_CUST. Do you have any examples of adding a new cust field to PO Item overview screen using badi ME_PROCESS_PO_CUST? I have had little experience creating badi's, and would appreciate very much some sample code if possible.
In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
Can you tell me if method FIELDSELECTION_ITEM of badi ME_PROCESS_PO_CUST the correct one to use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
Thank you for help - much appreciated,
Vicki -
What user exit should I use to...
Hi everyone!
I need to check if the due date or bline date of a posting to a GL line item is filled out, which user exit should I use?
Btw, I cannot change FSG so it is not an option...
Here is a list of FB01 user exits:
Exit Name Description
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbox: Do not Send IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function exits for EDI in FI
RFAVIS01 Customer Exit for Changing Payment Advice Note Segmnt Texts
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic Correspondence
SAPLF051 Workflow for FI (Pre-Capture, Release for Payment)
Thanks a lot!hi Ricardo,
I think you just have to set up a validation, you don't need an exit for that. You can do that in GGB0. On the other hand due date as field does not exist, so don't look for that
hope this helps
ec -
Which user exit can be use before production order creating?
which user exit can be use before production order creating?
i want to check AFPO data,then show error message before production order creating.
1.i try to use PPCO0001( enhancement when saving the order) to check AFPO data, then show some error message,sap system will generate a abap down error.
2.i try to use PPCO0007(Exit when saving production order),
i can show error message,but i can't check AFPO's data.Hi,
You can access AFPOD structure using field symbols.
Try below mentioned code in routing:
constants: c_afpod TYPE char30 VALUE '(SAPLCOKO1)AFPOD' .
FIELD-SYMBOLS: <fs_afpod> TYPE ANY .
data: wa_afpod TYPE afpod.
ASSIGN (c_afpod) TO <fs_afpod>.
wa_afpod = <fs_afpod>.
Then later you can use wa_afpod in exit PPCO0007. Hope this will work for you.
Sumit -
BADI/user exit to be used EIPO-TEXT1 field of the outbound delivery line item?
Hi ABAPERS,
Need some help on an enhancement with reference to outbound delivery in SCM module.I have a requirement for an enhancement to ensure that the License Check is performed for each Delivery Item based on the Material`s Export Control Parameters and updating the license number identified against each of the line item in the outbound delivery in a predetermined field.
Basically, Using enhancement, find the appropriate License based on the information fetched from the Delivery Document and check if this is matching with the available License Information. Then the appropriate License fetched should be visible in the License Log of the Delivery Document.
The valid License No. fetched should be updated at the Delivery Document Item – Foreign Trade – Comments Tab-Description Field 1.(ie. populate the license T606Z-GENNR in EIPO-TEXT1 field of the outbound delivery line item.).
Could you please advise on the BADI/user exit to be used in this case. Request your inputs.I found the solution myself. I was actually not needing a user-exit to do this. I just simply solved it by using function modules READ_TEXT and SAVE_TEXT in a customer program.
Regards. -
User Exit or BADI used to block the payment in MIRO
Hi all,
Is there any user exit or BADI to block the payment in MIRO . please give me in detail with all methods used.
Thanks
babucan anybody give me any answer. thanks.
-
ABAP: SD user-exits - custom fields using from KNVV or VBAK
Hi all,
I have a technical question.
I've created some custom fields in table KNVV. The values of these custom fields have to be used during Sales Order creation/modification for determining materials or princing, in sales order user-exits.
My question is:
During the Sales Order creation/modification, in the userexits:
Is it preferable to get directly the values of the custom fields from KNVV?
OR
Is it preferable to transfer values of the custom fields from KNVV to VBAK (which was extended with the same custom fields like KNVV...) with transfer data, and then use only VBAK?
Thanks in advance for your answers.
Have a nice day!Anderton,
I would prefer moving them to VBAK and then using it. Why?
1. Once you have queried KNVV and moved it to VBAK you do not have to perform the select again.
2. During SO change, you already have the data in VBAK so you do not have to fetch again from KNVV.
3. Lets say the Z field was changed on KNVV after creation of SO and if your requirement is to use the Z field content when the SO was created, you cannot go back to KNVV since the data is changed. But if the same was stored in VBAK, you do not have that problem.
Thanks,
Vikram.M -
Funtion Module for user exits for variables used in BEx Queries.
Hi,
This is for BW Query customer exit variable (zvar2) for include ZXRSRU01 and exit :EXIT_SAPLRRS0_001.
Can anyone please suggest the function modules that can be used to do the following.
1)Read value of zvar1 from selection screen whatever
user enters at run time.
2)How to define the zvar2 in the include. zvar2 is the
variable created in BEx to be populated from this
customer exit.
3)How to use case statment where once the value for zvar1
is determined then,
Case zvar1.
when zvar1 = 0 , then zvar2 = 10
when zvar1 = 1 , then zvar2 = 20
3) Assign zvar2 value as computed in the case statement.
Can anyone please help with the code to achieve this.
Any information regarding function modules that can help write user exits for variable reading and input will be greatly helpful.
Thanks
Sarah.Hi Sarah,
You don't need any FM for your issue.
Please try thie sample code :
DATA: VAR_INPIUT LIKE RRRANGEEXIT.
CASE I_VNAM.
WHEN 'ZVAR2'.
CLEAR L_S_RANGE.
IF I_STEP = 2."PROCESSED AFTER VARIABLE INPUT
*Reading value of ZVAR1
LOOP AT I_T_VAR_RANGE INTO VAR_INPIUT
WHERE VNAM = 'ZVAR1'.
CASE VAR_INPIUT-LOW.
*FILLING ZVAR2
WHEN 0.
L_S_RANGE-LOW = 10.
WHEN 1.
L_S_RANGE-LOW = 20.
ENDCASE.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
ENDIF.
ENDCASE.
Hope this helps
Joe -
Any user exit could be used in SAPMV60A(TCODE:VF01)?
I want to use user exit to change accounting doc. upon generating accounting doc. upon save in VF01..
wait onlineV61A0001 Customer enhancement: Pricing
V60P0001 Data provision for additional fields for display in lists
V60A0001 Customer functions in the billing document
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
V05I0001 User exits for billing index
SDVFX011 Userexit for the komkcv- and kompcv-structures
SDVFX010 User exit item table for the customer lines
SDVFX009 Billing doc. processing KIDONO (payment reference number)
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX007 User exit: Billing plan during transfer to Accounting -
Report, back ground job, user exit, function module used
I have more than 100 Z program and report painter program, user exit, function module for one country, inside this country, there are many company code, for a specific company code, I want to know which Z program/CMOD user exit/function module/back groundjob is used in this company code, any table or transaction can do?
also can we find all z tables used in this company code?May be this url can help you http://it.toolbox.com/wiki/index.php/Find_data_in_your_SAP_system_and_know_which_tables_do_what
-
Is it good practice to define text elements in User exits & there by using?
Hi Experts,
Simple doubt that, am wrting code in a User Exit. So, here my code works only, if the DOC TYPE = 'XXX'.
So, instead of using hard coding as 'XXX', I wuld like to use a text element, like
if DOC TYPE = text-xxx.
my logic.
endif.
and creating the same text element.
so, let me know that,
Is it safe/recommended to use text-element in exits?
Is it good practice to define text elements in User exits?
thanqu can also use SET ID's if u dont want to hardcode like that in ur program.
if u use SET ids , no need of transport request in case of change in the DOC types , directly u can change values in that set it , its like a master id.
sytax will be like this
doc_type in g_doc_type(this is set id ).
for creation of set ids see tcode GS01.
regards
Prabhu -
Substitution transport user exit missing
Dear experts,
I have created a substitution with the use of a user exit.
After creating the transport and importing it in our test system everything works fine.
However, when I transport the substitution to our production system, the user exit is missing in the substitution rule.
Also re-importing executing program RGUGBR00 this was not solved.
Does anybody have an idea what the cause of this is?
Thanks.
JurriaanYes, they are assigned.
But in the meantime I have found the issue.
The issue had to do with table GB01.
In Boolean Class 15 type S was excluded. This type S contains the substitution fields.
After deleting the X in the field Excluded, the user exits were visible again.
Thanks for thinking with me.
Regards,
Jurriaan -
Wich user-exit for Creating Vendor I must use?
Hi, experts
I have a requiriment on T/C XK01 & XK02 when customer is creating or modifying Vendor; it is when user put value on screen field <i>"Payment Terms"</i> (<b>LFB1-ZTERM</b>) this values must be same on next screen "PURCHASING DATA" on screen field "<i>Terms of paymnt</i>" (<b>LFM1-ZTERM</b>).
Which user exit do I use for this ( RFKRRANZ/SAPMF02K )?
Where to check value on screen field "Payment Terms" ( RFKRRANZ/SAPMF02K ) ?
I will appreciate any helpfull information, as soon as possible, thanks in advance.
Regards,
mgg
P.D. Points rewardHi,
Why do you need user to input if you can copy automatically the value ZTERM from screen purchasing data into ZTERM in accounting screen? You can also pop up a message if user's selected value in accounting screen is different from purchasing data.
DATA: WA_STRUC(100) TYPE C,
WA_LFB1 TYPE LFB1,
WA_LFM1 TYPE LFM1.
FIELD-SYMBOLS: <FS_LFB1>, <FS_LFM1>.
WA_STRUC = '(SAPMF02K)LFB1'.
ASSIGN (WA_STRUC) TO <FS_LFB1>.
WA_LFB1 = <FS_LFB1>.
WA_STRUC = '(SAPMF02K)LFM1'.
ASSIGN (WA_STRUC) TO <FS_LFM1>.
WA_LFM1 = <FS_LFM1>.
WA_LFB1-ZTERM = WA_LFM1-ZTERM. "<-- change here
or
IF WA_LFB1-ZTERM <> WA_LFM1-ZTERM.
* pop up message
ENDIF.
<FS_LFB1> = WA_LFB1. "<-- change here
UNASSIGN <FS_LFB1>. "<-- change here
Regards,
Ferry Lianto
Maybe you are looking for
-
Hello, I need help to understand what I should do to connect my laptop T60 (1951-bs7) to my Panasonic HDTV (capable to display 1024x768 resolution. I just purchased a cable from VGA to component video (Y, Pr, Pb) but when I connect it to HDTV I don't
-
I need help :-( Did an IOS update last week and after the Ipad rebooted it said slide to unlock then asked for a passcode to be entered..... I have never set a passcode ever ?? What number do I enter to unlock the Ipad ... have tried the usual 0000 a
-
Tax Clg a/c in FBCJ with O/I Mngt - Urgent
Hi sap gurus.. In FBT configuration i have created paid accounts and the same has to be posted in payable accounts also..for payable accounts i have created GL masters with Open item management. In F-02 it is working promptly , but in FBCJ when iam g
-
Unable to connect to Gateway Name Server while config Siebel Server
I installed Siebel 8.1.1.11.0 on RHEL 32-bit. I did configuration as following. Install 32-bit Oracle Client and config TNS. Install and config Gateway and Enterprise. Install Siebel Database. Use stop_ns, start_ns and list_ns to restart and ensure G
-
Why can't I merge two cells on the same row when the first cell is in column A?