SAP Reports / Programs | Periodical Sales and Distribution | SAP Media | Periodical Sales and Distribution(IS-M-SD-PS) SAP IS

RJVDISP2 SAP ABAP Report - IS-M/SD: Regenerative Planning for Quantity Planning in Past







RJVDISP2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for past...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RJVDISP2 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RJVDISP2. "Basic submit
SUBMIT RJVDISP2 AND RETURN. "Return to original report after report execution complete
SUBMIT RJVDISP2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: BISDATUM = to
Selection Text: DRERZ = Publication
Selection Text: DRKEI = Printing Works
Selection Text: KURZLIST = Summarized List (Only Triggs)
Selection Text: LFART = Delivery Type
Selection Text: PVA = Edition
Selection Text: TEST = Test Run
Selection Text: VONDATUM = Planning Period From
Title: IS-M/SD: Regenerative Planning for Quantity Planning in Past
Text Symbol: 013 = DViaNo. Publ. Edit. DT MT From To
Text Symbol: 012 = Del.via.sets in planning period for trigger edition (time limit)
Text Symbol: 010 = Regenerative planning was not started in dialog.
Text Symbol: 009 = Doc.No. It.No. IVT Publ.Date Public. Edition PV AV
Text Symbol: 008 = 'normal' issues for order item (time limit):
Text Symbol: 005 = Plnt Publ. Edit. DT Plan.From Plan.To Lock Date PS V I Is Trig.Lock Gen.Incomplete
Text Symbol: 004 = Trigger entries relevant for entire planning run:
Text Symbol: 003 = Planning program completed.
Text Symbol: 002 = No trigger entries for planning found for the selection criteria.
Text Symbol: 022 = PubD ShipD Qty OrdDViab. MT Publ. Edition Load/UPt DT LD C CG T SO D SD IntDelNo Delivery No.
Text Symbol: 023 = Deliveries Created:
Text Symbol: 024 = ============>
Text Symbol: 025 = SLin OrdPr Iss Cumul.Qty OrdDViab. DistDVia. Publ. Edition DT LD C CG T SO D EN IDlN Delivery No.
Text Symbol: 026 = ============>
Text Symbol: 027 = Deliveries Deleted:
Text Symbol: 036 = PubD Qty OrdDViab. DistDVia. Publ. Edition Load/UPt DT C CG T SO D EN IntDNo. Delivery No.
Text Symbol: 043 = Deleted netchange orders (pl.type 'Regen.planning') for current trigger:
Text Symbol: 021 = ============>
Text Symbol: 049 = ============> New delivery-schedule line assignments <===============
Text Symbol: 048 = ==> Log planning run to schedule line level <==
Text Symbol: 047 = ===> P L A N N I N G in past <===
Text Symbol: 046 = ============> T --- E --- S --- T -------- R --- U --- N <============
Text Symbol: 045 = New Netchange Orders (for Current Trigger):
Text Symbol: 044 = Order No. Public. Edit. Plnt DT
Text Symbol: 014 = Planning details in planning period for del.via.set (time limit):
Text Symbol: 998 = --------------------------------------------------------------------------------------------------------------------------------
Text Symbol: 602 = Planning trigger selection includes active publications.
Text Symbol: 601 = Planning into the past is completed.
Text Symbol: 067 = Start regen.planning in dialog?





Text Symbol: 063 = Trigger entries that cannot start a planning run:
Text Symbol: 062 = Trigger entries for which planning was performed:
Text Symbol: 061 = Trigger entries for which planning could not be performed:
Text Symbol: 060 = No planning results were determined for planning trigger.
Text Symbol: 058 = Change Number - Trigger Assignment (JVTNCT2 Record)
Text Symbol: 057 = Deleted JVTNCT2 records (pl.type 'netchange') for current trigger:
Text Symbol: 054 = Delivery No. SD Order No. It.No. SL Qty PS SLTy. Inc.Pickup
Text Symbol: 053 = ============> Delivery-sched.line assignments deleted <===============
Text Symbol: 052 = ==> Log assignments: Delivery - schedule line <==
Text Symbol: 050 = InDelNo. SD Order No. It.No. SL Qty PS SLTy. Inc.Pickup
Text Symbol: A01 = Planning period
Text Symbol: C02 = in dialog?
Text Symbol: C01 = Do you want to start regenerative
Text Symbol: B03 = dialog in exceptional cases.
Text Symbol: B02 = should only be started in
Text Symbol: B01 = Regen.planning for qty planning
Text Symbol: 020 = 'Combination' issue for order item (time limit):
Text Symbol: 019 = 'Substitute' issues for order item (time limit):
Text Symbol: 017 = Planning Trigger Entry:
Text Symbol: 015 = DViaNo. Order ItNo. From To CG T SO Load/UPt


