Skip to Content
0
Former Member
Jul 21, 2008 at 07:36 AM

logic required

26 Views

hi frnds,

My report shows only last 2 billing schedule of line item of contract no. 10117418,

BillSt (Billing status) of which is u201CA- Not yet processedu201D.

but it should include all billing schedules which has BillSt= A,B & C (u201CFPLT- FKSAF = A,B&Cu201D)

In the existing report the code is something like

DATA: BEGIN OF I_BILLING OCCURS 0.

INCLUDE STRUCTURE FPLTVB.

DATA: END OF I_BILLING.

where they have used structure and code as

IF I_BILLING-FKSAF EQ 'A'----


>> status only for A.

AND I_BILLING-FKDAT EQ T_BILL_DATE.

V_WAERK = I_BILLING-WAERS.

SELECT SINGLE * FROM TCURX

WHERE CURRKEY = V_WAERK .

IF SY-SUBRC = 0.

I_BILLING-FAKWR = I_BILLING-FAKWR * 100.

ENDIF.

-


>> my requirement is to get all the contract no for which bill status is A B and c.

HOW TO code this.