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

MD61 BDC or BAPI

Former Member
0 Likes
1,930

Team,

We want to update the requirements plans by using the T-code MD61. We tried with BDC but for 16 materials it is working fine when we are going for more than 16 materials it is not updating properly. We also tried with the BAPI_REQUIREMENTS_CREATE and BAPI_REQUIREMENTS_CHANGE. Please help me on this.

Team,

We want to update the requirements plans by using the T-code MD61. We tried with BDC but for 16 materials it is working fine when we are going for more than 16 materials it is not updating properly. We also tried with the BAPI_REQUIREMENTS_CREATE and BAPI_REQUIREMENTS_CHANGE. Please help me on this.

9 REPLIES 9
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,624

What exact problem did you get with BAPI_REQUIREMENTS_CHANGE ?

Regards,

Raymond

Read only

0 Likes
1,624

It is updating only odd lines not even lines from the internal table. For Ex: if 10 records are there in internal table it is updating 1st record and its leaving 2nd record again updating 3rd record. this is the problem i am facing.

Read only

0 Likes
1,624

Hi,

When the BAPI is executed successfully, did you use COMMIT WORK AND WAIT? Thanks!

Regards,

Kumud

Read only

0 Likes
1,624

What is your R3/ECC version, I remember problem (included COMMIT) in this BAPI at R3 4.7 enterprise version (BAPI just a wrapper of FM REQUIREMENTS_MAINTAIN, pass the parameter DO_COMMIT with initial value.and execute a BAPI_TRANSACTION_COMMIT after call and analyze of RETURN) , did you look for OSS notes on the BAPI and the above mentionned FM, are there error, warning or stange success/status messages in RETURN.

Regards,

Raymond

Read only

0 Likes
1,624

Hi ,

Use the parameter DO_COMMIT = 'X' . This might help you.

Thanks.

Read only

0 Likes
1,624

Hi,

What is your Requirement Planning Period  Day Format , Month format or Format?

I have used BAPI_REQUIREMENTS_CREATE to Create Plan by Using MD61 T-code . All Materials Plans are successfully Inserted in the System .

Re grads,

Amit

Read only

0 Likes
1,624

Hi Amit,

We want to upload the data by day, month and year format also..

Read only

Former Member
0 Likes
1,624

Hi,

What value u enter into below field ..

REQUIREMENTS_SCHEDULE_IN - DATE_TYPE   (Date type (day, week, month, interval))

1Day
2Week
3Month
4Posting period
5Planning calendar period

Regard's

Smruti

Read only

0 Likes
1,624

Hi Smruti,

We will be uploading by day, week, month and year wise.