10-12-2006 5:57 AM
Hi,
The requirement I have is to substitute the transaction type field (BSEG-BEWAR)based on the mapping to movement types.
The first step, in case of a Goods issue is to look into table LIPS, field BWART to get the movement type. However, since the outbound delivery has not been created, I cannot query this table on the basis of VBELN.
Is there any BADI which will help me get the value BWART(movement type)?
Any help/documentation will be greatly appreciated.
10-12-2006 6:00 AM
Hi,
VL01N has one BAdi called "DELIVERY_PUBLISH".
Why don't you use User exit for solving your problem?
Following are the user exits availble for the transaction:
V53W0001 User exits for creating picking waves
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53C0001 Rough workload calculation in time per item
V50S0001 User Exits for Delivery Processing
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50R0002 Collective processing for delivery creation
V50R0001 Collective processing for delivery creation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50PSTAT Delivery: Item Status Calculation
V02V0004 User Exit for Staging Area Determination (Item)
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0002 User exit for storage location determination
V02V0001 Sales area determination for stock transport order
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
Regards,
Dharitree
10-12-2006 6:03 AM
Hi
To find the BADI in SAP, follow the below steps to find the suitable BADI for your case ..
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction
if you follow this 7 steps, you will find a suitable BADI.
Regards
Sudheer