05-07-2010 11:00 AM
Hi Experts,
I am doing LSMW for PR creation which will create the PR header and Item.I have a second LSMW for creating the characteristics for the configurable material. In second LSMW, I have made my own customized BAPI but I am not sure how to generate the CUOBJ number. I have tried with the following function modules and methods:
FUNCTION 'IBPP_CREATE_IBASE'
METHOD Cl_cbase=>create_new_cbase
FUNCTION 'CUCB_CREATE_CBASE_WITH_NO_INST'
The new instance is generated and then i call the Function: CUXM_SET_CONFIGURATION and this also works fine but at last i call the FM: CUCB_CONFIGURATION_TO_DB to save the configuration to the database but this FM returns me an exception that the instance generated from the above FM/ method is not found and the configuration data is not saved.
I am not sure how its going to work.
Please suggest .
Thanks and BR,
Sahil
05-11-2010 7:39 AM
10-04-2010 2:21 PM
03-31-2011 9:28 AM
Dear Sahil,
could you tell how you managed to CREATE config for a material from scratch:
What's the sequence of which FM/BAPI's/events in order to:
- create an instance
- set config values
- make sure all is properly saved in the database?
thanks!
Maggie