User exit to update the table of incompletion log in VA01
Hi all,
In the standard creation for sales order using VA01 the item incompletion procedure is 20 and when I changed that to 25 that should be reflected in the incompletion procedure table of VA01 screen.
Regards
Jerry
Hi,
you can go to program SAPMV45A and search for "VBKD" . you see your options.
i think the exit you whant is in MV45AFZB.
reguards,
Miguel
PS: if the help you any way dont forget to give points. thanks
Similar Messages
-
How to find which are the user exits that updating z table.
There was a question posted by someone else which said:
I have a z table. my requirement is to find the user exits that update the value to this table?
but my requirement is to get only those user exits that update my z table.
Before that question was rejected, it got 5 replies which made me think that this tip is worth sharing.
So the steps are:
Do a where-used list search from SE11
Click on Search Range button at bottom
Type UPDATE (you can also add Insert, Delete etc to select-option) to ABAP Key Words field
Say No to the popup that asks whether to include Fields of the Table
Result will show relevant programs with code snippets doing static Update on that custom table.EWK1 would be too performance heavy in this case. It scans the source code to get the result.
You can however, download the list of programs given in where-used list, and give that as limiting condition in EWK1 or some other code scanning utility.
Using my method, where-used list of table is taken from database tables, and then code scanning is done only on the that list, not on entire Z* programs.
Try it yourself to notice the speed difference. -
To find a user exit which update the Invoice header data
Hi,
I need a user exit which will update the invoice header data. For eg I need to update the fields RBKP_V-ESRNR and RBKP_V-ESRRE in table RBKP_V. I was using this user exit EXIT_SAPLMRMP_010 (Program ZXM08U16).But this is not working fine as this has no exporting parameter nor tables of structure RBKP_V.
I need for transaction MIRO.
Kindly help ...
Points will be rewarded
Thanks in advanceHi jayasree,
with the help of the below given program you can find out the requried user exit by giving the T code (MIRO).
*& Report Z_USEREXIT_DISPLAY *
Title : Display UserExits *
Transport Request No : *
Modification Log *
ModNo Date Consultant Description of Change(s) *
REPORT z_userexit_temp
NO STANDARD PAGE HEADING
LINE-SIZE 200
MESSAGE-ID zz.
T A B L E D E C L A R A T I O N S *
TABLES: tftit,
e071,
e070.
S T R U C T U R E D E C L A R A T I O N S *
TYPES: BEGIN OF x_tstc,
tcode TYPE tcode,
pgmna TYPE program_id,
END OF x_tstc.
TYPES: BEGIN OF x_tadir,
obj_name TYPE sobj_name,
devclass TYPE devclass,
END OF x_tadir.
TYPES: BEGIN OF x_slog,
obj_name TYPE sobj_name,
END OF x_slog.
TYPES: BEGIN OF x_final,
name TYPE smodname,
member TYPE modmember,
include(15), "Include name
END OF x_final.
I N T E R N A L T A B L E D E C L A R A T I O N S *
DATA: it_tstc TYPE STANDARD TABLE OF x_tstc WITH HEADER LINE.
DATA: it_tadir TYPE STANDARD TABLE OF x_tadir WITH HEADER LINE.
DATA: it_jtab TYPE STANDARD TABLE OF x_slog WITH HEADER LINE.
DATA: it_final TYPE STANDARD TABLE OF x_final WITH HEADER LINE.
V A R I A B L E S D E C L A R A T I O N S *
U S E R I N P U T S S C R E E N *
S E L E C T I O N S C R E E N *
SELECTION-SCREEN: BEGIN OF BLOCK blk01 WITH FRAME TITLE text-t01.
PARAMETERS: p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN END OF BLOCK blk01.
S t a r t o f S e l e c t i o n *
START-OF-SELECTION.
PERFORM get_tcodes. "Get Tcodes
PERFORM get_objects. "Get Objects
E n d o f S e l e c t i o n *
END-OF-SELECTION.
PERFORM display_results. "Display Results
*& Form get_tcodes
Get Tcodes
FORM get_tcodes.
SELECT tcode
pgmna
INTO TABLE it_tstc
FROM tstc
WHERE tcode = p_tcode.
IF sy-subrc = 0.
SORT it_tstc BY tcode.
ENDIF.
ENDFORM. " get_tcodes
*& Form get_objects
Get Objects
FORM get_objects.
DATA: l_fname LIKE rs38l-name,
l_group LIKE rs38l-area,
l_include LIKE rs38l-include,
l_namespace LIKE rs38l-namespace,
l_str_area LIKE rs38l-str_area.
DATA: v_include LIKE rodiobj-iobjnm.
DATA: e_t_include TYPE STANDARD TABLE OF abapsource WITH HEADER LINE.
DATA: l_line TYPE string,
l_tabix LIKE sy-tabix.
IF NOT it_tstc[] IS INITIAL.
SELECT obj_name
devclass
INTO TABLE it_tadir
FROM tadir FOR ALL ENTRIES IN it_tstc
WHERE pgmid = 'R3TR' AND
object = 'PROG' AND
obj_name = it_tstc-pgmna.
IF sy-subrc = 0.
SORT it_tadir BY obj_name devclass.
SELECT obj_name
INTO TABLE it_jtab
FROM tadir FOR ALL ENTRIES IN it_tadir
WHERE pgmid = 'R3TR' AND
object = 'SMOD' AND
devclass = it_tadir-devclass.
IF sy-subrc = 0.
SORT it_jtab BY obj_name.
ENDIF.
ENDIF.
ENDIF.
*- Get UserExit names
LOOP AT it_jtab.
SELECT name
member
INTO (it_final-name, it_final-member)
FROM modsap
WHERE name = it_jtab-obj_name AND
typ = 'E'.
APPEND it_final.
CLEAR it_final.
ENDSELECT.
ENDLOOP.
*- Process it_final contents.
LOOP AT it_final.
l_tabix = sy-tabix.
CLEAR: l_fname,
l_group,
l_include,
l_namespace,
l_str_area.
l_fname = it_final-member.
CALL FUNCTION 'FUNCTION_EXISTS'
EXPORTING
funcname = l_fname
IMPORTING
group = l_group
include = l_include
namespace = l_namespace
str_area = l_str_area
EXCEPTIONS
function_not_exist = 1
OTHERS = 2.
IF sy-subrc = 0.
IF NOT l_include IS INITIAL.
*- Get Source code of include.
CLEAR: v_include, e_t_include, e_t_include[].
v_include = l_include.
CALL FUNCTION 'MU_INCLUDE_GET'
EXPORTING
i_include = v_include
TABLES
e_t_include = e_t_include.
IF sy-subrc = 0.
LOOP AT e_t_include.
IF e_t_include-line CS 'INCLUDE'.
CLEAR l_line.
l_line = e_t_include-line.
CONDENSE l_line NO-GAPS.
TRANSLATE l_line USING '. '.
l_line = l_line+7(9).
it_final-include = l_line.
MODIFY it_final INDEX l_tabix TRANSPORTING include.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM. " get_objects
*& Form display_results
Display Results
FORM display_results.
FORMAT COLOR COL_HEADING.
WRITE:/1(150) sy-uline.
WRITE:/ sy-vline,
2(23) 'Extension Name',
24 sy-vline,
25(39) 'Exit Name',
64 sy-vline,
65(74) 'Description',
140 sy-vline,
141(9) 'Include',
150 sy-vline.
WRITE:/1(150) sy-uline.
FORMAT RESET.
SORT it_final BY name member.
LOOP AT it_final.
CLEAR tftit.
SELECT SINGLE stext
INTO tftit-stext
FROM tftit
WHERE spras = 'EN' AND
funcname = it_final-member.
WRITE:/ sy-vline,
it_final-name COLOR COL_KEY, 24 sy-vline,
25 it_final-member, 64 sy-vline,
65 tftit-stext, 140 sy-vline,
141 it_final-include, 150 sy-vline.
WRITE:/1(150) sy-uline.
ENDLOOP.
Regards
Srinivas -
BADI or User exit to update the data in a PO(ME22N or ME21N)
Hi,
I require a BADI or an user exit to update all the line items of a PO...
Please let me know if there is a badi or user exit that triggers before the saving of the PO..and also updates the values of all the item data fields..
Thanks in advance
Regards
ShivaHi,
we have checked above BADI;s but will not suffice the requirement;
The requiement is
While Creating PO(ME21N) and Changing PO(ME22N):
When the user tries to Save the PO:
All the line items should be accessible and can be editable.
If the validation fails, error message should be displayed on
the screen and user should be able to edit at that location.
Please let me know if there is any other way or enhancement point for the same...
Regards
Shiva -
User exit to update the incompletion log in sales order for pricing error
Hi experts,
I have to check the some mandotory pricing conditions in sales order, if that conditions are not exist in sales order then i need to show the information message as well as i need to update it in incompletion log of sales order. (incopletion log we can see on menu bar 'EDIT' or ctrl+F8 on main screen of VA01). So that user can save the sales order but it will be in incomplete status.
I have completed it upto showing the information message using user exit 'MV45AFZZ', but after this i don't know how to update it in incompletion log of sales order for pricing. I tried to update in tables VBUK-UVPRS, but i am not getting the desired result.
Please anyone can tell me how to update it. In which user exit i can update the incompletion log.
Thanks and Regards,
Vicky.Hi Vinod,
I am sending you my code please check it,
if TKOMK-SPART = 10.
if XKOMV is not INITIAL.
clear v_JEXP.
READ TABLE XKOMV with key kschl = 'JEXP'.
if sy-subrc = 0.
check XKOMV-kwert = 0.
message i003(ZT) with 'Value should not be 0 for conditioin type JEXP'.
v_JEXP = 'X'.
else.
message i003(ZT) with 'Maintain the mandatory Conditioin type JEXP'.
v_JEXP = 'X'.
endif.
if v_JEXP = 'X'.
XVBUV-MANDT = sy-mandt.
XVBUV-POSNR = '000010'.
XVBUV-TBNAM = 'VBAP'.
XVBUV-FDNAM = 'PRSOK'.
XVBUV-FEHGR = 20.
XVBUV-STATG = '06'.
XVBUV-FCODE = 'PKON'.
XVBUV-SORTF = 9999.
XVBUV-LFDNR = 0000.
XVBUV-UPDKZ = 'I'.
append XVBUV.
endif.
endif.
endif.
Please suggest something to solve this.
Thanks and Regards,
Vicky. -
Is there any User Exit to update the SGTXT of table BSEG while doing F110
Hi,
I have a requirement of updating the item text of BSEG table while doing the payment run with transaction F110. Anybody tell me the user exit name if there is any.
Thanks,
srinivas.I responded in your other thread as well...
I suggest you to make use of BTE 00001120. You can find documentation
for the usage of this event in transaction BERP, enter process
interface 00001120 > execute > Keep cursor on the event 00001120 and
then click documentation.
Hope that helps,
Jon -
IDOC user exit to update the document flow of the delivery
Hi all,
Scenario:-
There is an inbound idoc for delivery through which the delivery is getting posted ...while reprocessing the idoc (BD87) i need to update the dates on document flow of the delivery. The date to be updated is coming from the idoc.
I have the function module(RV_DOCUMENT_FLOW_UPDATE_U) to update the document flow but i am not sure in which user exit it can be placed. I tried checking for some exits but nowhere i can find the delivery number to which i need to update through the FM.
I am using the standard idoc with the message type as -DELORD and the basic type as 'ORDERS03'.
Kindly provide user exit where i can use the date coming from the idoc (IDOCDATA) and where i can find the delivery no also.
Thanks,
Neslin.
I have closed the other thread there is no more duplication.I already checked VEDA0001, but the tables for the delivery is not getting populated as it is processing through BD87(Reprocessing Idoc). Is it advisable to use the export import parameter?. Exporting the idoc data from any of the user exit in VEDA0001 and importing it in some other exit where the vbeln is available.?
Thanks,
Neslin. -
Idoc user exit to update the document flow of delivery
Hi all,
Scenario:-
There is an inbound idoc for delivery through which the delivery is getting posted ...while reprocessing the idoc (BD87) i need to update the dates on document flow of the delivery. The date to be updated is coming from the idoc.
I have the function module(RV_DOCUMENT_FLOW_UPDATE_U) to update the document flow but i am not sure in which user exit it can be placed. I tried checking for some exits but nowhere i can find the delivery number to which i need to update through the FM.
I am using the standard idoc with the message type as -DELORD and the basic type as 'ORDERS03'.
Kindly provide user exit where i can use the date coming from the idoc (IDOCDATA) and where i can find the delivery no also.
Thanks,
Neslin.
Edited by: neslin on Jul 12, 2010 5:44 PM
Moderator message: cross-post locked.
Edited by: Thomas Zloch on Jul 12, 2010 2:27 PMCheck for the enhancement VEDA0001
Go to smod and refer to the further documentation for the same..
Hope it helps.
Thanks and regards -
Need a user exit to modify the quantity schedules in a sales contract
Hi,
I am using ECC 6.0 with IS OIL. Need a user-exit to update the quantity schedule(table OIA05) in the sales contract VA42.
I have a new field called timestamp in the table OIA05 which needs to be updated with the timestamp value.
I tried the user exit MV45AFZZ in USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT to update the values. But the new values are not being reflected. Can you please help me in this regard.
Thanks,
Best regards,
Ajiththat will allow me to append an initial line with <accit> pointing to the line. Therefore I just have to modify <accit> and the new line will then have my changes?
Yep, that is exactly it. So after the APPEND statement, simply fill the fields of the <accit>.
append initial line to im_document-item ASSIGNING <accit>.
<accit>-field1 = 'Blah'.
<accit>-field2 = 'Blah'.
Regards,
Rich Heilman -
User exit to update characteristic attributes in sales order
Hi all,
I am having one queer requirement.
We are having variant configuration. We are manufactiuring a material which is having lenght as one of the characteristic.
While creating the sales order the user will enter the value against length. This we have to pull in the inspection lot with range.
For ex. if the length required by customer is 1000 mm then depending upon the tolerance limit say +/-1.5 %, another characteristic should get updated with the allowed range (here in this example the lower range 985 and upper range 1015) against another characteristic.
This characteristis will sever as class characteristic for QM master inspection characteristic.
Here the problem is the functionality can't be mapped with object dependency in satandard SAP (you can't derive range with object dependency), so I am looking for user exit to update the second characteristic depending upon the value of first characteristic and allowed percentage.
The user exit should be effective for sales order creation as well as sales order change.
Please help.Hello Nikhil,
I am looking for the tolerance limit to upadte against one char only and not two separate chars.
If the range is against only one char (and that too again in numeric format and not characteristic format) same shall can be pulled against master inspection characteristic in inspection lot.
Looking forward for the soution.
Mimiri -
User Exit to update user status at VA01/VA02
Hi Expert
Please help identify any User Exit to update User Status stored in tables (JSTO/JEST), at time of sales order (Business Object 2032) creation / change.
Requirement is to set check mark on a specific user status in case of a material master is missing HTS code.
Regards-AamirHi,
If your requirement is to set the check the HTS field in the material master, you can make the field as Mandatory without which the Material cant be saved
You can make this field mandatory in OMS9 transaction code with field status as 89 and the field is MARC-STAWN
Please revert if you need more details
regards,
santosh -
FM to update the table HRPAD25
Hi All,
Is there any FM to update the standard table HRPAD25? I need to update the values entered by the user on the LSO Followup screen in this Table. I have enhanced this screen in LSO_PSV2 with an additional field 'Score'. How do i update the table HRPAD25? Is there any BADI or FM to do this. Any input on this will be of great help.
Thanks and regards,
PavithraHi Eric,
I do have some similar kind of requirement where in i am asked to use the IDOC COND_A02. The point where i am stuck is in populating the custom segment field values which we need to be passed with the IDOC. I am able to execute the IDOC from WE19 but both the exits EXIT_SAPLVKOE_001 and EXIT_SAPLVKOE_002 were not getting triggered.
We need this IDOC to be generated whenever there is a change in the Pricing Conditions (PB00 DISC1 DISC2). Please let me know how can i populate the custom segment values and trigger the IDOC.
Good Day,
Thanks & Regards,
Uday S. -
User exit to update extended segment in idoc for va01
Hi Experts,
I am working on Outbound IDOC interface for VA02 and VA01
I am using ORDERS05 IDOC type
i want to create one custom segment
and i want to fill that custom segment
but i am not able to find user exit to update this custom segment
please help.Akshay,
I think you want to send order response for the orders created via Va01 or edited by Va02
To do this steps are:-
1) Use FM IDOC_OUTPUT_ORDRSP to send order response (ORDERS05)
2) Find the function exits in this Fm using search string as " Call Customer-function".
3) Use include in the exits to write code to append new segments to the IDOC. Look for the Tables parameter in the Exits which are of structure type EDIDD. Insert new Segment details in this table and your IDOC will be generated with required values.
Hope this helps!!
Harry -
User exit to update Vendor Confirmation in ME22N
Hi,
I am adding a subscreen at the header level using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST. This new sub screen at the header level will have fields like confirmation category, delivery date..etc., and a push buttom called 'CONFIRM'. When the user selects the line items to be confirmed and clicks the 'CONFIRM' button the data from the customer subscreen should be copied to the item details(in Confirmations tab).
The problem is with the confirmation tab. I need an user exit to update this. When the PO is saved confirmation should be created and EKES table should be updated.
Any useful information will surely be rewarded
Thanks in advance
Antony.Hi
Following enhancements are available....
Transaction Code - ME22N Change Purchase Order
Exit Name Description
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MM06E011 Activate PReq Block
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
Hope this helps to solve ur problem....
<b>do reward if useful....</b>
regards
dinesh -
User exit for updating delivery block of Sales order before Delivery
Hi Folks,
Need to have an user exit for updating Delivery Block indicator for a Sales order Before creating its delivery
I have got an exit in Program SAPMV45A
MV50AFZ1
FORM USEREXIT_REFRESH_DOCUMENT.
that hits before processing the delivery block fro delivery (Correct me if i m wrong with this )
Now i want now how to change the Delivery Block indicator of Sales order in that exit
any FM available ?
Thanks n regards
Sonal...Hi ,
How did you solved this issue?
I am having similar scenario in which while pressing the save button delivery block should update if multiple schedule line exist.
Tried by two different approaches in various user exit without any success.
AFAIK we have two ways to achieve this functionality.
1) Count the no of rows in vbep. If greater than 1 then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
This is not correct. If there are two line items both with single schedule line . This case total no lines in vbep will 2 and above condition will true which is incorrect.
2) There is a indicator for multiple schedule line (VBAPD-EPMEH , xvbap-epmeh ) if it is check then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
If I write code in USEREXIT_SAVE_DOCUMENT_PREPARE.
Multiple schedule line indicator is not populate so can not use 2nd approach.
If I write code in USEREXIT_SAVE_DOCUMENT it of no use as vbak is updated before reaching this user exit.
If I write code in USEREXIT_MOVE_FIELD_TO_VBAK as this user exit is also called while pressing the enter key for this I have use
the condition of fcode but it also fails in some condition.
If fcode eq 'SICH'.
Read table xvbap with key epmeh = 'X'.
IF SY-SUBRC = 0.
VBAK-LIFSK = '03'.
Else.
VBAK-LIFSK = ' '.
Endif.
Endif.
Please help me to get the desired functionality working for all cases.
1) One line item with multiple schedule line
2) Two line item with multiple schedule line
3) One line item having one schedule line and second one having multiple
4)Two line item both with single schedule line.
Maybe you are looking for
-
Hi Friends, OS = Windows XP 3 Database = Oracle 11g R2 32 bit Processor= intel p4 2.86 Ghz Ram = 2 gb Virtual memory = 4gb I was able to install the oracle 11g successfully, but during installation at the time of database creation I got the following
-
Hi have a user exit variable in a query (It must concatenate two characteristics from the user entry parameters). WHEN 'NOMSOLI'. " nombre solicitante tarifa compras CLEAR: l_s_var, l_s_var2. READ TABLE i_t_var_range WITH KEY vnam = 'OS
-
Our applet has a size of 200kB aproximately, but when it is loaded in the client, it consumes something like 70MB of ram memory. Besides every time we reload it, the consumption increments by 10MB aprox. Is this behavior normal? Does exist maybe some
-
Combine Similar Request navigate report Issue
Hi, I have created 2 combine requests, one is for summary level report and another one is for detail level report. i pointed navigate from summary level to detail level report. My summary level report is a Graph, when i click on Region in the graph i
-
Is there anything that can be done to tune this query?
DB version:10gR2 From AWR report, we have determined that the following SQL is taking most CPU Time. Is there anything that we can do to improve the performance of this query. We have an index on (stat_code,create_date_time) columns of ext_replenish