04-23-2020 7:58 AM
Dear Experts.
In the function exit EXIT_SAPLEBND_001 ,I need to read the PR item number and PR number.But I am not getting that in the User Exit M06B0002.
Can anybody help me
Thanks
04-23-2020 8:10 AM
Hi
What is your requirement for enhancement. can you pl put more detail?
04-24-2020 8:18 AM
Hi
In the function exit EXIT_SAPLEBND_001, I have used CEBAN-USRC1 for determining PR release strategy by comparing the old value of EBAN with new values in CEBAN.So to get the old value from EBAN I need a PR number and Item number.
04-24-2020 8:27 AM
Hi
Try to get it from Parameter 'BAN'.
DATA: ls_banfn TYPE EBAN-BANFN.
GET PARAMETER ID 'BAN' FIELD ls_banfn.
OR
WA_AREA = '(SAPLEBND)E_EBAN'.
ASSIGN (WA_AREA) TO <FS_EBAN>.
WA_EBAN = <FS_EBAN>.
Regards,
Venkat
04-24-2020 8:49 AM
You should really stop proposing the memory access to people, this is a very bad practice.
04-27-2020 7:49 AM
Hi,
I tried using 'PARAMETER ID' but there is no item number. Also the global variable '(SAPLEBND)E_EBAN' is empty in my exit.
04-24-2020 8:50 AM
my proposal, is to find another user exit with the expected data. And use SingleTon Design Pattern to store this information globally for all your user exit
04-27-2020 7:46 AM
Hi,
There is no other userexits where we can set the USRC1 field value.We can determine the release strategy in EXIT_SAPLEBND_001 only.
04-27-2020 8:10 AM