Reg function module POSTING_INTERFACE_CLEARING

Dear experts,
I have a requirement in tcode FB05(Posting with clearing: Initial screen).  In that i need to select the radio button 'Transfer Posting with Clearing'.  I dont know exactly what happens here. I have to use function module POSTING_INTERFACE_CLEARING to post and clear the document. Can anybody tell me what this function module will do and by guiding me in this regard. Kindly help me in giving sample code as to how to handle this.
thks in advance,
ram

Hello Ram
Have a look at thread [POSTING_INTERFACE_CLEARING|POSTING_INTERFACE_CLEARING; and the links provided there.
You may also want to have a look at transaction FCC1 (Payment Cards: Settlement). The report RFCCSSTT is used to settle open items payed with credit cards:
    ... FB05
      PERFORM posting_interface_start.
      PERFORM fb05_posting.
      PERFORM posting_interface_end.
    ... and Settlement
Regards
  Uwe

Similar Messages

  • Posting a document by using function Module POSTING_INTERFACE_CLEARING

    Hi Gurus,
    I have a problem while using the function module POSTING_INTERFACE_CLEARING.
    My custom code is using the FM POSTING_INTERFACE_CLEARING to clear a document form one GL account and post a document in another GL account.
    after the document is posted 2 line items will created in the 2 GL accounts.
    But some of the fields are not being populated in the one of the line item for the document created (Reference fields) but the other line item has the reference fields has values being populated.
    I am passing the required values in the custom code to this FM.
    Please help me in this.
    Edited by: Anand Sirgapuram on Jun 3, 2009 2:34 PM

    Hi Anand,
    Could you please specify which reference fields are not getting populated?
    I think this is the standard behaviour of POSTING_INTERFACE_CLEARING. All the values in the first line item are populated, while in second line item only some of the fields like posting key, account number, account currency, amount, company code and business partner are populated.
    If you need to populate other values, I guess you will have to search for some enhancement points inside the FM POSTING_INTERFACE_CLEARING after the 'call transaction' statement.
    Regards
    Radhika

  • Reg:Function module SAPWL_GET_SUMMARY_STATISTIC not working in CRM ABAP 6.0

    Hi All,
      When i execute the function module SAPWL_GET_SUMMARY_STATISTIC in CRM ABAP 6.0 passing the values below,
    PERIODTYPE                    
    HOSTID                         
    STARTDATE  
    it's not showing any values in the summary.
    it's showing the exporting parameters as,
    RFC_ERROR_TYPE                  L
    SUMMARY_AVAILABLE               N
    HITLISTS_N_PROFILES_AVAILABLE   A
    if this function module will not work means kindly provide me the solution for calculating
    Average Response Time as in tcode st03 - Instance - total - Workload Overview.
    Average CPU Time and some more fileds.
    Regards,
    Suresh

    Hi
    I used the FM mentioned and found the details as below:
    VKORG
    TABNAME                        TVKO
    FIELDNAME                      VKORG
    LANGU                          EN
    POSITION                       0001
    OFFSET                         000006
    DOMNAME                     VKORG
    ROLLNAME                    VKORG
    CHECKTABLE
    VTEXT
    TABNAME                        TVKOT
    FIELDNAME                      VTEXT
    LANGU                          EN
    POSITION                       0002
    OFFSET                         000014
    DOMNAME                        TEXT20
    ROLLNAME                       VTXTK
    CHECKTABLE
    LENG                           000020
    Shiva

  • Reg: Function Module thats used to check the status of JOBS and mail it

    Hi Experts,
    Is there any Standard Function module thats going to find the status of the jobs and mail this status to specied email ID in .xls format. While checking status function module should give whether job is - Aborted, Successful, Running, Waiting, Locked, Error, Warning, Starting Date, Ending Date of the Job.
    Please help me,

    Hello Nagaraj,
    You can find out the status of a job with the SHOW_JOBSTATE function module. You provide this function module with a job name and job number. It returns one of the six possible statuses of the job:
    ABORTED TYPE C,
    FINISHED TYPE C,
    PRELIMINARY TYPE C,
    READY TYPE C,
    RUNNING TYPE C,
    SCHEDULED TYPE C.
    Following is the link for the same:
    http://help.sap.com/saphelp_sm32/helpdata/en/fa/096e10543b11d1898e0000e8322d00/content.htm
    Warm Regards,
    Riki Dash

  • Reg: Function Module

    Hi All,
         I am creating a function module to update data into a customized table. In that funciton module, i want to handle exception. But i dont know how to proceed with that.
       Can you please any one help me out in this regard.
    POINTS PROMISED.
    Regards,
    Buvana

    Hi,
    After calling function module write.
    if sy-subrc <> 0
    RAISE EXCEPTION.
    endif.
    Reward if helpful.
    Regards,
    Umasankar.

  • Reg Function Module to Date Calculation

    Hi,
    Could anybody assist me, My requirement is to determine delay of delivery date is equal to (goods receipt posting date u2013 planned delivery date).Is there any function module to find out the dated diffrence. The difference should be '+' or '-' OR 'ZERO'
    Thanks in advance.
    Regards.
    I.Reddy Prasad.

    Hi,
    Use this Function Module  'FIMA_DAYS_BETWEEN_TWO_DATES'. 
    Reward If Helpfull,
    Naresh.

  • Reg function module to get  periods.

    Hi,
        can any one help me in giving the function module to get the number of months  available in between the start date and end date
    Regards.
    venkat

    Hi,
    Use the below function modules.
    HR_ECM_GET_NUMBER_OF_MONTHS
    HR_GBSXP_GET_MONTHS
    For the function module HR_GBSXP_GET_MONTHS Pass 'M'
    for MODIFY_INTERVAL.

  • Reg:function module to retrive the ekko table data

    Hi all,
    Is there any function module to retrive the ekko table data for the given select-options and parametrs.
    could you provide that.
    Thanks & regards,
    S.chaitanya.

    dear chaitanya,
    may be you can use this function module ME_READ_EKKO_MULTIPLE which can be used to pass the select options to retrieve the desired EKKO data.
    OR the best way would be to do a SELECT Query which would retrieve the data faster and in an effective manner.
    Hope this helps you.
    Help Children of U.N World Food Program by rewarding and enocourage others to answer your queries
    Thanks
    Venugopal

  • Reg function modules in scripts

    Hi,
      <b>wat happens if we dont use open_form , start_form , close_form...
    which is mandatory function module and which optional functional module ???
    wat happends if we dont use close_form?</b>pls tel me its really urgent
    pls
    Thanx in Advance..

    Hi,
    wat happens if we dont use open_form , start_form , close_form...
    For open the form open form should be there other wise we can't run the script.
    which is mandatory function module and which optional functional module ???
    Start-form is optional and opne_form and lose_form is manditory FMs. same as write_form also.
    wat happends if we dont use close_form?
    If you don't use close_form then while running the script you will get error.
    Hope this helps you, reply for queries, Shall post you the updates.
    Regards. 
    Kumar. .

  • Reg Function Module / BAPI

    Xperts,
    I have to create a wrapper RFC fn module ...
    The input parameter is matnr,sales area , sold to,ship to..
    and the return parameters are
    MSRP (rate based on price list)
    material Availability
    Status from MARA-MSTAV
    Valid To / From MARA-MSTDE
    (i got rest of the fields i got already from BAPI_MATERIAL_GETALL)
    Thanks & Regards,
    Anoop Chandran

    Use data Element : GLX_XFELD ( General Checkbox ) for checkbox..
    For check box... if box is checked then value is 'X' else
    space.
    but in function module it doesn;t matter whether u use data element for checkbox...  u can use char type variable of length 1.
    and inside code u can check..
    v_char1 = 'X'. : it means checkbox is checked.
    v_char1 = space " it means checkbox not checked.
    Reward if useful
    regards
    Prax

  • Query reg. function module ERP_IDOC_INPUT_CREDITOR

    Hi Experts,
    Please tell how to pass the parameter of function module ERP_IDOC_INPUT_CREDITOR.
    parameter like input_method,mass processing,pi_xk99_used .
    Thanks,
    sameer

    you can specify any number fields in file and any number fields in internal table,
    see the program and when you specify the count variable in your internal table ,if the data is not available,then it will take some defualt values,other than this one it will be okay.
    In my system count variable data is  538976288  if the file does not have value.
    report x.
    DATA: BEGIN OF ITAB_MATNR OCCURS 0,
    MATNR LIKE MARA-MATNR,
    COUNT TYPE i,
    END OF ITAB_MATNR.
    data : v_repid like sy-repid.
    parameters p_file like rlgrap-filename.
    initialization.
    v_repid = sy-repid.
    at selection-screen on value-request for p_file.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
       PROGRAM_NAME        = v_repid
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
    IMPORTING
       FILE_NAME           = p_file
    start-of-selection.
    refresh itab_matnr.
    clear itab_matnr.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    FILENAME = P_FILE
    filetype = 'ASC'
    TABLES
    DATA_TAB = ITAB_MATNR
    EXCEPTIONS
    CONVERSION_ERROR = 1
    FILE_OPEN_ERROR = 2
    FILE_READ_ERROR = 3
    INVALID_TABLE_WIDTH = 4
    INVALID_TYPE = 5
    NO_BATCH = 6
    UNKNOWN_ERROR = 7
    GUI_REFUSE_FILETRANSFER = 8
    OTHERS = 9.
    IF SY-SUBRC <> 0.
    MESSAGE E699(PP) WITH 'Unable to load input file' P_FILE.
    ENDIF.
    in my file
    data is like ( No count)
    matnr
    12344
    ssss
    sddd
    sddff
    after ws_upload :
    material          count
    12344             | 538976288                                             |
    ssss               | 538976288                                             |
    sddd               | 538976288                                             |
    sddff               | 538976288

  • Reg: function module to fetch the overall taxs for  a sales order

    Hi Experts,
    I need a fuction module which fetches all the taxes for a sales order with the tax values.
    (i.e) i need a function module with displays the overall tax values and not line itemwise..
    Regards,
    Vikram.S

    Hi,
    Check if it works
    POS_SALES_DOCUMENT_HEAD_TAXES

  • Reg function modules

    Hello
         i have created a function module having three import parameters and i put two of them as optional but when i execute that functional module its asking me to enter values in all the three fields.And also when i use this function module in my report program I am unable to use select options instead if i use parameters  its working fine .

    hi chaitanya,
    this is declared in table parameter.
    S_KONNR     LIKE     <b>ZST_EBELN</b>     Agreement number
    RETURN     LIKE     BAPIRET1     Return Parameter
    OUTPUT     LIKE     ZSMP_SERVICE_UPD     Updating the SMP
    zst_ebeln is the structure u have to crete in se11. then u can give nuber or inputs to s_konnr.
    hi u can then ask ur friends . bcoz its not possible send codings .
    regards'
    karthik

  • Reg Function Module (IS-U)

    Hi,
    I am  looking FM   where input is Device(i,e Eqiuplment  no.  EQUI)
    and  expecting  output
    Rate Type            TARIFART
    % Consumption   PROPROZ
    Periodic Consumption   PERVERBRD
    Number of Days (for which periodic consumption is valid)   ANZDAYSOFPERIOD
    Gas Procedure            THGVER
    Volume Correction Factor   ZUSZAHLZW
    Thanks
    Moderator Note - Thread locked.
    Edited by: William Eastman on Dec 18, 2009 8:07 PM

    Hai
    The steps to be followed are :
    1. Find out the relevant BAPI (BAPI_SALESORDER_CHANGE for VA02).
    [for VA01 use BAPI_SALESORDER_CREATEFROMDAT2]
    2. Create a Z program and call the BAPi (same as a Funtion module call).
    2. Now, if you see this BAPi, it has
    -> Importing structures.
    eg: SALESDOCUMENT: this will take the Sales order header data as input.
    -> Tables parameters:
    eg: ORDER_ITEM_IN: this will take the line item data as input.
    Note :
    Only specify fields that should be changed
    Select these fields by entering an X in the checkboxes
    Enter a U in the UPDATEFLAG field
    Always specify key fields when changing the data, including in the checkboxes
    The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
    Maintain quantities and dates in the schedule line data
    Possible UPDATEFLAGS:
    U = change
    D = delete
    I = add
    Example
    1. Delete the whole order
    2. Delete order items
    3. Change the order
    4. Change the configuration
    Notes
    1. Minimum entry:
    You must enter the order number in the SALESDOCUMENT structure.
    You must always enter key fields for changes.
    You must always specify the update indicator in the ORDER_HEADER_INX.
    2. Commit control:
    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.
    For further details... refer to the Function Module documentation for the BAPi.
    BAPI's have no Exception parameters
    while F.Module having Exceptions.
    Thanks & regards
    Sreeni

  • Reg Function module for getting date

    Hi,
    My requirement is, If I entered some date I need to get past three months number of days.
    Eg: if I entered 26thDec,2007
    I need to get number of days form October 1st to 26th Dec.
    Regards,
    sarath.

    try this code
    REPORT ztest .
    DATA : lv_date TYPE syst-datum ,
           lv_tmp  TYPE i          .
    PARAMETERS : p_date TYPE syst-datum OBLIGATORY .
    CALL FUNCTION 'ADD_TIME_TO_DATE'
      EXPORTING
        i_idate = p_date
        i_time  = '3'
        i_iprkz = '2' "Month
      IMPORTING
        o_idate = lv_date.
    lv_tmp = lv_date - p_date .
    WRITE : 'Diff in days ' , lv_tmp .

Maybe you are looking for