on 11-28-2007 9:17 AM
Hi
I am trying to use RFC_SAVE_TEXT to write Production Order Header Text, but obviously can only write one line from the JCO Function call.
Using the technique mentioned elsewhere on this forum I can use a local XML variable to write multiple lines, but I can only get this to work where I know how many lines I am writing. In this situation there could be as few as 0 lines, but no upper limit, so the user could post 1000 lines if he really wanted to.
Has anyone got a solution for this?
Thanks
Nick
Hi Nick,
I'm not clear about your requirements but I feel that this can be achieved by using an illuminator document. Accumulate the lines in the illuminator document using a repeater and then you can assign it to the line of the concerned RFC.
I haven't tried it, but i think this will be do the thing.
Regards,
Musarrat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think you could pass the xmii style XML to the RFC call.
I've figured it out though, What you need to do is have two xml variables. The first is the same as the request xml of the rfc/bapi. The second is the same as the multiline element.
You then loop through the input, setting the variables in the second xml variable then using APPEND XML option of link editor to add this to the first variable.
This can then be assigned to the request of the rfc/bapi.
Thanks for your time
Nick
User | Count |
---|---|
10 | |
5 | |
1 | |
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.