on 10-26-2015 10:19 AM
Hi ABAPer,
I got a request need to get the release code and based on it to check PO price, how can I get the code in ME29N when user click in dialog? I have debug program is event trigger method "METHOD hotspot_click" in program LMERELVICI1. I also try to use the field symbol to get it and failed. Can you please let me know how to get the code in other program? I would like develop the implicit enhancement in program MM06EF0S_STRATEGIE_CEKKO. I think the program routing is SAPLMEGUI->SAPLMERELVI->SAPLMEPO->SAPLMEGUI
DATA: IM_CODE TYPE FRGCO.
FIELD-SYMBOLS : <IM_CODE> TYPE ANY.
ASSIGN ('(SAPLMERELVI)MY_TMP_REL_CODE') TO <IM_CODE>.
IF <IM_CODE> IS ASSIGNED.
IM_CODE = <IM_CODE>.
ENDIF.
Thanks,
Leon
first create an implicit in program LMERELVITOP and declare a variable there, i.e g_rel_code.
create an implicit in method HOTSPOT_CLICK and pass the value of my_tmp_rel_code / ls_data-rel_code to the new declared variable.
now you can access the variable through (SAPLMERELVI)G_REL_CODE in your programs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Leon,
Try using the below methods.
EXPORT p1 = var1 TO MEMORY ID 'MEMID'.
IMPORT p1 = var2 FROM MEMORY ID 'MEMID'.
Regards,
Thanga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the BADI ME_PROCESS_PO_CUST and Method PROCESS_HEADER.
Use.
DATA: ls_mepohead TYPE mepoheader.
ls_mepohead = im_header->get_data( ).
check the data in ls_mepohead.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.