04-07-2006 4:10 PM
Hi All,
I'm trying to post Inbound ORDERS05 to create a sales order with configuration data as follows :
E1CUREF ---passing the posex field with the item number(E1EDP01-POSEX)
E1CUCFG----passing the posex field with the item number(E1EDP01-POSEX)
and
in the E1CUVAL im passing the CHARC and the VALUE fields with the technical name of the characteristic and the value for it,
It is creating the order but not updating the configuration data, can someone please let me know if there are other fields/Segments that need to be populated in order to get the config updated in the sales order ?
04-07-2006 8:34 PM
Hi Advait,
I don't think you can populate the configuration data in IDoc segment for inbound sales order. The system will determine and assign automatially the characterictic and values for a given material (configurable material type) based on SD configuration.
Usually this E1CUVAL and other related configuration segment is used and populated for outbound sales order IDoc.
Hope this will help.
Regards,
Ferry Lianto
04-07-2006 8:34 PM
Hi Advait,
I don't think you can populate the configuration data in IDoc segment for inbound sales order. The system will determine and assign automatially the characterictic and values for a given material (configurable material type) based on SD configuration.
Usually this E1CUVAL and other related configuration segment is used and populated for outbound sales order IDoc.
Hope this will help.
Regards,
Ferry Lianto
04-09-2006 1:14 PM
Hi Ferry,
Thanks for your reply, I'm not quite sure if that is the case, because what I understand from variant configuration is that we can state which characterisctics will the material have and capability rules , but the values for those characteritics need to be assigned by the user. Similarly we want the IDoc to do that instead of the user since the order will come via EDI.
Example :
I want to purhchase a PC (I maintain only one material in MARA say "PC" and assign a config class to it which has a list of characteristics)
Now I get 2 Orders for Material 'PC' as follows :
Order 1
Material = 'PC'
40 GB Hard Disk
1 GB Ram etc..
Order 2
Material as 'PC'
20 GB HDD
256 MB etc..
Its possible for me to select these values while I create the order using the VA01 transaction , but what if my Order is coming via EDI ?
04-09-2006 4:01 PM
Hi Advait,
I think you can populate configuration data for inbound IDoc ORDERS05.
In user exits of IDOC_INPUT_ORDERS, you can search table VBAP for given material (will be posted) and find <b>VBAP-CUOBJ</b> (not initial). Then call function module VC_I_GET_CONFIGURATION to find all available configuration/characteristics data for above matarial.
From here, you can populate segment E1CUREF, E1CUCFG and C1CUVAL.
data: i_configuration like conf_out occurs 0 with header line.
data: l_instance like inob-cuobj.
clear: i_configuration.
refresh: i_configuration.
select single *
from vbap
...
if sy-subrc = 0.
l_instance = vbap-cuobj.
endif.
call function 'VC_I_GET_CONFIGURATION'
exporting
instance = l_instance
tables
configuration = i_configuration
exceptions
instance_not_found = 1
internal_error = 2
no_class_allocation = 3
instance_not_valid = 4
others = 5.
loop at i_configuration.
...
endloop.
Hope this will give you an idea.
Regards,
Ferry Lianto
Note: Please award point for helpful answer.
05-31-2006 6:08 PM
I read the documentation for creating IDocs with configurable items, I populated the fields as mentioned in the docs, one observation is that the example stated is for a BOM and its components , but in our case we have a flat material , not BOM structure , example : Wheels as a individual material which has certain characteriscs like outer diameter, inner diameter, type , color etc...
The documentation also states that you need to use ORDERS02 for configurable items , is that true ?
Its also mentioned in the documentation that the Config data is transferred to the ABAP memory then using some function modules the data is updated in the sales order configuration data if it is identified that the material is configurable material. Does any one know these function modules ?
I have supplied the necessary data in the IDoc in the E1CUREF, E1CUCFG, E1CUINS and E1CUVAL segments as mentioned in the example, but have no success in getting the configuration data updated while creating the order, the Idoc is going in status 53 but the config data is not getting updated.
Can anybody please help in this its a littel urgent.
your answers will be surely rewarded
Thanks
Advait.
02-12-2013 4:10 AM
Hi ,
Cn u please share if you got the solution .?
Am facing similar issue .. Am passing values to E1CUREF,C1CUCFG ,E1CUINS ,E1CUVAL. Sales order gets created but not able to updatet the config details.
Thanks,
Preethi.
11-06-2013 1:31 PM
I am searching for an issue too.
Please share if anybody has a solution.
Thaks
07-16-2015 9:49 AM
Dear Advait,
Can u please share the solution, we are also facing the same issue.
With Regards
Azeez Mohammad