Clearing Vendor : Header data - Posting with assignment problem

Hi,
I would like to write a program or if possible would like to use a BAPI  to post Clearing vendor data in t-code F-44 with assignment option.
I looked at to bapi BAPI_ACC_INVOICE_RECEIPT_POST and BAPI_ACC_DOCUMENT_POST, but both of them needs tax key and in F-44 we do not use it. as an other example we'd like to clear it with the acc. document and  Line Item of acc. doc .(BSEG-BUZEI) 
Is there any idea about how to do this?
Kind Regards.

Hi,
my suggested method :
1) works
2) is very simple
sample:
* 0 initialization
  xbkpf = bbkpf.
*1 header - fill xbkpf
  MOVE: 'FB05' TO xbkpf-tcode.
  MOVE itab-bukrs TO xbkpf-bukrs.
  MOVE '90'  TO xbkpf-blart.
  CONCATENATE sy-datum+6(2) sy-datum+4(2) sy-datum(4)
              INTO xbkpf-bldat.
  CONCATENATE sy-datum+6(2) sy-datum+4(2) sy-datum(4)
              INTO xbkpf-budat.
  MOVE itab-waers TO xbkpf-waers.
  xbkpf-auglv = 'UMBUCHNG'.
  TRANSFER xbkpf TO file.
*2 fill bselk
  xselk = bselk.
  xselk-agkon = itab-lifnr.
  xselk-agbuk = itab-bukrs.
  xselk-agkoa = 'K'.
  xselk-xnops = 'X'.
  TRANSFER xselk TO file_si.
*3 fill bselp (clearing criterion)
    xselp = bselp.
    xselp-feldn_1 = 'SGTXT'.
    MOVE  itab-sgtxt TO xselp-slvon_1.
    TRANSFER xselp TO file_si.
regards Andreas

