Re : batch input programming..

hi friends is it possible to use the call transaction and session the scenario described.
1. like i am having two record sets corresponding to two transactions and i want them to be uploaded using 'call transaction' for one transaction and 'session' for other transaction, in a single program.
2. like i am having one record set and using single program i want it to be uploaded by 'call transaction' or 'session' depending upon the radio button that i select in the list.
i will be thankful if you respond to my queries.

In first case I guess it not possible within single program instead:
1. Create two programs 1 for call transaction and other for Session and call one program after completion of first one.
2. Yes it is possible using radion button. but you have write your own logic for this.
Regards,
Amey

Similar Messages

  • Standard Batch Input Programs for Profit Center Creation

    Dear all;
    I am in 4.0B version that doesnt have BAPI_PROFITCENTER_CREATE. Writing a BDC for this would be complicated as my data is compiled in a different way.
    Are there any Standard Batch Input Programs for Profit Center Creation ?

    Hi Srivathsan,
    You can make use of  Standard BAPI by LSMW.
    Business Object   BUS1116      Profit Center Group
    Method                CREATE                      Create
    Message Type      PROFITCENTERGROUP_CREATE   
    Basic Type           PROFITCENTERGROUP_CREATE
    Regards,
    Sivaram.

  • LSMW Standard Batch Input Program

    Hi,
    I have one requirement on creating BOM.
    I have to upload data from legacy system to SAP for T-Code ' CS01'
    I have to use the Standard Batch input Program 'RCSBI010'.
    I have source structure and Target Structure.
    In Source structure i have Header and item data.
    In Header i have 11 fields and in Item i have 23 fields.
    In Target Structure i have upto 130 fields.
    In the Standard program who have 4 structures and each structure have fields.
    So How many  fields i have to map with Standard structure. and in my source structure i dont have the fields like T-code, session name, user name,and xkeep.
    So how to pass these fields (T-code, session name, user name,and xkeep) to the standard structure. and is it necessary to pass these fields to the standard batch input program.
    Advance thanks,
    Kumar A

    Hi,
        Hi,
    Record type 0: one session record (structure BGR00) per session..
    The session header contains general administrative data on the batch input session to be created. All records that follow the header in the sequential file are assigned to the current session, until the next header occurs in the file.
    Record type 1: one session record (structure BICSK) for each BOM
    The BOM header record contains the transaction code (for example, CS01 Create material BOM) and the header data
    Record type 2: one item record (structure BICSP) per item
    All BOM item records are assigned to the preceding BOM header, until the next BOM header or session header occurs in the sequential file
    Record type 3: one sub-item record (structure BICSU) per sub-item
    All BOM sub-item records are assigned to the preceding BOM item, until the next item header, BOM header, or session header occurs in the sequential file
    and x-line which will be used as index while retreiveing
    and the file to be imported should contain values in this format
    BGR00 data will be in first line (0-stype)
    BICSK in second line (1 stype)
    BICSP in 3rd line
    BICSU in 4th line
    e.g:
    0 sessname 800
    1 CS01 123
    2 values req
    3 values req
    Hope this gives u some idea...
    <b>Reward points</b>
    Regards

  • Standard batch input program for Routing

    Hi,
    Please inform me if there is any standard batch input program for uploading routing data.
    Regards
    Ramakanth

    Hi
    Pls check RCPTRA00

  • BAPI or Batch Input Program for FB01

    Hi all!
    I am trying to post invoice through transaction code FB01, i need a standard BAPI program or Batch Input Program for FB01 (except recording).
    thanks.

    Hello,
    In the 'Specify Files' step,
    1. give some short file name (about 20 Characters )
    2. In the File option for 'Converted Data' option check the Logical path / logical file entries. Normally it is LSMW ( Logical Path ) and the same File name for logical file. If you do not have a Logical path 'LSMW' create one in Tx. FILE'.
    3. Please note that you need authority to save the file on application server ( You can see the files on Appl. Server in Tx. AL11 ).
    Let me know how it goes on!
    Regds, Murugesh AS
    Message was edited by: Murugesh Arcot
    Message was edited by: Murugesh Arcot

  • Batch input programs for infotypes

    Hi Experts,
    Can anyone tell me what is the use or how we can use the batch input programs for infotypes maintained in BTCI_PROG field of table T777D.
    Regards,
    Aravind

    I dont think any data is maintained by default in the system for that field.
    Still that field can be used if you want to develop any upload program for the infotype and want to maintain it for future use also, you can always maintain that.
    But if you want to upload data in the infotypes and thinking that this field may help you with any load program..........
    Write one using HR_MAINTAIN_MASTERDATA for that.
    Regards,
    Amit
    Reward all helpful replies.

  • XD01 Batch Input Program RFBIDE00  Some fields not seeing in Structure Mapp

    Hi,
       I'm using Batch input for customer master Uploading ... Some fields like Mobile Number , Email which is there when i go through XD01 TCode is  not showing in any of the structures like BKNA1,BKNB1.. Can anyone plz give a solution for this ...
    Is this possible through Standard Batch to map these fields or i need to go for any other method ..,.....

    They should appear in structure BIADDR2
    Regards,
    Raymond

  • Problems with multi-account assignment in batch-input program

    Hi everybody!
    I'll create purchase orders with multi-account assignment via batch input.
    When processing dynpro SAPMM06E 0113 I get the message:
    "Batch-Input data for dynpro SAPMM06E 0113 are not available".
    But all data are already filled in the accounting fields. 
    There is no way to go back to the position overview.
    Here you can see the batch input coding of the multi-account assingment:
         PERFORM dynpro USING: 'X' 'SAPMM06E'        '0113',
                                ' ' 'BDC_CURSOR'      'EKKN-TWRKZ',
                                ' ' 'BDC_OKCODE'      '/00',
                                ' ' 'EKPO-WEPOS'      'X',
                                ' ' 'EKPO-WEUNB'      'X',
                                ' ' 'EKPO-VRTKZ'      wa_ekko_ekpo-vrtkz,
                                ' ' 'EKPO-TWRKZ'      wa_ekko_ekpo-twrkz.
          PERFORM dynpro USING: ' ' 'BDC_CURSOR'      'EKKN-ANLN1(14)',
                                ' ' 'BDC_OKCODE'      '/00',
                                ' ' 'EKPO-WEPOS'      'X',
                                ' ' 'EKPO-WEUNB'      'X',
                                ' ' 'RM06E-MKNTM(14)'  ekkn_menge2,
                                ' ' 'EKKN-ANLN1(14)'   wa_ekko_ekpo-anln1,
                                ' ' 'EKKN-ABLAD(14)'   wa_ekko_ekpo-ablad,
                                ' ' 'EKKN-WEMPF(14)'   wa_ekko_ekpo-wempf.
                               ' ' 'BDC_SUBSCR'      'SAPLKACB'.
    *(this is repeated for every accounting position)
         PERFORM dynpro USING: ' ' 'BDC_CURSOR'      'EKPO-VRTKZ',
                               ' ' 'BDC_OKCODE'      '=AB',
                               ' ' 'EKPO-WEPOS'      'X',
                               ' ' 'EKPO-WEUNB'      'X'.
    Regards,
    Anke
    Message was edited by:
            Anke Chittka

    Hi,
          1 .First record properly depen upon ur requirment,
          2. Test ur recorded code
          3. Note all OK-Code ( when u press any button) * this is important
          4. After that split ur recorded coding dep ur requirment (if u know all OK-Code u can split the recorded coding)
          5. call ur splided coding in ur prg.
    i am having coding for PO but this is Dep my requirment

  • XK01 -- Batch Input Program Screen Sequence Issue

    Guyz,
    I created a recording in shdb for xk01 and generated the program from shdb itself and modified the program (both selection screen & processing logic).... suprisingly, when i execute the program, screen sequence is different when compared to the sequence from shdb recording..... i even downloaded the BDCTABLE contents during debugging and compared with recording in SHDB which is fine....
    any pointers ?
    after filling lifnr, bukrs & account group on initial screen of xk01, usually NAME & ADDRESS details screen comes up in online and SHDB recording, but during program execution in 'ALL SCREEN' & 'SYNCHRONOUS' mode (call transaction), i'm getting first screen (as expected) but its skipping NAME & ADDRESS details screen and thus my program getting stuck?
    appreciate your pointers.....
    thanks

    On the first screen, you have to set a check-box that is normally hidden:
        perform dynpro
          tables bdcdata
          using:
         'X' 'SAPMF02K'     '0105',         "Create Vendor: Initial Screen
          ' ' 'RF02K-BUKRS'             '0001',
          ' ' 'RF02K-KTOKK'             'ZZZZ',
          ' ' 'USE_ZAV'                 'X'.         "<=======Here
    This will cause the program to use the screen in Central Address Management.
    I also think you will probably use screen 0100 rather than 0105 that I have used above.
    Rob
    Message was edited by:
            Rob Burbank

  • Writing a Batch Input or Call Transaction program for transaction code MMAM

    Hi All,
    I'm writing a Batch Input or Call Transaction program for transaction code MMAM (Changing Material Type). The program was able to run but somehow I was not able to capture the log of the output after running MMAM. The log was not part of the SY-MESSAGE so adding in MESSTAB into call transaction doesn't help while BDC session logs shows only the transaction was processed.
    Anyone has encounter such problems before?
    Regards,
    Ramu.

    Hi
    Overview of Batch Input Session
    The first batch input method is to create a batch input session. It is the processing of this batch input session that updates the database, not the execution of the batch input program. i am giving you example for Change Vendor you practice for ur tcode
    For our example, we will use the “Change Vendor” transaction (“FK02”) to add a street address to an already existing vendor.
    Step #1
    Use “System&#61664;Status” menu path to determine online program name (SAPMF02K), screen number (0110)
    Step #2
    Use “F1” key and “Technical Info” pushbutton in each screen field to be filled to determine the field name.
    Step #3
    Determine how to proceed in the transaction
    (save the record by clicking on the ‘Save’ pushbutton or pressing the ‘F11’ key).
    The process flow of CALL TRANSACTION
    A program that uses CALL TRANSACTION USING to process legacy data should execute thefollowing steps:
    Prepare a BDCDATA structure for the transaction that you wish to run.
    Prepare a internal table to store error messages Tab_Mess like structure of BDCMSGCOLL.
    With a CALL TRANSACTION USING statement, call the transaction and prepare the BDCDATA structure. For example:
    CALL TRANSACTION ‘MM01' USING BDCDATA MODE 'A' UPDATE 'S'. MESSAGES INTO TAB_MESS.
    IF SY-SUBRC <> 0.
    <Error_handling>.
    ENDIF.
    Overview of Batch Input Session
    The first batch input method is to create a batch input session. It is the processing of this batch input session that updates the database, not the execution of the batch input program

  • Problems while creating a batch input

    Hi Experts,
    I tried to create a batch input program for the transaction CRMD_ORDER for some changes on to the configuration tab to enable the BOM to work. This cannot be done by the BAPIs. I have included the batch input program in a RFC enabled function module to do this job. I am getting the error control framework: fatal error - GUI cannot be reached  and Runtime error RAISE_EXCEPTION has occured. This happens only in the mode N, if i re run the session with the other modes there are no problems.
    I am call the function module through a method in the controller class.
    Replies are highly appreciated.
    Thanks in Advance.
    Regards,
    Suthagar

    Hi Durai,
    I tried that option too. Ufortunately the same error has happened. The problem is solved using 3 other function modules, by not using the BDC.
    Appreciate your reply. Thanks!
    Regards.
    Suthagar

  • Customer master data using LSMW std batch input

    Hello all,
    i m using LSMW method to create customer master records in the SAP system.
    we need to cover all the fields for addresses.
    Following are my doubts :
    1. some address fields are gettng truncated while loading customer master using std batch input program (for ex name1,name2,name3,name4,street..)
    2. some fields are not part of std batch input program . how to load that fields
    3. if we load address data first and then other customer data ,how to handle internal number range?
    4. how to upload internation address data in the system? is there any bapi for that?
    5 . how to upload additional communication data in address (ex mail,URL)
    Please help asap. its required urgently.
    thanks
    Jigs
    note : helpful ans will be rewarded.

    Message type DEBMAS
    Idoc type DEBMAS**  where ** is highest number available in your system (check via WE30). e.g. DEBMAS06

  • Batch input problem in SM35

    Dear all,
    I am uploading the bank statements using manual bank statements through Z transaction, Once uploaded system is generating the batch input session for the same.
    When i run the batch input session system not clearing outgoing payment automatically based on the assignment field, as i have alreday mentioned the same assignment while posting the document and in the excel file.
    I am getting the following message while running the batch input session.
    No batch input data for screen SAPDF05X 3100
    Message no. 00344
    Diagnosis
    The transaction sent a screen that was not expected in the batch input session and which therefore could not be supplied with data.
    Possible reasons:
    1. The batch input session was created incorrectly. The sequence of screens was recordly incorrectly.
    2. The transaction behaves differently in background processing in a batch work process than when running in dialog (SY-BATCH is queried and changes the screen sequence).
    3. The transaction has undergone user-specific Customizing and therefore certain screens may be skipped or processed differently, according to the current user. If the person who created a batch input session is not the same as the person now processing it, this problem may occur frequently.
    System Response
    None.
    Procedure
    For 1: Either re-create the session or process it in expert mode. Correct the batch input program.
    For 2. It is very difficult to analyze this problem, particularly in the case that the screen sequence or the display-only options of fields differ according to whether the transaction is being processed in the background or as an online dialog. It could also be that this kind of transaction cannot run with batch input.
    For 3: Have the creator of the session process it. If no error occurs now, then this is a program with user-specific Customizing.
    Please let me know solution for the same.
    Regards,
    Anand

    Hi,
    This may not be a solution but may help you to isolate the problem
    a) Are you able to load the bank statement for other banks without error ?
    b) Try for the same bank in a different system .
    c) If it is working for different bank then check the file format is the same for both the banks.
    d) If it is working in different system check the ABAP code for any changes between the system,
    e) Are you getting this message for all the line items or only for some line items ?
    Regards
    K.R

  • Create batch input, does not include all records

    Have anyone experienced, when doing Create Batch Input from the LSMW menu it does not include all rows.
    For example I have a .txt file with 3000 records that I specify in "Specify Files"
    "Read Data"  reads 3000 records.
    "Convert Data" Converts 3000 records
    "Create Batch input Sessions" creates 2461 records? ?
    I have noticed that this happen when the system is busy running many batches and Idocs.

    I'm talking about LSMW programs with regular Batch input Recording.
    I haven't noticed which transactions it skips since I do not run the Batch, when I notice that it does not include all rows as I have read and converted.
    However usually if I "Create the batch input session" once again it includes all the records from the conversion before.
    But since Create a batch input can take a long time depending on the amount of transactions it creates this is not a desired option.
    So it is not possible that the transactions it does not create are errors since its possible to run them successfully. And I haven't used any SKIP TRANSACTION in the mapping step.
    But like I said this only happens when the system is running many batches / idocs at the moment, for example if we are loading the material master at the same time as I run my batch input programs.

  • WITH LSMW USING BATCH INPUT/DIRECT INPUT/BAPI/IDOCS

    IN WHAT SCENARIOS CAN WE USE BATCH INPUT/DIRECT INPUT/BAPI/IDOCS WITH LSMW.WHICH IS THE BEST ONE.PLEASE TELL ME THE SCENARIOS OF USAGE.

    It really depends on what you are doing.  There are a lot of "standard" LSMW objects for different business objects, for example, there is a std object for Creating Material Masters, in this case, it is a direct input program. So, the best choice here would be to use the standard program which has been provided, it just so happens that it is a direct input program.  Creating Bill of Materials is another one, but this one is a batch input program, so you have no choice but to go with that.  Of course if there is a BAPI for your business object that would be the next best thing, if a standard object does not exists.
    REgards,
    Rich Heilman

Maybe you are looking for

  • All of my music won't synch from itunes??

    all of my music in itunes will not synch to my iphone 4.  There is plenty of memory and all the music is checked.  I tried removing music from the iphone and resyching again, but still, the same songs in my itunes library will not synch to the iphone

  • Sticky notes in Acrobat X default to off-the-page and extremely large

    Hi! I'm fighting an issue where sticky notes that I add to any PDF will always default to the far right (off of the screen) and they tend to be large (as in, the size of about 2 letter pages).  Everytime I add a sticky note to a PDF I must zoom out s

  • Error installing Service Provider Foundation- pre-requisite for configuring Windows Azure Pack

    We are trying to setup lab at our premises to get hands on with WAP and explore. We are able to install all the pre-requisite software’s except the "Service Provider Foundation (SPF)" component. Using SPF we are trying to configure the WAP that is in

  • CJI3 - Save and delete layouts...

    Hi... I need to save a layout under cji3. I have two queries: i) How to save and set it to default? ii) How to delete it once I have saved it? Having done this, is it possible to have any of the existing ones as default... Thanks

  • How do I open up BIOS when starting up?

    I cannot figure out what key to hold down when starting windows xp professional to open up BIOS. What do I have to hold down?