on 10-04-2005 3:50 PM
Hi all,
I have a very simple scenario where I want to a BAPI call (BAPI_MATERIAL_AVAILABILITY) for a number of materials.
So I do this within a BPM. My outbound interface is a self-definied one, wich can contain several lines of data needed for the ATP-Check (Matnr, req_date, req_qty, unit,...) in a sequence. The plant occurs only once not in the sequence, but as element directly under the root.
In my BPM I do transformation of the data containing in the sequence to a list (a container element with multiple lines.
So far no prob
After this I have a loop and within this loop I want to call a transformation from the self-definied structure (now in the multi-lines element) to the BAPI input structure.
The prob is that the transformation don't accept a container element based on a message interface as the target structure.
My mapping has the BAPI_MATERIAL_AVAILABILITY as the target and my container element is also based on this type, but I always get the message "Expression must return the interface type BAPI_MATERIAL_AVAILABILITY".
Any Ideas?
Thanks
Regards
Olli
Hi Naveen,
first thank you for your fast reply.
The topics you described are implemented already. I have abstract interfaces for my source and my BAPI strucure and the transformation (should) do a mapping between these two interfaces.
Regards
Olli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Oliver,
transformation step requires both the interfaces to be abstract. Hence define an abstract interface that imulates the BAPI structure and do the transformation. have a send step after the transformation step to call the bapi. have an interface mapping between the abstract interface and the BAPI.
Make sure you have made the necessary configurations in Directory (reciever determination, interface mapping)
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.