on 03-17-2016 3:40 PM
Hi,
I successfully uploaded several SKF via BAPI. However this process created as many document numbers as all SKFs updated. Is there a way to have them only in 1 document no.?
thank you
Kind regards
Salvatore
Hi All
I have actually solved the issue via batchman.
thank you all
S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Salvatore,
Yes it is, you can use the same BAPI BAPI_ACC_STAT_KEY_FIG_POST filling the DOC_ITEMS table with your SKF items. It´s created a document for each BAPI call, so maybe you have a loop calling this BAPI for each item, but in this case is just fill the DOC_ITEMS table with all SKF items and post using the same BAPI.
Just one document is created:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have the same structure in the header and in the item this is a 1:1 relationship.
You should have two separated source structure, check the second step in the Maintain Source Structures and split in two, one for the header and another one for the items and make a relationship 1:n (1 header to n items).
Best regards,
Gabriel Coleti
You have to define 2 source structures, one for the header and another one for the items.
Like this:
Assign the structures to the following relation:
Define two files, one for the header and another one for the items:
Assign the header file to the header source structure and the items file to the line items source structure:
Note that one header and two items is being read:
I hope this helps you to get where you want.
Best regardsm
Gabriel Coleti
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.