on 10-01-2012 11:26 AM
Hello,
I have an RFC to RFC interface.
In source RFC I get a table. In the target RFC I can only process one record at a time. Also, I have to build all the answers of
RFC destination table also return them to the RFC origin, the latter did not working, the response source RFC is empty: I have:
- An operation container
responseM is Multiline
response isn't multiline
Both are of the type response RFC (source)
This is in a block
Outside the block, we have a step Transformation:
And OM_ResponseMultilinea:
Source Target
ResponseRFCSource 0..unbound ResponseRFCSource 1
Where I have the error?
Thanks and regards,
Silvia
any idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Silvia,
If I am correct your requirement is as follows:
responseM(source - Multiline) ->response(Single line)
You don't need the transformation step to break the responseM to response instead use the Block(if required within the block) if they are of the same type.
If not, then use a Block
The Block will take each line of responseM message and use in the block. Please set Block to ForEach. Now define a variable similar to ResponseM Interface type (for eg. BAPI_RESPONSE_ABS) but do not check multiline and keep it restricted to this block. Do the transformation here.
Are you sending the response somewhere and receiving some value?If yes, use a synchronous send step and then use a container (with append) to store the value. Now, outside the Block you will have to define another variable for the process of the type response but here check Multiline and select Process. After this step use the send step.
If you want to send response directly, then put a send step within this block.
I hope this helps.
Hi Silvia,
In source RFC I get a table. In the target RFC I can only process one record at a time
i am not sure about this but can u check your operation mapping for first request, means
your Sender structure is unbounded records and for receiver you can map with only one occurrence record.
Regards
Gagan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.