09-18-2008 5:11 PM
Hi Experts,
The sales ordrers comes to our sytsem EDI as a INBOUND ORDERS05.
The FM is IDOC_INPUT_ORDERS.
If some thing wrong with materails, like not existing in MARA, so,......I need to create a TEXT on the sales oder at ITEM level under EDI - TEXT name.
So, am using FM of CREATE_TEXT in the user-exit of zxvedu05 of the above said FM. and am passing all parametrs correctly!!!!!!!!! but, am NOT seeing any TEXT in VA03????????????
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = '0002'
FLANGUAGE = 'E'
FNAME = XTDNAME1
FOBJECT = 'VBBP'
SAVE_DIRECT = 'X'
TABLES
FLINES = TLINETAB1
EXCEPTIONS
NO_INIT = 01
NO_SAVE = 02.
Let me know that, Where is the mistake?
Is am NOT using correct exit?
Is I need to pass some more input parameters?
replies appreciated.
thanq
Edited by: SAP ABAPer on Sep 18, 2008 6:27 PM
Edited by: SAP ABAPer on Sep 18, 2008 6:28 PM
09-18-2008 6:16 PM
09-18-2008 5:54 PM
What value is in XTDNAME1? Did you concatenate vbeln and posnr?
Regards,
Valter Oliveira.
09-18-2008 6:02 PM
Why are you calling this function, if you fill the segments with the proper data then it will be taken care by Function module.
09-18-2008 6:04 PM
in the include LVEDAF08
you can find the perform
PERFORM CHECK_ORDER_POSTED USING RETCODE
CHANGING RC.
inside this CREATE_TEXT handled.
and the exit you are using mostly don't contain any order number.so it will fail.
09-19-2008 3:35 PM
thanq
and the exit you are using mostly don't contain any order number.so it will fail.
so, mostly, or NEVER?
in my case, am getting as export parameter with name of SALES_DOCUMENT.
in the include LVEDAF08
this include is NOT triggering.........but, LVEDAFOF is triggering, but, even u r mentioned PERFORM is also existing here & triggering.
Edited by: SAP ABAPer on Sep 19, 2008 4:36 PM
09-18-2008 6:16 PM