User exit time or date validation at delivery
Hi guys
I wonder if there is any User exit that works for validation of time or date at delivery.
I've got some products that i need to keep in stock between 24-168 hours before sending them to the clients.
So i wonder if there is any user exit to make a validation of the keeping times in the delivery process.
Thanks a lot
Waiting for the answer
Francisco Oyarzo
Dear Francisco Oyarzo
Before posting goods issue, in "Item Overview" tab, there is a field for recording time (LIKP / WAUHR) of goods issue, You can make use of this. Similarly for date of delivery is "Actual GI Date" which is nothing but, the date on which the goods issue are posted
thanks
G. Lakshmipathi
Similar Messages
-
V50EPROP User Exit: Foreign Trade Data Proposal
Hello All,
I want to use EXIT_SAPLV50E_003 from V50EPROP(User Exit: Foreign Trade Data Proposal in MM and SD) enhancement to update the EXART field of the EIPO table.
I have written code etc and when I run the VL02n and click on the save button, my code in EXIT_SAPLV50E_003's include does not get called at all. where as the debugger I put in EXIT_SAPLV50E_006's include gets called.
PLease tell me anything I have missed in configuration of activation of user exit?Hi,
have you create and activate project from CMOD ?
Bye
Roberto -
User exit for component data in ME21n/ME22n
Hello,
I have a requirement to issue an error message if a component quantity is not evenly divisible by the end item quantity. The component data (BOM) is entered after clicking the components button on ME21n/ME22n at the item level detail. I need to evaluate the data after a user clicks save, but I cannot find a user exit where the data is passed into, or where it is defined as global data where I can reference it in a user exit. The data is stored on the screen in structure MDPM and stored in the database in table RESB.
I appreciate any help,
DavidThanks for pointing me in the right direction.
I was able to put my code in EXIT_SAPMM06E_012 and retrieve the component data through (SAPLEINK)XMDPM[]
Below is the code I used to assign the data to be able to evaluate it.
FIELD-SYMBOLS: <z_mdpm_x> TYPE ANY.
DATA: i_mdpm_x TYPE STANDARD TABLE OF MDPM_X.
Fetching Component data
ASSIGN ('(SAPLEINK)XMDPM[]') to <z_mdpm_x>.
CHECK sy-subrc = 0.
Assigning data into an internal table
i_mdpm_x[] = <z_mdpm_x>.
CHECK i_mdpm_x[] IS NOT INITIAL.
David
Edited by: David Herrema on Oct 20, 2010 3:03 PM -
Hii ,
I have to send IDOC ORDERS05 to be extended to add custom fields and code an appropriate user exit . Is there any user exit to populate data ??
They have told me to use RSEOUT00 program to send the orders05 idoc . My main concern is which user exit will I use to populate data ??what are the basic steps to populate data and send the idoc Please let me know .
Thank youHi,
Please note that user exits provided in the function module IDOC_OUTPUT_ORDERS.
Use T/Code SE80 and explore function group "XVED". This will give you all the user exit functions in IDOC_OUTPUT_ORDERS.
You can write your code in Zinclude programs .
Ex: ZXVEDU03
CASE SEGMENT-SEGNAM.
WHEN 'E1EDK01'.
CLEAR: WK_PLANT, WK_EQUNR, WK_BNDDT,WI_WERKS.
CLEAR: WK_PLANT_DONE, WK_PRICE_DONE, WK_EQUNR_DONE, WK_BNDDT_DONE.
CLEAR: WK_BAAN_LINE_PRICE_DONE.
CLEAR: WK_BAAN_HEAD_PRICE_DONE.
PRICING_CTR = 3.
WHEN 'E1EDK14'.
MOVE SEGMENT-SDATA TO E1EDK14.
PERFORM Z_EXIT_E1EDK14.
WHEN 'E1EDP19'.
XVBAP = DXVBAP.
MOVE SEGMENT-SDATA TO E1EDP19.
PERFORM Z_EXIT_E1EDP19.
DXVBAP = XVBAP.
and soon.... -
Is PGI date beased on system date or user profile time zone date?
Hi All,
When doing PGI what date system will take as Actual good issue date ? whether the System Date or User local Time zone date which maintained in User profile. If you have any idea on this please share.
Regards,
LakshmikanthHi,
You need to check with the basis team for settings this to your local time.
You can also check the field Personal time zone of the user in t.code SU01. I am not sure this will update the timings in the database when the user performs some action.
Regards -
Setting the inputdate component on user's time and date in JDeveloper 11g.
Can somebody help me non this? I was wondering on how will I get the user's time and date as the default time and date for my inputdate component because it always shows the server's date and time on where my application is placed.
This is what I did:
<afh:head title="EvCore Suppression"
<afh:script text="function dateTime()
var d = new Date();
var t_date = d.getDate(); // Returns the day of the month
var t_mon = d.getMonth(); // Returns the month as a digit
var t_year = d.getFullYear(); // Returns 4 digit year
var t_hour = d.getHours(); // Returns hours
var t_min = d.getMinutes(); // Returns minutes
var t_sec = d.getSeconds(); // Returns seocnds
}" </afh:script>
</afh:head>
but there's an erorr near <afh:script, it says that "Using HTML script tag can result in subtle/hard to diagnose bugs, trh;script should be used instead. Recommended attriibute 'type' is missing."
I tried to change my code based on the recommendation but it still generate an error on the same place and the same recommendation. -
User exit or BADI to change the delivery date in ME51N transaction
Hi Gurus,
I need a user exit or a BADI where I can change the delivery date in the item overview tab for each material. I need to calculate the date according the vendor contact details.
Please let me know if there is any BADI or a user exit for the same
Thanks a lot!!!
Sharathquick search for exits/badis: get package name and supply it into se80
or
se15
thanq -
User exit/BADI for Return PO item delivery Address
Hi Guyz,
We have a requirement where in when a PO item is marked as return PO item(In ME21n/ME22n/ME23n We have check box at item level) and click on enter/Check/Save, In delivery address of item details we have to populate Vendor address. By default SAP populates Plant address. If we manually give Vendor number in item details=>Delivery address tab then it populates vendor address. We want to automate this functionality.
Is there any Exit/BADI which serve this purpose.
Note: We need this functionality for few doc types(i.e PO doc type should also be available in the exit).
Any ideas could be really helpfull.
Thanks,
Vinod.Hi,
there are some user-exit & enhancements....
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
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
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
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
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
M06B0003 Number range and document number
Some BADI s:
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer
ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
ME_PO_PRICING Enhancements to Price Determination: Internal
ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
SMOD_MRFLB001 Control Items for Contract Release Order
MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
MM_DELIVERY_ADDR_SAP Determination of Delivery Address
ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
ME_REQ_POSTED Purchase Requisition Posted
ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
ME_PURCHDOC_POSTED Purchasing Document Posted
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
ME_BSART_DET Change document type for automatically generated POs
ME_BAPI_PR_CREATE_02
ME_BAPI_PR_CREATE_01
ME_BAPI_PO_CREATE_02
ME_BAPI_PO_CREATE_01
ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
ME_COMMITMENT_RETURN Commitment for return item
ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
ME_CIN_MM06EFKO Copy PO data for use by Country version India
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
ME_CHECK_OA Check BAdI for Contracts
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
No.of Exits: 35
No.of BADis: 55
Arunima -
User exit for additional data B for sale order item .
Hi., all
my client requirement is
( This business requirement will make the Last Price for a given item be visible during order entry. )
u2022Retrieve & display during order entry, the most recent unit price given to a customer for a specific item, from the Billing data.
. Display the Last Price under Additional Data B Screen
add new field (last extended price) in additional data b screen.
after that 1. Using the Sales Order Material Number (VBAP-MATNR), Sales Order Sales Organization (VBAK-VKORG), Sales Order Distribution Channel (VBAK-VTWEG), Sales Order Division (VBAK-SPART), Sales Order Sold-to Number (VBPA-KUNNR for VBPA-PARVW=u2019AGu2019) to access the Billing Items By Material Index Table (VRPMA) and specify a billing date (VRPMA-FKDAT) of less than 60 days from current Sales Order requested delivery date (if specified at header VBAK-VDATU or at the schedule line level (VBEP-EDATU). This will result in all the billing documents where the Sold-to bought the item but isnu2019t completely refined as of yet. Retain the billing document (VRPMA-VBELN), item (VBPMA-POSNR), and billing date (VRPMA-FKDAT) in a temporary table to pass to number 2 as the input.
2. Use the billing document (VRPMA-VBELN) and item (VRPMA-POSNR) to read the Sales Document Partners Table (VBPA) where the partner function (VBPA-PARVW = u201CSHu201D) and the Sales Order Ship-To (VBPA-KUNNR for VBPA-PARVW=u2019WEu2019) to select ONLY billing documents that are for that given ship-to location. This filters out only billing documents relevant for that ship-to location.
3. From the resulting list of billing documents, select the most recent date (VRPMA-FKDAT) which will refine the search for the last Billing Document (VRPMA-VBELN) and item (VRPMA-POSNR).
4. Using the most recent Billing Document (VBPA-VBELN), access the Billing Document Item Table (VBRP). To result in the Last Extended Price as VBRP-KZWI1.
5. This price will be an extended price which needs to be calculated as a u2018unit priceu2019. For this billing item, select the sales unit (VBRP-VRKME) to determine if the sales unit is in cases or eaches.
a. If the unit of measure is in cases, then simple math is required to divide the Last Extended Price (VBRP-KZWI1) by the billing quantity (VBRP-FKIMG). Standard rounding should apply when .005 results in a .01.
how to achive this ?Hi Chakravarthy,
use the Exits provided in SAPMV45A -includes MV45*ZZ and screen exits as well 8309 8310 8459, 8460. Just be sure to
use zznnnnnn include in the SAP provided forms instead of coding directly in the forms.
You can check below user exits:
MV45ATZZ :For entering metadata for sales document processing. User-specific metadata must start with "ZZ".
MV45AOZZ:
For entering additional installation-specific modules for sales document processing which are called up by the screen and run under PBO (Process Before Output) prior to output of the screen. The modules must start with "ZZ".
MV45AIZZ:
For entering additional installation-specific modules for sales document processing. These are called up by the screen and run under PAI (Process After Input) after data input (for example, data validation). The modules must start with "ZZ".
MV45AFZZ and MV45EFZ1:
For entering installation-specific FORM routines and for using user exits, which may be required and can be used if necessary. These program components are called up by the modules in MV45AOZZ or MV45AIZZ.
Reddy -
PO User Exit to Populate Field Validity End During Creation
Hi Gurus,
I'm currently designing a program that will perform auto-deletion of Purchase Orders that have no GRs after the latest Delivery Date of the PO line items. Our client is very strict in managing their purchasing activities hence the requirement. I'm planning to use the Validity End field on the Header level of the PO. Now, what I want to happen is that during PO creation (whether via ME59 or ME21N), a user exit will auto-populate the Validity End field using a pre-defined formula that will add a couple of days (buffer) to the delivery date.
Is there such a user exit that can auto-populate Validity Start and Validity End?
Thank you,
AivanHi,
Check the BADI :ME_PROCESS_PO_CUST
Which can be worked for your requirement. -
User exit for actual dates in CJ20N
I have a req, When i start any activity i enter date in user field in actual dates as displayed in below pic
Now when i enter date in user field it should be copied to actual start date field in dates tab as shown in below pic
Kindly suggest the user exit needed for it
Best Regards,
Nitesh H PanchalHi Nilesh,
Try this with Substitution & Validation rule.
You want AFVGD-ISDD should have same detail as of AFVGD-USR08.
However with the help ABAPer you can achieve this easily.
Regards,
Pranav -
User exit to change partner for inbound delivery creation
Hello,
I have a requirement to change the partner number for
the inbound delivery creation.
I only see the USEREXIT_MOVE_FIELD_TO_LIKP but I am not sure if this is
the right user exit for this requirement.
Is there the user exit for modifying partner in the inbound delivery?
Thanks in advance,HI
There is a program with which you can find the available exits as per your requirement. You have to execute the same and give your transaction code. Hope this helps...
*& Report ZFINDUSEREXIT
report zfinduserexit.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
<b>Do reward if useful...</b>
Regards
Dinesh -
BADI/User Exit for custom table update from Delivery
Hi
Our requirement is to update a custom table with the delivery number and other related details when the picking status is changed to "C". Kindly suggest BADI/User exit for this requirement .
Thanks in Advance for your immediate help .Hi Joseph,
See SAP Note 415716 - User exits in delivery processing. It says when you have the document number available, what is permitted, what not, ....
I hope this helps you
Regards
Eduardo -
User Exit for reading data from a hierarchy in BW-BPS
Hello Forum,
How can i fetch all the records from a particular node in a Hierarchy using a user exit in a variable in BW-BPS,
Plz Help,
Regards,
KKHi,
This is a sample code that may help you.
DATA: BEGIN OF wa_val,
from TYPE rsleaffrom,
to TYPE rsleafto,
END OF wa_val,
tb_val LIKE wa_val OCCURS 0 WITH HEADER LINE,
tb_grpval_ce LIKE wa_val OCCURS 0 WITH HEADER LINE,
tb_ce_val TYPE rshi_t_hienode,
tb_ce_intervl TYPE rshi_t_interval,
wa_hiedirkey TYPE rshi_s_rshiedirkey,
tb_node_val TYPE rshi_t_hienode,
tb_interval TYPE rshi_th_interval,
wa_interval TYPE rshi_s_interval,
SELECT SINGLE hieid objvers FROM /bi0/haccount
INTO wa_hiedirkey
WHERE nodename = group-name.
CALL FUNCTION 'RSSH_HIERARCHY_READ'
EXPORTING
i_rshiedirkey = wa_hiedirkey
i_date = sy-datum
IMPORTING
e_t_rsnodes = tb_node_val
e_th_rsinterval = tb_interval
EXCEPTIONS
invalid_hierarchy = 1
name_error = 2
iobj_not_found = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
thanks
pratyush -
User exit for save data in T.code PA40 ABAP-HR
Hi Expart,
what is the user exit which is trigger when we save the data through pa40 transaction which check the latest update in the database.
Kindly give me exit name .Hi Vikash ,
Please refer to below Exits :
HRPBAS01 User Exit for HR Master Data
HRPC0001 HR: PC download authorization
HRRPAI01 User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
PARA0001 Enhancement for Determining the Number of Periods
PARA0002 Enhancement for Calculating Annual Salary; IT0008,14,15
PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
PBAS0002 PA: Enhancements for Personnel Administration - Menu
PBASRP01 PA: User exit distributed reporting
Hope this will help you.
Regards,
Nikhil
Maybe you are looking for
-
Hi I am developing an scenario of file to idoc. My problem is, when it is generating the idoc in target system, the Parner Number in control record is filling with the logical system name given when creating the business system. I tried changing the
-
No way to use CMP in OC4J?
Hi, it seems we can never user CMP in OC4J. OC4J does not support EJB-QL. So how can we implement the finder methods? 1) One way is to put finder methods in ejb home interface, and add implementation (using direct JDBC) in bean class. But the server
-
I'd like to request that support be made for file formats that aren't necessarily fully supported. For example, I own the genuine fractals plug in for photoshop, and use that format to save ultra-large prints. Unfortunately, none of those will show u
-
We are working on some unit tests for HANA and we have two problems: When running the tests on browser it uses the browser language as language for tests, as we are using text joins the language may affect the tests. Is it possible to force English t
-
Unexpected backing bean error.
When we are trying to virtually customize ADF JSF page from JDev (10.1.3.3.) following error occurs unexpectedly. We didn't even change any line of code. We made Just user interface drag and drop. Even we take back pur change wee can't rescue errors.