3 weeks ago
Hi experts
Result type of "IS_EE_ORG_ASS_REPL_REQ-ORG_ASSIGNMENT[... ]" cannot be converted into the type of
"LT_FIN".
This is the code:
TYPES : BEGIN OF gty_displaydata_order,
INCLUDE TYPE SFIOM_S_REPL_REQ_ORG_ASS_EXTND,
persg TYPE persg.
TYPES END OF gty_displaydata_order.
DATA :lt_fin TYPE TABLE OF gty_displaydata_order .
DATA(lv_cont) = lines( is_ee_org_ass_repl_req-org_assignment ).
IF lv_cont >= 2.
APPEND LINES OF is_ee_org_ass_repl_req-org_assignment[ lv_cont - 1 ] TO lt_fin .
ELSEIF lv_cont = 1.
APPEND is_ee_org_ass_repl_req-org_assignment[ lv_cont ] TO lt_fin.
ENDIF.
Regards
Request clarification before answering.
AFAIK sfiom_s_repl_req_org_ass_extnd is an internal table of line structure sfiom_s_repl_req_org_ass_extnd. Compare in your system this structure definition with the one defined in your code, then adapt your definition and/or your code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raymon, I have done several changes and the error is the same
My requirement is define a TYPES with the following information, and create a internal table of this type.
TYPES : BEGIN OF gty_displaydata_order, INCLUDE TYPE SFIOM_S_REPL_REQ_ORG_ASS_EXTND, persg TYPE persg. TYPES END OF gty_displaydata_order. DATA :lt_fin TYPE TABLE OF gty_displaydata_order .
Then I need add records to this internal table, however this generate the error:
I share the following information
Regards
User | Count |
---|---|
50 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.