cancel
Showing results for 
Search instead for 
Did you mean: 

MBO with two objects

Former Member
0 Kudos

Hi, I have a project that has an MBO, with the BAPI "BAPI_POGETDETAIL"
to create the MBO, in the diagram editor eclipse, appears two interconnected objects,
"PO_HEADER" and "PO_ITEMS."
I need to create a workflow screen that displays the fields with data from "PO_HEADER" and below a list with data from "PO_ITEMS."
The problem is that I can only manipulate the data "PO_HEADER" and not "PO_ITEMS," how can I do to manipulate the data of the two objects and create a screen with fields and list?
Thanks for your attention.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Have you tried adding controls that bind to PO_HEADER keys and a list view binding to PO_ITEMS keys in same screen?

When you have 2 MBOs like this and you want to have one screen show all the data, when you called the Object Query both the MBO data should be retrieved at the same time. For that to happen, you need to create a relationship between PO_HEADER mbo and PO_ITEMS. Then when data is sent to device, data for both the MBO's is sent.