I have created 2 UDFu2019s in Marketing Documents ie Attribute1 (32Char) and Attribute2 (32Char). I have made a PurchaseOrder of 6 row Items and entered values to the above UDFu2019s. Now I copy that PO to GoodsReceiptPO and all the data along with the UDF values get copied to GRPO.
In my 6 rows I have same item eg ABC repeated in 3 different random rows. This item is a Batch Management on every Transaction item. When I try to add the GRPO, a Batch setup Screen pops up, Onthis Screen on the upper matrix ie Rows from Documents Matrix you will find the 3 rows of the same Items. When you Click on Automatic Creation button, an Automatic Batch Creation Screen Opens. On this Screen you have 2 fields ie BatchAttribute1 and BatchAttribute2.
What I want is how do I pass the udf values of GRPO ie Attribute1 and Attribute2 value on this Automatic Batch Creation Screen. I am trying it to do with SDK but I cant get the reference of which ROWs Automatic Screen is Opened as all the 3 item are ABC and they are on different different rows in GRPO (say on row1 and row3 and row6) and all these rows have different different values in the UDFs. I need to put the respective values from GRPO to the Automatic Batch Creation Screen BatchAttribute1 and BatchAttribute2 fields.
I hope I am being able to explain you the entire scenario clear to you.
Which is the unique key which is hidden on the Automatic Batch Creation Screen which sap knows and we are unaware. For that reason I explained you the entire scenario. My question was just that sap should let me know which is that field in SAP that is storing and passing the DocNo and Line No of GRPO to the AUTO BATCH Creation Screen. This fields are not visible to us, so how do I get the reference of this field on Auto Batch Creation Field or is there any other field by which sap recognizes during the time of Auto batch Creation. Would really appreciate you kind support for the same.