‎2006 Aug 13 10:44 PM
Hi,
I have process inbound idocs, where I have to create batch numbers for materials if they do not exist and correspondingly batch characteristics too.
I used functions BAPI_BATCH_CREATE , BAPI_OBJCL_CREATE and for the existing characteristic values BAPI_OBJCL_CHANGE.
While testing I am able to create new batches for materials. But where do I check ( in terms of tables) whether characteristics are created or updated. I am trying tables CABN and CAWN but i dont see my data.
If there is a mistake, kindly tell me what I have to rectify. Thanks
‎2006 Aug 14 1:18 AM
I hope you have done a COMMIT work after using the BAPI. if not then you will not see the batch information in SAP.
After the BAPI is called you must call BAPI_TRANSACTION_COMMIT to write the changes to the database.
If you are doing testing and not using a COMMIT then the system will only simulate the creation of the business object.
Hope this helps
Cheers
VJ
Mark helpful answers if this helps..
‎2006 Aug 14 4:22 PM
Yes i did use the commit transaction. In the error table i get the message "No assignments found" and 'Assignment is not valid" . I guess there might be a problem in the data populated in the development client. I will check it once more.
‎2006 Aug 14 4:38 PM
The characteristic values for a batch a retained on table ausp. The material and batch are concatenated to get an object key on INOB. Which can then be used to access table AUSP. Users can display and maintain batch characteristics using transaction MSC2N.