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

Extending BAPI_MATERIAL_MAINTAINDATA_RT

Former Member
0 Likes
1,214

HI

I want to extend BAPI_MATERIAL_MAINTAINDATA_RT, by using this fm i am updating the table MARM, and i want to update the

ztable zmarm with the new fields.

I am new to BAPI

please help.

4 REPLIES 4
Read only

Former Member
0 Likes
853

Hi,

Don't think any extension structures are available in this BAPI.

Regards

Vinod

Read only

Former Member
0 Likes
853

Hello Srivallika,

When you recieve such a requiremnt first check whether BAPI interface contains any extension structure. Here with this BAPI there is not such extensions. If the data u want to update in ZMARM is available within the BAPI then you have two options.

1. Find out any relevant BAdi is calling from this BAPi.

2. Alot of enhancement points are available withs BAPI, find out the relevant point and add your code there..

Regards,

Antony Thomas

Read only

Former Member
0 Likes
853

HI Antony

can you please explain in detail how to find and add the code in BADI for the bapi BAPI_MATERIAL_MAINTAINDATA_RT.

please help

Read only

0 Likes
853

Hello,

Search with CALL METHOD CL_EXITHANDLER=>GET_INSTANCE within the source code of BAPI.

use enhancement point option also, if Badi is not available..

Regards,

Antony Thomas