Question:
Dear Friends,
When I double click the column for SD document (VBELN) in an ALV list, the value in the memory for the VBELEN is not populating at VA12. With debugging mode, I found the value for "RS_SELFIELD-VALUE' is available as '110001'.
But VA12 is prompting for value.
See the following Call back event:
form callback_ucomm using r_ucomm like sy-ucomm
rs_selfield type slis_selfield.
message i000(zz) with r_ucomm.
case r_ucomm.
when '&IC1'.
set parameter id 'AUN' field rs_selfield-value.
call transaction 'VA12' AND SKIP FIRST SCREEN.
when others.
endcase.
endform.
Anything wrong with it? pls advise.
Cheers!
Maria.
Answer:
Use parameter id 'AFN' instead of 'AUN'
Answer:
Thank you Bibin. I shall try this parameter id.
But why use parameter id 'AFN' instead of 'AUN' ? The property of VBELN shows as AUN.
It will be interesting to know for others too..
Cheers..
Maria
Answer:
Since parameter IDs are attached to data elements, the technical information will show the same PID as long as data element is same.
But, in the F1 help on Inquiry / Order number, SAP has given different parameter ids used for different document types.
Answer:
Thank you Bibin.
Its working with AFN.
Cheers.