SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign content of one import parameter (of an FM)into another import parameter?

ricky_shaw
Contributor
0 Kudos
289

Hello Experts,

I can see the FQevent R419 getting triggered during Invoicing outsort. It has only 2 import parameters.

XY_WA_IIU

X_INVOICE_PARAM

I want to change the out sorted amount in X_INVOICE_PARAM with XY_WA_IIU as below:

XY_PARAM-OUTSORTED_AMNT = XY_WA_IIU-PRINT_DOC-ERDK-TOTAL_AMNT.

How can i make use/change these import parameters ?

3 REPLIES 3

FredericGirod
Active Contributor
160

YOU CAN'T

so again, make an enhancement, or use something else

srinivasankh
Contributor
0 Kudos
160

Hi Ricky,

Technically you cannot change the import parameters.

Also, what is your requirement to change the amount in Invoice document? It is not recommended to just change the amount directly, you have to append corresponding FI-CA document with proper main/sub/ GL to add the line item to the invoice, this can be achieved from FQEVENTS R402

Thanks,

Srini

ricky_shaw
Contributor
0 Kudos
160

Hi Srini,

I want to change the amount in outsorted document. The invoicing part is getting out sorted recursively. When i go to EA05 and release it again & again(repeatedly) its going to outsort for >5 times. This can be controlled/avoided when both the new invoiced amount(from ERDK) & the out sorted amount (in XY_PARAM) are equal.

XY_PARAM-OUTSORTED_AMNT = XY_WA_IIU-PRINT_DOC-ERDK-TOTAL_AMNT