Batch input - FB05 - How to fill LIFNR if I post on GL account.

Hi, our company normaly use IDOCs (FIDCCP02) for posting FI documents (accrual intercompany FI documents) and there we can fill LIFNR and it is saved in BSEG-LIFNR. But now I  created batch input for transactin FB05 and I cannot fill LIFNR anywhere on screen by FI document posting on GL account. Is there any option how to fill LIFNR in batch input when i post on GL account?
Thanks

I would check field status group assigned to your account and check which fields are enabled in this group (in SPRO under Financial Accounting -> Financial Accounting Global Settings -> Document -> Line Item -> Controls -> Maintain Field Status Variants)

Similar Messages

  • Batch-input FB05 Cost Center -A mode - N mode

    Hello,
    When i execute a FB05 batch-input in mode A (visible) , the program post every document right , but when i try to execute in mode N a error message return in the messanges internal table.  
    "No batch input data for screen & &  "
    So i´ve checked many times the screen where i inform the Cost Center , and everything seems right. I suspect that it is a pop-up , and the program could not read properly this screen in N mode .
    Anybody has passed for this situation ?  What i need to do to make this work in N mode .
    Ps: i´ve tried play with many option on the call transaction options ,
    like :
      T_CTU_PARAMS-UPDMODE  
      T_CTU_PARAMS-RACOMMIT
      T_CTU_PARAMS-DEFSIZE 
      T_CTU_PARAMS-NOBINPT 
      T_CTU_PARAMS-NOBIEND 
    thank a lot
    best regards

    follow
      SELECT BUKRS KUNNR BELNR BUZEI
             INTO TABLE T_BSID
              FROM BSID
              FOR ALL ENTRIES IN T_BATCH_AUX
               WHERE BUKRS EQ T_BATCH_AUX-BUKRS
                AND KUNNR EQ T_BATCH_AUX-KUNNR.
      IF SY-SUBRC = 0.
        LOOP AT T_BATCH INTO WA_BATCH.
          T_BSID_AUX = T_BSID.
          DELETE T_BSID_AUX WHERE KUNNR NE WA_BATCH-KUNNR.
          READ TABLE T_BSID_AUX INTO WA_BSID
                    WITH KEY BUKRS = WA_BATCH-BUKRS
                             KUNNR = WA_BATCH-KUNNR
                             BELNR = WA_BATCH-BELNR
                             BUZEI = WA_BATCH-BUZEI.
          MOVE SY-TABIX TO W_TABIX.
          PERFORM ZE_MOVER_BDC USING:
               'X'    'SAPMF05A'                        '0122' ,
               ' '    'BDC_CURSOR'                      'RF05A-XPOS1(02)',
               ' '    'BDC_OKCODE'                      '=SL',
               ' '    'BKPF-BLDAT'                       WA_BATCH-DTA_DOCTO,
               ' '    'BKPF-BLART'                       WA_BATCH-TP_DOCTO,
               ' '    'BKPF-BUKRS'                       WA_BATCH-BUKRS,
               ' '    'BKPF-BUDAT'                       WA_BATCH-DTA_LCTO,
               ' '    'BKPF-MONAT'                       WA_BATCH-PERIODO,
               ' '    'BKPF-WAERS'                       WA_BATCH-MOEDA,
               ' '    'BKPF-XBLNR'                       WA_BATCH-REFERENCIA,
               ' '    'BKPF-XBLNR'                       WA_BATCH-TXTCAB,
               ' '    'BKPF-BKTXT'                       WA_BATCH-TXTCAB,
               ' '    'RF05A-AUGTX'                      WA_BATCH-TXTDESC.
            ' '    'FS006-DOCID'                      '*'.
          PERFORM ZE_MOVER_BDC USING:
              'X'    'SAPMF05A'                        '0710' ,
              ' '    'BDC_CURSOR'                      'RF05A-XPOS1(03)',
              ' '    'BDC_OKCODE'                      '=PA',
              ' '    'RF05A-AGBUK'                     WA_BATCH-BUKRS,
              ' '    'RF05A-AGKON'                     WA_BATCH-KUNNR,
              ' '    'RF05A-AGKOA'                     'D',
              ' '    'RF05A-AGUMS'                     WA_BATCH-CDRZE,
              ' '    'RF05A-XNOPS'                     'X',
              ' '    'RF05A-XPOS1(03)'                 'X'.
          PERFORM ZE_MOVER_BDC USING:
              'X'    'SAPMF05A'                        '0731' ,
              ' '    'BDC_CURSOR'                      'RF05A-SEL01(01)',
              ' '    'BDC_OKCODE'                      '=PA',
              ' '    'RF05A-SEL01(01)'                 WA_BSID-BELNR.
          PERFORM ZE_MOVER_BDC USING:
              'X'    'SAPDF05X'                        '3100' ,
              ' '    'BDC_OKCODE'                      '=OMX',
              ' '    'BDC_SUBSCR'                      'SAPDF05X',
              ' '    'BDC_CURSOR'                      'DF05B-PSSKT(01)',
              ' '    'RF05A-ABPOS'                     '1'.
          PERFORM ZE_MOVER_BDC USING:
              'X'    'SAPDF05X'                        '3100' ,
              ' '    'BDC_OKCODE'                      '=Z-',
              ' '    'BDC_SUBSCR'                      'SAPDF05X',
              ' '    'BDC_CURSOR'                      'DF05B-PSSKT(01)',
              ' '    'RF05A-ABPOS'                     '1'.
          PERFORM ZE_MOVER_BDC USING:
              'X'    'SAPDF05X'                        '3100' ,
              ' '    'BDC_OKCODE'                      '=OSU',
              ' '    'BDC_SUBSCR'                      'SAPDF05X',
              ' '    'BDC_CURSOR'                      'DF05B-PSSKT(01)',
              ' '    'RF05A-ABPOS'                     '1'.
          PERFORM ZE_MOVER_BDC USING:
              'X'    'SAPDF05X'                        '2000' ,
              ' '    'BDC_CURSOR'                      'RF05A-XPOS1(01)',
              ' '    'BDC_OKCODE'                      '=GO',
              ' '    'RF05A-XPOS1(01)'                 'X'.
          PERFORM ZE_MOVER_BDC USING:
              'X'    'SAPDF05X'                        '0731' ,
              ' '    'BDC_CURSOR'                      'RF05A-SEL01',
              ' '    'BDC_OKCODE'                      '=GO',
              ' '    'RF05A-SEL01(01)'                  WA_BSID-BUZEI.
          PERFORM ZE_MOVER_BDC USING:
              'X'    'SAPDF05X'                        '3100' ,
              ' '    'BDC_OKCODE'                      '=OMX',
              ' '    'BDC_SUBSCR'                      'SAPDF05X',
              ' '    'BDC_CURSOR'                      'DF05B-PSSKT(01)',
              ' '    'RF05A-ABPOS'                     '1'.
          PERFORM ZE_MOVER_BDC USING:
              'X'    'SAPDF05X'                        '3100' ,
              ' '    'BDC_OKCODE'                      '=Z+',
              ' '    'BDC_SUBSCR'                      'SAPDF05X ',
              ' '    'BDC_CURSOR'                      'DF05B-PSSKT(01)',
              ' '    'RF05A-ABPOS'                     '1'.
                                                                                    PERFORM ZE_MOVER_BDC USING:
              'X'    'SAPDF05X'                        '3100' ,
              ' '    'BDC_OKCODE'                      '=KMD',
              ' '    'BDC_SUBSCR'                      'SAPDF05X ',                                                                               
    ' '    'BDC_CURSOR'                      'DF05B-PSSKT(01)',
              ' '    'RF05A-ABPOS'                     '1'.
          PERFORM ZE_MOVER_BDC USING:
              'X'     'SAPMF05A'                        '0700' ,
              ' '     'BDC_CURSOR'                      'RF05A-NEWKO',
            ' '     'BDC_OKCODE'                      '/00',
              ' '     'BKPF-XBLNR'                      WA_BATCH-REFERENCIA,
              ' '     'BKPF-BKTXT'                      WA_BATCH-TXTCAB,
              ' '     'RF05A-NEWBS'                     WA_BATCH-CH1,
              ' '     'RF05A-NEWKO'                     WA_BATCH-CTA.
          PERFORM ZE_MOVER_BDC USING:
              'X'     'SAPMF05A'                        '0300' ,
              ' '     'BDC_CURSOR'                      'BSEG-WRBTR',
              ' '     'BDC_OKCODE'                      '/00',
              ' '     'BSEG-WRBTR'                       WA_BATCH-VALOR,
              ' '     'BSEG-VALUT'                       WA_BATCH-DTA_LCTO.
          PERFORM ZE_MOVER_BDC USING:
              'X'     'SAPLKACB'                        '0002' ,                                                
              ' '     'BDC_CURSOR'                      'COBL-KOSTL',
              ' '     'BDC_OKCODE'                      '=ENTE',
              ' '     'COBL-KOSTl'                      WA_BATCH-CENTR.
        PERFORM ZE_MOVER_BDC USING:
            'X'      'SAPMF05A'                        '0300' ,                                                                    
            ' '      'BSEG-WRBTR'                       WA_BATCH-VALOR,
            ' '      'BDC_OKCODE'                      '=BU'.
        PERFORM F_EXECUTA_TRANSACAO.
        PERFORM F_MENSAGEM.
        CLEAR: INT_BDC, T_BDCMSG, W_TABIX, W_POSICAO.
        REFRESH: INT_BDC, T_BDCMSG.
      ENDLOOP.
    Form f_executa_transação
    Call-Transaction parameters
      CLEAR T_CTU_PARAMS.
    A: show all dynpros  E: show dynpro on error only
    N: do not display dynpro
      T_CTU_PARAMS-DISMODE  = P_MODE.
    S: synchronously  A: asynchronously  L: local
      T_CTU_PARAMS-UPDMODE  = 'S'.
      T_CTU_PARAMS-RACOMMIT = 'X'.
      T_CTU_PARAMS-DEFSIZE  = 'X'.
      T_CTU_PARAMS-NOBINPT  = 'X'.
      T_CTU_PARAMS-NOBIEND  = 'X'.
    *Executa a transação
      CALL TRANSACTION W_TRANS USING INT_BDC
                              OPTIONS FROM  T_CTU_PARAMS
                                MESSAGES INTO T_BDCMSG.
    ENDFORM.                    " f_executa_transacao

  • How to configure Free of charge posting to cost account and not to balance?

    Hi,
    If we post GI for a free of charge delivery (sample) the following will be posted:
    Cost of Sales 100
    Finished goods 100
    But we do not want to post to Cost of Sales but to a cost account.
    What do I need to change?
    Regards,
    Eric.

    Hi Eric van Zundert,
    Follow below mentioned procedure;
    1. OMJJ - Copy a new movement type as "901" from Movement type "601". For new movement type change the Valuation Modifier to "YAX" instead of "VAX" and SAVE.
    2. OBYC - Here go to T/E key "GBB" and do the account determination for the new valuation modifier "YAX" of new movement type (Created in Step1).
    3. VOV6 - Go to the Schedule Line Category (which is getting determined in Free of Charge Order) and assign the new Movement Type "901" instead of "601" and save.
    Note: - If this Schedule Line Category is used for multiple Sales Orders then copy and create a new Schedule Line Category and do the changes for this one as suggeste din step3 and also do the schedule line category determination.
    Now create a new order and do delivery and PGI and check A/c entry, also check during delivery it should pick up new Movement Type.
    You need to take help of ur SD Consultant in this case.

  • Upgrade batch inputs from 4.6C to mySAP ERP 2005

    Hi,
    we are planning to upgrade from 4.6C to mySAP ERP 2005 (ECC 6.0). We are using batch input/call transaction in various (interface) programs (primarily in modules SD, MM, CS/SM, FI, CO). I would be grateful for any information that helps to estimate the effort to upgrade our batch input code. In which areas/modules/transactions did you encounter problems with batch inputs? How severe were these problems (one or two fields moved to another screen, or major redesign)? How did you address these problems (change BI or convert code to use BAPI)?
    Thank you
    Thomas

    Hi thomas,
    we were working on batch input's and our scenario is something like convertion of bdc's from 4.5b to ECC5. well, it was a long process of upgradation. and coming to the part of BDC's
    Q) any information that helps to estimate the effort to upgrade our batch input code.
       we had 300 BDC's to convert from 4.5b to ECC5 and with a ten member team of ABAP experts it took us 30 working days to complete the process.
    Q) In which areas/modules/transactions did you encounter problems with batch inputs?
       Mostly, we had problems from FI and something like in Revenue recognition process. The problems comes, when the whole transactions screens changes for the process. at this time we have to write completly a new BDC's. if we have right functional specifications and functional experts, it will be easy to convert BDC's.
    Q) How severe were these problems (one or two fields moved to another screen, or major redesign)?
        As i have mentioned, out of 300 almost 25 to 50 were minor changes rest were huge changes.  a completely new BDC's. the point here is, we were updating from 4.5b to ECC5. it might not be this scenario for 4.6c to ECC5
    Q) How did you address these problems (change BI or convert code to use BAPI)?
       well, this is were we are curently working now. and curently there are 4 scenarios (and may be more in the future) were we have to replace three BDC's which are used for material master creation and make it into one bapi satisfying all the conditions of BDC's. actually, we have to find a BAPI( which i couldn't find) so, i have created a bapi. and tougher part is writing exceptions as we cannot write exceptions as we do in function module.
    hope this is relavent to what you have asked.
    cheers
    ajay

  • 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

  • Problems retriving the asset created in a batch input using Abnan

    I created a batch input program that use the transaction ABNAN. I need to create a report with all the assets created and their respective documents in the batch input. However, that information is not given in the messages that are retrieve when the transaction is called. I use the following code:
      CALL TRANSACTION tcode USING bdcdata
                       MODE   call_mode
                       UPDATE update_mode
                       MESSAGES INTO messtab.
    At the end of this, messtab have a message id that correspond to this message:" text was saved".
    The asset number and the document # is given in a pop up message that appear when the person press save. This message is not included in the batch input.
    How can i get the asset created and its respective document?

    Hello Orlando
    Please refer to the ABAP documentation for "CALL TRANSACTION":
    CALL TRANSACTION 'ME21'  USING BDCTAB
                        MODE   'N'
                        UPDATE 'A'  " asynchronous !!!
                        MESSAGES INTO MESSTAB.
    CALL TRANSACTION 'ME21'  USING BDCTAB
                        MODE   'N'
                        UPDATE 'S'  " synchronous -> like COMMIT WORK AND WAIT
                        MESSAGES INTO MESSTAB.
    Regards
      Uwe

  • No batch input data for screen SAPLKEAK 0300

    Hi All ,
    I am getting "No batch input data for screen SAPLKEAK 0300 "  error while Posting a parked document.
    When I checked the Park Document , I saw that Profitability Segment was missing.
    Document is parked using standard FM  "PRELIMINARY_POSTING_FB01" after that BDC is executed to fill Profitability segment.
    Both FM and BDC are written in a custom FM. This FM is scheduled in a Job to run everyday and Park all the available Documents .
    Everything used to work fine for last 2 years but suddenly since last month I am starting getting this error.
    It does not happen for all the documents . And for the document for which it happens, if I try to park and post it again using the same process . It works fine.
    It looks as if something obstruct the normal parking process when SAP job is running but I am not able to find out the reason.
    Any pointers would be appriciated.
    Thanks ,
    Rahul

    Rahul,
    Why don't you try to debug the background program? Use JDBG on the BG job and change the call transaction to display ALL SCREENS or ERROR ONLY and see where the issue is.
    Thanks,
    Vikram.M

  • RFBIBL00 - issue in Batch Input Session created

    Hi Experts,
    I am Posting a document thru FB01, for this I am using RFBIBL00 and RSBDCSUB programs to create a Batch Input Session,
    I have filled all the required fields for structures BBPKF, BBSEG and BBTAX, but the session created is not processed successfully, while processing it in Foreground, I am getting a Message saying 'No batch input data for screen SAPLKEAK 0300 '.
    Can anyone please help me on this.

    Hi Experts,
    Now I have 2 errors in the Batch Input Session Log,
    1. Field COBL-PRCTR(Profit Center). does not exist in the screen SAPLKACB 0002
    2. Field DKACB-XERGO(Details - Its a check box in the screen). does not exist in the screen SAPLKACB 0002.
    But I can see that these filelds are existing in the screens, can anyone let me know why this error occurs.
    This is occuring after COPA generation with new fields.
    I am trying for a OSS Note also, but I am not getting any. Please help.

  • Batch input data method

    can i know about batch input method in BDCs?

    Hi..,
    <b>DONT POST THE SAME THREADS AGAIN AND AGAIN !! CLOSE UR THREADS, WHEN UR PROBLEM IS SOLVED !! REWARD ALL HELPFUL ANSWERS !!</b>
    BDC:
    Batch Data Communication (BDC) is the process of transferring data from one SAP System to another SAP system or from a non-SAP system to SAP System.
    Types of BDC :
    CLASSICAL BATCH INPUT (Session Method)
    CALL TRANSACTION
    BATCH INPUT METHOD:
    Features:
    Asynchronous processing.
    Synchronous updating in database update.
    Transfer data for more than one transaction.
    Batch input processing log will be generated.
    During processing, no transaction is started until the previous transaction has been written to the database.
    CALL TRANSACTION METHOD :
    Features:
    Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
    Updating the database can be either synchronous or asynchronous. The program specifies the update type.
    Transfer data for a single transaction.
    Transfers data for a sequence of dialog screens.
    No batch input processing log is generated.
    For BDC:
    http://myweb.dal.ca/hchinni/sap/bdc_home.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    Check these link:
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://www.sap-img.com/abap/question-about-bdc-program.htm
    http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
    http://www.planetsap.com/bdc_main_page.htm
    call Transaction or session method ?
    regards,
    sai ramesh

  • Batch input: how to fill in more rows than the ones for the screen's size.

    Hi everybody,
    I am working on a batch input for transaction ME38.
    When, through my abap code, I am filling in the second screen's table, the system stops, telling me there is no field "43" on the screen.
    Here is a summary of the batch input:
    EKET-MENGE(1)               66,000
    RM06E-EEIND(1)     30.06.2009
    EKET-MENGE(31)               66,000
    RM06E-EEIND(31)     30.06.2009
    EKET-MENGE(43)               66,000
    RM06E-EEIND(43)     30.06.2009
    In fact, my screen has 31 lines, but 43 entries must be filled.
    I can program a logic to go to the next screen when entry 31 has been filled, but how to know what is the screen limit?
    Because my program will not always be started by me, and will, most probably, be started in background jobs...
    Do you see a way to process that can help me?
    Is there a way to not be "screen size dependant"?
    Thanks in advance for your help.
    Regards,
    Rudy

    Hi...
    This issue can be resolved by creating a recording in SHDB transaction for 43 records and press add more rows button evytime you do that..
    As the rows will be added to the table during runtime you need not worry about the limit of the table entries.. and it will work fine..
    Hope this helps

  • How to process batch input session through program

    Hi Friends,
    I am getting 5 batch input sessions in SM35,but  I want to process these all sessions through program without going to SM35.
    How it is possible through Program?
    Please Guide me!
    Thanks,
    Yogesh

    Hi,
    It's the report to run the batchinput sessions.
    When you create to B.I. session, you can execute it by transaction SM35 (but it uses rsbdcsub) or rsbdcsub.
    For example you can use it in the same program where you create B.I.:
    Here the code to fill the structures of FI batch input
    standard....
    ...here it creates session...
    SUBMIT RFBIBL00 WITH DS_NAME = VA_FILE
    WITH CALLMODE = CALLMODE AND RETURN.
    ....here it runs session....
    SUBMIT RSBDCSUB WITH MAPPE = P_NAME
    WITH VON = SY-DATUM
    WITH BIS = SY-DATUM
    WITH FEHLER = ' '
    TO SAP-SPOOL
    LIST NAME P_NAME
    LIST DATASET P_NAME
    COVER TEXT P_NAME
    NEW LIST IDENTIFICATION ' '
    EXPORTING LIST TO MEMORY
    AND RETURN.
    regards,
    Shiva.

  • Batch Input: How to handle loss on exchange in POSTING_INTERFACE_CLEARING?

    Hi,
    I'm using BAPI POSTING_INTERFACE_CLEARING to clear open items using batch input as it is done online in transaction FB05. It works fine except one little use case. For customers using a currency not equal to the local currency there could be differences in the debit amount due to actual exchange rates. If the debit amount at the day the open item should be cleared is less than the amount at the day the debit was created a new line item is automatically added to the clearing document which contains the loss on exchange. But this new line item is not complete so the clearing document could not be saved. In my example I have to add the cost center to the loss on exchange line item. It's no problem in transaction FB05 since there is a dynpro for it. But how could I add this cost center in batch input using function module POSTING_INTERFACE_CLEARING? I just added the corresponding field COBL-KOSTL to table T_FTPOST of fm POSTING_INTERFACE_CLEARING. But in the batch input tables which are created in the function module the field COBL-KOSTL is added for dynpro SAPLKACB 0002 instead of dynpro SAPLKACB 1010 in which the cost center is needed. Dynpro SAPLKACB 0002 contains the cost center but it is not displayed when clearing open items. So POSTING_INTERFACE_CLEARING returns with an error saying COBL-KOSTL does not exist in SAPLKACB 0002. But COBL-KOSTL might still be missing in dynpro SAPLKACB 1010. So which field do I have to add to the batch input (fm POSTING_INTERFACE_CLEARING) so the cost center is used in the loss on exchange line item in dynpro SAPLKACB 1010?
    Did anybody face the same problem?
    Regards,
    Robert

    Of course, the screen SAPLKACB 1010 contains the cost center field but it is not set in the batch session. I faced a similar problem with screen SAPLKEAK 0300 where I had to enter different field names than expected. BSEG-RKE_KUNWE instead of BSEG-KUNWE, BSEG-RKE_KNDNR instead of BSEG-KNDNR, BSEG-RKE_BUKRS instead of BSEG-BUKRS and so on. That's why I want to know if I have to set an other field name for COBL-KOSTL in SAPLKACB 1010. Since field name COBL-KOSTL is already used for SAPLKACB 0002.
    Maybe anybody knows how or where the mapping from POSTING_INTERFACE_CLEARING fields to batch session fields is done. Otherwise I need to debug POSTING_INTERFACE_CLEARING again to find it.
    I didn't find any suitable enhancements or user exits in FB05 yet but I can have another look.
    Regards,
    Robert

  • Batch Input - Fill hidden fields

    Hello to all,
    I've got a selection screen with 2 fields like:
    SELECT-OPTIONS s_docnum FOR edidc-docnum NO INTERVALS.
    PARAMETERS p_wfst TYPE c NO-DISPLAY.
    The parameter p_wfst isn't displayed on the selection screen.
    Now I want to call this screen via
    CALL TRANSACTION 'ZPROGRAM' USING lt_bdcdata .
    but I get an error:
    field P_WFST is not found on dynpro ZPROGRAM 0100
    How can I fill this hidden field?
    Regards Christian

    You cannot pass a parameter that is not input-enabled by batch-input, you must look for an other soluition.
    Some proposals :
    - Use a SUBMIT of your Z-program (if there are only data for first screen in the Batch Input data)
    - Change the called program to look for the hidden parameter in memory (Use a IMPORT from memory or a GET PARAMETER in the INITIALIZATION block, and an EXPORT or SET PARAMETER in the calling program.)
    Regards,
    Raymond

  • How to check whether a batch input session is completed in ABAP program

    I have created a ABAP program to create a batch input session (reference to RSBDCSUB). After the creation of the batch input session, I kick it to start and read the execution log. However, sometimes I cannot read anything from the execution log as the execution of the batch input is a synchronized process to the execution of my program, i.e. at the time being that I try to read the log of a particular transaction, that transaction is being processing / haven't start processing.
    How can I check whether a batch input session is completed in the program?
    The code that corresponding to the triggering of batch input session:
    SUBMIT (SUBREPORT)
       USER MTAB-USERID
       VIA JOB MTAB-GROUPID
       NUMBER JNUMB
       WITH QUEUE_ID  EQ MTAB-QID
       WITH MAPPE     EQ MTAB-GROUPID
       WITH MODUS     EQ 'N'
       WITH LOGALL    EQ LMODUS
    Or is there any method to wait here until the process is completed before further processing?

    Hi gundam,
    1. Or is there any method to wait here until the process is completed before further processing?
    There is no such direct method to wait.
    2. Immediately after submitting in background,
       we cannot wait
      neither can we LOOP and go on detecting
      whether the b/g process has completed or not !
    3. To over come such problems,
      we have to use another technique.
    4. we have to submit another
       job which will get triggered
       on event SAP_END_OF_JOB
       ie. when the original job will finish,
      our new job will AUTOMATICALLY get triggered,
    5. This new job / program
       will do the FURTHER actions !
    regards,
    amit m.

  • How to Fill value in Input fields before displaying ADOBE FORM

    Hi to all,
    Please can anyone tell me how to fill the entry in ADOBE FORM before displaying?
    I have written a program to generate ADOBE FORM, but I need while displaying ADOBE FROM some input field should already be filled by value and can not be changed.
    Please can anyone tell me how to do that in program?
    Below is the program.
    DATA: fm_name           TYPE rs38l_fnam,
            fp_docparams      TYPE sfpdocparams,
            fp_outputparams   TYPE sfpoutputparams.
    Parameters: p_pdf_form_name type fname.
      fp_docparams-langu   = 'E'.
      fp_docparams-country = 'IN'.
      fp_outputparams-preview = 'X'.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = fp_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4.
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = p_pdf_form_name
        IMPORTING
          e_funcname = fm_name.
      E_INTERFACE_TYPE           = E_INTERFACE_TYPE
      CALL FUNCTION fm_name
        EXPORTING
          /1bcdwb/docparams        = fp_docparams
      IMPORTING
        /1BCDWB/FORMOUTPUT       = fp_outputparams
        EXCEPTIONS
          usage_error           = 1
          system_error          = 2
          internal_error           = 3.
      CALL FUNCTION 'FP_JOB_CLOSE'
       IMPORTING
        E_RESULT             =
        EXCEPTIONS
          usage_error           = 1
          system_error          = 2
          internal_error        = 3
          OTHERS               = 4.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Jul 25, 2011 2:57 PM

    Hello,
    you need to provide the information via the interface, which you create for the Adobe form.
    And then pass this values via the following function module inside your generation report.
    CALL FUNCTION fm_name
    check standard report : FP_EXAMPLE_01 as an example!

Maybe you are looking for