Call program using submit with variant that changing value

Hi All,
I need to call a report with variant and abstract the data back to my current program.
so far,
i use following method
SUBMIT RFITEMAR USING SELECTION-SET 'XXX'
       EXPORTING LIST TO MEMORY
       AND RETURN.
DATA list_tab TYPE TABLE OF abaplist.
CALL FUNCTION 'LIST_FROM_MEMORY'
  TABLES
    listobject = list_tab
  EXCEPTIONS
    not_found  = 1
    OTHERS     = 2.
  DATA: L_ABAPLIST LIKE ABAPLIST OCCURS 0.
  DATA: BEGIN OF L_ASCITAB OCCURS 0, 
            LINE(2048),
          END OF L_ASCITAB.
  CALL FUNCTION 'LIST_TO_ASCI'
       EXPORTING
            LIST_INDEX         = -1
       TABLES
            LISTASCI           = L_ASCITAB
            LISTOBJECT         = list_tab
       EXCEPTIONS
            EMPTY_LIST         = 1
            LIST_INDEX_INVALID = 2
            OTHERS             = 3.
However, the problem is that i need to get some value from variant 'XXX' and keep changing it.
I have try function module "RS_VARIANT_VALUES_TECH_DATA" to get the variant details.
But, it just doesn't get me back all the details of the variants.
Are there any way i could read the variants in detail? i even try to read LRAW data from table vari. but there are no function module to convert the LRAW to either char or STRING.
Thanks.
Edited by: simplekx on Jun 20, 2011 4:43 PM

You can use the FM "RS_CHANGE_CREATED_VARIANT" to change the variant values for already created variant and the FM "RS_VARIANT_CONTENTS" to get the variant values. Instead of changing the variant values and then passing to the Submit, you can directly pass the values to the Submit through..WITH SELECTION-TABLE seltab or ... WITH p IN sel variant of the Submit.

