cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Program /NXI/P1_FW_RUN to update Model table in PAPM

scn_papm_user
Explorer
0 Likes
2,147

HI Experts,

I wanted to know if we can leverage program /NXI/P1_FW_RUN for updating Model Table entries by using Package selection or package parameters.

For an example if in PAPM model table I have a field called scenario and it has been maintained as ACTUAL. By using the /NXI/P1_FW_RUN I wanted to update the entry in Model table to FORECAST by giving this FORECAST in package selection.

If in case this is not possible by using program /NXI/P1_FW_RUN , could some one please help me on how to update Model table entries using SAP program or TCODE based on user selection.

Right now we are using flat file and manual update for updating the table.

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

alex_marasigan
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Naveen,

Good day.

There is a functionality in PaPM wherein the model table entries get updated when you execute the program /NXI/P1_FW_RUN, this is available for processing functions.

Let me use a sample allocation as our example.

Please follow the steps below that you may use as a guide for your configuration.

  1. Create 3 fields on your PaPM environment (Amount, Portion, Customer)
  2. Create a sender table containing the amount field, activate the function, and maintain the data
  3. Create a receiver table containing the fields Portion and Customer, activate the function, and maintain the data
  4. Create a Result Model Table containing all the fields (amount, portion, and customer), activate the function (note: do not maintain the data as this is where the result of the allocation function will be posted.)
  5. Create an Allocation function, using all the default entries on the header except for Result Model Table field, assign the created Result Model (step number 4) table on this field
  6. On the Sender Tab assign the Sender Table
  7. On the Receiver Tab assign the Reciever table
  8. On the Signature tab assign the following: (Sender Action = Amount; Receiver Selection = Portion)
  9. On the rules tab assign a rule with indirect as rule type
  10. Maintain the following on the sender rule tab: (Sender Rule = Posted Amounts; Sender Value Fields = Amount; Sender Share = 100.00; Mapping Method - Empty As Value)
  11. Maintain the following on the receiver rule tab (Receiver Rule = Variable Portions; Distribution Base = Portion; Scale = No Scaling; Driver Result = (blank)
  12. Activate the Allocation function
  13. Go to SAP GUI and run transaction code /NXI/P1_FW_RUN, fill in the following parameters (Environment. Version; Function)
  14. Choose the execute button
  15. Once the run is successful check the result model table created on number 4 then choose the Analyze button.

The result of the allocation will appear in this table.

For more information on the functionality of the Result Model table please follow this link: https://help.sap.com/viewer/56471df1959f4cfd9e3bf7a6d2d5be42/3.12/en-US/d9977c4d

Hope this helps.

Thank you and best regards,

Alex

scn_papm_user
Explorer
0 Likes

Hi Dinesh,

Thanks for your reply.

Our requirement is to update the model table entries when we execute the program /NXI/P1_FW_RUN. Can we achieve this by using this program or any other method.

Reagrds

Naveen