cancel
Showing results for 
Search instead for 
Did you mean: 

Direct Storage of Configuration for Models Created in IPC/CRM to SAP ECC

Former Member
0 Kudos

Hello All,

Can someone help me with the question below.

The Notes that have been referred are 1) 847643 2) 792790 3) 706162.

We have VC Models created in ECC and then Replicated to IPC via Knwledge Base (KB run time Version). A Model is validated in the KB
Runtime version in IPC and then through Middle Ware we Created  requisite sales Document like Quote or Sales Order in SAP ECC. We feel
that we can improve the system performance if we are able to use the direct storage mechanism availble in CRM, i.e. when we create a Sales
order in SAP ECC using a Sales Order already created in SAP CRM we have  the ability to do a direct storage of Configuration i.e. we do not need
to validate the VC Model in SAP ECC again and this can result in performance Improvement.

We have gone through list of SAP OSS Notes and havent found any note that prescribes how to use the direct storage functionlity the list of
Note referred are as follows 1) 847643 2) 792790 3) 706162. Note:- I tried marking the SCE Field in the Structure ORDER_CFGS_REF in
the BAPI- BAPI_SALESORDER_CREATEFROMDAT2, this has not made any  difference in the System Performance improvement.

Is it possible to switch off the configuration in SAP ECC under certain circumstnaces when we create the Sales order via BAPI which gets it
data from IPC Knwoledge Base. This will result in a performance  improvement for VC Models.

Warm Regards

Sridhar

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Within standard ECC the processing of the configuration or direct storage is based on several factors, but the main function involved in this process is: CE_C_PROCESSING.

Based on what I understand from you is that you want to avoid this function to be executed once data from the IPC is transferred to ECC since you rely on the data content.

If you have all characteristic values already and want to do direct storage to the database in ECC you need to call two functions back to back.

1. CUCB_SET_CONFIGURATION

2. CUCB_CONFIGURATION_TO_DB

If you want to store to the database and run the profile after this you will do:

1. CUCB_SET_CONFIGURATION

2. CE_C_PROCESSING

3. CUCB_CONFIGURATION_TO_DB

If within this process you want to control the formatting of the characteristics you could call:

CUCB_GET_CONFIGURATION or

CUCB_COPY_CONFIGURATION.

Those functions also will ensure that your change log etc are updated correctly within the processing.

The SCE flag adjustment is related to variant matching if you have this active. If your design does not need this, then de-activating this in customizing will also increase some performance.

Structure RCURS also allows to set the value FALSE for debug and direct processing modes for some configuration related functions (like CE_C_PROCESSING).

If your transfer from CRM to ECC design don't allow for this then the design of your configuration profile could help you out as well. SAP recognizes  the environment it is active in, in this case BAPI mode. If your dependencies call a variant function that can ask for this and avoids calling any other dependency then your almost achieve the same result. I know this is not ideal and desired, but could help you out.

Hope this helps you out some more, otherwise you have my contact information.

Good luck,

Jeroen

Former Member
0 Kudos

Hello Ritesh,

I sincerely appreciate for trying to help me in this respect, however the data is transferrred via BDOC when CRM is used and the order needs to be transferred to SAP ECC and this needs a CUOBJ number which will associated with the line item with configuration, however it is mentioned in the notes that i mentioned in the original query that in some cases the configuration is directly stored in the tables to improve performance, How is this done and all that the notes states is direct storage but no data around how this is done technically.

However the creation of a sales order can only be done using a Create Sales Order function module (BAPI) and no other method and the data being sent through BDOCS, so what needs to be done to this BAPI to be able to make use of this direct storage method so that i dont need to run  my configuration in SAP ECC as i have already validated this in IPC. I am sure once we dont start validating the input in SAP ECC VC this will give a significant gain in performance.

Else it is like performing the same task over and again knowing for the fact that nothing needs to change when creating an order in SAP ECC except for those one of cases where the model has been changed and new KB run time version has not been generated and propogated to SAP CRM.

Note:- We use CRM only to Stack IPC and we dont have any use of CRM like creating Sales order and replicating this in SAP ECC, however in either case the IPC is responsible for validating the VC Model and propogate the data. CUOBJ is generated automatically and in fact when you are still in order creation model it will a series of '99999999...' with the last four chars left for the POSNR Number i.e. line item number, this is what i see when i create a VC sales order for the line item in SAP ECC via the BAPI.

Regards

Sridhar

Ritz
Active Contributor
0 Kudos

Hi Sridhar,

I have gone through 1) 847643 2) 792790 3) 706162, but i  none of them i found  information pointing to

" when we create a Sales order in SAP ECC using a Sales Order already created in SAP CRM we have  the ability to do a direct storage of Configuration i.e. we do not need to validate the VC Model in SAP ECC again and this can result in performance Improvement"

Thats why asked specific SAP Note number.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------

you can check , Note 359180 - Variant matching during direct storage configuration

it specificaly says that , if your system  has a Release of >= 4.6B, in the CRM standard system the flag for direct storage of the configuration is set.That means, in this case the sent configuration is not processed again in the R/3 system but is stored directly in the respective database tables.

Please mark helpfull , if it help you.

Thanks

Ritesh

Former Member
0 Kudos

Hi,

the data in the IPC is updated periodically, so there is always the risk that the initial IPC validation does not match with the backend ECC or CRM validation, so I think this is why it is repeated.  If there were a difference (for example if the IPC updates are switched off by mistake), then the backend save would crash if you were to bypass the tests.

Regards

Daniel

Ritz
Active Contributor
0 Kudos

Former Member,

What i know is , we need to enable a material number which needs to be used/transfered to IPC.

and the setup have options like

VC ONLY

VC with IPC in TEST

IPC With VC in TEST

IPC ONLY

so do you have concern over here , for calling IPC SCreen  at the time of creating sales order in ECC?

or when you say ,

Is it possible to switch off the configuration in SAP ECC under certain circumstnaces when we create the Sales order via BAPI which gets it
data from IPC Knwoledge Base. This will result in a performance  improvement for VC Models.

or you want to avoid/supress  the messages which may get generated while assigning configurations values.

In my understanding , while creating a sales order in ECC system creates a CUOBJ which is unique for the ECC data base , and it will be created in all cases , as it holds all the data related to configuration, so please confirm , when you use the option of replecating sales order from CRM , how this CUOBJ is getting generated and its the key to solve your issue.

I will appriciate if you can share what document you are refering , which gives detail about

We feel that we can improve the system performance if we are able to use the direct storage mechanism availble in CRM, i.e. when we create a Sales
order in SAP ECC using a Sales Order already created in SAP CRM we have  the ability to do a direct storage of Configuration i.e. we do not need
to validate the VC Model in SAP ECC again and this can result in performance Improvement.

CRM functionality of direct storage.

please check and revert back.

Thanks

Ritesh