Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ABAP Get local variable from other method(Get release code)

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

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question