Skip to Content

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

Create Sales order - SRA017 bug?

Hi,

I'm trying to implement create sales order app, and in final stage, after Place order button press i got message:

Material xxxxxxx is not defined for sales org.1000, distr.chan.01, language EN

But material exists, if not,I cannot get so far in the app....


So I debugged it and realized, that external material number is not correctly converted into internal (SAP later in the code search using internal...)

the problem is in SALESORDER_CREATE_DEEP_ENTITY method of SRA017 in these lines(174):


CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

     EXPORTING

       input  = ls_orderitem-product

     IMPORTING

       output = ls_item-material.


if you look at other methods(SALESORDER_CREATE_SIMULATION) of SRA017 you can see that another FM is used for converting:



CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'

       EXPORTING

         input  = ls_orderitem-product

       IMPORTING

         output = ls_item-material.


The installed SP for SRA017 is SP03.


Many thanks Jiri

Tags:
Former Member

Helpful Answer

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