Function module to book one huge FI salary document?

Hello together,
following initial  situation:
I get a file with various number of lines (e.g. over 3000 lines). All lines together describes one single FI document.
Is there a function module which can process an internal table (my source file) with various lines and create one single FI document???
Thanks in advance.
Regards

1) you must split your file (here: into 4 documents) because of the line-restriction of ~950 lines per document
2) use fm AC_DOCUMENT_DIRECT_INPUT or report rfbibl00
3) can't you collect your data?
  -e.g. per BUKRS/HKONT/KOSTL
A.
Edited by: Andreas Mann on Apr 13, 2010 8:07 AM

Similar Messages

  • How can call a function module(RFC)in one server to another sever in my rep

    How can call a function module(RFC)in one server to another sever in my report program.
    What i am know whenever rfc enabled immediately radio button checks then only it will come.
    please justify.

    Syntax
    CALL FUNCTION func DESTINATION dest [EXPORTING p1 = a1 p2 = a2 ...]
    [IMPORTING p1 = a1 p2 = a2 ...]
    [CHANGING p1 = a1 p2 = a2 ...]
    [TABLES t1 = itab1 t2 = itab2 ...]
    [EXCEPTIONS [exc1 = n1 exc2 = n2 ...]
    [system_failure = ns [MESSAGE smess]]
    [communication_failure = nc [MESSAGE cmess]]
    [OTHERS = n_others]].
    http://help.sap.com/saphelp_47x200/helpdata/en/22/042537488911d189490000e829fbbd/frameset.htm

  • Function Module to retrieve appraisal data using a Document ID (GUID)

    Hi,
    Is there a function module to retrieve appraisal data of a document using the document ID (GUID). The new Document ID is of 32 char length. I am working on version 4.7 110.
    Edited by: Beril PC on Jul 16, 2008 8:01 AM

    check for functiona modules starting with phap* or hap*
    Regards,
    Divya

  • Function Module for book Training Program for an employee

    Hi All,
    As we are having the Standard function module "HR_INFOTYPE_OPERATION" for PA infotypes.
    So is there any function module by using that function module in program we can Book,Cancel, Rebook , Prebook a training program for an employee as we can Book,Cancel, Rebook , Prebook through transaction code PSV1 in Training Module .
    And i want to know the table names where the data insert / update when we book a training program for an employee through transaction code PSV1 in Training & event Module.
    can anyone help...?
    Regards,
    Priya.

    Hi,
    use FM 'RH_PARTICIPATION_INSERT' for Book attendance .

  • Function Module Net Book Val - FI module

    Dear All,
    Are there any function modules to get the Net Book value for a particular Asset and for a partucular period.

    yes Kamini,
    try FI_AA_VALUES_CALCULATE
    and value anlcv-lfd_bchwrt
    hope that helps
    Andreas

  • Function module for finding related IDOCs of a document

    Hi All,
    I have a requirement where the inout will be shipment numbers. The expected output is the list of all the IDOCs that are related to the shipments. I know that this is a replica of the WE09 functionality but the users will not have access to WE09 and more over WE09 takes a long time to give this result.
    My expectation is someting like the relationship in the "Services for objects2 that we have in the document which will give this detail very quickly.
    I know one function module (WFMC_PROTOCOL_GET) which will give the list of outbound IDOCs if we know the output type  and the shipment number. Also there is another function module GOS_EXECUTE_SERVICE which will do very similar to the servie for objects. But I need to know exactly the class or function module which will give me the relationship output alone so I can use this for further processing.
    Also kindly let me know if there is some other standard way of looking  at this requirement.
    regards,
    Vijay V

    Vijay,
    You can use FM  'DRB_NEIGHBOURS_GET' for the required functionality . Here is sample code :
    DATA : L_BORIDENT  TYPE  BORIDENT ,
            T_RELATIONS TYPE TABLE OF BORIDENT .
      L_BORIDENT-OBJKEY = Delivery_no .      "Document no
      L_BORIDENT-OBJTYPE = 'LIKP' .          "Object type e.g. LIKP , BUS2025 
        CALL FUNCTION 'DRB_NEIGHBOURS_GET'
          EXPORTING
            BORIDENT           = L_BORIDENT
          TABLES
            T_RELATIONS        = T_RELATIONS.
    Linked Idoc type will be in table T_RELATIONS with OBJTYPE value equal to 'IDOC' .
    - Tushar Shukla

  • Function Module to Generate Outbound IDOC for Sales Documents

    Hello Experts,
    Can someone please help me, I need to know which function module to use in order to generate the outbound IDOC for sales documents.  Some of the fm's I have come across are the following:
    IDOC_OUTPUT_ORDERS, but actually for Purchase Orders
    IDOC_OUTPUT_ORDRSP, but did not generate any IDocs for my sample Sales Order.
    Points will be given for any help provided.
    Thanks in advance.

    Hi Nagaraj,
    I tried using the IDOC_OUTPUT_ORDERS but I keep getting an error that the Purchase Order <xxx> does not exist, even though the document I tried is a sales order.  For everyone's reference here is the code:
    form process_data.
      DATA v_idoc       TYPE edidc-docnum.
      DATA i_edidd      TYPE TABLE OF edidd.
      DATA wa_idoc_ctrl TYPE edidc.
      LOOP AT i_nast INTO wa_nast.
        CLEAR i_msgs[].
        CALL FUNCTION 'WFMC_PROTOCOL_GET'
          EXPORTING
            cps_nast        = wa_nast
          tables
            messages        = i_msgs
         EXCEPTIONS
           NOT_FOUND       = 1
           OTHERS          = 2.
        LOOP AT i_msgs INTO wa_msgs WHERE arbgb EQ 'E0'.
    *--- Check first if there is an IDOC
          IF wa_msgs-msgv1 IS INITIAL.
            CONTINUE.
          ENDIF.
          v_idoc = wa_msgs-msgv1.
          CLEAR i_edidd[].
          CLEAR wa_idoc_ctrl.
          CALL FUNCTION 'IDOC_READ_COMPLETELY'
            EXPORTING
              document_number                = v_idoc
            IMPORTING
              IDOC_CONTROL                   = wa_idoc_ctrl
    *         NUMBER_OF_DATA_RECORDS         =
    *         NUMBER_OF_STATUS_RECORDS       =
            TABLES
    *         INT_EDIDS                      =
              INT_EDIDD                      = i_edidd
            EXCEPTIONS
    *         DOCUMENT_NOT_EXIST             = 1
    *         DOCUMENT_NUMBER_INVALID        = 2
              OTHERS                         = 3.
          CALL FUNCTION 'IDOC_OUTPUT_ORDERS'
            EXPORTING
              object                              = wa_nast
              control_record_in                   = wa_idoc_ctrl
    *       IMPORTING
    *         OBJECT_TYPE                         =
    *         CONTROL_RECORD_OUT                  =
            tables
              int_edidd                           = i_edidd
    *       EXCEPTIONS
    *         ERROR_MESSAGE_RECEIVED              = 1
    *         DATA_NOT_RELEVANT_FOR_SENDING       = 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.
          COMMIT WORK.
        ENDLOOP.
      ENDLOOP.

  • Function module to get Pricing conditions of billing document

    Hi All,
    Please help me getting the pricing condition values for a billing document.  I got values from KONV table against perticular Condition type. but i need to get the values against step number maintained in Conditions for my billing item. is there any function module to get all condition data maintained in document with totals and discounts aswell.
    Please help me.  if required i will give tou full details what i required.
    Kumar.

    Hi Kumar,
    Please check below mentioned Function Module for details:
    RV_PRICE_PRINT_GET_BUFFER
    RV_PRICE_PRINT_GET_MODE
    RV_PRICE_PRINT_HEAD    (Header)
    RV_PRICE_PRINT_HEAD_BUFFER
    RV_PRICE_PRINT_ITEM       (Item)
    RV_PRICE_PRINT_ITEM_BUFFER
    RV_PRICE_PRINT_REFRESH
    Regards,
    Tutun

  • Function module to calculate due date of FI document

    Hi All
    I need a function module to calculate the due date of FI document considering BSId Zterm ( Payment terms ) Document date , Basline date .
    Regards,
    chitra

    call function 'FI_TERMS_OF_PAYMENT_PROPOSE'
      exporting
        i_bldat         = gv_bldat
        i_budat         = gv_budat
        i_cpudt         = sy-datum
        i_zfbdt         = gv_zfbdt
        i_zterm         = gv_terms_paym
        i_bukrs         = gv_comp_code
      importing
        e_zbd1t         = gv_zbd1t
        e_zbd2t         = gv_zbd2t
        e_zbd3t         = gv_zbd3t.
    faede-shkzg = 'H'.
      faede-koart = 'K'.
      faede-zfbdt = gv_zfbdt.
      faede-zbd1t = gv_zbd1t.
      faede-zbd2t = gv_zbd2t.
      faede-zbd3t = gv_zbd3t.
      faede-bldat = gv_bldat.
      call function 'DETERMINE_DUE_DATE'
        exporting
          i_faede = faede
        importing
          e_faede = faede.
    *    if sy-subrc eq 0.
      duedate = faede-netdt. <<<<<< ------

  • What is the function module to be used for downloading a document in PDF .

    Can some one tell me the FM tht shd be included for dowloading a report to a PDF.
    if possible send me the sample code , and tell me , what all parameters are required to be passed ..!

    Check the Sample programs:
    RSTXPDFT4
    RSTXPDFT5
    The FM is: CONVERT_ABAPSPOOLJOB_2_PDF
    Regards,
    Ravi Kanth Talagana

  • Select Statement or Function Module

    Hi all,
    I have lakhs of records in my database.When I am using the SAP standard function module C1F2_SUBSTANCES_READ for retreiving data it is taking time.I know all the data base tables .Shall I use to retreive data using select statements instead of the mentioned SAP standard function module.Could any one please explain which is best method to retrieve huge data and also explain reason?
    Thanks and Regards,
    Kanth

    Hi Shiva,
    If your Sure about exactly what data you want to fetch from the database, I would follow the below process.
    1) I would search if there is any standard function module or Bapi to do this... The reason why i do this is becuase as SAP has created those standard function modules or Bapi, the first advantage would be the program has good performance ( Moreever it also depends on how do you handle that in your program ).
    Moreover it handles varies business functionalities and authorizatiions etc..
    2)  If i dont find any standard function module or Bapi then if the data what you are selecting from database if it is used multiple times then i would create a zbapi or Zfunctionmodule and inlude my code in it... ( Here this custom function module can be used in many program : ie : modulerization ).
    Regards
    Satish Boguda

  • Performance issue for this function-module(HR_TIM_REPORT_ABSENCE_DATA)

    Hi Friends
    I am having performance issue for this function-module(HR_TIM_REPORT_ABSENCE_DATA) and one my client got over 8 thousend employees . This function-module taking forever to read the data. is there any other function-module to read the absences data IT2001 .
    I did use like this .if i take out this F.M 'HR_TIM_REPORT_ABSENCE_DATA_INI' its not working other Function-module.please Suggest me .
    call function 'HR_TIM_REPORT_ABSENCE_DATA_INI'
    exporting "Publishing to global memory
    option_string = option_s "string of sel org fields
    trig_string = trig_s "string of req data
    alemp_flag = sw_alemp "all employee req
    infot_flag = space "split per IT neccessary
    sel_modus = sw_apa
    importing
    org_num = fdpos_lines "number of sel org fields
    tables
    fieldtab = fdtab "all org fields
    field_sel = fieldnametab_m. "sel org fields
    To Read all infotypes from Absences type.
    RP_READ_ALL_TIME_ITY PN-BEGDA PN-ENDDA.
    central function unit to provide internal tables: abse orgs empl
    call function 'HR_TIM_REPORT_ABSENCE_DATA'
    exporting
    pernr = pernr-pernr
    begda = pn-begda
    endda = pn-endda
    IMPORTING
    SUBRC = SUBRC_RTA
    tables
    absences = absences_01
    org_fields = orgs
    emp_fields = empl
    REFTAB =
    APLTAB =
    awart_sel_p = awart_s[]
    awart_sel_a = awart_s[]
    abstp_sel = abstp_s[]
    i0000 = p0000
    i0001 = p0001
    i0002 = p0002
    i0007 = p0007
    i2001 = p2001
    i2002 = p2002
    i2003 = p2003.
    Thanks & Regards
    Reddy

    guessing will not help you much, check with SE30 to get a better insight
    SE30
    The ABAP Runtime Trace (SE30) -  Quick and Easy
    what is the total time, what are the Top 10 in the hitlist.
    Siegfried

  • How to block particular function module for user or users

    Hi,
       Can anyone let me know that if I want to prevent users for certain function module or modules.Is it possible to do so.Please let me know.
    Have a great day ahead.

    Please take note that there are hundreds of thousands of function modules in any one SAP system (see table TFDIR) and a large number of them can do very very powerfull and even dangerous things when executed on their own in the test mode.
    It shounds as if you are only worried about only one (probably some famous one...) and want to range around it's name. This is not a good idea and will not work anyway.
    Cheers,
    Julius

  • Remote function module to wait untill the response came from webmethods

    hi all.
    here i have got a situation that the remote function module created in SAP-R/3 to wait untill the response came from webmethods :
    i have created the remote function module by assigning one structure in tables(tab) and 3 parameters in changing tab just to collect the messages return from webmethods
    so this rfc will be called by webmethods and pick the structure data and then it wll return 3 variables back to rfc.
    here the rfc need to wait untill the response came from webmethods.
    so can any body suggest me on what source code do i need to write in RFC

    Hi Naina,
    Normally RFC are synchronous, they do have return parameter as export parameter.
    If return parameter is missing then , you can create Wrapper RFC.
    Wrapper RFC:
    It is nothing but you just  create BAPI in SE37 transaction with Return parameter as export parameter and make it remote enabled by clicking on Radio button.
    Under source code, CALL BAPI which XI has to call.
    Thats it!
    I hope this helps.
    Let me know if any help required.

  • Function module to get the month name when start date and end date given

    Hey Experts,
                       I am creating a employee bonus report. In this report each and every employee's month wise working days have to be calculated and displayed in the report. I need to find a function module which helps me split the given dates into that particular month. Please help me with the same.
    Regards,
    G. Shankar

    Hi Shankar,
    I think there are two Function Modules.
    First One is 'HR_RU_MONTH_NAME_IN_GENITIVE' in this u need to pass month number and for that u have extract month number from date.
    And Second One is 'ISP_GET_MONTH_NAME' in this u need to pass date or month number, it directly accepts date.
    Check this two and let me know.
    Cheers,
    Parth Parikh

Maybe you are looking for

  • The sound on my macbook air has stopped working, how do I fix this? :(

    It was working fine, suddenly there was a sudden static noise and it just stopped working completely. i have tried restarting the macbook but nothing seems to work..

  • Not receiving picture messages

    Hello, Sorry if its a stupid question but after reading a few other topics online I've become quite confused. What happened is, I sent my girlfriend pictures to her @vtext.com address and she said she didn't receive them. Did they go to her online pi

  • Connect a camera to the ipad

    Can a camera be connected to an ipad?  If so, how?  Can you then transfer images from the camera to the ipad, for storage, for editing and for display?

  • Transfer from iPhone 3

    I have an iPhone 3 and am getting an iPhone 5, how do I transfer my info?

  • Tolerances not copied ECC PO

    Dear Experts, We have noticed a problem with tolerances not being replicated to ECC.  Upon creation of a PO(with reference to a SHC with a contract) in SRM, the over and under delivery tolerances set in the contract are copied in the SRM PO.  Once th