2008 May 19 4:17 AM
Hi buddies,
I listed all the User Exits of WA01 as below:
WAUFT001
WAUFT002
WAUFT003
WAUFT004
WAUFT005
WAUFT006
WAUFT007
But the problem is that when I executed WA01, none of these function modules was invoked?Can anybody give me some ideas about this?
Hi buddies,
I listed all the User Exits of WA01 as below:
WAUFT001
WAUFT002
WAUFT003
WAUFT004
WAUFT005
WAUFT006
WAUFT007
But the problem is that when I executed WA01, none of these function modules was invoked?Can anybody give me some ideas about this?
2008 May 19 4:21 AM
In program SAPML01A (transaction WA01), 'Adopt DC Stock' is carried out by function key 'VZBS' in include ML01AVZB . Using SE80->Edit->Enhancement Operations->Show Implicit Enhancement Options, you can find spots where you can modify code. This is usually at the begining and end of FORM routine.
Or
am listin all the Badis and the userexits for the WA01 transaction.
Enhancement/ Business Add-in Description
Enhancement
WAUFT007 User Exit Article Selection
WAUFT006 Allocation Table Number Determination
WAUFT005 Del. Phase Per Article and Ship-To Party or DC Determination
WAUFT004 User exit for recipient determination for DCs
WAUFT003 Determination of DC order quantity (reduced order quantity)
WAUFT002 Check: Automatically adopt requested qty as confirmed qty
WAUFT001 User Exit Allocations
Business Add-in
WRF_X_AT_SYNC_I AT - APC Confirmation
WRF_X_AT_POHF_OTB_I Use Fashion Purchasing FM to Generate VO with OTB Check
WRF_X_AT_LIST_LOC_E Change End Date of Listing in Allocation Table
WRF_X_AT_DET_EADAT_I Access to Add-On Data for Allocation Table
WRF_X_AT_CREATE_I Create Allocation Table
WRF_X_AT_CHECK_E (Incompleteness) Checks in Allocation Table
WRF_X_AT_ARTH_I Determine the Article Hierarchy for an Allocation Table Item
WRF_X_AT_AH_SCREEN_I Subscreen for Article Hierarchy/Purchasing List Number
WAUF_X_STORE_CONSTRA Alloc. Table - Restriction of Recipients with Fast Changes
WAUF_X_AT_FCODES_I FCodes Allocation Table
WALL_DETERMINE_DC Supply Source Determination for Customers (W/O Plant Ref.)
RAT_PROCUREMENT_TYPE Procurement Document Determination (PO/Sales Order)
AT_CONS_PROCESSING Consignment Processing in Allocation Table
keep teh Break point in each abdi and user exit and run and chesk which badi executes for your particular transaction and you can modify the code in that particular user exit or badi.
Reward if usefull,
2008 May 19 4:26 AM
Hi Murai,
Thanks for your information.
The problem is after I set a break-point in each user exits, these funtion modules were not invoked during the execution of WA01.
2008 May 19 4:24 AM
Hi Vincent Hsu,
WELCOME TO SDN
Did u try by setting BREAK-POINT in the exits.
Best regards,
raam
2008 May 19 4:31 AM
Hi Kodandarami,
Thanks a lot.
Actually, I did. For example, I added a break-point in the fm EXIT_SAPLWRWB_002 of enhancement WAUFT002, but it's unfeasible.
&----
*& Include ZXALLOCATIONUSEREXITSU02
&----
break-point.
if sy-subrc <> 0.
endif.
2008 May 19 4:40 AM
Hi Vincent Hsu,
Did u activate the project where u are using the exit.
or else try out these BAdI's
RAT_PROCUREMENT_TYPE Procurement Document Determination (PO/Sales Order)
WALL_DETERMINE_DC Supply Source Determination for Customers (W/O Plant Ref.)
WRF_X_AT_CHECK_E (Incompleteness) Checks in Allocation Table
WRF_X_AT_ENH_BEFORE_POST_E External Additions Before Saving the Allocation Table
WRF_X_AT_LIST_LOC_E Change End Date of Listing in Allocation TableBest regards,
raam
2008 May 19 6:45 AM
12 V_EXT_ACT OPEN 0 R 20 BADI_MATN1
8 V_EXT_ACT FETCH 0 64
1 V_EXT_ACT CLOSE 0 0
8 V_EXT_ACT OPEN 0 R 20 ME_CHECK_SOURCES
9 V_EXT_ACT FETCH 0 64
2 V_EXT_ACT CLOSE 0 0
2008 May 19 6:50 AM
Hi Kodandarami,
This is the snapshot of ST05 which was used to search BADIs,but it looks like no BADIs was called during the execution of WA01.
Transaction WA01 Work process no 0 Proc.type DIA Client 800 User AQIAN TransGUID CA3822DF96B3418695A7D4B553B5809C Date 2008.05.19
Duration Obj. name Op. Recs. RC Statement
12 V_EXT_ACT OPEN 0 R 20 BADI_MATN1
8 V_EXT_ACT FETCH 0 64
1 V_EXT_ACT CLOSE 0 0
8 V_EXT_ACT OPEN 0 R 20 ME_CHECK_SOURCES
9 V_EXT_ACT FETCH 0 64
2 V_EXT_ACT CLOSE 0 0
Otherwise, there is no result when I searched "call customer-function" throught the program of WA01.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |