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: 

Logic plz...

Former Member
0 Kudos

Hi frnds,

Again activating this query with my new question

can anyone tell me what is the logic to find

backlog: since long i.e from when the sales order are there on hold.

i.e i want to categories.

when : delivery block

billing block,

like that it contunes...

I mean i need the logic how to write the code.

necessary help will be appreciated

4 REPLIES 4

Former Member
0 Kudos

this is a vague requirement ..

0 Kudos

hey u...

If u dont know or dont want to answer plzz stop giving

unnecessary comments.

Its a need of mine so only i hav posted.

Former Member
0 Kudos

U need to select the data from VBAK table for sales order which are blocked

example

delivery block VBAK-LIFSK NE SPACe.

billing block VBAK-FAKSK NE SPACE.

select vbeln erdat lifsk faksk into table itab

from vbak

where vbeln in svbeln.

DELETe from itab where lifsk = space and faksk = space.

you can now try and read CDPOS table to get the date when the field lifsk or faksk was changed..surely you can use the date filter using erdat and changedate from vbak to read less data from cdhdr/cdpos. Please note that the objectclas is 'VERKBELEG' for sales order and table name VBAK whereas object id is the sales order number.

The difference between the change date as from cdhdr to sy-datum will give you the number of days.

Message was edited by: Anurag Bankley

Former Member
0 Kudos

What I meant to say is to be more clear on your requirements so that everyone understand.