Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Populating Variant COnfiguration value in ORDERS05

sarbajitm
Contributor
0 Kudos

Hi,

I'm going to create Sales Order using ORDERS05 IDoc Type.Data coming from Non-SAP system consists of Variant Configuration data.I mean those data we have to place at the Item Level variant configuration area.Can anybody please tell me which segment I've to populate for the same? or if there is no segment for that then how we can achieve this........Is there any exit for the same?

Thanks in advance,

Sarbajit

7 REPLIES 7

madhu_vadlamani
Active Contributor
0 Kudos

Hi Sarbajit,

There is a segment need to fill the structures XE1CUREF or XE1CUCFG (IDOC).For this pass characteristic name and it is values.In va01 if you seen it will pass description and it is value.I did this before and created order and quotation.

ORDER_CFGS_REG

POSEX 000010

CONFIG_ID 000001

ROOT_ID 000001

ORDER_CFGS_INST

CONFIG 000001

INST_ID 000001

OBJ_TYPE MARA

CLASS 300

OBJ_KEY CONFIG-MATERIAL

CONFIG_ID 000001

INST_ID 000001

CHARC 'TURRET'

VALUE 1.

pass in this way to three structures.These are mandatory to fill if you have any issues please post.

Regards,

Madhu.

0 Kudos

Hi Madhu,

Thanks for your reply. But I need a little bit more explanation about the structures mentioned by you.

Thanks in advance.

Regards,

Sarbajit.

0 Kudos

Hi,

If you take one variant material to add in sales order then these are the details you need to pass.Just go through this not;549563.if still there is any help need post.

Regards,

Madhu.

0 Kudos

Hi Madhu,

Can you please tell me what I have to pass as value in fields like CONF_ID, INST_ID? I mean whether I can pass any numeric value as per my wish?

Regards,

Sarbajit

0 Kudos

Hi,

Pass like this CONFIG 000001,INST_ID 000001.

Regards,

Madhu.

0 Kudos

Hi Madhu,

It's working.Actually I was passing Item Number(POSEX) as 10 instead of 000010 so it was not working.But another issue I'm facing i.e. while I'm processing the IDoc using WE19 with the FM Idoc_input_orders in background mode it is giving error that Application Document not posted while when using foreground after error mode it is working properly.Can you please help me to sort out this issue?

Regards,

Sarbajit.

0 Kudos

Hi,

Can you paste the error what you are getting.

Regards,

Madhu.