Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Bapi extension in BAPI_PR_CREATE unicode programming

Former Member
0 Likes
710

Hi Experts,

We are adding the custom fields to the purchase requisition through EXTENSIONIN in BAPI_PR_CREATE i am using the following code

data : wa_te_meqitem TYPE bapi_te_mereqitem,

wa_te_meqitemx TYPE bapi_te_mereqitemx,

wa_ext_in TYPE bapiparex,

lt_extin TYPE TABLE OF bapiparex,

wa_te_meqitem-zzcartname = lv_cart_name.

wa_te_meqitem-zzcatalog_id = lv_catalogid.

if wa_te_meqitem-zzcartname is not initial.

wa_te_meqitemx-zzcartname = 'X'.

endif.

if wa_te_meqitem-zzcartname is not initial.

wa_te_meqitemx-zzcatalog_id = 'X'.

endif.

wa_ext_in-structure = 'BAPI_TE_MEREQITEM'.

wa_ext_in+30 = wa_te_meqitem.

append wa_ext_in to lt_extin.

wa_ext_in-structure = 'BAPI_TE_MEREQITEMX'.

wa_ext_in+30 = wa_te_meqitemx.

APPEND wa_ext_in TO lt_extin.

while running the extended check it is showing the error like " After a structure enhancement, assignment or comparison may no longer be permitted."

Can any one please suggest me how to overcome the error

Thanks in advance

Praveen

1 REPLY 1
Read only

Former Member
0 Likes
498

This is an informational message ( which can be hidden with ' "#EC * pseudo-comment, if I remember correctly), informing you that if that table or structure is modified, assignment of those DDIC items to internal structures or tables could cause abends.