on 08-01-2013 6:11 AM
Hi Experts
I'm new to SUP and mobile application development . My problem should be very common but I didn't find any existing discussion on the same.
I'm using a BAPI ( BAPI_MATERIAL_GET_ALL ) which returns multiple tables data . I need RETURN table and MATERIALDESCRIPTION table along with the CLIENTDATA which is a single row ( structure ). When I'm creating a MBO , it is actually creating 3 MBOs as I have multiple tables to be returned. First MBO for material, 2nd MBO for description and 3rd one for return .
Now , in one of the screens, I have to populate Material and Material description together which are part of two different MBOs. As there can be multiple descriptions , I have to pick up the english description only. As the Material MBOs object query will return just the clientdata attributes, how to can I get the description from the MATERIALDESCIPTION MBOs based on the material and language .
When I create an editable field in the hybrid application and try to bind the key , I can only see the parent MBO ( Material ) to bind .
So, in short, when we are getting multiple MBOs from the same BAPI ( as multiple tables are returning ) , how to get the data from the parent and child MBOs together to display in a Single hybrid application screen.
Any help will be appreciated .
Regards
Gairik
You can write simple custom wrapper ZBAPI for BAPI_MATERIAL_GET_ALL
and add the selections you want , can manipulate the data easily.
This way you can also avoid unwanted tables..have a simple MBO.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Interesting,
how to get the data from the parent and child MBOs together to display in a Single hybrid application screen.
I have to pick up the english description only
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.