05-25-2010 4:25 PM
Hi Friends,
I have an outbound BAPI through which i am extracting BOM details.
My question : I want to include a table type(for BOM items) within the same structure that contains BOM header. So, for one BOM header I will have multiple BOM items. Is this possible to achieve it in BAPI? If not, what is the alternative.
Regards
Sunil
Edited by: Rob Burbank on May 25, 2010 11:30 AM
05-25-2010 4:28 PM
05-25-2010 4:28 PM
05-25-2010 4:34 PM
Yes, it is custom BAPI. thanks.
Can you please tell me how to achieve this?
05-25-2010 5:21 PM
Hi James Bond,
just add a component to your structure with your table type as component type.
regards
REA
05-25-2010 8:34 PM
Thanks guys. But I am not sure if BAPI allows you to go with a nested table structure. does it?
Do you have any standard BAPI that is handling this kind of requirement? or if you can send me some sample, that would be great.
Thanks a bunch!!
Regards
JB
05-25-2010 8:44 PM
Since BAPIs are inheritly an RFC function module, I don't think you can have complex structures. Basically RFC functions are callable from outside of the sytem, and complex structures may not be understood by the caller. I think you may get a syntax error when trying to apply a complex structure as a parameter of the BAPI.
Regards,
Rich Heilman
05-25-2010 8:57 PM
Thanks Rich. But then, what is the alternative to this? Can you please suggest what your experience says?
Regards
JB
05-25-2010 9:29 PM
05-25-2010 9:31 PM
05-25-2010 10:02 PM
Thanks Rich. Thatz what I initially thought.
Anyway, thanks for your time. I have rewarded points to everyone who replied.
Regards
JB