SAP Reports / Programs | SAP Media | SAP Media(IS-M) SAP IS

J_1SMEV2 SAP ABAP Report - IS-M/SD CH/V: Global Retail Changes - Quantity Change 1







J_1SMEV2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program J_1SMEV2 makes quantity changes for retail orders via batch input...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 J_1SMEV2 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 J_1SMEV2. "Basic submit
SUBMIT J_1SMEV2 AND RETURN. "Return to original report after report execution complete
SUBMIT J_1SMEV2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Global Retail Change: Quantity Change from &0 to &1
Selection Text: AART = Order Type
Selection Text: BDC_HOLD = Hold Session After Processing
Selection Text: BEZTYP = Mix Type
Selection Text: DATU_BER = Suspension From - To
Selection Text: DRUCKERZ = Publication
Selection Text: D_GP = Print BP (W=ship-to/A=sold-to)
Selection Text: GPAG = Sold-to Party
Selection Text: HLD_DATE = Block Session Until
Selection Text: LAND = Destination Country
Selection Text: LFART = Delivery Type
Selection Text: LOG_NAME = Logical File Name
Selection Text: MAPNAMS = Batch Input Session Name
Selection Text: M_BAS = Base Qty (N=Norm./S=Subs.)
Selection Text: PVA = Edition
Selection Text: TESTL = Test Run
Selection Text: XAGRPP = Check Order Type Group
Title: IS-M/SD CH/V: Global Retail Changes - Quantity Change 1
Text Symbol: 913 = Lang.
Text Symbol: 912 = Text on cov.sheet
Text Symbol: 911 = Print Cover Sheet
Text Symbol: 910 = Print Imm.
Text Symbol: 909 = Cover Sh.Text
Text Symbol: 908 = Cover Sht
Text Symbol: 907 = Reten.Period
Text Symbol: 906 = Delete After Print
Text Symbol: 905 = Printer
Text Symbol: 904 = No. of Printouts
Text Symbol: 903 = Name of Spool List
Text Symbol: 001 = Selection/Control
Text Symbol: 002 = BTCI Sess.(Retail Qty Change)
Text Symbol: 004 = This program is obsolete and should not be used
Text Symbol: 010 = Change Log
Text Symbol: 011 = Errors/Notes
Text Symbol: 012 = Print BP (A=SlT/W=ShT)
Text Symbol: 100 = RetailQts
Text Symbol: 101 = RetailQts
Text Symbol: 102 = Log: Generate Retail Quantity Change





Text Symbol: 500 = No order type selected with schedule line variant 2
Text Symbol: 501 = No orders were selected
Text Symbol: 502 = Incorrect selection type (item/sched.line)
Text Symbol: 503 = Error opening BTCI session
Text Symbol: 504 = Error creating BTCI
Text Symbol: 600 = No entry in quantity change variant
Text Symbol: 601 = Incorrect plus/minus sign in qty change var.
Text Symbol: 602 = No purchase in selection period
Text Symbol: 603 = Qty changed
Text Symbol: 604 = No quantity change since new qty = old qty
Text Symbol: 605 = Quantity changed
Text Symbol: 606 = BP schedule line cannot be changed
Text Symbol: 700 = ERROR
Text Symbol: 701 = MESSAGES
Text Symbol: 702 = CHANGE
Text Symbol: 703 = LOG
Text Symbol: 902 = Print Control
003 Order Item Publ. Ed. MT DT SLine ST Valid Fr. Valid To SType Qty Qty Message
002 Old New
001 <<<<< &2..................&3............. >>>>>


INCLUDES used within this REPORT J_1SMEV2

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:

J_1S_GLO_MUT_ANNSCH_ERMITTELN * CALL FUNCTION 'J_1S_GLO_MUT_ANNSCH_ERMITTELN' * EXPORTING * VERZUG = VERZUG * IMPORTING * ODATUM = P_DATUM * TABLES * T_DRUCKERZ = DRUCKERZ * T_PVA = PVA * EXCEPTIONS * OTHERS = 1.

FILE_GET_NAME * CALL FUNCTION 'FILE_GET_NAME' * EXPORTING * LOGICAL_FILENAME = LOG_NAME * IMPORTING * FILE_NAME = DSETNAME * EXCEPTIONS * FILE_NOT_FOUND = 01.

J_1S_GLO_MUT_SELECT_EV * CALL FUNCTION 'J_1S_GLO_MUT_SELECT_EV' * EXPORTING * LAND = LAND * V_GUELTIG = DATU_BER-LOW * B_GUELTIG = DATU_BER-HIGH * EINTEILUNG = '2' " Auftr. mit mehreren Einteil.

J_1S_GLO_MUT_PROT_EV * CALL FUNCTION 'J_1S_GLO_MUT_PROT_EV' * EXPORTING * ART = 'E' * PROT = 'F' * ERW = D_GP * TABLES * T_PROT_E = I_FPROT * T_JKAP = I_JKAP * EXCEPTIONS * ART_FALSE = 1 * PROT_FALSE = 2 * OTHERS = 3.

J_1S_GLO_MUT_PROT_EV * CALL FUNCTION 'J_1S_GLO_MUT_PROT_EV' * EXPORTING * ART = 'E' * PROT = 'M' * ERW = D_GP * TABLES * T_PROT_E = I_MPROT * T_JKAP = I_JKAP * EXCEPTIONS * ART_FALSE = 1 * PROT_FALSE = 2 * OTHERS = 3.

ISP_REPLACING_VAS_GET * CALL FUNCTION 'ISP_REPLACING_VAS_GET' * EXPORTING * BEZTYP_REPL = I_JKAP-BEZUGSTYP * FROM_DATE = NE_JKEP-GUELTIGVON * REPLACED_DRERZ = I_JKAP-DRERZ * REPLACED_PVA = I_JKAP-PVA ** REPLACING_DRERZ = ' ' ** REPLACING_PVA = ' ' * TO_DATE = NE_JKEP-GUELTIGBIS * TABLES * ALL_VAS = JDTVAUSGB_TAB ** REPL_SUBSCRIPTIONS = * EXCEPTIONS * INTERNAL_ERROR = 1 * INTERVALL_ERROR = 2 * OTHERS = 3.

ISP_SUBSCRIPTION_CHECK_PERIOD * CALL FUNCTION 'ISP_SUBSCRIPTION_CHECK_PERIOD' * EXPORTING * BEZPER = NE_JKEP-BEZPER * JDVVA_TO_CHECK = JDVVA_TAB * IMPORTING * XSUBSCRIPTION = SUBSCRIPTION.



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 J_1SMEV2 or its description.