cancel
Showing results for 
Search instead for 
Did you mean: 

Help in End Routine

0 Kudos

Hi Experts,

in the DSO end routine, i need to look upto Vendor purchasing organization master data table, by passing Vendor number.

If there are 2 records found in the master data table, then i need to add a new record in the DSO ( one row each with respective purchasing org).

Essentially, i need to insert a new record in the result package, before updating the DSO.

Maser data :


Accepted Solutions (0)

Answers (1)

Answers (1)

blipchen
Participant
0 Kudos
  1. Get Master data in table
  2. Loop through source data. For each record, check number of entries in Master data table
  • If master data records = 1, read master data table, assign purchase org value and append to results
  • If master data records > 1, loop thru master data table, assign purchase org value and append to results