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 tableextension ,finding business object and why message type

Former Member
0 Likes
1,122

hello experts and moderators,

I searched the forum and not found the satisfactory answer for this questions .sO I am posting this , and it will help the people who are having the similar doubts in single thread.

Please post the answers for this.

1) How to find the business object name if we have the function module say BAPI_MATERIAL_SAVEDATA . I have checked in BAPI explorer there is no option to give the fm and get the releated business object. We have to manually goto hierarchical tab in the left and check the relevant application and find out. Is there any way for this?

2)Same bapis can be used for creating and changing data for example BAPI_MATERIAL_SAVEDATA.

How do we tell to the sytem that we need to create the material or change the material.

Beacuse when creating the material we are passing the material number as input if it is internal number range then we are passing material number also, ofcourse will be passing material type etc for creation. Is there any other way to know?

3)What is the releavance of ALE message type , in Bapi when and where we are going to use this?

4)How to know the class for the particular method of BAPI say CREATE in business object StandardMaterial

5)How to know the mandatory fileds in the bapi apart from reading the documentaion. Is there any way to know by seeing the bapi object in BAPI explorer.

6)Please tell what is meant by or difference bwt Instance-dependent method vs

Instance-independent method

7)Diff bwt business object type vs interface type?

8)While using bapi in LSMW we need to input

Business Object

Method

Message Type

Basic Type

From where we need to get the basic type for the message type?

9)we have added the zfields to the table mvke and this fields are placed in material master sales view.

If i want to read or write this fields i need to find out the strucute for table extensions ie for example for po it is BAPI_TE_PO_ITEMS structure.

Please tell me how to find out for mvke table and how to find which bapi to enhance.

Thank you for all the replies

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
993

1) Execute a where used on FM, limit to programs starting with RBUS

You should get a unique RBUSxxxxx where BUXxxxx is the business object (double-click should display this business object as SWO1)

Regards,

Raymond

hello experts and moderators,

I searched the forum and not found the satisfactory answer for this questions .sO I am posting this , and it will help the people who are having the similar doubts in single thread.

Please post the answers for this.

1) How to find the business object name if we have the function module say BAPI_MATERIAL_SAVEDATA . I have checked in BAPI explorer there is no option to give the fm and get the releated business object. We have to manually goto hierarchical tab in the left and check the relevant application and find out. Is there any way for this?

2)Same bapis can be used for creating and changing data for example BAPI_MATERIAL_SAVEDATA.

How do we tell to the sytem that we need to create the material or change the material.

Beacuse when creating the material we are passing the material number as input if it is internal number range then we are passing material number also, ofcourse will be passing material type etc for creation. Is there any other way to know?

3)What is the releavance of ALE message type , in Bapi when and where we are going to use this?

4)How to know the class for the particular method of BAPI say CREATE in business object StandardMaterial

5)How to know the mandatory fileds in the bapi apart from reading the documentaion. Is there any way to know by seeing the bapi object in BAPI explorer.

6)Please tell what is meant by or difference bwt Instance-dependent method vs

Instance-independent method

7)Diff bwt business object type vs interface type?

8)While using bapi in LSMW we need to input

Business Object

Method

Message Type

Basic Type

From where we need to get the basic type for the message type?

9)we have added the zfields to the table mvke and this fields are placed in material master sales view.

If i want to read or write this fields i need to find out the strucute for table extensions ie for example for po it is BAPI_TE_PO_ITEMS structure.

Please tell me how to find out for mvke table and how to find which bapi to enhance.

Thank you for all the replies

5 REPLIES 5
Read only

Former Member
0 Likes
993

Hi,

3)What is the releavance of ALE message type , in Bapi when and where we are going to use this?

Ans: BDBG transaction shows the ALE message type for particular Bussness object name.

7)Diff bwt business object type vs interface type?

8)While using bapi in LSMW we need to input

Business Object

Method

Message Type

Basic Type

From where we need to get the basic type for the message type?

Ans: You can find them in BDBG transaction.

9)we have added the zfields to the table mvke and this fields are placed in material master sales view.

If i want to read or write this fields i need to find out the strucute for table extensions ie for example for po it is BAPI_TE_PO_ITEMS structure.

Please tell me how to find out for mvke table and how to find which bapi to enhance.

Ans: U will be enhancing through Customsing include. Use where used for Customising include you find the relavent BAPI structure for it.

3)What is the releavance of ALE message type , in Bapi when and where we are going to use this?

Ans : You can use this in syncorsing communucation for ALE. Also in LSMW you need to use them.

Hope it helps,

Shanmugavel Chandrasekaran

Read only

RaymondGiuseppi
Active Contributor
0 Likes
994

1) Execute a where used on FM, limit to programs starting with RBUS

You should get a unique RBUSxxxxx where BUXxxxx is the business object (double-click should display this business object as SWO1)

Regards,

Raymond

Read only

0 Likes
993

futher replies please so that every one can clarify this common doubts.

Read only

Former Member
0 Likes
993

Hi Madan,

2)Same bapis can be used for creating and changing data for example BAPI_MATERIAL_SAVEDATA.

How do we tell to the sytem that we need to create the material or change the material.

Beacuse when creating the material we are passing the material number as input if it is internal number range then we are passing material number also, ofcourse will be passing material type etc for creation. Is there any other way to know?

--> If the material exists already, BAPI will update it o.w it will create the material. Need not to specify. Just like MATMAS IDOC.

--

Reddy

Read only

0 Likes
993

experts any other answers to this thread please.