SUBMIT with a new Variant

Dear all,
I want to call a report via 'SUBMIT'. Hereby I have to create a new variant.
My Questions:
1) How can I create the variant with selection parameters (Not manual) mybe via Functionmodul?

You don't need a variant to submit the program, this is only required for background jobs.
When using submit , you can easily pass the parameters one by one, or specify them (and their values) in special table and then pass it at once during program submition.
Check [SUBMIT|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_SHORTREF.htm]
Regards
Marcin

Similar Messages

  • Is there a way to open page with a new Tabular Form row?

    Hi All,
    I have a (non-manual) Tabular Form that works great. My requirement is to have the new page to open with a new row already added.
    I tried      onLoad="onLoadProcess()";
         <script language="JavaScript" type="text/javascript">
         function onLoadProcess(){
         doSubmit('ADD');
         </script>
    but it hits every onload so it loops, each submit causing another submit.
    Anyway of getting the rowcount in the tabular form without making a manual one?
    Thanks, Bill

    Bill,
    Here's a short (hah!) example of how to do it with a manual form. No idea of how hard it may be to convert to a wizard form.
    select
    x.PERSON_ID,
    x.ck ck,
    x.PERSON_ROLE,
    x.del
    from (
    SELECT
    apex_item.select_list_from_lov(1,person_id,'PEOPLE') PERSON_ID,
    apex_item.hidden(2,issue_id)||
    apex_item.hidden(3,wwv_flow_item.md5(person_id,issue_id,person_role)) ck,
    apex_item.select_list_from_lov(4,person_role,'ROLES') PERSON_ROLE,
    apex_item.checkbox(5,person_id||issue_id) del
    FROM HT_ASSIGNMENTS
    WHERE ISSUE_ID = :P7_ISSUE_ID
    union all
    select apex_item.select_list_from_lov(1,NULL,'PEOPLE') PERSON_ID,
    apex_item.hidden(2,to_number(:P7_ISSUE_ID))||
    apex_item.hidden(3,null) ck,
    apex_item.select_list_from_lov(4,NULL,'ROLES') PERSON_ROLE,
    apex_item.checkbox(5,null) del
    from dual) x
    Bill Ferguson
    Message was edited by:
    wbfergus

  • Video ichat no longer working with a new ISP

    Hiya, I have read pages and pages of these posts and I am still none the wiser. I used to be able to video ichat with my old ISP but I can't with my new one. Audio and text work fine.
    I have changed my quicktime streaming settings
    I have disabled my firewall
    I have gone to portforwarding.com and done the port forwarding thing (I think, I am not that technical)
    I am using a fixed IP - my airport is using 192.168.7.3, my DSL router 192.168.7.1
    I can ichat video fine from work (as long as it's not to my wife when she is at home)
    I have tried to ichat to other people who have ichated succesfully to their friends
    I have called my ISP and they assure me that no ports are being blocked
    I am using the latest version of Tiger and ichat on a brand new MacBook Pro (wow this thing is fast), but my older Powerbook laptop can't connect either.
    Can anyone help?
    MacBook Pro   Mac OS X (10.4.6)   ichat 3.1.4

    Hi Russell,
    Most of the devices listed here can be made to work with iChat
    http://portforward.com/routers.htm
    However I would tend to stick to the bigger names.
    AT this stage MIMO and Pre-N devices (the ones with the extra antennas and the ones trying to predict the 802.11N wireless protocol) as iChat seems to have soem problems with them.
    Things like the Linksys WRT54G has routing and UPnP capabilities. The Netgear DG834G and it's variants are also popular. (D-Links seem to be a bit odd as set ups vary and they do not always have UPnP)
    Thomson/Alcatel Speedtouch devices need to be on Version 4 firmware (No higher than 4.2.9) and not Version 5 or 6 (or the 4.3.x version that is really version 5 re-written for earlier devices). These Alcatels need the SIP Unbound from port 5060 that I was talking about.
    See Mine in the white box just out of site http://www.ralphjohnsuk.dsl.pipex.com/page4.html#_text
    What you have to look in to at this stage is whether the ISP is blocking port 5060 for it's own VoIP service. It it is it will not matter what modem you get.
    As I said before in some cases it may be the device itself and we may be able to do soemthing about that.
    http://www.ralphjohnsuk.dsl.pipex.com/page4.html#_text Scroll down to the White box with text in it.
    Apple have this list http://docs.info.apple.com/article.html?artnum=93333
    These are supposed to work Out of the Box which is not the same as Can Work with iChat.
    11:43 AM Saturday; July 8, 2006

  • Creation of New Variant

    Hello,
    I need a variant which does ' quant * quant = quant '.
    The nearest variant that I found is QUANTI12 which does ' qant / quant = factor ' . I copied the variant to Zvariant.
    Now I try to modify the outpout from ' factor ' to ' quant '.
    Someone already did it?
    Thanks,
    Ben

    A QUANT operand is not prorated unless it is multiplied in a subsequent step with a factor or a price which has more than one value for the billing period. When the output operand is a quantity systems looks ahead in the schema and determine if this output operand is used in other steps as input operand and if so if other input operands (factors, prices) used as input operands in the same step have prorations. If they do then the quantity operand is prorated, if not only a single value is store for the quant operand.
    You might be able to create time slices for the output operand in an new variant but I think you should also consider using user exit EBIA0002 - IS-U: proration according to customer-specific dates.
    Regards,
    Daniel Toba

  • HT3702 I have an order that has not been completed and the old card no longer exists and I want to pay with my new card. the order is MHBG5FL5DH How do I delete the restriction in iTunes

    I have an order that has not been completed and the old card no longer exists and I want to pay with my new card. the order is MHBG5FL5DHHow do I delete the restriction in iTunes

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (122986)

  • Is this a new variant of the 'grey screen, won't boot' problem?

    Hello all.  My second hand Powerbook G4 starts, the bitten apple comes up, then there is no further boot up action.  The situation leading to this was as follows;
    - firstly, starting but going to a blank/grey screen and staying there.  The new variant alluded to, which I have not been able to find referred to, was that at this stage, one could for a while, actually type letters (coming out in white).  After a while this stops.
    - researching this problem here I followed the advice in the Grey Screen article - http://support.apple.com/kb/TS2570
    one on resetting the PMU - http://support.apple.com/kb/HT1431#faq11
    and on using Target Disk Mode - http://support.apple.com/kb/HT1661
    None of this helped in the slightest with these symptons. 
    Because I was away on holiday at the time I did not have access to system disks, or actually using Target Disk Mode.  On returning I used TDM to successfully connect to the PB, and it became evident that there is a drive problem.  I had taken quite a few edited videos with me and it was possible to copy some off, but not others.  Data that refused to copy always led to having to restart the machine because the 'copy' mode would refuse to cancel.  I also reinstalled the OS, and using another PB used TDM to allow Diskwarrior and Disk Utility to work on the poorly machine.  Both were able to do some work, but not complete all their tasks.  The SMART, so called, diagnostics always came up fine.
    Now if I turn it on the grey screen stage is not reached, the apple symbol comes up and stays there, with no spinning wheels.
    So, is there anything else I can do?
    Is the grey screen with some typing possible relevant or interesting in any way?
    Thanks!
    Stephen

    Hello,
    It's possible to have two Mac OS X's installed on one drive.
    Have you tried this:
    Restart whilst holding down Command-S
    The screen should turn black and load some text
    At the prompt type
    fsck -fy and press Return
    Hopefully some repairs will be performed.
    At the prompt type
    reboot and press Return
    If that doesn't provide any help then try starting in safe  mode.
    http://support.apple.com/kb/HT1455
    Once in safe mode, you can set the startup disk and reboot.
    If that don't help, then all I can suggest is a clean install of the OS.
    Using a Mac OS X install disk either retail or for a PowerBook G4, boot and upon selecting the destination drive, select option, then erase and reinstall.
    A fresh install should resolve this problem as a last resort.
    Best of luck, let us know how you get on.

  • Why is Courier New being sub'ed with Times New Roman saving a PDF to MS Word using Acrobat X

    I am using Acrobat X to save a PDF with CourierNewPSMT to MS Word. When the Word document is created, Courier New is being subsititued with Times New Roman. thanks

    Note that CourierNewPSMT is not a Windows font, but a type 1 font as I recall. Acrobat it simply trying to substitute what it sees as the closest font to what is contained in the PDF. Sometimes this seems a bit screwy. There were 4 fonts that were a problem when AA 7 came out and some PDFs that did not have embedded fonts displayed with all sorts of varied characters. You may be seeing a similar association of fonts.

  • How to create a new variant and a job sheduled to use it for the ......

    How to create a new variant and a job sheduled to use it for the exisisting programs

    Hi
    1. The ALV Grid Control is a tool with which you can output non-hierarchical lists in a
    standardized format. The list data is displayed as a table on the screen.
    The ALV Grid Control offers a range of interactive standard list functions that users need
    frequently (find, sort, filter, calculate totals and subtotals, print, print preview, send list,
    export list (in different formats), and so on. These functions are implemented in the
    proxy object class. You as the programmer have the possibility to turn off functions not
    needed. In most cases the implementations of the standard functions provided by the
    control are sufficient. However, if required, you can adjust these implementations to
    meet application-specific needs.
    You can add self-defined functions to the toolbar, if necessary.
    The ALV Grid Control allows users to adjust the layout of lists to meet their individual
    requirements (for example, they can swap columns, hide columns, set filters for the
    data to be displayed, calculate totals, and so on). The settings (list customizing) made
    by a specific user are called a display variant. Display variants can be saved on a userspecific
    or on a global basis. If such display variants exist for a list, they can be offered
    to the user for selection. If a display variant is set as the default variant, the associated
    list is always displayed based on the settings of this variant.
    2. REUSE_ALV_LIST_DISPLAY
    REUSE_ALV_GRID_DISPLAY
    REUSE_ALV_FIELDCATALOG_MERGE
    REUSE_ALV_COMMENTARY_WRITE
    3. Use of Field Catalog is to determines the technical properties & add formating information of the column.
    6. all the definition of internal table, structure, constants are declared in a type-pool called SLIS.
    7.fieldcat-fieldname
    fieldcat-ref_fieldname
    fieldcat-tabname
    fieldcat-seltext_m
    5. Form user_command using r_ucomm like sy-ucomm rs_selfield type slis_selfield.
    Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.
    In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output.
    The report output can contain up to 90 columns in the display with the wide array of display options.
    <b>The commonly used ALV functions used for this purpose are;</b>
    1. REUSE_ALV_VARIANT_DEFAULT_GET
    2. REUSE_ALV_VARIANT_F4
    3. REUSE_ALV_VARIANT_EXISTENCE
    4. REUSE_ALV_EVENTS_GET
    5. REUSE_ALV_COMMENTARY_WRITE
    6. REUSE_ALV_FIELDCATALOG_MERGE
    7. REUSE_ALV_LIST_DISPLAY
    8. REUSE_ALV_GRID_DISPLAY
    9. REUSE_ALV_POPUP_TO_SELECT
    Purpose of the above Functions are differ not all the functions are required in all the ALV Report.
    But either no.7 or No.8 is there in the Program.
    <b>
    How you call this function in your report?</b>
    After completion of all the data fetching from the database and append this data into an Internal Table. say I_ITAB.
    Then use follwing function module.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = 'Prog.name'
    I_STRUCTURE_NAME = 'I_ITAB'
    I_DEFAULT = 'X'
    I_SAVE = 'A'
    TABLES
    T_OUTTAB = I_ITAB.
    IF SY-SUBRC <> 0.
    WRITE: 'SY-SUBRC: ', SY-SUBRC .
    ENDIF.
    ENDFORM. " GET_FINAL_DATA
    The object F_IT_ALV has a field, the activity ACTVT, which can
    contain four permitted values: 01, 02, 03 and 70. Each of the
    activities 01, 02 and 70 controls the availability of particular
    functions (in the menu and the toolbar) of the ALV line item list:
    a) 01: "Settings -> Display variant -> Save..."
    b) 02: "Settings -> Display variant -> Current..." and
    "Settings -> Display variant -> Current header rows "
    c) 70: "Settings -> Display variant -> Administration..."
    Activity 03 corresponds to the minimum authorization, which is the
    most restricted one: The user can only select layouts which have
    been configured already. In particular, all of the other functions
    named above are inactive with activity 03.
    Now if you want to permit a user to change the column selection and
    the headers as well as to save the layout thus created, for example,
    but if you do not want to permit the user to administrate the
    layouts, you grant him or her the authorization for activities 01
    and 02.
    Check this link it will be mosty usefull for u
    http://www.sap-img.com/fu017.htm
    Reward all helpfull answers
    Regards
    Pavan

  • Re-establish synchronization with a new computer/i-tunes

    How can I reestablish synchronization with a new computer and new i-tunes version after my old computer crashed? My new computer and i-tunes recognizes my i-touch but thinks it is synchronized with another i-tunes version. And it is technically correct but the other version is no longer accessible because that computer is dead and gone. It will allow me to resynchronize but only by wiping the content of the i-touch and replacing it with the "blank" i-tunes content on the new computer. I would rather not lose the contents of my i-touch.

    If your iPod is set to sync automatically you need to take care connecting to an empty iTunes. You can use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on Windows with iTunes installed hold down the Shift + Ctrl keys together. This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 20 to 30 seconds depending on your computer: iTunes - Keyboard Shortcuts for Windows
    Alternatively open iTunes first and go to Edit>Preferences>Devices and check the box "Disable automatic syncing for iPhones and iPods" and choose Ok. Then connect your iPod.
    If at any point you get a message that your iPod is linked to another library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all the songs from your iPod.
    iTunes will only let you copy your iTunes Store purchases directly from an iPod to the computer, you'll find details in this article: Copying iTunes Store purchases from your iPod or iPhone to a computer
    Lost purchased applications can be downloaded over again, see this article for details: How to redownload purchased applications from the App Store
    For everything else (music from CDs, other downloads and including iTunes purchases) there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod Touch or iPhone. You'll find that they have varying degrees of functionality and some will transfer data (such as playcounts and ratings), movies, videos, photos, podcasts and games as well.
    A selection of iPod/iPhone to iTunes utilities:
    Senuti Mac Only (iPod Touch & iPhone compatible)
    SharePod Windows Only (iPhone and iPod Touch compatible)
    TuneJack Windows Only (iPhone and iPod Touch compatible)
    iPodRip Mac & Windows (iPhone and iPod Touch compatible)
    Music Rescue Mac & Windows (iPhone and iPod Touch compatible)
    iPod Music Liberator Mac & Windows (iPhone and iPod Touch compatible)
    iGadget Mac & Windows (iPhone and iPod Touch compatible)
    iRepo Mac & Windows (iPhone and iPod Touch compatible)
    iPod Access Mac & Windows (iPhone and iPod Touch compatible)
    TouchCopy Mac & Windows (iPhone and iPod Touch compatible)

  • How to create a new IView with a new User assigned to it?

    Hi All,
    I have a Web Dynpro application and I want that to use in Portal.
    I am creating a IView..and  a Role and assigning  it to a created User.
    But when I am logging in with the new User I am getting an error. The Error is some Desktop.
    Can any provide me the steps for the creation of the same.
    Regards
    DK

    Hi,
    Here is the step-by-step procedure to create a web dynpro iView in portal:
    1. Logon to portal.
    2. Content Administration->Portal Content.
    3. Right Click on the folder 'Portal Content'.
    4. Select 'iView' ->'New'
    5. In the Template Selection, select 'SAP Web Dynpro iView' and click 'Next'
    6. In the 2nd step, Give iView Name and iView ID and a prefix. Next.
    7. Select application variant, say, 'Java' in the 3rd step. Next.
    8. In the 4th step, select the System (Your WAS System), give the project name of your webdynpro, like, local/ABC_Project in the WebDynproNameSpace. In the Application Name, enter the application name of your Web Dynpro Application, say ABC_App. Next.
    9. Finish.
    10. In the left panel, now you will see an iView has been created.
    11. Create necessary role/workset and assign this iView for an user.
    Regards,
    Vijayakhanna Raman

  • No session found with status "New" or "Error"

    Hi,
    I put the statement after the CLOSE GROUP to process the BDC automatically:
      SUBMIT RSBDCSUB AND RETURN
             EXPORTING LIST TO MEMORY
             WITH MAPPE = SESSION.
             WITH VON = SY-DATUM
             WITH BIS = L_NEXT_DAY
             WITH Z_VERARB = 'X'
             WITH FEHLER = ' '.
    And when I ran it I got an error that says
    <i>No session found with status "New" or "Error"</i>
    When I go to SM35, I see the session in the 'New' tab.  How can I get this to process completely without manual intervention or first thing first no error from running the program?
    Thanks,
    Will

    Hi Rob,
    I will try the COMMIT. I think because I processing mutltiple GS01 transaction in one program.
    Hi Sudheer,
    I am actually usinng the INCLUDE that was given to me when I did the recording.  Here is the complete code from the include.
    ***INCLUDE BDCRECX1.
    for programs doing a data transfer by creating a batch-input session
    and
    for programs doing a data transfer by CALL TRANSACTION USING
    SELECTION-SCREEN BEGIN OF LINE.
      PARAMETERS SESSION RADIOBUTTON GROUP CTU.  "create session
      SELECTION-SCREEN COMMENT 3(20) TEXT-S07 FOR FIELD SESSION.
      selection-screen position 45.
      PARAMETERS CTU RADIOBUTTON GROUP  CTU.     "call transaction
      SELECTION-SCREEN COMMENT 48(20) TEXT-S08 FOR FIELD CTU.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 3(20) TEXT-S01 FOR FIELD GROUP.
      selection-screen position 25.
      PARAMETERS GROUP(12).                      "group name of session
      SELECTION-SCREEN COMMENT 48(20) TEXT-S05 FOR FIELD CTUMODE.
      selection-screen position 70.
      PARAMETERS CTUMODE LIKE CTU_PARAMS-DISMODE DEFAULT 'N'.
                                          "A: show all dynpros
                                          "E: show dynpro on error only
                                          "N: do not display dynpro
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 3(20) TEXT-S02 FOR FIELD USER.
      selection-screen position 25.
      PARAMETERS: USER(12) DEFAULT SY-UNAME.     "user for session in batch
      SELECTION-SCREEN COMMENT 48(20) TEXT-S06 FOR FIELD CUPDATE.
      selection-screen position 70.
      PARAMETERS CUPDATE LIKE CTU_PARAMS-UPDMODE DEFAULT 'L'.
                                          "S: synchronously
                                          "A: asynchronously
                                          "L: local
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 3(20) TEXT-S03 FOR FIELD KEEP.
      selection-screen position 25.
      PARAMETERS: KEEP AS CHECKBOX.       "' ' = delete session if finished
                                          "'X' = keep   session if finished
      SELECTION-SCREEN COMMENT 48(20) TEXT-S09 FOR FIELD E_GROUP.
      selection-screen position 70.
      parameters E_GROUP(12).             "group name of error-session
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 3(20) TEXT-S04 FOR FIELD HOLDDATE.
      selection-screen position 25.
      PARAMETERS: HOLDDATE LIKE SY-DATUM.
      SELECTION-SCREEN COMMENT 51(17) TEXT-S02 FOR FIELD E_USER.
      selection-screen position 70.
      PARAMETERS: E_USER(12) DEFAULT SY-UNAME.    "user for error-session
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 51(17) TEXT-S03 FOR FIELD E_KEEP.
      selection-screen position 70.
      PARAMETERS: E_KEEP AS CHECKBOX.     "' ' = delete session if finished
                                          "'X' = keep   session if finished
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 51(17) TEXT-S04 FOR FIELD E_HDATE.
      selection-screen position 70.
      PARAMETERS: E_HDATE LIKE SY-DATUM.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 1(33) TEXT-S10 FOR FIELD NODATA.
      PARAMETERS: NODATA DEFAULT '/' LOWER CASE.          "nodata
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT 1(33) FOR FIELD SMALLLOG.
      PARAMETERS: SMALLLOG as checkbox.  "' ' = log all transactions
                                         "'X' = no transaction logging
    SELECTION-SCREEN END OF LINE.
      data definition
          Batchinputdata of single transaction
    DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE.
          messages of call transaction
    DATA:   MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
          error session opened (' ' or 'X')
    DATA:   E_GROUP_OPENED.
          message texts
    TABLES: T100.
      at selection screen                                                *
    AT SELECTION-SCREEN.
    group and user must be filled for create session
      IF SESSION = 'X' AND
         GROUP = SPACE OR USER = SPACE.
        MESSAGE E613(MS).
      ENDIF.
      open dataset                                                       *
    FORM OPEN_DATASET USING P_DATASET.
      OPEN DATASET P_DATASET
                   FOR INPUT IN TEXT MODE
                   ENCODING DEFAULT.
      IF SY-SUBRC <> 0.
        WRITE: / TEXT-E00, SY-SUBRC.
        STOP.
      ENDIF.
    ENDFORM.
      close dataset                                                      *
    FORM CLOSE_DATASET USING P_DATASET.
      CLOSE DATASET P_DATASET.
    ENDFORM.
      create batchinput session                                          *
      (not for call transaction using...)                                *
    FORM OPEN_GROUP.
      IF SESSION = 'X'.
        SKIP.
        WRITE: /(20) 'Create group'(I01), GROUP.
        SKIP.
      open batchinput group
        CALL FUNCTION 'BDC_OPEN_GROUP'
             EXPORTING  CLIENT   = SY-MANDT
                        GROUP    = GROUP
                        USER     = USER
                        KEEP     = KEEP
                        HOLDDATE = HOLDDATE.
        WRITE: /(30) 'BDC_OPEN_GROUP'(I02),
                (12) 'returncode:'(I05),
                     SY-SUBRC.
      ENDIF.
    ENDFORM.
      end batchinput session                                             *
      (call transaction using...: error session)                         *
    FORM CLOSE_GROUP.
      IF SESSION = 'X'.
      close batchinput group
        CALL FUNCTION 'BDC_CLOSE_GROUP'.
        WRITE: /(30) 'BDC_CLOSE_GROUP'(I04),
                (12) 'returncode:'(I05),
                     SY-SUBRC.
      ELSE.
        IF E_GROUP_OPENED = 'X'.
          CALL FUNCTION 'BDC_CLOSE_GROUP'.
          WRITE: /.
          WRITE: /(30) 'Fehlermappe wurde erzeugt'(I06).
          E_GROUP_OPENED = ' '.
        ENDIF.
      ENDIF.
    ENDFORM.
           Start new transaction according to parameters                 *
    FORM BDC_TRANSACTION USING TCODE.
      DATA: L_MSTRING(480).
      DATA: L_SUBRC LIKE SY-SUBRC.
    batch input session
      IF SESSION = 'X'.
        CALL FUNCTION 'BDC_INSERT'
             EXPORTING TCODE     = TCODE
             TABLES    DYNPROTAB = BDCDATA.
        IF SMALLLOG <> 'X'.
          WRITE: / 'BDC_INSERT'(I03),
                   TCODE,
                   'returncode:'(I05),
                   SY-SUBRC,
                   'RECORD:',
                   SY-INDEX.
        ENDIF.
    call transaction using
      ELSE.
        REFRESH MESSTAB.
        CALL TRANSACTION TCODE USING BDCDATA
                         MODE   CTUMODE
                         UPDATE CUPDATE
                         MESSAGES INTO MESSTAB.
        L_SUBRC = SY-SUBRC.
        IF SMALLLOG <> 'X'.
          WRITE: / 'CALL_TRANSACTION',
                   TCODE,
                   'returncode:'(I05),
                   L_SUBRC,
                   'RECORD:',
                   SY-INDEX.
          LOOP AT MESSTAB.
            SELECT SINGLE * FROM T100 WHERE SPRSL = MESSTAB-MSGSPRA
                                      AND   ARBGB = MESSTAB-MSGID
                                      AND   MSGNR = MESSTAB-MSGNR.
            IF SY-SUBRC = 0.
              L_MSTRING = T100-TEXT.
              IF L_MSTRING CS '&1'.
                REPLACE '&1' WITH MESSTAB-MSGV1 INTO L_MSTRING.
                REPLACE '&2' WITH MESSTAB-MSGV2 INTO L_MSTRING.
                REPLACE '&3' WITH MESSTAB-MSGV3 INTO L_MSTRING.
                REPLACE '&4' WITH MESSTAB-MSGV4 INTO L_MSTRING.
              ELSE.
                REPLACE '&' WITH MESSTAB-MSGV1 INTO L_MSTRING.
                REPLACE '&' WITH MESSTAB-MSGV2 INTO L_MSTRING.
                REPLACE '&' WITH MESSTAB-MSGV3 INTO L_MSTRING.
                REPLACE '&' WITH MESSTAB-MSGV4 INTO L_MSTRING.
              ENDIF.
              CONDENSE L_MSTRING.
              WRITE: / MESSTAB-MSGTYP, L_MSTRING(250).
            ELSE.
              WRITE: / MESSTAB.
            ENDIF.
          ENDLOOP.
          SKIP.
        ENDIF.
    Erzeugen fehlermappe ************************************************
        IF L_SUBRC <> 0 AND E_GROUP <> SPACE.
          IF E_GROUP_OPENED = ' '.
            CALL FUNCTION 'BDC_OPEN_GROUP'
                 EXPORTING  CLIENT   = SY-MANDT
                            GROUP    = E_GROUP
                            USER     = E_USER
                            KEEP     = E_KEEP
                            HOLDDATE = E_HDATE.
             E_GROUP_OPENED = 'X'.
          ENDIF.
          CALL FUNCTION 'BDC_INSERT'
               EXPORTING TCODE     = TCODE
               TABLES    DYNPROTAB = BDCDATA.
        ENDIF.
      ENDIF.
      REFRESH BDCDATA.
    ENDFORM.
           Start new screen                                              *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
      IF FVAL <> NODATA.
        CLEAR BDCDATA.
        BDCDATA-FNAM = FNAM.
        BDCDATA-FVAL = FVAL.
        APPEND BDCDATA.
      ENDIF.
    ENDFORM.
    Thanks
    Will
    I awarded points to everyone. Thanks so much.
    Message was edited by:
            Will Ferrell

  • T.code FKMT: the customizing navigation to create new variants ...

    Hi All,
    with reference to t.code FKMT (Account Assignment Model) could anyone show me the customizing navigation to create new variants in the screen template (from menù: seetings/screen template) ?
    Thanks
    Gandalf

    please check
    http://sap.ittoolbox.com/groups/technical-functional/sap-acct/screen-template-define-in-tcode-fkmt-2375586
    http://iris.tennessee.edu/BPP/FI/Finance%20&%20Controlling/FI_GL_FKMT_FI%20acct%20assnmt%20model%20mgmt.doc.
    hopes it helps
    Edited by: Jose Lastra on Oct 26, 2008 1:01 PM

  • Error updating Process Form: Same Column exist with a different variant

    Hi All,
    I have a process form of a resource with following fields :
    Name VariantType Length FieldLabel FieldType Order
    UD_EDIR_BWUSER   boolean       1          BWUser    Checkbox      25
    UD_EDIR_ISUUser    boolean       1          ISUUser    Checkbox      26
    Now, I have to changes these field from boolean to string. For that, I created a new process form version and update like this:
    1. Delete these fields first.
    2. Add two new fields:
    UD_EDIR_BWUSER String 4 BWUser Textfield 25
    UD_EDIR_ISUUser String 4 ISUUser Textfield 26
    Now, when I tried saving the form, I got following error
    Same Column exist with a different variant in current or previous form.
    I also tried creating again a new version of process form and tried updating these field instead of re-creating them but I was able to update the FieldType only ( not able to update the Variant type and length).
    If anyone know how to resolve this issue, please reply.
    Cheers,
    Sunny

    Hi Rajiv,
    Thanks for the reply. I re-created these field in a new version but gave a different name this time like this:
    UD_EDIR_SAP_BW_USER String 4 SAPBWUser TextField 25
    UD_EDIR_SAP_ISU_USER String 4 SAPISUUser TextField 26
    and it worked for me.
    Cheers,
    Sunny

  • New Variant in VA05

    Hi All,
    In Transaction VA05 i need a new variant with following combination:
    There are a variant named "Status and blockings
    This new variant shall contain all claim sales order types, ZFA, ZRE, ZG2, ZG3, ZL2 and ZL3
    Creations Date, Sales order number, item, material number, quantity, overall status for each item and reason for rejection, for this last field it shall be the text not only the two digit code
    of reason for reaction.
    How can i create above combination in SAP 4.6 version.
    Thanks in advance.
    Regards
    ajit  jaiswal

    Hello Ajit,
    That is a lot of information that you're looking to put into the report before running it.  In your post you do not mention the need for sold-to party, so my assumption is that you're looking for this information for a specific sold-to number.  What I would recommend is running the report for a variable period for all documents for the needed sold-to party.  Then, once the report runs, set a filter on Sales Document Type for the listed SaTY's listed in your post, sort by creation date and filter any rejection reasons / material numbers / qtys / etc.  Then, save this layout so that you can use the layout for any other sold-to parties you would like to additionally use.
    Basically, VA05 does not have many options at entry, so instead of creating a variant to restrict the information you want pulled, I would recommend running it to pull all information in a date range for one sold-to party then creating a layout to restrict only the information you would like to see.  Hope this works for you!

  • I have upgraded to the new Firefox but removed it because my DAP premium will not work with the new version. Am I doing something wrong?

    DAP Premium seems not to be compatible with the new version

    Dear Old Bob..I enjoyed that! I and thanks so much ...I would have done it if I could have done it but I was blocked by Photoshop at every stage! Thankfully my own IT Guru and friend came to the rescue remotely last night and has down-loaded it. But it took him quite a bit of time.
    As XP is  faded out, there will be an awful lot of people like me complaining.
    But truth is my problems are only at a start! About 30 prints (some not yet on my 'blog' (juliamatcham.wordpress.com) all have varying settings which I have noted. Everything depends on these settings.
    All are Apple RGB (although my computer is a PC) and they were all set for my printer Epson Photo 1800. Also they were set at varying settings...Standard or Vivid 1.5, 2.5 whatever suited the design.
    These settings appear not to exist on CS2 which is a nightmare for me as each print was carefully proofed with a great deal patience and at some expense as in the end one has to use expensive paper even for proofing.
    If you have any hints for how to translate these old settings...I would kiss your feet!
    Just looking through how things work, I can't understand why I can't change my first printing option to landscape ...everything esle so far seems comprehensible.
    I do hate change!
    Meanwhile, thanks so much to Curt, Noel, Nahraka and Old Bob for cheering me on. I am obviously going to be back asking more questions about CS2!
    Julia

Maybe you are looking for

  • Trigger Second Interface for the same Creation event

    Hello all, I have to send my every created equipment to two different systems. I created Custom function Modules which create individual Idocs. I called these function modules in Methods and we created two custom Tasks to trigger workflow creation ev

  • Relationship user / Business Services

    How to associate a business service to a user in Service Manager

  • IMac additional monitor

    Have a 24" iMac (Intel) running OS 10.4.11 Want to run an additional 24" monitor from the iMac. Have done this with a 17" CRT with no problem but now want to use a larger LCD screen. Can my iMac drive another monitor this size, can't find any referen

  • Open in safari activity missing

    After upgrading to iOS 8.3 the "Open in Safari" activity is missing from the share sheet and is not available in the "more" list on my iPad mini. (It is still available on my iPhone 5s.) Is there a way to restore the "Open in Safari options?

  • INS0017: Installation of the seed data failed.oracle.wh.util.parser.ParseEx

    Hi all! I've already posted my error in this thread: Creating OWB Repository - invalid length inside variable character string but I realized it is not exactly the same error. So, I'm posting a new one and I really hope somebody can give me some advi