cancel
Showing results for 
Search instead for 
Did you mean: 

u00A7VC Need to detect that configuration takes place within a production order

andreas_bonhfer
Explorer
0 Kudos

Hello folks,

I am searching for a "Flag" to determine, if the processing of the configuration is within a production order (not the "Bom resolution" of the configured material, but the configurable material itself).

The best would be to have an "object characteristic" (linked to a table, which is only available within this environment), but I found none, all are from sales doc.

Also some other suggestions like userexits or variant functions are welcome.

Thanks in advance

Andreas

Accepted Solutions (0)

Answers (1)

Answers (1)

Rachel_Tang
Advisor
Advisor
0 Kudos

It's not possible to process configuration in production order, the configuration secenario only applys for the make-to-order process, the production order will get the configuration data from the corresponding sales order but you can't configure the material inside the production. It is standard behavior, there is no BADI or user-exit could change this behavior.

andreas_bonhfer
Explorer
0 Kudos

Dear Rachel,

I don't want to configure the material via the standard procedures or constraints.

I have a variant function, which only should processed outside the production order, therefore I want to use a object characteristic or somethin else, e.g. in a procedure like

pfunction Y.....

IF object_characteristic specified.

It is not helpful to determine only the salesdoc environment, because I need the processing of the configuration also in another environment outside the sales doc.

Best regards

Andreas

Rachel_Tang
Advisor
Advisor
0 Kudos

Hi Andreas,

I am confused about your problem, what is the "another environment outside the sales doc"? Do you mean you configure your material in other place than the sales doc and want to know if the configuration is done there or in a sales doc by a characteristic value?

Regards,

Rachel

andreas_bonhfer
Explorer
0 Kudos

Hello Rachel,

"---Do you mean you configure your material in other place than the sales doc and want to know if the configuration is done there or in a sales doc by a characteristic value?..."

We use the configuration within the sales doc and within an (own) other environment by using fm's CE_C_PROCESSING / CUCB_CONFIGURATION_TO_DB with an own owner_id / object type.

We hand then the configured material incl. the configuration out of our own environment over to a production order as new component via Batch Input.

So in this case the configuration in the production order is processed once more and leads to unwished effects for some procedures.

To detect, wether I am within sales doc I can use object characteristics like VBAK_VKORG or what ever. For my own environment of cause no object characteristics exists.

So I want to know, if there is a possibility with standard environment to detect, in which environment the configuration takes place. Maybe there is a user exit, who can deliver this information?

Please reply again, if something is not clear or I am in the wrong forum

Thanks and best regards

Andreas