Similar Messages

  • How to get data from the called program using SUBMIT in a background job?

    Hi Experts,
    I've a program which creates a background job using JOB_OPEN and JOB_CLOSE function modules.
    Between the above function modules I need to call a program using SUBMIT VIA JOB statement.
    My problem is, How do I fetch some data in an internal table in the called program to the calling program after the SUBMIT statement?
    I tried to EXPORT and IMPORT the data, but they are giving a failed sy-subrc when using this background job.
    Kindly let me know your inputs and valuable suggestions.

    Kumar,
    When we execute a program as a background job then the output will be sent to Spool which needs to be fetched again.I guess we need to use Submit via spool as mentioned by Rajat.
    Check these threads to get some idea
    submit report to spool & import spool id
    Re: Generate Spool for a report
    K.Kiran.

  • Call program and return with data

    Hi, Experts,
    I have called a program from my main program using SUBMIT
    and return.
    I need to get data back from called program in table format.
    Is there any way to fullfill such requirement.
    Regards
    Rajiv singh.

    if the program is custom , then you can use import and export  option. you can export the data to memory in the submit program, and import from memory after submit call.
    if it Standard program , in some standard programs also will export data to memory , so check in inside the program.

  • My MacBook Pro (OSX 10.9.4) reboots automatically when opening images or websites with images that change rapidly or when switching rapidly from an image to another or sometimes on slides on Diaporama.

    My MacBook Pro (OSX 10.9.4) reboots automatically when opening images or websites with images that change rapidly or when switching rapidly from an image to another or sometimes on slides on Diaporama.

    Sun Sep  7 10:31:09 2014
    panic(cpu 2 caller 0xffffff7fa0fa4f7c): "GPU Panic: [<None>] 5 3 7f 0 0 0 0 3 : NVRM[0/1:0:0]: Read Error 0x00610210: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xd2000000 0xffffff813ad12000 0x0a5480a2, D0, P3/4\n"@/SourceCache/AppleGraphicsControl/AppleGraphicsControl-3.6.22/src/Apple MuxControl/kext/GPUPanic.cpp:127
    Backtrace (CPU 2), Frame : Return Address
    0xffffff8128feb0b0 : 0xffffff801ec22f79
    0xffffff8128feb130 : 0xffffff7fa0fa4f7c
    0xffffff8128feb200 : 0xffffff7f9f625f1b
    0xffffff8128feb2c0 : 0xffffff7f9f6ef50a
    0xffffff8128feb300 : 0xffffff7f9f8a70e5
    0xffffff8128feb330 : 0xffffff7f9f8a7e10
    0xffffff8128feb370 : 0xffffff7f9f602b10
    0xffffff8128feb490 : 0xffffff7f9f6034ec
    0xffffff8128feb520 : 0xffffff7f9f6008ab
    0xffffff8128feb560 : 0xffffff7f9f60081b
    0xffffff8128feb600 : 0xffffff7f9f62a576
    0xffffff8128feb800 : 0xffffff7f9f62b3f6
    0xffffff8128feb8e0 : 0xffffff7fa05af9c2
    0xffffff8128feb920 : 0xffffff7fa05bf37f
    0xffffff8128feb940 : 0xffffff7fa05ed33b
    0xffffff8128feb980 : 0xffffff7fa05ed39b
    0xffffff8128feb9c0 : 0xffffff7fa05c4e15
    0xffffff8128feba10 : 0xffffff7fa0590b5e
    0xffffff8128febaa0 : 0xffffff7fa058cae7
    0xffffff8128febad0 : 0xffffff7fa058a636
    0xffffff8128febb00 : 0xffffff801f0ce563
    0xffffff8128febb90 : 0xffffff801f0d045f
    0xffffff8128febbf0 : 0xffffff801f0cdf7f
    0xffffff8128febd40 : 0xffffff801ecb6998
    0xffffff8128febe50 : 0xffffff801ec26bc1
    0xffffff8128febe80 : 0xffffff801ec139c5
    0xffffff8128febef0 : 0xffffff801ec1e013
    0xffffff8128febf70 : 0xffffff801ecc9b8d
    0xffffff8128febfb0 : 0xffffff801ecf3f66
          Kernel Extensions in backtrace:
             com.apple.nvidia.classic.NVDAResmanTesla(8.2.4)[D61B2BB9-4289-318D-9197-5E1E13B 1FF32]@0xffffff7f9f5d6000->0xffffff7f9f83efff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[4662B11D-2ECA-315D-875C-618C97CDAB2A]@0xffffff 7f9f2be000
                dependency: com.apple.iokit.IONDRVSupport(2.4.1)[D41125CE-69BD-32E7-9B1D-4E83431662DD]@0xff ffff7f9f5c6000
                dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[75D81741-64C1-3941-ADFA-9D6B6C434EE4]@0 xffffff7f9f583000
             com.apple.driver.AppleMuxControl(3.6.22)[32862231-50BC-3AF6-87A2-703321AE4F90]@ 0xffffff7fa0f96000->0xffffff7fa0fa9fff
                dependency: com.apple.driver.AppleGraphicsControl(3.6.22)[AA46D551-BE0F-33DA-93A3-8F46197BB 36F]@0xffffff7fa0f8e000
                dependency: com.apple.iokit.IOACPIFamily(1.4)[045D5D6F-AD1E-36DB-A249-A346E2B48E54]@0xfffff f7f9f52b000
                dependency: com.apple.iokit.IOPCIFamily(2.9)[4662B11D-2ECA-315D-875C-618C97CDAB2A]@0xffffff 7f9f2be000
                dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[75D81741-64C1-3941-ADFA-9D6B6C434EE4]@0 xffffff7f9f583000
                dependency: com.apple.driver.AppleBacklightExpert(1.0.4)[E04639C5-D734-3AB3-A682-FE66694C66 53]@0xffffff7fa0f91000
             com.apple.nvidia.classic.NVDANV50HalTesla(8.2.4)[B0E6AAA7-E970-3D81-8B43-145D56 A3A4AC]@0xffffff7f9f849000->0xffffff7f9faf2fff
                dependency: com.apple.nvidia.classic.NVDAResmanTesla(8.2.4)[D61B2BB9-4289-318D-9197-5E1E13B 1FF32]@0xffffff7f9f5d6000
                dependency: com.apple.iokit.IOPCIFamily(2.9)[4662B11D-2ECA-315D-875C-618C97CDAB2A]@0xffffff 7f9f2be000
             com.apple.GeForceTesla(8.2.4)[E0EBC5ED-DC61-3C57-BCCE-0478C0566F4F]@0xffffff7fa 056f000->0xffffff7fa0639fff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[4662B11D-2ECA-315D-875C-618C97CDAB2A]@0xffffff 7f9f2be000
                dependency: com.apple.iokit.IONDRVSupport(2.4.1)[D41125CE-69BD-32E7-9B1D-4E83431662DD]@0xff ffff7f9f5c6000
                dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[75D81741-64C1-3941-ADFA-9D6B6C434EE4]@0 xffffff7f9f583000
                dependency: com.apple.nvidia.classic.NVDAResmanTesla(8.2.4)[D61B2BB9-4289-318D-9197-5E1E13B 1FF32]@0xffffff7f9f5d6000
    BSD process name corresponding to current thread: WindowServer
    Mac OS version:
    13E28
    Kernel version:
    Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64
    Kernel UUID: BBFADD17-672B-35A2-9B7F-E4B12213E4B8
    Kernel slide:     0x000000001ea00000
    Kernel text base: 0xffffff801ec00000
    System model name: MacBookPro6,2 (Mac-F22586C8)
    System uptime in nanoseconds: 510740864359
    last loaded kext at 323988531917: com.apple.filesystems.msdosfs 1.9 (addr 0xffffff7fa10c2000, size 65536)
    last unloaded kext at 409214035879: com.apple.filesystems.msdosfs 1.9 (addr 0xffffff7fa10c2000, size 57344)
    loaded kexts:
    com.apple.driver.AudioAUUC 1.60
    com.apple.driver.AppleHWSensor 1.9.5d0
    com.apple.driver.AppleUSBCDCECMData 4.2.1b5
    com.apple.driver.AGPM 100.14.28
    com.apple.driver.AppleUSBCDC 4.2.1b5
    com.apple.filesystems.autofs 3.0
    com.apple.iokit.IOBluetoothSerialManager 4.2.6f1
    com.apple.driver.AppleMikeyHIDDriver 124
    com.apple.driver.AppleHDA 2.6.3f4
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.6f1
    com.apple.driver.AppleSMCPDRC 1.0.0
    com.apple.GeForceTesla 8.2.4
    com.apple.driver.AppleMikeyDriver 2.6.3f4
    com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
    com.apple.driver.AppleLPC 1.7.0
    com.apple.driver.AppleSMCLMU 2.0.4d1
    com.apple.driver.AppleMuxControl 3.6.22
    com.apple.driver.AppleIntelHDGraphics 8.2.4
    com.apple.driver.AppleIntelHDGraphicsFB 8.2.4
    com.apple.driver.AppleUpstreamUserClient 3.5.13
    com.apple.driver.AppleMCCSControl 1.2.5
    com.apple.iokit.IOUserEthernet 1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.AppleHWAccess 1
    com.apple.driver.SMCMotionSensor 3.0.4d1
    com.apple.driver.AppleUSBTCButtons 240.2
    com.apple.driver.AppleUSBTCKeyboard 240.2
    com.apple.driver.AppleIRController 325.7
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeLZVN 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.BootCache 35
    com.apple.driver.AppleUSBCardReader 3.4.1
    com.apple.iokit.SCSITaskUserClient 3.6.6
    com.apple.driver.XsanFilter 404
    com.apple.iokit.IOAHCIBlockStorage 2.6.0
    com.apple.driver.AppleUSBHub 683.4.0
    com.apple.driver.AppleFWOHCI 5.0.2
    com.apple.driver.AirPort.Brcm4331 700.20.22
    com.apple.iokit.AppleBCM5701Ethernet 3.8.1b2
    com.apple.driver.AppleUSBEHCI 660.4.0
    com.apple.driver.AppleAHCIPort 3.0.5
    com.apple.driver.AppleSmartBatteryManager 161.0.0
    com.apple.driver.AppleACPIButtons 2.0
    com.apple.driver.AppleRTC 2.0
    com.apple.driver.AppleHPET 1.8
    com.apple.driver.AppleSMBIOS 2.1
    com.apple.driver.AppleACPIEC 2.0
    com.apple.driver.AppleAPIC 1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient 217.92.1
    com.apple.nke.applicationfirewall 153
    com.apple.security.quarantine 3
    com.apple.driver.AppleIntelCPUPowerManagement 217.92.1
    com.apple.driver.AppleUSBCDCECMControl 4.2.1b5
    com.apple.AppleGraphicsDeviceControl 3.6.22
    com.apple.kext.triggers 1.0
    com.apple.iokit.IOSerialFamily 10.0.7
    com.apple.driver.DspFuncLib 2.6.3f4
    com.apple.vecLib.kext 1.0.0
    com.apple.iokit.IOAudioFamily 1.9.7fc2
    com.apple.kext.OSvKernDSPLib 1.14
    com.apple.iokit.IOFireWireIP 2.2.6
    com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.6f1
    com.apple.nvidia.classic.NVDANV50HalTesla 8.2.4
    com.apple.driver.AppleSMBusPCI 1.0.12d1
    com.apple.driver.IOPlatformPluginLegacy 1.0.0
    com.apple.driver.IOPlatformPluginFamily 5.7.1d6
    com.apple.driver.AppleHDAController 2.6.3f4
    com.apple.iokit.IOHDAFamily 2.6.3f4
    com.apple.driver.AppleGraphicsControl 3.6.22
    com.apple.driver.AppleBacklightExpert 1.0.4
    com.apple.driver.AppleSMBusController 1.0.12d1
    com.apple.nvidia.classic.NVDAResmanTesla 8.2.4
    com.apple.iokit.IONDRVSupport 2.4.1
    com.apple.iokit.IOSurface 91.1
    com.apple.iokit.IOGraphicsFamily 2.4.1
    com.apple.iokit.IOBluetoothFamily 4.2.6f1
    com.apple.driver.AppleSMC 3.1.8
    com.apple.driver.AppleUSBMultitouch 240.9
    com.apple.iokit.IOUSBHIDDriver 660.4.0
    com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.6
    com.apple.iokit.IOUSBMassStorageClass 3.6.0
    com.apple.driver.AppleUSBMergeNub 650.4.0
    com.apple.driver.AppleUSBComposite 656.4.1
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.6.6
    com.apple.iokit.IOBDStorageFamily 1.7
    com.apple.iokit.IODVDStorageFamily 1.7.1
    com.apple.iokit.IOCDStorageFamily 1.7.1
    com.apple.iokit.IOAHCISerialATAPI 2.6.1
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.6
    com.apple.iokit.IOUSBUserClient 660.4.2
    com.apple.iokit.IOFireWireFamily 4.5.5
    com.apple.iokit.IO80211Family 640.36
    com.apple.iokit.IOEthernetAVBController 1.0.3b4
    com.apple.driver.mDNSOffloadUserClient 1.0.1b5
    com.apple.iokit.IONetworkingFamily 3.2
    com.apple.iokit.IOUSBFamily 683.4.0
    com.apple.iokit.IOAHCIFamily 2.6.5
    com.apple.driver.AppleEFINVRAM 2.0
    com.apple.driver.AppleEFIRuntime 2.0
    com.apple.iokit.IOHIDFamily 2.0.0
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.sandbox 278.11.1
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.security.TMSafetyNet 7
    com.apple.driver.AppleKeyStore 2
    com.apple.driver.DiskImages 371.1
    com.apple.iokit.IOStorageFamily 1.9
    com.apple.iokit.IOReportFamily 23
    com.apple.driver.AppleFDEKeyStore 28.30
    com.apple.driver.AppleACPIPlatform 2.0
    com.apple.iokit.IOPCIFamily 2.9
    com.apple.iokit.IOACPIFamily 1.4
    com.apple.kec.corecrypto 1.0
    com.apple.kec.pthread 1
    System Profile:
    Model: MacBookPro6,2, BootROM MBP61.0057.B0F, 2 processors, Intel Core i7, 2.66 GHz, 8 GB, SMC 1.58f17
    Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
    Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 512 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353237334348302D4346382020
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353237334348302D4346382020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.106.98.100.22)
    Bluetooth: Version 4.2.6f1 14216, 3 services, 15 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Network Service: TomTom, Ethernet, en3
    Serial ATA Device: Hitachi HTS725050A9A362, 500.11 GB
    Serial ATA Device: MATSHITADVD-R   UJ-898
    USB Device: Hub
    USB Device: TomTom
    USB Device: Built-in iSight
    USB Device: IR Receiver
    USB Device: Hub
    USB Device: Apple Internal Keyboard / Trackpad
    USB Device: Internal Memory Card Reader
    USB Device: BRCM2070 Hub
    USB Device: Bluetooth USB Host Controller
    Thunderbolt Bus:

  • Can you use ResourceBundle with resrouce that are grouped within folders?

    Hi I'm trying to internationalize my program by using the java ResrouceBundle.
    Is there a way to use it with resources that have been grouped into folders?
    For example, instead of using locale to specify the resource name as MessageBundle_en_US.properties, I would like to specify the locale name as the resource folder name like this:
    resources_en_US/MessageBundle.properties
    or resources_fr_FR/MessageBundle.properties etc.
    Is there something already available for this in the API that i'm not aware of or, if possible, is there a way to overwrite the ResrouceBundle package to handle this?

    Hi Simon,
    Yes, I understand people would expect it to work on the emulator too, but the point of Scout is really to provide you information about the real performance (on the device and in production) to be really accurate and reflect the reality.
    Having it work with the emulator would always be an approximation, which could still maybe be valuable, but we thought we would focus on production code.
    But thanks for bringing this up, it is valuable feedback about your experience.
    Thibault Imbert
    Sr. Product Manager | Adobe Scout

  • Firefox 3.6.26 on Mac OSX, Youtube search window has vanished. I cannot search youtube for video. If I use Safari to open Youtube the page appears as it used to with Firefox--that is with the search window. Whats the fix?

    # Question
    Firefox 3.6.26 on Mac OSX, Youtube search window has vanished. I cannot search youtube for video. If I use Safari to open Youtube the page appears as it used to with Firefox--that is with the search window.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

  • How to use in submit with variant

    Dear Freinds
        As per the my requirement from my program i want to send the data to spool and from tehre i want to download as PDF .
      for the standard program i have a variant . I want to use the variant which has been set for the standard program , but when iam using the below code it is calling the selection scren of the standar program and then i have execute that
    standard program then only data going to spool
    i dont want to have the selection and further me executing the standard program , i want the program to send the data directly to spool , i dont want to go to selection screen at all.
    please correct me where i went wrong .
    data :v_linsz LIKE sy-linsz  value '132', " Line size
    v_paart LIKE sy-paart value  'X_65_132'. " Paper Format
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = lv_job_name
      IMPORTING
        jobcount         = lv_job_nr
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    if sy-subrc eq 0.
    *-- Explicitly set line width, and output format so that
    *-- the PDF conversion comes out OK
      mstr_print_parms-linsz = v_linsz.
      mstr_print_parms-paart = v_paart.
    IF mstr_print_parms-pdest = space.
        mstr_print_parms-pdest = 'LOCL'.
      ENDIF.
      SUBMIT  RPCEDTX0
      TO SAP-SPOOL WITHOUT SPOOL DYNPRO
      SPOOL PARAMETERS mstr_print_parms
       VIA SELECTION-SCREEN USING SELECTION-SET 'ZPDF'
      VIA JOB lv_job_name NUMBER lv_job_nr
      AND RETURN.
    IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = lv_job_nr
            jobname              = lv_job_name
            strtimmed            = 'X'
          IMPORTING
            job_was_released     = lv_job_released
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF syst-subrc NE 0.
          MESSAGE i162(00) WITH
          'An error occured while closing the background job.'.
          STOP.
        ENDIF.
      ENDIF.
    endif.
    Please correct me or give me some sample code where it doesnt call thle selections screen and only pass the values and return using the variant .
    regards
    divya

    Hi Divya Kumari,
       If you do not want the selection screen, then remove the VIA selectino screen addition in the submit
    SUBMIT RPCEDTX0
    TO SAP-SPOOL WITHOUT SPOOL DYNPRO
    SPOOL PARAMETERS mstr_print_parms
    USING SELECTION-SET 'ZPDF'
    VIA JOB lv_job_name NUMBER lv_job_nr
    AND RETURN.
    Regards,
    Ravi
    OOPS I was too late..please ignore..
    Edited by: Ravi Kanth Talagana on Apr 23, 2009 1:01 PM

  • How to pass a value and call SE38 program using SUBMIT statement

    Hello Friends
    I am trying to write a batch program in SE38, that calls other SE38 Programs.
    I don't want to use Parameter command to see the value on screen.
    All I want is to send a range of date (ToDate & FromDate) and generate different reports satisfying this date range condition.
    Can some one please help me with this. I would really appreciate it.
    I have tried the command SUBMIT with options of filling the input fields of the subsequent programs but I don't want to do this.
    I want all the sub programs to be called one after another and the reports generated using the date varialbles I send from the main program.
    I don't want to use se37 functions because of the client's request.
    Any help will be highly appreciated.
    Tks
    Ram

    Yes I am using SUBMIT command but I was not using the right options with the SUBMIT command and once I used the right options, it worked.
    Tks
    Ram

  • Issue calling program from transaction with selection criteria

    Hi Guys,
        I ve a issue regarding calling a program from transaction.
    There is a standard transaction calling a program  using selection criteria no (say for eq 10 fields, just look at the eg below)
    Submit  <table-proname> and return using selection-set <table-varia>
    With rbukrs  = i_bkorm-burks    “Comp Code
    with  Revent = i_bkorm-event  “ event
    with rbelnr  = ibkorm-belnr     “Doc no
    with rgjahr = ibkorm-gjahr   “fiscal year
    with ruzeit = ibkorm-ruzeit  “time
    with rusnam = ibkorm-rusnam “user name
    And so on
    Now, In my program selection screen  i  ve only three fields, (not all mentioned above)
    Parameter:
    Rbukrs  type bukrs, “comp code
    Rbelnr type belnr, “doc no
    Rghar type gjahr.  “fiscal year
    Now, i configure this transaction with this program i can able to run this program  from transaction.
    Is every thing go right, Pls give your sugg
    Points & help awarded.
    Thanks in advance.

    Hi,
    you can call the program using 3 selection screen fields even though it is having 10 fileds, but before calling make sure that there is no mandatory fields (in rest of the 7 fields), then it will runs you report.
    reward if needful.
    Thanks,
    Sreeram.

  • How to run batch programs using SUBMIT command without any interaction need

    Hello ABAP gurus,
    I have created a batch program in SE38 which calls many other SE38 Programs (Reports).
    I have used the command SUBMIT to call the sub programs. There are about 15 sub programs that this main batch program is calling.
    It works fine, but after calling each subprogram it stops and I have to manually click on 'Back Button' in green on the sap screen to run the next program in the list. Like this I have to do 15 times to run all the programs in the batch.
    Is there a way to avoid this manual intervention and make the program run all the sub programs on its own.
    Your feedback will be highly appreciated.
    Thanks
    Ram

    Thanks Sampath for the response.
    Yes I am using the option "AND RETURN". So it is coming out of each sub program, and it is at this stage it waits for me to click on 'backward green arrow' to continue to the next.
    Here is the code I have used
      SUBMIT Z_AS_BI_F0005_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_DIVISION_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_COMPANY_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_CUSTOMER_EXTRACT WITH  S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_BRANCH_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_BUS_UNIT_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_ADDRESS_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_CUSTOMER_GROUP_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_GROUP_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_PMT_TERMS_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_REGION_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_TERRITORY_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
    Any other suggestions or feedback will be appreciated.
    Tks
    Ram

  • Passing an internal to another program using SUBMIT

    Hi,
       I need to pass one internal table from one program to another which i am calling using SUBMIT. Is there any way to pass this data without using export/import or selection screen.
       If i do use EXPORT is there a retriction to the maximum size i can export?
    Thanks

    Hi Pankaj,
    Consider these two programs I have done using both WITH SELECTION-TABLE and IMPORT/EXPORT.
    In Program 1(ZZTEST_ARUN_1).
    I have two radio buttons. If I select Material the program executes its own code. If I select plant data is fetched and exported to memory. Then it gets the selection parameters of the Program 2(ZZTEST_ARUN_2) through the FM RS_REFRESH_FROM_SELECTOPTIONS. Then I populate the values for selection screen and pass using the
    SUBMIT....WITH SELECTION-TABLE option.
    REPORT zztest_arun_1.
      TABLES: t001w.
      DATA : it_marc TYPE STANDARD TABLE OF marc WITH HEADER LINE,
             it_werks TYPE STANDARD TABLE OF t001w WITH HEADER LINE.
       PARAMETERS material RADIOBUTTON  GROUP  abc.     "Material General Details
       PARAMETERS plant RADIOBUTTON GROUP abc DEFAULT 'X'.      "Material Plant Details
       START-OF-SELECTION.
       IF material EQ 'X'.
    *If Material selected own code executes  
        SELECT * FROM marc INTO TABLE it_marc UP TO 200 ROWS .
         LOOP AT it_marc.
         WRITE :/ it_marc-matnr,
                it_marc-werks.
         ENDLOOP.
       ENDIF.
      IF plant EQ 'X'.
    *If Plant selected data fetched  
        SELECT * FROM t001w INTO TABLE it_werks UP TO 50 ROWS.
    *Exported to Memory
        EXPORT it_werks[] TO MEMORY ID 'TEST'.
    *Declare on selection table type RSPARAMS
        DATA :   stable     LIKE     rsparams OCCURS 0 WITH HEADER LINE.
    *Call this FM to get the Selection screen details
    *of Program ZZTEST_ARUN_2 (it returns Select Options, Parameters..)
        CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
           EXPORTING
             curr_report     = 'ZZTEST_ARUN_2'
          TABLES
             selection_table = stable
          EXCEPTIONS
             not_found       = 1
             no_report       = 2
             OTHERS          = 3.
        IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
         WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
       stable-sign = 'I'.
       stable-option = 'BT'.
    * populate some selection condition
       READ TABLE it_werks INDEX 10.
       stable-low = it_werks-werks.
       READ TABLE it_werks INDEX 40.
       stable-high = it_werks-werks.
       APPEND stable.
    *Submit it then
       SUBMIT zztest_arun_2
           WITH SELECTION-TABLE stable
           AND RETURN.
       ENDIF.
    <b>Second Program.</b>
    REPORT zztest_arun_2.
    TABLES: t001w.
    DATA : it_werks TYPE STANDARD TABLE OF t001w WITH HEADER LINE.
    SELECT-OPTIONS : s_werks FOR t001w-werks.
    *Import the stored data.
    IMPORT it_werks[] FROM MEMORY ID 'TEST'.
    *Display the data based on selection criteria got
    *form ZZTEST_ARUN_1
    LOOP AT it_werks WHERE werks  IN s_werks.
      WRITE : / it_werks-werks,
                it_werks-name1.
    ENDLOOP.
    Regards,
    Arun Sambargi.

  • Calling an R3 Transaction with Variant

    Hi there
    I have just been told that part of our requirements for EP will be to use variants when accessing R3 reports from EP. I will be told the Transaction Code, and the variant, and it would be nice if I could execute the report with that variant as the iview loads.
    I have found a couple of posts which talk about using tcode START_REPORT, and then D_SREPOVARI-REPORT=<REPORTNAME> & D_SREPOVARI-VARIANT = <VARIANTNAME> in the application parameters, but the problem is all this does is load the variant ... it doesn't actually process the first screen, even if I set the option PROCESS FIRST SCREEN to yes.
    I see from the posts that I can create a new report, which calls the required report with the required variant. Is there no other, simpler, way of doing this?
    Any information would be greatly appreciated.

    You're probably missing parameter: D_SREPOVARI-NOSELSCRN=X

  • FI/CO valiation substitution is not called if using BAPI with DESTINATION

    Dear ABAPER Experts,
       I using BAPI Good Movement Creation to post GR for sub-contract scenario, i call like 'CALL BAPI_XXXXX DESTINATION 'NONE'', with this system does not execute CO substituion.
       If I remove DESTINATION 'NONE', then system will call CO Substitution.
       What happen, please give me a guidance on this.
    Thanks and regards,
    KIMC.

    Hi,
    Here is a quote from SAP documentation
    Destination "NONE" has the effect that the function module is started on the same application server as the calling program, however through the RFC interface and in its own RFC context. This destination is possible for all types of call.
    I guess that the most important part is about own context. Don't you have any condition in your substitution which depends on context?
    Cheers

  • How to use FCP with tapes that have free run timecode

    i have a bunch of tapes the were shot with 4 x Sony HDV-Z1P cameras. the timecode was set to free run in the cameras and all the cameras were synced by resetting the timecode on all the cameras at the same time. and on each tape the cameraman has buttoned on and off probably 8 times a tape or so which means on free run timecode that there is timecode breaks on the tapes,
    can anyone tell me the right setting i should be using in FCP so that i can capture the tapes easily (prefer to capture a whole tape in one go) and with the timecode from the tapes, so that the TC shows the jumps when the camera was not recording.
    i tried capture now and setting the user preference to ' on TC break, warn after capture. but it captured without the gaps in the timecode, so when the cameraman buttons off-the captured timecode is still continous. and this means i loss matching the tc between the cameras

    you need to set it to Make New Clip, no other setting will give you correct timecode for all clips ... you cannot capture accross timecode breaks and have the timecode jump to reflect those breaks. nle software does not work this way.
    once you have captured your media (4 x the number of clips per reel) then you can select them all and choose Modify > Make Multicip Sequence

  • FaceTime used to work, now it will not- any suggestions with issues that changed the functioning of it?   I cannot trash it and when I try to purchase another app for it, it says I have the newer version

    I downloaded the FaceTime app to my macbook pro-  it worked great.  All of a sudden, it won't allow me to log in with my apple ID, won't advance to the next screen.
    I tried to trash it, won't let me.
    I tried to download another from the app store- says I have a newer version
    any suggestions how to make it work for me?

    thanks for your reply.  I tried this without success.   My apple ID is fine- I verified it and it works.    I sign in and it takes me to the page saying "NEXT" but when I click on that, it takes me back to the sign in page.   My contacts all disappeared.    And I cannot open the FaceTime Preferences pane-  is grey and Not able to be clicked on to open.     My apple ID works but my FaceTime will not.
    any other suggestions
    I updated to the most recent OS mavericks too

Maybe you are looking for

  • I need a script that can save images in whatever directory they reside in

    I am working on a project where I have over 1500 directories that have multiple .TIF images in each one. I am looking for a solution where I can run a script (which may or may not call on actions) that allows me to save each .TIF as a .PSD and again

  • How to ignore Recordset name in XML(Sender JMS Adapter)?

    Hi All. I am using Sender JMS Adapter along with content conversion. I have put in Parameter: Plain2XMLService xml.ignoreRecordsetName true still the Inbound payload in SXI_MONITOR has Node Recordset, which should not be the case. Please advice, does

  • Linksys PCI cards and WLC problems

    /* Style Definitions */ table.MsoNormalTable {mso-style-name:Standardowy; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm

  • .MSG attachement error in PO

    Hi all, We are on 12.1.3. Users attach email messages to purchase orders as attachments.  When attempting to open the .msg file, we are prompted to find a helper application to open the file.  None of the listed apps will open the file properly: Inte

  • MORE photoshop questions

    I have a hundred 3000x2000 jpegs to take into FCP. I have read a tutorial or two about formatting these in Photoshop (I have the CS version). They all confuse me. I am working in NTSC. Can someone make this a simple explanation? What size do I resize