Skip to Content
0
Jun 24, 2022 at 03:13 PM

Updating BOLNR (Bill of Lading) Through Extension2 of BAPI_OUTB_DELIVERY_CHANGE

43 Views Last edit Jun 24, 2022 at 03:16 PM 2 rev

Hello All,

I am trying to use BAPI_OUTB_DELIVERY_CHANGE to add a Bill Of Lading to a given OBD.


I have found numerous posts about it and have been unsuccessful in implementing a JCo function that accomplishes this task.

            JCoTable ext = function.getTableParameterList().getTable("EXTENSION2");
            ext.appendRow();           
            ext.setValue("PARAM", "LIKP");
            ext.setValue("FIELD", "BOLNR");
            ext.setValue("VALUE", "<SOME BILL OF LADING>");

As well I have specified:

            JCoStructure tech = function.getImportParameterList().getStructure("TECHN_CONTROL");
            tech.setValue("UPD_IND", 'X');

When I run the function and display the RETURN table I get no errors but BOLNR on the OBD is still blank.

Any advise would be greatly appreciated.

Thanks,

Droughtrye