Application Development 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: 

VK11 loading an End date

Former Member
0 Kudos
423

I am trying to load data by using BDC. I have valid from / to dates, and when I upload the data for tcode VK11, then it creates a new record automatically with an end date of 12/31/9999, which is not expected.

Explanation:

valid from date - 08/01/2011

valid to date - 08/31/2011.

I want to load this record with some more information, it loads this record correctly and at the same time creates the next valid dates - 09/01/2011 - 12/31/9999, which is not expected.

If I create the Price condition manually with the same end date and save, it does not create that additional record with end date of 12/31/9999.

I am confused as to why it creates the additional record only while using a BDC and not during manual entry.

Please advise!

5 REPLIES 5

madhu_vadlamani
Active Contributor
0 Kudos
169

Hi Shyam,

The same i created with Lsmw recording method. It is working for me.

[http://wiki.sdn.sap.com/wiki/display/Community/BDCforVK11]

[http://www.sap-img.com/abap/upload-the-pricing-condtion-records-for-materials.htm]

Check this program for batch input RV14BTCI..

Please paste the code .

Regards,

Madhu.

madhu_vadlamani
Active Contributor
0 Kudos
169

Hi Shyam,

Is it resolved.

Regards,

Madhu.

koolspy_ultimate
Active Contributor
0 Kudos
169

try to debug your report

or use mode 'a' and execute the bdc with all screens and try to find out whats happening.

i think your recoding is not done properly.

please try to make new recording and use it.

0 Kudos
169

Hi all,

Thanks for the suggestions, but the problem is not solved yet.

I have tried debugging the program using the 'A' mode and it shows me loading the proper end date from the file, but when I go into display of pricing conditions once the load is complete, it shows me that extra record along with the record I loaded.

I do not want the new record with the 12/31/9999 end date.

Is this something which SAP does automatically?

Please advise!

0 Kudos
169

hi shyam,

try to use date format as 01122011 for 01.12.2011 in your excell file and try to upload again.