cancel
Showing results for 
Search instead for 
Did you mean: 

How can I update an object and its nested collection- Agengy, SMP 3.0

Former Member
0 Kudos

Hello Gurus,

I have two objects: PurchaseOrders and PurchaseItems. 1 PurchaseOrder has more than 1 PurchaseItems. In my Java code, I create a Item array in PurchaseOrder object to store the PurchaseItems.


What I want to do is to update the PurchaseOrder object. There are 2 things I have to do:


Update PurchaseOrder object.

Update an existing PurchaseItem of the PurchaseOrder and/or create a new PurchaseItem of that PurchaseOrder?


I already created a Bapi Java class to edit a selected PO and every Item of that PO on my device.


What should I do next with the Agentry? Any help is appreciated.. Thank you very much.

Accepted Solutions (1)

Accepted Solutions (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

PH,

You appear to have two threads with the same question.  I see Jason is trying to help on the other thread.  Am I mistaken?

--Bill

Former Member
0 Kudos

they are different Bill. It is update a PO. The previous topic is add PO...

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

The process is virtually identical.  The only difference will be in your BAPI logic which you have already written.  You will connect it just like you are doing for the Add scenario.  Once you get that working this should follow a very similar pattern.

--Bill

Answers (0)