2009 Sep 03 8:55 AM
hi,
can somebody tell me how to capture the order number before commit.
ex. i am using exit regarding iw31 ..after save only i will get the order number by rule.
but i want the number before save so that i can use this number in my exit program.
find below details:
so here i am fetching aufnr value from aufk table in where conditionn CAUFVD_IMP-aufnr.
but the value is not coming in iw31 but coming in iw32.
i want at the time of iw31...how to get ?????
FUNCTION EXIT_SAPLCOIH_009.
*"----
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(CAUFVD_IMP) LIKE CAUFVD STRUCTURE CAUFVD
*" VALUE(TRTYP) LIKE TC10-TRTYP
*" EXPORTING
*" REFERENCE(RELEASE_ORDER) TYPE XFLAG
*"----
INCLUDE ZXWOCU07.
ENDFUNCTION.
hi,
can somebody tell me how to capture the order number before commit.
ex. i am using exit regarding iw31 ..after save only i will get the order number by rule.
but i want the number before save so that i can use this number in my exit program.
find below details:
so here i am fetching aufnr value from aufk table in where conditionn CAUFVD_IMP-aufnr.
but the value is not coming in iw31 but coming in iw32.
i want at the time of iw31...how to get ?????
FUNCTION EXIT_SAPLCOIH_009.
*"----
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(CAUFVD_IMP) LIKE CAUFVD STRUCTURE CAUFVD
*" VALUE(TRTYP) LIKE TC10-TRTYP
*" EXPORTING
*" REFERENCE(RELEASE_ORDER) TYPE XFLAG
*"----
INCLUDE ZXWOCU07.
ENDFUNCTION.
2009 Sep 03 11:19 AM
Hi ,
Only when the data in iw31 is saved Ordered No is generated.
So i tried this exit ( IWOC0003 )at point of save .. still order no is not captured .
So you can try Implicit Enhancement at the end of the output.
Regards,
Vinu.R.
2009 Sep 03 11:52 AM
hi,
thanks for ur valuable reply..
can u just suggest how to write the logic for implicit enhancement.
just give some idea..because user wants it ..
please..
2009 Sep 03 12:17 PM
ramkunat,
You can do it in IWO10009 by using a PERFORM XYZ ON COMMIT statement.
Or you can use user-exit PPCO0001.
PeteA
[www.pjas.com]