Similar Messages

  • Clearing Vendor:Header data F-44

    Hi
    I need to clear vendor open invoices using BAPI's for T-code F-44 .I've got through various FM like bapi_acc_document_post and bapi_ar_acc_getbalanceditems but could'nt find solution.Have any boby worked on this tcode to clear vendor accounts using bapi's.Its really simple working with bdc's to transfer data from flat file to the above transaction.But as known every vendor has huge sets of items and this could be a huge performance issue....so to avoid this in future we need to work on this using exclusively BAPI's......Any suggestions or sample codes wud surely be appreciated....
    Thanks in Advance......

    Hi,
    my suggested method :
    1) works
    2) is very simple
    sample:
    * 0 initialization
      xbkpf = bbkpf.
    *1 header - fill xbkpf
      MOVE: 'FB05' TO xbkpf-tcode.
      MOVE itab-bukrs TO xbkpf-bukrs.
      MOVE '90'  TO xbkpf-blart.
      CONCATENATE sy-datum+6(2) sy-datum+4(2) sy-datum(4)
                  INTO xbkpf-bldat.
      CONCATENATE sy-datum+6(2) sy-datum+4(2) sy-datum(4)
                  INTO xbkpf-budat.
      MOVE itab-waers TO xbkpf-waers.
      xbkpf-auglv = 'UMBUCHNG'.
      TRANSFER xbkpf TO file.
    *2 fill bselk
      xselk = bselk.
      xselk-agkon = itab-lifnr.
      xselk-agbuk = itab-bukrs.
      xselk-agkoa = 'K'.
      xselk-xnops = 'X'.
      TRANSFER xselk TO file_si.
    *3 fill bselp (clearing criterion)
        xselp = bselp.
        xselp-feldn_1 = 'SGTXT'.
        MOVE  itab-sgtxt TO xselp-slvon_1.
        TRANSFER xselp TO file_si.
    regards Andreas

  • Unable to clear open items through post with Clearing F-04

    Hi Experts,
    I want to clear one GL code through transaction F- 04 Post with Clearing.
    When I clear the open items throgh f-04, (Document types UA , KR , MJ ) it posts the document but again it makes a new line item as a open item with same amount.New line item shows in a list as a open item. ( I tryed F-03 as well)
    I am unable to unable to understand the exact functionality of transacion F-04.
    Can anyone explain me please ? Please advice if I am missing anthing on this.
    Thanks,
    Manasi

    Hi Manasi,
    As the name suggest, F-04 allows you to POST to one account by CLEARING another account.
    For example you have a provision account which needs to be adjusted when the actual expense is paid -  this how it will be done -
    Give the document header details, select "Transfer posting with clearing", enter the posting key (40), give the GL account (expense account as per the example) and go to the next screen.
    Give the amount and other details for the line items and then select "choose open item" from the menu. The new screen will ask you to give an account where you will give the provision account (the account from which the open item needs to be cleared).
    Press enter and you will get the list of open items for the GL account from where you can proceed like any other clearing.
    Hope this clarifies. Do revert in case of any further queries.
    Thanks and Regards,
    anit

  • Data Load with HAL Problem with Decimal-delimiter/Language Setting

    Hi,
    we use HAL to load Data into Essbase. The Data is with a . as Decimal Point like in
    1252.25 When i upload these Data with HAL the number becomes 125225.00
    The Locale of my OS is German
    The Locale i specified for the file in HAL is English
    If i change the Locale of my BS to English the Problem disappears but thats annoying.
    Has anybody else such a problem ?
    Is There a Solution for this ?
    Thanks.
    Kevin

    Reading over John's blog, we created a rule file.
    But, it looks the load process using the rule file seems to be hanging? are we missing any thing? We are using comman seperator and having number of lines to skip as zero.

  • How can i send data POST with a html link in a textfield

    Hello,
    This is my problem : I generate (from a php script) html
    links in a textfield. I would like for each link to send data with
    the POST method to an other script.
    My problem is that the getURL("lien", "", "POST") function
    can be use only by a movieclip or button event ... and not from a
    html link ...
    How can i do it ?
    Have you a small idea???
    Thanks ....

    yes, thanks but now my problem is in my function associated
    to this link :
    function SendPost()
    var toto="toto";
    getURL("
    http://127.0.0.1/board/scheduledfirst.php",
    "_blank", "GET");
    The function is executed but after in php i can get anything
    with echo ($_GET["toto"]); echo ($_POST["toto"]);
    Why ?

  • Field WBS is not appearing in vendor line while posting through F-02

    Hi Friends,
    I have made the field 'WBS element' optional in the relevant recon account and in the relevant posting key. Still, the field is not appearing in the vendor line while posting with the same posting key.
    Please help me to get the same.
    Regards,
    Shilpi

    Hi
    First check in the Field status group in OBC4 what ever you enter at G.L wise as well as at posting key level in ob41 whether you put as a optional entry or not WBS element field in the both area (OBC4 and OB41)
    And click on the more data
    I hope it will helps you
    Regards
    vamsi

  • Fields suppressed when posting with FB01 and special gl-indicator

    Hello everybody,
    I have the following problem:
    I'm trying to make a vendor open item posting with transaction code 'FB01' and a special G/L-Indicator. Although the field status group of posting key and target reconciliation account is set all to optional, some fields which should be populated are suppressed, such as ZLSPR or ZBD3T.
    Does anybody know what the reason for this is?
    Thank you in advance!
    Regards,
    B

    Hello,
    If the posting keys and reconciliation account's field status variants are maintained correctly, then you should also check if you are using any screen / transaction variants
    I am completely not sure about this, but you can check this. I hope this helps.
    Best regards,
    Suresh Jayanthi.

  • Vendor Classification Data

    Hi All,
    We have a requirement to load vendor classification data along with vendor master data. Anyone has worked with classifications?
    Can we extend/modify the standard Bestpractices IDoc for Vendor master data load ? What is the best practice for this?
    I came across this thread where it says,
    "you have to create your vendors first. When that is complete, you have to create a file on the app server with the classification data. Then run RCCLBI03"
    Posting Vendor Classification Data using XK02 transaction
    Any suggestions on using Data Services for the same?
    Thanks in Advance.
    Jes

    Hi Jes,
    I received this information from Eugene De Lattes in the Best Practices development team:
    Vendor classification is called Vendor Evaluation. Hereu2019s some help for setting the evaluation up in an SAP system:
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/8d/b97e4f414511d188fc0000e8322f96/frameset.htm
    The good thing is weu2019ve already got two objects that could be used for vendor evaluation: the Class (IDoc type CLSMAS04) and the Classification (IDoc type CLFMAS02) in our list. The only thing that might be unclear is that weu2019re using CLFMAS02 as Material Classification. Itu2019s, actually, more generic, and is called Object Classification. The object, of course, can also be Vendors.
    Some generic help for Classification:
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/24/47633a416711d189ec0000e81ddfac/frameset.htm
    And here you can see the IDoc types in MM:
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/1a/0e35da539911d1898b0000e8322d00/frameset.htm
    So, the answer could be that vendor classification is already covered by the IDoc types. However, we donu2019t have a specific mapping for that nor weu2019ve got a separate documentation.

  • Vendor master data details

    Hello Friends,
    i have one requirement like...
    We need a download of Vendor master data details with the following data:
    1) Company Code
    2) Vendor number
    3) Vendor Name
    4) Vendor country code
    4) Bank key
    5) Swift code (BIC code)
    6) Bank account
    7) IBAN code
    i have tried to develop one report in SQVI transaction. i have taken tables LFA1,LFB1,LFBK.BKNA and TIBAN.
    But i could not able map Bank account number  between the tables BKNA and TIBAN.
    Could you please help on this topic...
    Regards,
    Satya

    Hi,
    BNKA is the table of banks, not bank accounts; it doesn't contain bank account numbers.
    You will find swift code in BNKA-SWIFT
    with keys
    BNKA-BANKS = LFBK-BANKS
    BNKA-BANKL = LFBK-BANKL
    and IBAN in TIBAN-IBAN
    with keys
    TIBAN-BANKS = LFBK-BANKS
    TIBAN-BANKL = LFBK-BANKL
    TIBAN-BANKN = LFBK-BANKN
    TIBAN-BKONT = LFBK-BKONT

  • MXF export with audio problems

    Hi!
    At the brodcast station that I work we recently upgrade to premiere CC. Our workflow are almost XDCAM files (MXF) and whe an edition is finished we export to MXF to play out or copy to XDCAM disc.
    Recently I have a multi camera project and everything works perfect but when I export to an MXF file the sound as a "blank frame" in sound. The concert as an hour and twenty minutes and at the fisrt second
    theres is that little "cut" in sound that doesn't exist in timeline.
    I tryed various ways to export and everytime I got this frame in the same place. I also export timelines with 2 minutes from other projects, more simple, and always I got a "blank frame" somewhere in audio.
    Tryed to export with 2 channels, 8 channels, stereo timeline multichannel timeline and everything result in a MXF in this audio issue.
    Anyone already detect this exporting to MXFs, any sugestion to resolve this problem?

    Thank you norok65 for replying this post.
    I searched for some post with my problem and I didn't find so I post this one. I'm "glad" that I'm not the only one having this Kind of problem.
    Like you said the problem cames with some updates. We used Premiere CS5 and no problem with MXF. We tryed the CS6 to possible update and
    at the begining no problem but after some updates this problem appears and we abandoned the CS6 and we tested the CC. No problem with CC
    and we did the migration. So, CC export MXFs with no problem but after some updates the audio problems came up again.
    I think the problem is the updates and Adobe must fix this.
    Jim, I already did some tests and exported only audio to WAV and no problem. Other formats like quictime no problem too.
    This kind of problem only appears with MXF.
    Like I said our workflow are almost everything in MXF (XDCAM) and we wish this issue can be solved.

  • F-48 (post vendor down payment:header data)

    Hi Experts,
    Good Evening to you,
    when i was posting F-48 (post vendor down payment:header data) i was getting an error of No Special G/L acct defined for acct type K sp. G/L ind B recon.acct so at that time i went to OBYR and given in Acct type-K SGL Ind-B in that given Recon account and Special GL Account both the numbers but still the erroring is coming. Later i went to FS00 and checked in Control Data that the GL Account the reconciliation account-vendor is already given but still the error is coming.
    So if anybody faced the same error means let me know.
    Awaiting for your golden replies & points will be assign for useful answers.
    Thanks & Best Regards,
    KK

    Hi Rams,
    The problem of "No Special G/L acct defined for acct type K ....." has been rectified when i specify the Special GL A/c in OBYR.
    Now the issue is i gave a wrong Sp GL account in OBYR and posted a document later i recongnise that i gave wrong SP GL and went back to OBYR and gave the correct SP GL A/c number. So there was a posting has done earlier 1 document so can you tellme how to change from Old Sp GL  to New Sp GL.
    Awaiting for your golden reply.
    thanks & best regards,
    KK.

  • Unable to clear vendor with different currency being posted

    Dear Experts,
    One of our vendor's Invoice billed in currency USD, several payments has been posted with different currency according to our Bank currencies. Full payment has been made to the balance of ZERO, but we still unable to clear this vendor account. Any expert can help me how to clear the above mentioned vendor.
    Regards/Lisa

    Hi,
    Please check whether the customisation for exchange difference accounting has been done.  If so then
    T Code is F-44 or F-04
    Either use Local Currency. : In this case if there is any exchange rate difference between the invoice and payment date the difference will be posted to exchange diff account.
    Or Use the Doc Currency : In this case you can provide the exchange rate in the transaction so that you will not get any exchange rate difference.
    Hope this solves your issue.
    Regards
    MPI

  • :Due On" date field missing while posting with Spl GL indicator for vendor

    Hello,
    I am facing a problen while posting a n entry with spl GL indicator in fb01, the issue is Due On date field is missing in the screen.
    I am posting an spl GL transaction for a vendor thro FB01 and after entering the posting key 39, vendor code and spl Gl indicator in line item and in next screen, the "Due ON" date field is not appearing.
    Both vendor recon account and spl GL alternative account use same field status group and  checked the field status group , the due date, payments terms are made optional.
    The strange thing is, when I use the same vendor with Spl GL indicator "A" , the Due ON field is missing in next screen, and when I use spl indicator " B" , for same vendor, Due On date field is appearing.
    Is there any specfic field status setting for DUE ON date field for Spl GL indicator wise? or please help me how to bring due on date field in the screen when posting spl GL transaction?
    Please help me on this.
    Regards
    Surya

    Hello Surya,
    To make field baseline date for payment (BSEG-ZFBDT) ready for input for
    posting the down payment, the following Customizing setting is
    necessary:
    Financial Accounting -> Accounts Receivable and Accounts Payable ->
    Business Transactions -> Outgoing Payments -> Automatic Outgoing Payment
    -> Payment Method/Bank Selection -> Configure payment program -> All
    company codes -> double-click on corresponding company code -> under
    Customer -> 'Sp. G/L transactions to be paid' the letter A should be
    entered.
    The field "Due On (BSEG-ZFBDT)" cannot be controlled with field status.
    It is contolled by field attribute of screen painter (Tcd: SE51).  If
    you look at element attribute for "Due On" field, a flag for required
    entry is activated.  In this case, field status has no control over
    the field.
    As of release 3.1G, field BSEG-ZFBDT is hardcoded in most FI screens
    to be mandatory and cannot be influenced by any field status
    changes. This situation is only valid when posting with special G/L
    indicator (ie PK 29/39).
    SAP development team has determined that this is a critical field.  The
    reason behind this is that this special GL screen and the data entered
    here are very important to many other programs. This data affects
    liabilities and receivables where due date is necessary almost
    everytime. Thus, we changed this field in this screen in order to
    prevent problems in many other areas. The reason is explained further in
    note 95079.
    545944    FAQ, down payment, tax code, baseline date
    above Field is controlled through SE51 only.
    Tcode : SE51
    Program (screen)     SAPMF05A
    Screen number        304
    Eliment list  press display.
    special attributes.
    BSEG-ZFBDT - Required.
    Other options are below.
         The attribute "Input" can have the following values:
         o    Not possible
             The input/output field cannot be supplied with an input - that
             the screen element can only be used for outputs.
         o   Possible
             The input/output field can be supplied with an input at runtime
             the remainder of the transaction, an input is not required.
         o   Recommended (Optional Field)
             The input/output field should be supplied with an input at runt
             The system, of course, does not check immediately whether there
             been an input. During the remainder of the transaction, however
             input is necessary.
             To mark this kind of target field, the input template starts wi
             special character that is represented in the Screen Painter by
             question mark ('?'). The question mark will be suppressed only
             the field is in a table control or a step loop.
             You use the "target field", for example, if inputs cover severa
             screens and only at a later stage are subject to a common check
    o   Required Field
        The input/output field must be supplied with an input at runtime.
        The system checks this property immediately, and very definitely
        when the event is processed  (PROCESS AFTER INPUT).
        So that such a required field is marked accordingly, its input
        template must begin with a special character that is represented in
        the Screen Painter by a question mark ('?'). The question mark is
        suppressed only if the field is in a table control or a step loop.
    I hope above information will resolve your issue.
    Kind Regards,
    Fernando Evangelista

  • Problem posting Vendor Master Data

    Hi,
    We are posting Vendor Master data from MDM to ECC. We have serialized ADRMAS and CREMAS so that ADRMAS is always posted first and then CREMAS. ADRMAS is always posted correctly but for some reason the link between ADRMAS and its following CREMAS is not getting established. Because of that CREMAS is failing.
    We have explored all possible workarounds but nothing is working. Please note that in ECC, the number ranges are set to external numbers. The number ranges in ECC start with leading zeros. We are sending vendor numbers in the same format with leading zeros. However, I have this gut feeling that these leading zeros are causing the problem but I am not sure.
    Another thing is that if we create a vendor in ECC and then send data from MDM to update it, we can successfully do that. It's just the new vendor creation that is causing problem.
    Please also note that we are using '005' as message function. I have also tried '009' but it's not working either.
    Any suggestion, solution, workaround will be highly appreciated.
    Thanks,
    TS

    Hi Michael,
    Yes, that's always the case. The <ADRMASxx>-<E1ADRMAS>-<OBJ_ID> and <CREMASxx>-<E1LFA1M>-<LIFNR> both are mapped to our vendor number.
    We are using ECC 6.0. I have tried distributing vendors with and without leading zeros but in either case it didn't work.
    Here's the error message that we get while posting CREMAS
    "Fill all required fields SAPMF02K 0111 ADDR1_DATA-DEFLT_COMM"
    Message no. F2282
    However, when we check the ADRMAS, we can see a value 'LET' against 'COMM_TYPE' field. It is not empty.
    Any help will be greatly appreciated.
    TS

  • F-04 - Post with Clearing  problem

    HI ,
    I have some confusion
    when i enter document(RV) i gave Ex.rate on document: 0 .02700  (KRW) to THB on last month. accoring to that my local currency was = 3089614.86THB.
    when i using post with clearing on this month(F-04 ), it is showing me 31010578.78 THB.
    how this is happend? bu the latest Exchange rate was: 0.02790 (G).

    Hello,
    System gets exchange rate on clearing date. If you want to get 0 .02700, you must give RV document's date to clearing date
    Or you can use FB05 for manually entering exchange rate.
    Regards,
    Burak

Maybe you are looking for