Application Development and Automation 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: 
Read only

batch characteristic validation

Former Member
0 Likes
753

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

3 REPLIES 3
Read only

Former Member
0 Likes
566

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..

Read only

0 Likes
566

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.

Read only

Former Member
0 Likes
566

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.