cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC Orders with Barcode

Former Member
0 Kudos

How is it possible to sumbit a barcode with the idoc ordersxx.

I have the scanned order in the archive and an external barcode in the table BDS_BAR_EX. The SAP system automatically make the archlink entries in the table TOA01 if the order is created with a barcode value.

Thanks,

Alexander

Accepted Solutions (0)

Answers (1)

Answers (1)

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Alexander,

we don't have business document service active, so I don't know how to link the documents. In the end, barcodes are just numbers (and some characters, if you like). Check, in with field of a sales order this number is maintained in cases, when the link is created automatically. Fill this field via IDOC, too.

Regards,

Christian

Former Member
0 Kudos

Thanks Christian,

but the problem is that the transaction va01 popups a input field for the barcode when you save the order (customizied in spro!). This barcode is not saved in the table vbak. It is saved in the table BDS_BAR_IN. The tables BDS_BAR_IN and BDS_BAR_EXT will be watched by the SAP System and generates a TOA01 entry.

So I have not found a field in the ordersxx idoc segments.

I now have two options:

1.) Writting a RFC function to make the BDS_BAR_IN entry myself.

2.) To extend the ordersxx with a customer segment and ...?

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Alexander,

looks like you are struggling with an extension of document service of transaction VA01, which wasn't done for the IDOC.

1) I don't think this will be enough - then you have a DB entry without additional action. If you would call the popup logic in your RFC, you might get what you need. But popups aren't background enabled... Maybe you can use some logic from inside.

2) See above: populating some additional tables via IDOC customer segments won't be enough, you have to run through some additional logic. But this might also be possible inside a customer extension.

But first of all: search your documentation of document service, maybe there is a different way for background order creation. Otherwise it's worth a try to ask OSS / create a development request.

Regards,

Christian