on 09-09-2014 4:58 PM
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
Hi Jiri,
Please check the note 2048694 - If material id contains leading zeros, then sales order creation fails for this material. If it does not help, please create an incident from SAP Service Marketplace.
Regards, Masa
SAP Customer Experience Group - CEG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.