INCLUDES used within this REPORT RJVDISP2

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = CON_YES DIAGNOSETEXT1 = TEXT-B01 DIAGNOSETEXT2 = TEXT-B02 DIAGNOSETEXT3 = TEXT-B03 TEXTLINE1 = TEXT-C01 TEXTLINE2 = TEXT-C02 TITEL = TEXT-067 IMPORTING ANSWER = ANSWER.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = DSPTRTAB-DRERZ IMPORTING OUTPUT = P_DRERZ.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = DSPTRTAB-PVA IMPORTING OUTPUT = P_PVA.

ISP_CHECK_DATES_OVERLAP CALL FUNCTION 'ISP_CHECK_DATES_OVERLAP' EXPORTING DATVON1 = DSPTRTAB-DSPZRVON DATBIS1 = DSPTRTAB-DSPZRBIS DATVON2 = JDTGENTR-GENZRVON DATBIS2 = JDTGENTR-GENZRBIS IMPORTING OVERLAPPING = UEBERLAPPUNG EXCEPTIONS INTERVALL1_NOT_VALID = 1 INTERVALL2_NOT_VALID = 1.

ISM_DATA_EXCHANGE_ACTIVE CALL FUNCTION 'ISM_DATA_EXCHANGE_ACTIVE' "TK01041999 EXPORTING "TK01041999 DRERZ = H_DRERZ-DRERZ "TK01041999 EXCEPTIONS "TK01041999 DATA_EXCHANGE_IS_ACTIVE = 1 "TK01041999 OTHERS = 0. "TK01041999

ISP_JVTDSPTR_DISPSTAT_MODIF

ISP_JVTDSPTR_DISPSTAT_MODIF * CALL FUNCTION 'ISP_JVTDSPTR_DISPSTAT_MODIF' IN UPDATE TASK * Verbuchung erfolgt wegen Massenproblem(APLZ) im Dialog!!: CALL FUNCTION 'ISP_JVTDSPTR_DISPSTAT_MODIF' "Mod TK07061995 EXPORTING DISPO_TRIGGER = JVTDSPTR.

ISP_JKVDISPO_READ_BY_DELIVERY CALL FUNCTION 'ISP_JKVDISPO_READ_BY_DELIVERY' EXPORTING GUELTIGBIS = P_LBKTAB-GUELTIGBIS GUELTIGVON = P_LBKTAB-GUELTIGAB LIEFBARNR = P_LBKTAB-LIEFBARNR TABLES OJKVDISPO = INTAB EXCEPTIONS LIEFBARNR_MISSING = 01 NO_DATA_FOUND = 02.

ISP_CHECK_DATES_OVERLAP





CALL FUNCTION 'ISP_CHECK_DATES_OVERLAP' EXPORTING DATVON1 = VONDATUM DATBIS1 = BISDATUM DATVON2 = JVTDSPTR-DSPZRVON DATBIS2 = JVTDSPTR-DSPZRBIS IMPORTING OVERLAPPING = UEBERLAPPUNG EXCEPTIONS INTERVALL1_NOT_VALID = 1 INTERVALL2_NOT_VALID = 1.

ISP_DISTRIBUTE_RETRIEVAL_READ CALL FUNCTION 'ISP_DISTRIBUTE_RETRIEVAL_READ' EXPORTING AB = P_VONDATUM BIS = P_BISDATUM LIEFBARPAR = LIEFBARPAR TABLES KNOTEN_TAB = KNOTEN LIEFBAR_TAB = LBKFBTAB EXCEPTIONS OTHERS = 01.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING VIEW_NAME = 'JDVGNTR' ACTION = 'E' ENQUEUE_MODE = 'S' "<-- Shared EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 * NO_TVDIR_ENTRY = 3 TABLE_NOT_FOUND = 5 CLIENT_REFERENCE = 7.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING VIEW_NAME = 'JDVGNTR' ACTION = 'D' ENQUEUE_MODE = 'S' "<-- Shared EXCEPTIONS SYSTEM_FAILURE = 2 * NO_TVDIR_ENTRY = 3 TABLE_NOT_FOUND = 5 CLIENT_REFERENCE = 7.

ISP_JVTLFNG_INSERT CALL FUNCTION 'ISP_JVTLFNG_INSERT' IN UPDATE TASK "Verbuchung!!!! TABLES LFNG_INS_TAB = DUMMY_TAB.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RJVDISP2 or its description.