2013 Dec 24 9:43 AM
Hi All,
During one RFC FM creation , have some issue with BAPIRETURN.
i have data validaiton , for that i have to capture 4 messages in various cases.
im using BAPI RETURN as export parameter.
im getting all messages in wa_return-message-v();;;
But now i have to append all in my result bapireturn.
while in debugging i can see all messages under wa_return.
but as a result message im getting only one.
im not able to append directly .
please give me possible solution to come out of it..
Regards
Hi All,
During one RFC FM creation , have some issue with BAPIRETURN.
i have data validaiton , for that i have to capture 4 messages in various cases.
im using BAPI RETURN as export parameter.
im getting all messages in wa_return-message-v();;;
But now i have to append all in my result bapireturn.
while in debugging i can see all messages under wa_return.
but as a result message im getting only one.
im not able to append directly .
please give me possible solution to come out of it..
Regards
2013 Dec 24 9:48 AM
Hi,
Are you appending the messages like mentioned below.
call function 'BALW_BAPIRETURN_GET2'
exporting
type = pv_msgty
cl = pv_msgid
number = pv_msgno
par1 = lv_msgv1
par2 = lv_msgv2
par3 = lv_msgv3
par4 = lv_msgv4
importing
return = pt_return.
append pt_return.
2013 Dec 24 9:51 AM
Hi Suma,
i will sujjest you to write your code logic as shown below, change it as per as your requirements.
DATA : text(100) TYPE c.
CONCATENATE wa_return-message-v();;;
INTO it_error-text
SEPARATED BY ' '.
APPEND it_return.
2013 Dec 24 10:03 AM
Create your return parameter under tables or use a table type so that it becomes internal table. Append the message to it.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |