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: 

read payment method from FPY1 in event 1795

Former Member
0 Kudos

hi experts,

I need to know the payment method entered in FPY1 in event 1795.

In event 1795, this value is know imported.

So read that i it's possible to do it via Via MEMORY ID 'FKKMADADDONS’  using structure FKK_MAD_PAYP during mass activity.

But really, i see not how to do it.

Any idea would be helpful

regards,

Tierno

1 ACCEPTED SOLUTION

william_eastman
Advisor
Advisor
0 Kudos

Tierno:

What part is a problem?  In the standard function for this event, you can find how it is done for dunning where activity type = MAHN.  Line 261 of my code shows how to import and read the structure.

regards,

bill.

View solution in original post

4 REPLIES 4

william_eastman
Advisor
Advisor
0 Kudos

Tierno:

What part is a problem?  In the standard function for this event, you can find how it is done for dunning where activity type = MAHN.  Line 261 of my code shows how to import and read the structure.

regards,

bill.

0 Kudos

Hi william,

Thank you for your reaction. I need to know the payment method FKK_MAD_PAYP-ZWELS entered on t-code FPY1 when the user save (floppy icon)

For this I need to import the structure FKK_MAD_PAYP in vent 1795.

I have tried the following code in event 1795 but it's dumps saying there in memory id called FKKMADPAYP.

Data: h_payp type FKK_MAD_PAYP.
import addons to h_payp from memory id 'FKKMADPAYP'.

Does anyone know what is the memory id for FKK_MAD_PAYP and if this is a ADDONS or BASICS ?

NB: I cannot see the your code you are talking about.

Thanks,

Tienro.

0 Kudos

Tierno:

Event 1795 has assigned standard FM FKK_SAMPLE_1795.  Line 261 shows how to do this.

Obviously you would change it slightly to use the PAYP structure for the definition and for the check but the import statement would not change.

regards,

bill.

0 Kudos

Hi William,

Thank you. it works perfectly.

Regards,

Tierno