Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to update EFFECT field AUSWK for notification.

slanzetta
Participant
0 Kudos
760

Hello,
I'm creating a notification with the bapi BAPI_ALM_NOTIF_CREATE, but I don't know, in which structure of the bapi, I have to value the EFFECT field (QMIH-AUSWK).
Could you help me by indicating the structure and field of the bapi, where to insert the value of the EFFECT?

Thank you
Stephen

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos
336

Call transaction SE11,

  • Display table QMIH,
  • Navigate to field AUSWK,
  • Double-click on the data element,
  • Perform a where-used search looking for structure name like BAPI*
  • Perform a where-used search of the structure in function module,

So you will get BAPI, parameter and field name yourself.

  • Ignore GET_DETAIL BAPI, Use the CREATE or CHANGE BAPI
3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos
337

Call transaction SE11,

  • Display table QMIH,
  • Navigate to field AUSWK,
  • Double-click on the data element,
  • Perform a where-used search looking for structure name like BAPI*
  • Perform a where-used search of the structure in function module,

So you will get BAPI, parameter and field name yourself.

  • Ignore GET_DETAIL BAPI, Use the CREATE or CHANGE BAPI

slanzetta
Participant
336

Hi Raymond,

I solved my problem in this way,before calling the bapi BAPI_ALM_NOTIF_CREATE I export the auswk value

EXPORT lv_auswk TO MEMORY ID 'EPAUSWK'.

and then I import the value into the EXIT_SAPLIQS0_017 checking that
IF sy-cprog = my program.

IMPORT lv_auswk FROM MEMORY ID 'EPAUSWK'.
e_viqmel-auswk = lv_auswk.
FREE MEMORY ID 'EPAUSWK'.

0 Kudos
336

THANK YOU SIR! It was really helpful and worked for me this workaround either!!