‎2009 Sep 08 11:55 AM
I am trying to do Batch Classification using the Bapi "BAPI_OBJCL_CHANGE_KEY". What do I have to pass in CLOBJECTKEY. As I am doing Batch Classification I am passing the Batch Number but it is not working with that. Can I get some help?
‎2009 Sep 08 12:23 PM
‎2009 Sep 08 12:01 PM
Hi,
The value what you need to pass there is the SAP GUI ID, which you can get from the document table. In the enterprise versions of SAP this field is added.
Thansk,
Mahesh.
‎2009 Sep 08 12:24 PM
I am doing it in a proxy. I am getting the inspection lot number, Batch Number, Material Number etc from the proxy structure.
Are you talking about the CUOBJ field from the QALS table. I tried testing the BAPI with that but it is not running. I am getting a message object does not exist.
Can you help me with some code snippet if you have worked with it?
‎2009 Sep 08 1:04 PM
Let me explain the entire scenario.
once a inspection lot is created it is sent to a different vendor for its usage decision. the usage decision comes back to us as a flat file and we have to update the batch characteristics.
if the interface wouldn't have been there the we would do it through MSC2N.
the steps are as follows:
Step1 - from transaction cor1 the process order is created
step2 - from cor2 process order
step3 - from cor6n, do the goods movement, give storage location and save
step4 - the interface work starts::
we get the inspection lot number from the proxy structure for the batch. now we need to update the batch characteristics
as we do in transaction MSC2N.
I need to use the Bapi here. now tell me how do i do that?
‎2009 Sep 08 12:23 PM