BAPI for Customer Payment - F-28

Hi
We are making one development. In that development, our requirement is after clicking one button, my F-28 (customer receipt) should be executed in background. My incoming bank account should be debited and selected invoices (i.e. customer line items) should be credited.
My ABAPer is telling that it is possible. However it requires some BAPI. Can anyone tell me what is the BAPI for F-28.
Please help.

Dear:
           We successfully did the clearing procedure as well with this BAPI. We first recorded all transactional steps in F-32 through SM35. For this BAPI to successfully clear the invoice against payment we assumed full collection DZ against invoice RV. RV or invoice has a billing document number which is copied into Assignment field from copy control functionality from SD using VTFA.We book collection in F-28 with reference to invoice billing number. Hence in recording in F-32 you can process like
Give customer number in F-32...click process open item...select all open items and then deselect them...click on find button. Fill in assignment number and then system will find the billing and its payment booked with its  reference . Clear them.
Now you can insert this recording in ABAP code for this BAPI.
Regards

Similar Messages

  • Bapi for customer scheduling agreement

    hi ,
    please tell a bapi for customer scheduling agreement(va31).
    Thanks,
    sridhar

    Hi Reddy ,
    what happend ? u told that u got the BAPI ?
    i already seen that FM ,Do one thing ? search for COMMIT WORK in VA31 program , i think u will get some idea.
    regards
    Prabhu
    Message was edited by: Prabhu Peram

  • Getlist bapi for customer based on sales org, distbtn chnl

    Hi,
        Is there any standard BAPI for customer Getlist , i want to filter based on distribution chanel and sales org and divison.
            Now am using BAPI_CUSTOMER_GETLIST  its showing all customer list i want to filter this based on distribution chanel and sales org and divison.
    Thanks ,
    Arun

    Hi Siva : )
    In VK11 we have a key combination radio button called Country/ Destination Ctr./Plant/TaxClCust/TaxClMat.
    I think it might be a custom key combination (so you might have to create a siliar one for yourself), but basically all I had to enter there was Country = GB, Destination Coutry = GB, plant SORG1 (it's called the same as the sales org and is linked 1-1), tax classification on Customer = 2 (because I want the central setting on the customer to be 2 = ICO, no tax), tax classification on material 1 = full tax goods and enter relevat tax code.
    Hope this helps.
    It worked for me.
    Kind regards,
    Tanja

  • BAPI for Customer Edit

    Hi all,
    Which are the BAPIs available for editing customer, I ve created the BAPI for customer creation using the standard program RFBIDE00, can this program be used for editing the customer information.
    pls suggest
    Regards
    Vishal

    This is most likely the BAPI you are looking for:
    BAPI_CUSTOMER_CHANGEFROMDATA1
    Or else try looking in Transaction BAPI under financial accounting / accounts receivable / customer....

  • Tables name for Customer Payment Report

    hiiiiiiiiii
    can anyone tell us the tables name for the report customer payment receive..?
    Thanks & Regards
    Rekha sharma

    Hi Rekha
    when you pass following entry
    Bank dr  
    to Customer
    All header data like co code currecy ref , period etc goes to BKPF,
    line item - Bank Dr ( its a GL  entry ) goes to BSIS
    line item- Customer Cr ( its a AR entry ) goes to BSID or BSAD depends it is cleared or still open
    Also both the line items goes to BSEG
    Hope this helps.
    Regds
    Rajiv

  • Bapi for vendor payment with details of tunover and blocked payment

    Dear all
    I want to know whether any BAPI available for the details of vendor payment made and the open item with  blocked payment (with the reason for the blocked payment) and the turnover of the vendor for a particular fiscal year...................
    The client want to get the output as mentioned below.
    e.g...
    PO no : 45629810
    Inv.No : 73409 (Vendor's Invoice no.)
    Payment : Paid amt with date and details
    Payment : Outstanding (Due and Over Due with no.of days)
    Blocked Payment : Amt with the reason for blocking the payment.
    Turn Over : Total turn over for that fiscal year.
    This is an urgent req. from my client,i will be very grateful if any one can  help me over this issue ..............
    Appreciate for any relevant answers and suggestion ...........
    I am in ECC 6.0
    Regards
    Praveen

    Hello Raj,
    Unfortunately there is no BAPI for payment detals and other company code data. The only possibility is via direct input (external data transfer).
    Please have a look at the following Easy-Access-path:
    SAP Menu
    -> Accounting
      -> Bank Applications
       -> Loans Management
        -> Environment
         -> External Data Transfer
    Within this menu entry you find diverse functions. Please start the function KCLJ to transfer data. Before you can do this you need to
    prepare the transfer by creating your own transfer structure and so on. You can get further information on what to do here by navigating to
    "Help   > Application help" within transaction KCLJ. From here you get to the right area of SAP library.
    Thanks Amber

  • BAPI for customer scheduling aggrement (VA31)

    Hi,
    I want to create customer scheduling aggrement using BAPI, but i hav't find any BAPI for this.
    So please tell me is their any BAPI available to create scheduling aggrement.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Thanks,
    Rahul
    Edited by: Alvaro Tejada Galindo on Aug 22, 2008 4:21 PM

    Dear Jelena,
    'BAPI_SAG_CREATE' is used for creating Purchase Scheduling Agreement Tcode u2013 ME31L but my requirement is for creating customer scheduling agrrement Tcode - VA31.
    Pl. confirm is it possible to use the above BAPI for VA31 or not.
    Thanks,
    Rahul

  • Hi masters, want bapi for customer balance report

    HI Masters,
                   please can any one give reply about bapi whch one is using for developing customer balance report in webdynpro java
    I want to see the customer balance report in portal through developing webdynpro java application only. for developing , i need bapi regarding customer balance report. Customer when he login the portal he has to view his ledger balance in portal.please  give reply about the bapi to see customer ledger balance . we can do by transactional iview. but i need only through webndynpro java application
    reply will appreciated.

    Hi surya,
    The tcode for customer balance report is FBL5N
    BAPI_AR_ACC_GETKEYDATEBALANCE -
    >Customer account balance at a key date .
    Regards,
    srikanth

  • BAPI for customer Block/Unblock through transaction code : XD05

    Hi Gurus,
    I want to block/unblock customer sales areas(Transaction code : XD05) through program. Could you please suggest any BAPI for the same. As writing BDC will not be a good choice.
    Please help.
    Thanks,
    Bhupender

    Hello Bhupender,
    the best and easies solution is the MASS maintenance transaction as proposed above.
    For the BAPI question, sorry but there is NO BAPI to maintain a customer master data.
    The function module provided by my predecessor, even if it has the perfect look like is definitively not the one to use.
    Despite the name, this FM is designed to support only the maintenance of CONSUMERs.
    Moreover it is not an RFC enabled function module.
    It might work in your case, as the data to maintain is quite simple and limited but you still may face several troubles like NO change documents and change pointers created and/or no synchronisation with TREX, CRM, ...
    There is also a BAPI with a nice name, but in fact it is designed to be used only with SAP Online Store and SAP Product Catalog.
    The only reliable path for investigation is described within [note 384462|https://service.sap.com/sap/support/notes/384462].
    A other path for investigation is the class CMD_EI_API which has been introduced with ECC 2005 (6.00).
    You could wrap method MAINTAIN_BAPI inside of a bapi function module you would have written.
    Otherwise, but still with limited functionality there are some eSOA webservices to find, read, maintain customer master data.
    Hope this helps.
    BR
    Alain

  • Error thrown in BAPI for Customer Master

    Hi,
    When I execute the BAPI - BAPI_CUSTOMER_CREATEFROMDATA1 the following error will come.
    Error
    Invalid form of address text for customer
    Please give me a solution for this.
    and documentation also.
    Thanks,
    Suresh Maniarasu.

    *& Report  ZBAPICUST_APPL
    REPORT  ZBAPICUST_APLL.
    TABLES: BAPIKNA101_1,BAPIKNA102,BAPIKNA103,BAPIRETURN1.
    DATA: F_STOP.
    DATA: V_EMPTY TYPE I,V_TOTAL TYPE I.
    DATA: PI_PERSONALDATA LIKE BAPIKNA101_1,
          PI_COPYREFERENCE LIKE BAPIKNA102,
          CUSTOMERNO LIKE BAPIKNA103,
          RETURN LIKE BAPIRETURN1.
    DATA: IT_INTERN TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF IT_KNA101_1 OCCURS 100.
            INCLUDE STRUCTURE BAPIKNA101_1.
    DATA: END OF IT_KNA101_1.
    DATA: BEGIN OF IT_DATA OCCURS 100,
          AD_TITLETX(30),
          AD_NAMEFIR(40),
          AD_NAMELAS(40),
          AD_NAMEMID(40),
          GBDAT(8),
          REGIO(3),
          AD_CITY1(40),
          SPRAS(1),
          AD_CITY2(40),
          AD_PSTCD1(10),
          AD_POBX(10),
          AD_STREET(60),
          AD_HSNM1(10),
          AD_BLDNG(20),
          AD_ROOMNUM(10),
          LAND1(3),
          AD_TITLE(4),
          WAERS(5),
          VKORG(4),
          VTWEG(2),
          SPART(2),
          REFKUNNR(10),
          KUNNR(10),
          END OF IT_DATA.
    SELECTION-SCREEN BEGIN OF BLOCK SCR1 WITH FRAME TITLE TEXT-111.
    PARAMETER : P_FILE TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT 'C:\Documents and Settings\Administrator\Desktop\MARCDESCRIPTION.XLS'.
    PARAMETER : P_MAX(4) OBLIGATORY DEFAULT '100'.
    PARAMETERS: P_HEADER TYPE I DEFAULT 0.
    PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
    P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
    P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
    P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
    SELECTION-SCREEN END OF BLOCK SCR1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      PERFORM VALIDATE_FILE USING P_FILE.
    START-OF-SELECTION.
      PERFORM CONVERT_XLS_ITAB.
      IF NOT IT_DATA[] IS INITIAL.
        PERFORM DELETE_HEADER_EMPTY_RECS.
      ENDIF.
    END-OF-SELECTION.
      PERFORM UPLOAD_CUSTMAS.
    *&      Form  VALIDATE_FILE
          text
         -->F_FILE     text
    FORM VALIDATE_FILE USING F_FILE TYPE RLGRAP-FILENAME.
      DATA: ITAB TYPE TABLE OF STRING.
      DATA: WA TYPE STRING.
      OPEN DATASET P_FILE FOR INPUT IN TEXT MODE ENCODING DEFAULT .
        IF SY-SUBRC = 0.
          DO.
            READ DATASET P_FILE INTO WA.
            IF sy-subrc = 0.
              EXIT.
              ENDIF.
              APPEND WA TO ITAB.
            ENDDO.
            ENDIF.
            CLOSE DATASET P_FILE.
    ENDFORM.                    "VALIDATE_FILE
    *&      Form  CONVERT_XLS_ITAB
          text
    FORM CONVERT_XLS_ITAB.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                      = P_FILE
          I_BEGIN_COL                   = P_BEGCOL
          I_BEGIN_ROW                   = P_BEGROW
          I_END_COL                     = P_ENDCOL
          I_END_ROW                     = P_ENDROW
        TABLES
          INTERN                        = IT_INTERN
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 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.
      PERFORM MOVE_DATA.
    ENDFORM.                    "CONVERT_XLS_ITAB
    *&      Form  MOVE_DATA
          text
    FORM MOVE_DATA.
      DATA: LV_INDEX TYPE I.
      field-symbols <FS>.
      SORT IT_INTERN BY ROW COL.
      CLEAR IT_INTERN.
      LOOP AT IT_INTERN.
        MOVE IT_INTERN-COL TO LV_INDEX.
        ASSIGN COMPONENT LV_INDEX OF STRUCTURE IT_DATA TO <FS>.
        MOVE IT_INTERN-VALUE TO <FS>.
        AT END OF ROW.
          APPEND IT_DATA.
          CLEAR IT_DATA.
        ENDAT.
      ENDLOOP.
    ENDFORM.                    "MOVE_DATA
    *&      Form  DELETE_HEADER_EMPTY_RECS
          text
    FORM DELETE_HEADER_EMPTY_RECS.
      DATA:LV_TABIX LIKE SY-TABIX.
      IF NOT p_header IS INITIAL.
        LOOP AT IT_DATA.
          IF P_HEADER > 0 AND NOT IT_DATA IS INITIAL.
            DELETE IT_DATA FROM 1 TO P_HEADER.
            EXIT.
          ENDIF.
        ENDLOOP.
      ENDIF.
      CLEAR IT_DATA.
      LOOP AT IT_DATA.
        LV_TABIX = SY-TABIX.
        IF IT_DATA IS INITIAL.
          V_EMPTY = V_EMPTY + 1.
          DELETE IT_DATA INDEX LV_TABIX.
        ENDIF.
      ENDLOOP.
      CLEAR IT_DATA.
      DESCRIBE TABLE IT_DATA LINES V_TOTAL.
      IF V_TOTAL = 0.
        F_STOP = 'X'.
        STOP.
      ENDIF.
    ENDFORM.                    "DELETE_HEADER_EMPTY_RECS
    *&      Form  UPLOAD_CUSTMAS
          text
    FORM UPLOAD_CUSTMAS.
      LOOP AT IT_DATA.
        PI_PERSONALDATA-TITLE_P = IT_DATA-AD_TITLETX.
        PI_PERSONALDATA-FIRSTNAME = IT_DATA-AD_NAMEFIR.
        PI_PERSONALDATA-LASTNAME = IT_DATA-AD_NAMELAS.
        PI_PERSONALDATA-MIDDLENAME = IT_DATA-AD_NAMEMID.
        Pi_personaldata-date_birth = IT_DATA-GBDAT.
        PI_PERSONALDATA-REGION = IT_DATA-REGIO.
        PI_PERSONALDATA-CITY = IT_DATA-AD_CITY1.
        PI_PERSONALDATA-LANGU_P = IT_DATA-SPRAS.
        PI_PERSONALDATA-DISTRICT = IT_DATA-AD_CITY2.
        PI_PERSONALDATA-POSTL_COD1 = IT_DATA-AD_PSTCD1.
        PI_PERSONALDATA-PO_BOX = IT_DATA-AD_POBX.
        PI_PERSONALDATA-STREET = IT_DATA-AD_STREET.
        PI_PERSONALDATA-HOUSE_NO = IT_DATA-AD_HSNM1.
        PI_PERSONALDATA-BUILDING = IT_DATA-AD_BLDNG.
        PI_PERSONALDATA-ROOM_NO = IT_DATA-AD_ROOMNUM.
        Pi_personaldata-country = IT_DATA-LAND1.
        Pi_personaldata-title_key = IT_DATA-AD_TITLE.
        PI_PERSONALDATA-CURRENCY = IT_DATA-WAERS.
        PI_COPYREFERENCE-SALESORG = IT_DATA-VKORG.
        PI_COPYREFERENCE-DISTR_CHAN = IT_DATA-VTWEG.
        PI_COPYREFERENCE-DIVISION = IT_DATA-SPART.
        PI_COPYREFERENCE-REF_CUSTMR = IT_DATA-REFKUNNR.
        CUSTOMERNO-CUSTOMER = IT_DATA-KUNNR.
    CALL FUNCTION 'BAPI_CUSTOMER_CREATEFROMDATA1'
      EXPORTING
        PI_PERSONALDATA              = BAPIKNA101_1
      PI_OPT_PERSONALDATA          =
      PI_COMPANYDATA               =
      PI_OPT_COMPANYDATA           =
      PI_CONSUMEREN                =
        PI_COPYREFERENCE             = BAPIKNA102
      PI_CREDIT_CONTROL_FLAG       =
    IMPORTING
       CUSTOMERNO                   = BAPIKNA103
       RETURN                       = BAPIRETURN1
        IF RETURN-TYPE = 'E'.
          WRITE:/ 'ERROR' ,RETURN-MESSAGE,'FOR CUSTOMER' ,IT_DATA-KUNNR.
        ELSEIF RETURN-TYPE = 'S'.
          WRITE:'SUCCESFULLY CREATED CUSTOMER', IT_DATA-KUNNR.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    "UPLOAD_CUSTMAS
    thanks & regards,
    Suresh Maniarasu

  • Bapi for customer credit management

    Dear Gurus,
    Can u tell me the bapi for FD32 .ie. customer cedit management.
    If u have any customised bapi then do send me the same.
    Points will be awarded for every try.
    Regards,
    Mohan.

    Hi,
    There is a standard function module 'CREDITLIMIT_CHANGE' which can be used to insert or update credit limits and therefore credit master data.
    Two indicators, UPD_KNKA and UPD_KNKK are available to indicate whether you want to create credit master data or update or delete existing data. UPD_KNKA is for central data and the other for credit control area data.
    There may be technical differences between BAPI and a normal function module, but for all functional purposes this FM can be used just like a BAPI.
    Cheers,
    KC
    SAP SD

  • Extending BAPI for custom fields

    Hi
    i am working on extending BAPI_SALESORDER_CREATE_FROMDAT2.
    i am appending a structure with custom fields of type dats in to the VBAK table and displaying them in the ADDITIONAL DATA TAB B area.
    Now to extend the BAPI in the VBAKKOZ and BAPE_VBAK it is accepting structure with char type only as enhacement category is CHAR.
    can  some one suggest me how can i use 2 different structures one for VBAK table and other for BAPI table?i am skeptical as move-corresponding is used to move the fields from BAPI to table so data type mismatch would happen and would result in error.
    how to overcome this problem

    Hi,
    You can do it with structure EXTENSIONIN. Check Note 143580 - Information on SD BAPIs and customer enhancement concept for futher info.
    Regards,
    Eduardo

  • BAPI for Customer Master Creation

    Hi All,
           I am looking for bapi.Which can create/change  customer and also has the option of entering payment card details as the input. I looked at this bapi's BAPI_CUSTOMER_CREATEFROMDATA1 but these does not have  fields in import parameter where i can enter the payment credit card details.Anybody have come across the same scenario do let me know the bapi name which i can use for the above said process.Thanks in advance.
    Regards
    Skumar.

    it's not a bapi but fm SD_CUSTOMER_MAINTAIN_ALL might be ok. check it out.

  • Bapi for customer wise material stock on date

    hi all,
    is there any bapi to find customer wise material stock as on date.as logic as MB5B

    Hi Kumar,
    MB5B is a report RM07MLBD  u can copy it to Z, do the logic as you required.. instead of searching for new.. & buliding the logic from the scratch..  so that u will get all the Functionality of MB5B
    Regards

  • Profit Center is missing in the line item 002 for Customer Payment

    Dear Friends,
    We are having one issue with Customer incoming payment. We are following the Business area concept. Now the customer is from the different business area and paying at Ho. HO has different Business area. So while processing the incoiming payment i have to enter different business ares for both the customer and Bank line item. There is no profit center field in the customer line tiem. When we are trying to post it, system is giving error message "Balancing field Profit center not there in line item 002".
    If i process the same scenario with same business area for both the line item then system is picking th eprofit center from the bank line item.
    Is there any possibility i can map this scenarion in the Document splitting functionality?? or else how can i process this scenario??
    Regards,
    Deva

    Hi Lakshmipathi,
    Yes the Document split has been activated. This issue is the specific one. We have different C&F location. Sales happens accross India. Hence we have created the Business area concept for each location to get the location wise balance sheet. I have also activated the zero balancing for Profit center and also Business area so that i can derive the Location wise Balance sheet.
    Now the sales invoice has been processed from C&F Location. Customer deposit the Cheque directly to the Head office Bank and not at the C&F Location bank. I don't want to clear the existing open item because 50% of the cheque gets bounced. So i am booking the incoming payment without clearing the open item.
    While processing the incoming payment user is entering the C&F location business area in the customer line item (Credit line item) and Head office business area for the Bank line item as the bank is at the Head office so that we can arrive the Balance sheet.
    Now system is not deriving the profit center for the customer line item even though the business area wise zero balance has been activated. Recon account field status group has market as optional for profit center but in F-28 i am not able to get the profit center field (Because it is balance sheet item).
    The Document type already been configure for Document split and the Recon account also categorised as Customer inthe doc splitting. I don't have any problem with document split other than this issue.
    For this issue anything can be done in the document split??
    Regards,
    Devendran

Maybe you are looking for

  • My password and login name is fine.I can not login into licenc manager site.  Why??

    It said:  I am not an autorized user to use this site How become?

  • SSO  Using Sys_Context function in Discoverer to validate

    We are using a calculation which uses the function SYS_CONTEXT('USERENV','CLIENT_IDENTIFIER') in 10G, we are now upgrading to 11G and this function does not work. Can someone direct me to what action I need to change 'Client_Identifier" to or how to

  • Bit Map index in DW application

    Hi I have a DW database having a table contains 9 million records. Normally for DW application bit map index is preffered if the cardinality is low. I want to create an index on one of the column having the cardinality is about millions, so which ind

  • 5.0.2 Update - Mercury Engine Error Message

    Hi, I just installed the update. When I opened a project I was working on just before I updated to 5.0.2, I received the following message: "The project was last used with Mercury Playback Engine GPU Acceleration, which is not available on this syste

  • Ambiguous workflow when creating shopping cart

    Hi, When I am trying to create a shopping cart system is showing the error “ambiguous workflow”. We are having a stand alone system in SRM5.0. The configs that have been done are as follows: 1)Root organization , the purchase organization and purchas