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

regarding BDC program::::::

Former Member
0 Likes
615

hi experts,

i have developed some BDC program::

1)BDC prg which updates the storage bin of mard table i,e field LGPBE.. against the particular material.here in selection screen we will give storage bin name against the material number and plant and after executing it will update the mard-lgpbe field in table.

2)this BDC program uploads the data from excel sheet and with the help of TC

mm02 it changes the material group and external material group

against the particular material number:

3)this BDC program uploads the data from excel sheet and with the help of TC

mm01 and MMZ1 it extends the material to another plant and then (in continuation process)updates the

valuation class and valuation type.

4)this BDC program uploads the data from excel sheet and with the help of TC

mm02 it changes the purchasing group against the particular material

number.

5)this BDC program uploads the data from excel sheet and with the help of TC

mm01 it updates the valuation class and valuation type against the

particular material number.

i want to know one thing have i done a mistake instead of using BAPI i created these program...kindly consider the above situation and let me know is there any BAPI existing for the above scenario or i done good by created these programs....out of these '5' for which scenario i have to use BAPI and for which i have to create program..plz help me,,,

  • in order to get points plz dont send me from net what is bapi etc::::::

2 REPLIES 2
Read only

Former Member
0 Likes
585

Hi Rajat,

For standard transactions like mm01 and mm02 I can confirm that the bapis can do the same work which you are doing from screen using your bdcs.

<b>try using BAPIS

BAPI_MATERIAL_EDIT

BAPI_RETAILMATERIAL_CREATE

and see if it helps.</b>

Rajat try this and check out what all bapis you have as an option to use.

1. Goto se37

2. Without typing anything press F4

3. Go to information system

4. Give BAPI against name and aterial in description

5. press enter

You will get a list of all possible bapis you can use.

Reward Points if helpful.

regards,

Vikas

<b>Always reward points to helpful suggestions.</b>

Message was edited by:

Vikas Taneja

Message was edited by:

Vikas Taneja

Read only

varma_narayana
Active Contributor
0 Likes
585

Hi...

It is better to use the BAPI

BAPI_MATERIAL_SAVEDATA

in this case.

<b>Reward if Helpful.</b>