on 04-06-2007 12:53 PM
Hi,
I am trying to use the BAPI BAPI_DELIVERY_GETLIST, i need to pass Delivery Information on table IT_VBELN. I imported the model in VC and have flipped the port on IT_VBELN to make it an input port.
The issue that we are facing is that table values that we add into the IT_VBELN do not get transported to the BAPI call.
Has anyone else faced a similar issue? Looking forward to your inputs.
Thanks,
Aniruddha
Hi Gargya,
did you check the line betwenn tabe and BAPI? - Did you assign the values and did you set the mappingt scope to "All data Rows"?
You also have to check if you have defined a system action e.g. for your toolbar button.
You have to set the selection mode of the table to "Multiple".
You also can check the passed values by external debugging. I wrote a blog which you find here:
<a href="/people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i:///people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i
Hope that helps,
Best Regards,
marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcel,
Thank you for your reply, i have already tried all you have mentioned, I have set the mapping scope to All Data Row and the selection mode to multiple.
I have also tried testing the service by using the Test Data Service option in the context menu (on right click), the values are just not being passed to the table control.
Thanks,
Ani
Hi Gargya,
Am I right, that your BAPI BAPI_DELIVERY_GETLIST returns no value to your table?
If it returns no values you should check if you enter the correct import parameters if the BAPI requires them.
Another suggestion is that you check the BAPI via external debugging. You should activate external debugging in SE80 for your BAPI and then test the BAPI again in VC (with the same user).
I have written a blog about this, which you can find here:
<a href="/people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i:///people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i
<a href="/people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i:///people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i
Best Regards,
Marcel
Hi,
It's actually the other way around, here is the scenario, I am calling a BAPI that gets a List and populating the values in a Form(on the UI side). (Till here it is working fine)
At the same time this list of values need to go into another RFC function module. I am able to send one value at a time if variables are declared on the import tab of the function module (select event of form containing table), the requirement is to send multiple values. This should be simply achievable by flipping the port of the table and assigning the table view data to the same. However this is not happening.
I have verified using external debugging that we do not get any data in the table.
I have not found any OSS messages for the same, or any example where we send multiple values into a BAPI, could you verify at your end that you are able to send multiple values as a table input to a function module/BAPI.
The function module has been tested in the backend and there are no data formatting errors, all of the probable interface issues have been addressed.
Please let me know if you would like to see the gml code for the same.
Thanks and Regards,
Aniruddha Gargya
Hi Gargya,
Ok I understand. I have already used a RFC to write a complete table back to the backend and it works fine. Maybe you can post your model as download here in the forum than I will have a look on it. If you are not possible to post it as download let me know. I will send you my emailadress so that I will post the model here in this thread.
Best Regards,
Marcel
User | Count |
---|---|
85 | |
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.