Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Extra space is inserted in custom field in the table using BAPI_PR_CREATE.

Hi Experts,

I need to update the custom fields in PR screen using BAPI.

After updating there is extra space in front of the data of each field in eban table

ls_ext_in-valuepart1 = ls_m_value+0(67).

ls_ext_in-structure = 'BAPI_TE_MEREQITEM'.

ls_ext_in-valuepart2 ls_m_value+67(240).

Kindly anyone advise how to avoid this space in front of the custom field.

Thanks & Regards,


pic.png (2913 B)

I can able to solve the problem by passing the data as below.

ls_ext_in-structure = 'BAPI_TE_MEREQITEM'.

ls_ext_in+30 = ls_m_value.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question