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: 

Sales document flow(vbfa) entries are deleted

Former Member
0 Kudos
1,634

Hi Guys,

I am facing a problem with VBFA table. Actually for some delivery i am able to get Sales order number from VBFA table but for some delivery there is no records exists in VBFA table. So just want to know is there any program or Funtion module which delete entries from VBFA table if not then is there any functional configuration which not allowed to enter data in VBFA table. In my system i searched for all the programs and function module but no luck.

I can saw the Sales document flow in VL03N but no entries in VBFA table.

thanks,

Baidya

5 REPLIES 5

Former Member
0 Kudos
290

Sales document flow shown in VL03N is extracted from VBFA only. There may be some problem in your input while fetching data from VBFA. Try to extract the data using function module RV_ORDER_FLOW_INFORMATION.

Former Member
0 Kudos
290

"I can saw the Sales document flow in VL03N but no entries in VBFA table."

sorry but that aint possible. He only can show you what he know himself. What could have happened to produce this is, that you manually deleted something which caused the VBFA entries to disappear. But the system still had them buffered soemwhere and so can show you.

Former Member
0 Kudos
290

Try with this function module.

SHP_VBFA_SELECT_02

Edited by: karthikeyanks on Nov 16, 2010 12:18 PM

Edited by: karthikeyanks on Nov 16, 2010 12:31 PM

Former Member
0 Kudos
290

Do your users a huge favor and do NOT read the VBFA table backward (prior documents)....SAP documentation says should be forward only (subsequent documents). Prior documents are found in LIPS and VBRP. Always use those fields for your sales document (from LIPS), or your sales and delivery documents (from VBRP).

0 Kudos
290

Hi Guys,

Thanks for the replies.

But this is true for some delivery there is no entries in VBFA table but entries are exist in LIKP and LIPS. We are using userexit in sales order program for creating delivery. The Function module which creates delivery inside the USER-EXIT is : BAPI_OUTB_DELIVERY_CREATE_SLS.

If anyone face this type of problem please reply..

Thanks,

Baidya