cancel
Showing results for 
Search instead for 
Did you mean: 

DI API - Goods Receipt (OIGN) - HOWTO Set Price List ?

Former Member
0 Kudos

Hi everyone,

I want to create a Goods Receipt Document via DI API

Documents doc = (Documents)cmp.GetBusinessObject(BoObjectTypes.oInventoryGenEntry);

I set doc.DocDate of the document header,

and doc.Lines.ItemCode, doc.Lines.Quantity of document lines

In some cases, SAP does not allow me to add the document, namely when an item does not have a price...

In SAP GUI there is a possibiliy to set a price list (instead of "Last Purchase Price")

the related field in Database (OIGN) is "GroupNum"

My question is now - How can i set this variable "GroupNum" via DI API? Documents contains no property for doing this??

(I already looked at SDK Docu relating GetItemPrice, PriceLists but i didnt really found what i m looking for).

Best regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

For Goods Receipt documents, the field GroupNum can be set through the DI property "PaymentGroupCode".

John.

Former Member
0 Kudos

Thanks.

Regards

m_felicella
Participant
0 Kudos

Many thank's.

Answers (0)