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

fetching preceding documents from VBFA by passing subsequent document

Former Member
0 Likes
538

Hi Folks,

Here my requirement is to fetch preceding documents by giving subsequent documents as input to tableVBFA(document flow). As there is no index present on the field VBELN and POSNN it takes long time to retrieve data based on these fields.Creating secondary index is not possible. I have also tried with function module 'SD_VIEW_VBFAVG' as it takes single VBELN input, i have to place this in a loop in order to get preceding documents for range of VBELN. Please let me know if there is any other way of doing this. Immediate help is appreciated.

thanks in advance.

Akanksha.

1 REPLY 1
Read only

Former Member
0 Likes
369

hi,

u try to use this FM WB2_VBFA_ARRAY_READ.

take care

Tarapada. D.