Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Why my ITEM TEXT is NOT creating/appearing in VA03, for INBOUND orders?

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

Tags:
Former Member
replied

hi,

you can do one more thing. do not call fm inside eXit rather call a perform with keyword on commit and call fm inside that form. what it will do it will first create the sales order and then will create teXt for the item of that teXt.

regards

vijay

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question