Userexit in delivery
hello, friends.
the requirement is that the delivery document should be output into a text file upon posting of goods issue. my question, is their a userexit i can use for this purpose? and also, should it be a userexit in the delivery or should it be in the material document?
many thanks in advance!
regards.
jonathan
hello, friends.
the intention is to generate data in text format, which will be used in applications other than SAP.
you have been very helpful. i have temporarily given some token points, and will get back to you with my results.
thanks.
Similar Messages
-
Need Badi or UserExit during Delivery creation
Hi,
I have a requirement to create PGI automatically after delivery is created.
So i am looking for Userexit or BADI which is called immediately after delivery is created so that I can used delivery number and call logic to create PGI.
I have searched the sdn for same requirement but the badi LE_SHP_DELIVERY_PROC or BADI DELIVERY_PUBLISH and user exit MV50AFZ1 wont suffice .
Please suggest.
Thanks & Regards,
Swapnil.Hi,
to check which BADI are presents during the execution of your trx, just put a break point in the method "get_instance" of the class "cl_exithandler".
Watch the "sxs_inter" variable (that contains the name of the BADI interface).
Run the trx and just watch what u can implement.
Hope it helps
Bye
Andrea
Pls reward if it helps -
Hi,
Can anyone tell me if there is any userexit for updating the delivery line item status for Intercompany billing VBUP-FKIVP to set this as Relevant for billing.
Cheers SumitHi
below are the some delivery related exits.
Delivery related exits
V50PSTAT - Delivery: Item Status Calculation
V50Q0001 - Delivery Monitor: User Exits for Filling Display Fields
V50R0001 - Collective processing for delivery creation
V50R0002 - Collective processing for delivery creation
V50R0004 - Calculation of Stock for POs for Shipping Due Date List
V50S0001 - User Exits for Delivery Processing
V53C0001 - Rough workload calculation in time per item
V53C0002 - W&S: RWE enhancement - shipping material type/time slot
V53W0001 - User exits for creating picking waves
VMDE0001 - Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 - Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 - Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 - Shipping Interface: Message SDPACK (Packing, Inbound)
V02V0001 - Sales area determination for stock transport order
V02V0002 - User exit for storage location determination
V02V0003 - User exit for gate + matl staging area determination (headr)
V02V0004 - User Exit for Staging Area Determination (Item)MV50AFZ1 - User Exits for Delivery Processing
MV50AFZ2 - User Exit for Batch Quantity Allocation
MV50AFZ3 - LIPS-KOQUI (Picking is subject to confirmation) determination
MV50AFZK - The user exits in this include can be used to fill the condition tables for material listing and material exclusion (KOMKG and KOMPG) and product selection (KOMKD and KOMPD) with own data.
MV50AFZL - In delivery creation process for sales orders there is the possibility to restrict the delivery creation to some order items. If these order items are member of a delivery group, but not all items of this delivery group are includes in the restriction range of the order item nubers, you can specify in this routine what to do.
MV50AFZP - This user exit can be used to modify change mode of pricing screens in delivery processing.
MV50AFZZ - Users Exit for Batch Determination; LIPS-LGORT determination
you can find the same in SDN-WIKI
https://www.sdn.sap.com/irj/scn/wiki?path=/display/erplo/sdUserexits
Regards,
Ramesh -
Pricing condition program, userexit for delivery
Hi ,
As we have standard program RV60AFZZ to determine Pricing condition for Sales Order.
Do we have any Program, user exits , Routine to determine condition type for delivery?
Thanks
Aman KumarHi,
First functional people have to configure pricing procedure for delivery also...then u can use MV50AFZP include ("Userexit for pricing screen input)
Regards
krishnakiran -
Making Order Acknowledgement (AB) a mandatory for Inbound delivery
Dear All
Kindly let me know wether is it possible to make the order acknowledgement a mandatory before creating an Inbound Delivery.
I.e., with OA the inbound delivery is not tpo be created by user.
If it is possible please revert your answer
Regards
ChaitanyaIt is not possible to make the 'AB' as mandetory in confimation in PO before creating inbound delivery but while creating inbound delivery u can check whether AB is created in PO in userexit of delivery mv50afz1 and control user to create the inbound del if there is no ab created.
-
Hi Experts,
Whenever delivery is blocked, i want to write reson
for blocking and store in a custom table.
please explain how should i do this.
Thanks,Hello Asha,
The solution can depend on when do you wish to trap the particular block...
Online
In that case you would need to use the userexit for delivery note and store the corresponding data in the ztable.
Batch.
Loop through the delivery note data for the day and update the ztable, if the block exists.
Regards
Anurag -
Delivey split by line items.
Dear all,
i have a scenario that if my sales order line item exceeds by 50 then the delivery should be automatically split.
Subsequent delivery split is not useful for me in this. please suggest me how to achieve it.
Regards
RameshHi
Guess, you should take care of not having more than 50 line items in the delivery. Suppose if you have 80 line items in the order and because of other delivery split criteria like shipping point, route... etc., the delivery split takes place as per the standard. Hence you should look for working in the areas of copy controls (for splitting requirements) or else with the help of a userexit in delivery.
Thanks,
Ravi -
Hello, all
Can someone give instructions how to copy PO date (VBAK-BSTDK) to Actual GI date (LIKP-WADAT_IST) ?
I want this date field to be automatically copied (transferred) from sales order to delivery. Which user-exit to use ? I need solution because I want goods issue to be posted on certain day.
Thanks for help,
RJ.Hi
Roman
To meet this requirement u can make necessary cnages in USEREXIT of delivery.
>MV50AFZ1 --- FORM USEREXIT_MOVE_FIELD_TO_LIKP.
( This userexit can be used to move some fields into the delivery header workaerea LIKP ) with the help of your ABAPer.
Thx.
Dwarkesh -
Issue with Select Query in the Delivery userexit USEREXIT_SAVE_DOCUMENT
Hi All,
I am facing a strang issue with delivery userexit
1) I have a delivery user exit MV50AFZ1 - USEREXIT_SAVE_DOCUMENT.
2) In this user exit. I have written a select query as shown below
*Get the already delivered data
SELECT vbeln
vgbel
vgpos
erdat
erzet
lfimg
FROM lips
INTO TABLE t_lips
FOR ALL ENTRIES IN t_xlips_reference
WHERE vgbel EQ t_xlips_reference-vgbel
AND vgpos EQ t_xlips_reference-vgpos.
IF sy-subrc EQ 0.
ENDIF.
3) The use of the above select query is to find out if there is any delivery that has already been created for the reference slaes order for which the current delivery is being created.
4) The issue here is that for the FIRST DELIVERY, this select query should fail becuase there is no delivery created earlier and LIPS table would not have data. But, I am seeing some data getting populated in the internal table. The data that I am seeing in the internal table is the data of XLIPS which is nothing but the one that is about to get saved in the database after finishing this userexit.
5) STRANGE Point is that this is working fine in case if I create delivery using the transaction VL01N. But, if I create delivery using VL10A program I am facing this issue.
<< Removed >>
Thanks,
Babu Kilari
Edited by: Rob Burbank on Jun 16, 2010 4:22 PMThen why don't you add
AND vbeln NE likp-vbeln -
Any *USEREXIT* available to check PGI done or not while printing delivery
My Requirement is
Printing of the delivery ticket (Delivery Challan) should be done only after post goods issue and not before that. Hence it has to be validated before every printing.
So, the customer can be given delivery ticket only after post goods issue and no changes can be done subsequnelty in the system.
Any USEREXIT available to check PGI done or not while printing delivery challan?
Please help me in this regard.
Regards,
AnbuI have checked Functional SPRO setting in T.Code: NACE.
In the Output Determination Procedure for Delivery - against the output type there is a column "REQUIREMENT". U can use requirmenet "1" and then system will issue output only after PGI.
The Code in Routine 1 is as follows -
***INCLUDE LV61B001 .
FORM KOBEV_001.
Work area KOMKBV2 is available*
If goods issue has been posted for the delivery, then the output*
should be created.*
IF KOMKBV2-WBSTK = 'C'.
SY-SUBRC = 0.
ELSE.
SY-SUBRC = 4.
ENDIF.
ENDFORM.
FORM KOBED_001.
ENDFORM.
I have gone through SAP Note 415716 But Still it is NOT working.
Any clues?
Regards,
Anbu -
Userexit which determine the confirm delivery date in order creation
Hi,
I need to obtain the ATP details which contain confirm delivery date of all the lineitem. The BAPI BAPI_MATERIAL_AVAILABILITY determine the material availability date but not the Confirm delivery date. But I require the Confirm delivery date which will be calculated based on picking, working day ...
Is there any userexit available to determine the Confirm delivery date from the material available date.
Pls help..urgent..
Thanks
Suresh KumarHi,
The userexits related to the material availability during sales document processing are:
User Exits For Availability Check
The user exits named here are planned for projects that are to be carried out in agreement with SAP development as they may only be used in consultation with SAP. SAP provides no guarantee if they are used without our advice!
USEREXIT_PLANT_SELECTION in program RV03VFZZ is an exception to this rule (see below).
User exits in program FV45VFZZ
USEREXIT_ADD_FIELD_TO_HEADER
USEREXIT_ADD_FIELD_TO_LINE
User exits in program FV45VFZY
USEREXIT_DELIVERY_GROUPS
USEREXIT_MVERF_INIT
USEREXIT_QUOTA_KEY_VALUE
User exits in program RV03VFZZ
USEREXIT_AVAILABILITY_IN
USEREXIT_AVAILABILITY_OUT
USEREXIT_DARA_REFRESH
USEREXIT_PLANT_SELECTION
This might be of some use.
Thanks and regards,
Satya -
Userexit to limit over delivery tolerance in Sales order
Hi,
I want to limit delivery over tolerance to particular range while creating sales order or change in sales order. so anyone can tell me in which userexit i can do this.
Awaiting for earlier response.
Thanks in advance.
Regards,
Piyush Gajerahi
Here is the list of user exit related to VL01N :
V02V0001 - Sales area determination for stock transport order
V02V0002 - User exit for storage location determination
V02V0003 - User exit for gate + matl staging area determination
V02V0004 - User Exit for Staging Area Determination (Item)
V50PSTAT - Delivery: Item Status Calculation
V50Q0001 - Delivery Monitor: User Exits for Filling Display Fields
V50R0001 - Collective processing for delivery creation
V50R0002 - Collective processing for delivery creation
V50R0004 - Calculation of Stock for POs for Shipping Due Date List
V50S0001 - User Exits for Delivery Processing
V53C0001 - Rough workload calculation in time per item
V53C0002 - W&S: RWE enhancement - shipping material type/time slot
V53W0001 - User exits for creating picking waves
VMDE0001 - Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 - Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 - Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 - Shipping Interface: Message SDPACK (Packing, Inbound) -
The userexit is not working in integration scenario- inb. delivery creation
Hi Experts please help,
We know that vl31n is for inbound delivery creation.
in one of the userexits of vl31n, I did code ( shifting the batch to vendor batch )...
So,the user enters batch number under batch field and
fill all other required information and saves to create inbound delivery.
Whilw inbound delivery creation my coding in user exit gets executed and shifts the batch number to Vendor batch field.
This we observed when we check in vl32n or vl33n, the batch entered shifted to Vendor batch field() batch field is space.
This is working fine with vl31n inb. delivery creation.
But in integration testing it failed.
In Integration, what is happening the other system called "ICH" is creating ASN (shipping note) with the batch number, which inturn created the inbound delivery in R/3 via XI as shown like below.
Integration scenario :
ICH System (ASN) --> XI --> R/3 System (Inb. delivery creation)
So when "ICH" triggers ASN to R/3 the inbound delivery creation is happening but the batch number is not shifting to vendor batch field.
when we open the inbound delivery in vl32n, the batch number is under batch field only...it should be under vendor batch field.
My understanding is my user exit coding of vl31n not getting executed in the integration process.
Kindly help me what can I do to shift the batch sending from ICH to shift to vendor batch field.
Please let me know if I could not explain the scenario.
THANKS IN advance.
YOUR HELP WILL BE GREATLY APPRECIATED.the ASN from ICH, it uses a standard idoc function module IDOC_INPUT_DESADV1 and there is one user exit EXIT_SAPLV55K_012 which calls ZXTRKU07
need to code there.
solved by meetings with some other experts.
THANKS. -
How to delete or remove delivery block in VL01N using userexit?
Hi All,
Would like to seek your advice on the above mention subject. There is a scenario where during the creation of sales order (VA01) and the order type is Sample Order (ZSA). The delivery block for the customer has the status '05: Check Free of charge delivery'.
After creation of sales order, i would like to create a delivery via (VL01N) with reference to the sample sales order that i have creation as mention above. It does not allow me to create and after i hit enter, a display log prompt out with the message text: Order blocked for delivery as a result of credit check.
Question:
1. How to set the delivery block to blank or delete the delivery block via user exit during the creation of delivery (VL01N)?
2. Which form should i use in user exit: MV50AFZ1, is it FORM USEREXIT_SAVE_DOCUMENT or FORM
USEREXIT_SAVE_DOCUMENT_PREPARE?
Steps Taken:
1. User exit found is MV50AFZ1.
Appreciate your advice a lot. Thanks in advance..:)Hi,
i would suggest you to read these links first.
[http://help.sap.com/saphelp_46c/helpdata/en/93/744bf2546011d1a7020000e829fd11/content.htm]
[http://help.sap.com/saphelp_crm40/helpdata/en/dd/5607b3545a11d1a7020000e829fd11/content.htm]
this will you an idea of delivery block.
at delivery level LIKP-LIFSK field stores the delivery block value. in your case it will be 05. 90 is total block i believe.
so in your case, in user exit check for value in this field and if its 05, make your changes. be careful when you make this change; any batch jobs running at background can also get affected and start creating deliveries although it is suppose to have a delivery block.
Thanks,
Sam. -
Delivery Doc with Automatic Shipment Doc - VL01n and userexit for VL06p
Hi Experts,
I have a scenario of Shipping for SD.
Every time I create a delivery document, the system creates a new Shipment Document if matching Shipment Document is not available. And if the shipping document with same criteria is available, it automatically attaches the Delivery Document to that Shipment Document. (Where can I set this config?)
First of all I want to know, what are the criteria? For example the ship to party should be same, route should be same etc...
My actual requirement is, I want to add one more criteria. So how can I achive this?
Second is, I need to know the User Exit available for the Transaction VL06p (TO Creation).
Quick answer will be highly appriciated.
Thanks in advance.
Best regards,
HPHi HP,
This is a collective processing we can do in foreground (VT04) and background (VT07) .
If you go to VT04 there you can easily understand the process.
Frist you need to select radio button Create outgoing shipment if it outbound shipment .
2nd to select deliveries you need to create variant by using this program SAPLV56Lwhere you can provide all information i.e. required inputs. In this you can add some more new requirement as per the availability given by the SAP.
3rd Comes to rules you need to specify the rules here also you need to create variant by using this programs RV56TRSP and RV56TRTR
assign all these variants in this respective VT04 screen and execute i hope your issue may resolve.
How to create variant Go To--> SE38 give this program select variants radio button press change you will go to one more screen where you can able to create variant. these variants automatically appears in the respective fields.
I hope your issue may resolve.
Regards,
Durga Sana
Maybe you are looking for
-
In GP how to get work items in outlook inbox
Hi, Any one can explain me how to send work items to Outlook Mail. This option is there in ABAP work flow. I need solution in GP. Please give any sloution. Thanks, Sunil
-
Creation of logical file while creating APD
Hello, I am creating an APD in which Multiprovider as source and flat file as the target with some filter in between. While defining the target as flat file, I have selected application server and logical file name. Can any one please let me know how
-
Hi, In my page(jspx) which is splited into two different parts(Left and Right). Left Part having Tree structure and In Right part i need to display the content from another jspx( having 3 pages) pages as per the node selected in Tree at Right Side. I
-
How to display html document in browser?
Hi, I want to display an html document in my directory using nescape. How can I do that? I know that AppletContext can display html, but it has to be in URL. How about a document in my directory? Help please.
-
No direct GL posting can be done in GL account
Hi I am creating a purchase order with sale order reference. The sale order item is HALB. a. When I am creating as a regular sales order (in my case) with item category as TAN, the system is creating the purchase order. b. When I am creating for a sa