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: 

Is table VBEP table affected while creating Sales order?

Former Member
0 Kudos
588

Dear Friends,

I am creating sales order using <b>BAPI_SALESCREATEFROMDAT2</b>. If we are creating sales order using <b>VB01</b> transaction then it will affect table <b>VBEP (Sales Document: Schedule Line Data).</b> I have doubt, is it that while creating sales order VBEP get affected or not? and if yes then how can we do it using BAPI_SALESCREATEFROMDAT2 or using any other BAPI?

12 REPLIES 12

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
162

Yes, VBEP is affected during VA01. It holds the schedule lines of the sale document items.

Use these table parameters....

*"  ORDER_SCHEDULES_IN STRUCTURE  BAPISCHDL OPTIONAL
*"  ORDER_SCHEDULES_INX STRUCTURE  BAPISCHDLX OPTIONAL

Regards,

Rich Heilman

Former Member
0 Kudos
162

Dear Rich Heilman ,

I have entered respected Item number and schedule line in ORDER_SCHEDULES_IN but it is still not created entry in VBEP. Tell me exact way through wich i can solve my problem.

0 Kudos
162

You will need to set some flags in the other tables parameters, ORDER_SCHEDULES_INX. Take a look at the structure BAPISCHDLX. You should be able to figure out what flags you need to set.

Regards,

Rich Heilman

0 Kudos
162

Thanks Rich Heilman . Now finally i have solved my problem with your help.

0 Kudos
162

Cool, can you please close this post. Thanks.

Regards,

Rich Heilman

0 Kudos
162

ya sure but can you tell me from where i can close i m new to this forum so please guide me

0 Kudos
162

There should be some stars on the left hand side of this post. If you have solved the problem by yourself, click that one, if I(or anyone else) has giving you some useful information, then reward points according.

Helpful answer = Yellow Star

Very Helpful answer = Green Star

Solved Problem = Blue Star

Welcome to the forum!!

Regards,

Rich Heilman

0 Kudos
162

Believe me there is nothing like that. I have done last time but time no stars at left panel

0 Kudos
162

Any radiobuttons?

Regards,

Rich Heilman

0 Kudos
162

even no radio button!!!!!!!

0 Kudos
162

Oh well! Glad your problem is solved anyway.

Regards,

Rich Heilman

0 Kudos
162

ya thanks. But if i have any doubts in future you r the source for me from now onwards.