Skip to Content
0
Former Member
Oct 29, 2007 at 01:53 PM

Enhancement Required... unable to fine where

290 Views

this sap standard program....here in this program..it should select the records and list place according the requirement,,,,(some enhancement is required)

example: here i will give

validity date : 29.10.2008

Accounting settlement period: AM

Settlement date : 30.10.2007

here is the program

check this program when we give the validitiy date it should show that month bill but it shows all months

*N744242 Clean up for Selection Screens

REPORT RV15C001 NO STANDARD PAGE HEADING LINE-SIZE 132

MESSAGE-ID VK.

*----


*

  • Data deklarationen *

*----


*

INCLUDE RV15CI03.

  • Hilfsfelder:

DATA: CURRCH,

CURRENCY LIKE TCURV-BWAER,

AUTO_EXTEND VALUE ' ',

ABRDAT_L LIKE SY-DATUM,

PADAT_L LIKE SY-DATUM,

PERIO LIKE RWM01-VPERIOD.

RANGES: IDENT2 FOR KONA-IDENT2.

*----


*

  • Selektion-Parameter und Options *

*----


*

  • Überschrift

SELECTION-SCREEN COMMENT 1(79) TEXT-S01 MODIF ID INT.

SELECT-OPTIONS:

  • Bonusabsprache

KNUMA FOR KONA-KNUMA MEMORY ID VBO MATCHCODE OBJECT VMBO,

  • Bonusempfänger

BONEM FOR KONA-BONEM MEMORY ID VBE MATCHCODE OBJECT DEBI.

  • Abrechnungsdatum

PARAMETERS:

ABRDATE LIKE KONA-DATBI DEFAULT SY-DATLO OBLIGATORY.

SELECTION-SCREEN SKIP 2.

SELECTION-SCREEN COMMENT 1(79) TEXT-S02 MODIF ID INT.

  • Organisationsdaten

SELECT-OPTIONS:

VKORG FOR KONA-VKORG MEMORY ID VKO,

VTWEG FOR KONA-VTWEG MEMORY ID VTW,

SPART FOR KONA-SPART MEMORY ID SPA.

SELECTION-SCREEN SKIP 2.

SELECTION-SCREEN COMMENT 1(79) TEXT-S05 MODIF ID INT.

  • Periodische Teilauszahlung

SELECT-OPTIONS:

IDENT3 FOR KONA-IDENT3.

PARAMETERS PADAT LIKE RV13A-PADAT.

INITIALIZATION.

PADAT = SY-DATLO.

CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'

EXPORTING

CORRECT_OPTION = '-'

DATE = SY-DATLO

FACTORY_CALENDAR_ID = 'AM'

IMPORTING

DATE = PADAT

EXCEPTIONS

OTHERS = 4.

SELECTION-SCREEN SKIP 2.

SELECTION-SCREEN COMMENT 1(79) TEXT-S03 MODIF ID INT.

  • Nur offene selektieren

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS BOPEN AS CHECKBOX.

  • SELECTION-SCREEN COMMENT 3(25) TEXT-B01. "N744242

SELECTION-SCREEN COMMENT 3(25) TEXT-B01 FOR FIELD BOPEN. "N744242

SELECTION-SCREEN END OF LINE.

  • nur zu prüfende selketieren

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS BCHECK AS CHECKBOX.

  • SELECTION-SCREEN COMMENT 3(25) TEXT-B02. "N744242

SELECTION-SCREEN COMMENT 3(25) TEXT-B02 FOR FIELD BCHECK. "N744242

SELECTION-SCREEN POSITION 32.

  • Nur freigegebene selektieren

PARAMETERS BREADY AS CHECKBOX DEFAULT 'X'.

  • SELECTION-SCREEN COMMENT 35(25) TEXT-B03. "N744242

SELECTION-SCREEN COMMENT 35(25) TEXT-B03 FOR FIELD BREADY. "N744242

SELECTION-SCREEN END OF LINE.

  • nur solche mit erzeugter Gutschrift

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS BCREDI AS CHECKBOX.

  • SELECTION-SCREEN COMMENT 3(25) TEXT-B04. "N744242

SELECTION-SCREEN COMMENT 3(25) TEXT-B04 FOR FIELD BCREDI. "N744242

SELECTION-SCREEN POSITION 32.

  • Nur zu prüfende selektieren

PARAMETERS BSETTLE AS CHECKBOX.

  • SELECTION-SCREEN COMMENT 35(25) TEXT-B05. "N744242

SELECTION-SCREEN COMMENT 35(25) TEXT-B05 FOR FIELD BSETTLE. "N744242

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN SKIP 2.

  • Funktionen

SELECTION-SCREEN COMMENT 1(79) TEXT-S04 MODIF ID INT.

  • Abrechnung durchführen ?

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS SETTLE RADIOBUTTON GROUP RADI.

  • SELECTION-SCREEN COMMENT 3(25) TEXT-B06. "N744242

SELECTION-SCREEN COMMENT 3(25) TEXT-B06 FOR FIELD SETTLE. "N744242

SELECTION-SCREEN POSITION 32.

PARAMETERS BOPRINT AS CHECKBOX.

  • SELECTION-SCREEN COMMENT 35(25) TEXT-B07. "N744242

SELECTION-SCREEN COMMENT 35(25) TEXT-B07 FOR FIELD BOPRINT. "N744242

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS PARTIAL RADIOBUTTON GROUP RADI.

  • SELECTION-SCREEN COMMENT 3(26) TEXT-B08. "N744242

SELECTION-SCREEN COMMENT 3(26) TEXT-B08 FOR FIELD PARTIAL. "N744242

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS DUMMY RADIOBUTTON GROUP RADI DEFAULT 'X'.

  • SELECTION-SCREEN COMMENT 3(26) TEXT-B10. "N744242

SELECTION-SCREEN COMMENT 3(26) TEXT-B10 FOR FIELD DUMMY. "N744242

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS CONTROL RADIOBUTTON GROUP RADI.

  • SELECTION-SCREEN COMMENT 3(26) TEXT-B11. "N744242

SELECTION-SCREEN COMMENT 3(26) TEXT-B11 FOR FIELD CONTROL. "N744242

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS CONTTST RADIOBUTTON GROUP RADI.

  • SELECTION-SCREEN COMMENT 3(26) TEXT-B12. "N744242

SELECTION-SCREEN COMMENT 3(26) TEXT-B12 FOR FIELD CONTTST. "N744242

SELECTION-SCREEN END OF LINE.

  • kennzeichen: Tabellen aus memory

PARAMETERS: FMEMORY NO-DISPLAY,

  • Nur Anzeigefunktionen

LISTONLY NO-DISPLAY.

*----


*

  • AT SELECTION-SCREEN *

*----


*

INCLUDE RV15CI01.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

CHECK SCREEN-GROUP1 = 'INT'.

SCREEN-INTENSIFIED = '1'.

MODIFY SCREEN.

ENDLOOP.

*----


*

  • Die Verarbeitung durchführen *

*----


*

INCLUDE RV15CI02.

Message was edited by:

SAP Trainee