on 03-18-2010 4:44 PM
Hi,
I want to capture whether approve or reject button was checked in badi BBP_DOC_CHECK_BADI . I know that i have to do someting like this
DATA: LV_MEMORY TYPE STRING VALUE '(SAPLBBP_CF)gv_approve_reject'.
FIELD-SYMBOLS <LV_APPROVE_REJECT> TYPE C.
ASSIGN (LV_MEMORY) to <LV_APPROVE_REJECT> .
A = Approve, R = Reject
but i guess something is missing here because i am not able to fetch the value using this piece of code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually i was waiting for your reply on this i have seen your post but the code that you gave there is not working for me we are on SRM 4. My requirement is exactly same as yours. I need to differentiate between the approve and reject radio button in the doc chek badi.
This is the code i am trying to put.
constants: lv_memory(40) value '(SAPLBBP_CF)GV_APPROVE_REJECT'.
field-symbols <lv_approve_reject> type c.
assign (lv_memory) to <lv_approve_reject> .
Edited by: RAHUL SINGH on Mar 23, 2010 11:08 AM
I even tried a small sample program to access the fields vila field symbol and its not working
REPORT ztest1.
DATA test(25) VALUE 'ggg'.
submit ztest.
report ztest.
constants: lv_memory(25) type c value '(ZTEST1)TEST'.
field-symbols: <fs2> type char25 .
assign (lv_memory) to <fs2>.
write : <fs2>.
I am getting same field symbol assignment dump
Edited by: RAHUL SINGH on Mar 23, 2010 11:25 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.