How to populate the payment block through the BAPI_INCOMINGINVOICE_CREATE

Hi,
I am trying to create the incoming invoice through the BAPI (BAPI_INCOMINGINVOICE_CREATE) .
In MIRO transaction when i create the Invoice without any tax , the <b>payment block shows free for payement</b> . How to give create the invoice with the following condition through the BAPI (BAPI_INCOMINGINVOICE_CREATE) .  when there is Tax : The payment block = 'R' (Invoice verification) .
No Tax                : The payment block = ' ' (Free for Payment).

But everytime the invoice is created the Payment block is set to 'R' even if the Tax is not given.
Following i am populating
<b>Header Structure:</b>
<b>Test                   Value Description                      PI Header Data Fields</b>
‘X’                Invoice Indicator     HEADERDATA-INVOICE_IND
SPACE                Document Type     HEADERDATA-DOC_TYPE
05-11-2006           Document Date     HEADERDATA-DOC_DATE
17-11-2006           Posting Date                     HEADERDATA-PSTNG_DATE
123456-B1                Ref Document Number     HEADERDATA-REF_DOC_NO
9001               Company Code     HEADERDATA-COMP_CODE
7006924               Vendor Number     HEADERDATA-DIFF_INV
BRL               Currency                     HEADERDATA-CURRENCY
BRL               Currency                     HEADERDATA-CURRENCY_ISO
10000               Gross Amount      HEADERDATA-GROSS_AMOUNT
05-11-2006          Baseline ate                     HEADERDATA-BLINE_DATE
DD               Header Text                     HEADERDATA-HEADER_TXT
0001               Payment Terms     HEADERDATA-PMNTTRS
123456-B1               Ref Document Number     HEADERDATA-REF_DOC_NO
Z1               NF Type                       HEADERDATA-J_1BNFTYPE
space               Payment Block Key      HEADERDATA-PMNT_BLOCK
<b>For Item Structure:</b>
<b>Test Data     Description            BAPI Item Data Fields</b>
000001                     Invoice Item           ITEMDATA-INVOICE_DOC_ITEM
4500021387     Purchase Order Number   ITEMDATA-PO_NUMBER
0010                     Purchase Order Item           ITEMDATA-PO_ITEM
Z1                     Tax Code                           ITEMDATA-TAX_CODE
SP 50308                     Tax Jurisdiction Code           ITEMDATA-TAXJURCODE
10000                      Item Amount           ITEMDATA-ITEM_AMOUNT
200                      Item Quantity           ITEMDATA-QUANTITY
EA                      Purchase Order Unit           ITEMDATA-PO_UNIT
Can u please tell me what is the mistake or any other ways of populating the Payment block.
Always the payment block is 'R' in MIR4 transaction even if i give space in the BAPI

Similar Messages

  • How to get the payment block through the BAPI_INCOMINGINVOICE_CREATE

    Hi,
    how to populate payment block through the BAPI (BAPI_INCOMINGINVOICE_CREATE).  always it is showing 'R' in MIR4 Transaction after the BAPI is executed.

    check
    BAPI_INCINV_CREATE_HEADER-PMNT_BLOCK
    regards
    Prabhu

  • In FBL5N, i can't modify the "payment block" by the mass change

    Hi All,
    In FBL5N, launched for more vendors, choosing the button "mass change", SAP doesn't allow me to modify the "payment block". Its field is grey.
    I wonder if is possible making this field modifiable.....
    Thank You or Your help
    Gandalf

    Hi
    Go XK99 and go to fields tab and select payment block then execute it - here put your vendor number range & company code then execute again - now in upper New Values - make it blank and press SAVE button so all payment block will be remove for those particular vendors (Mass change)
    Best Of Luck
    Tanmoy

  • Removing Payment Blocks through Workflow.

    Hi ,
    Hi , i  am Working FI invoice approval workflow.
    There are three steps , that is parking of invoice , Certification of invoice and Posting of invoice.
    now once the posting of invoice is done it should remove the payment block from the invoice .
    Is there any standard way of  Removing the payment Blocks through Workflow.
    Please sugget
    thanks in Advance.

    Hi ,
    you can use   FI_PAYMENT_BLOCK_UPDATE Function module in your method for removing the Payment blocks .
    BR
    Abhijeet

  • How to change the payment Block?

    Dear all,
    How to change the payment Block?
    Please help.
    Regards
    Mahfuz

    Hello,
    Please go through the below mentioned links it will help you
    Mass Removal of Payment block
    Payment block in customer/vendors - how to clear | SCN
    Posting block removal in the payment proposal editing
    Regards,
    Basappa

  • Accidentally exited out of the loading screen after making my purchase, should I retry or how do I check if the payment went through?

    Accidentally exited out of the loading screen after making my purchase, should I retry or how do I check if the payment went through?

    check your account, https://www.adobe.com/account.html

  • How to block IP addresses or IP blocks through the 5505 ASDM interface, not through command lines?

    Is it possible to block IP addresses or IP blocks through the 5505 ASDM interface, and not through command lines? If so, how?

    Unfortunately I can't share any information on the router. It's company policy. But, if you could let me know where in the GUI interface of the router where I can find the ACL and how to enter the IPs to block I would really appreciate it.

  • How to populate the Referance Field Through the Auto Invoice in credit memo

    HI ,
    I m populating the records in RA_INTERFACE_LINES_ALL and creates the cr Memo through the Auto Invoice ,
    but i m like to populate the Referance Field which is exist in Header part of the Cr Memo (Benith the TYPE).
    So plz help me,
    that which column of the RA_INTERFACE_LINE_ALL populates ,that gave me a data in the Referance Field .
    However this referance field is carried out from the table.Column =RA_CUSTOMER_TRX_ALL.ct_reference
    Plz Help..
    Regards,
    DK

    what you did?

  • Regarding the payment block workflow trigger

    Hi Gurus
    1. All the invoices should be posted with payment block u201CZu201D (customized) where it is not already populated by MIRO with standard u201CRu201D.
    2.Everyday the accountant of the concerned section will run the payment proposal (Automatic Payment Program).  All the invoices that are due will be selected in the proposal with payment block u201CZu201D or u201CRu201D.  Then the accountant manually replaces payment block u201CZu201D or u201CRu201D with u201CSu201D (customized) (signifying start of workflow) in the invoices picked up in the proposal.
    3.Once the payment block changes to u201CSu201D, workflow event should trigger to alert the Section head.
    4.The Section Head then scrutinizes the proposal and wherever he approves the payment block u201CSu201D should be removed in the proposal list. The payment block in all other invoices not approved by the Section Head should be changed from u201CSu201D to u201CZu201D or u201CRu201D again.
    5.The information of rejected invoices should pass to the accountant.
    Roles: 2
    1.Accountant (who has authorization to change the payment block from u201CZu201D or u201CRu201D to u201CSu201D only)
    2.Section Head (who has authorization to approve or to reject)
    Even I given the BOR as BSEG and event as created (Posting item with Payment Block ) .
    I configured as follows.
    1) defined the workflow variant,
    2) assigned the workflow variant to company code
    3) defined the payment block as blank
    But In Event simulation i got workflow get started but it not started. But there is nor event logs too.
    Please help me if you know anything regarding this..
    regards
    vel
    Edited by: Mike Pokraka on Jun 27, 2008 5:27 PM
    Edited by: Velmurugan on Jun 27, 2008 5:45 PM

    Hi Vel
    Did you fix your problem already? recently, I have got a same request from user. The requirement is that after the payment proproal has been confirmed, the workflow should be started by this change and triggers it to send out an email for those vendors by their email address. If you or anybody know about the solution for creating this workflow, please kindly instruct me how to do it, since I am a fresher.
    Thanks
    Jc

  • MIRO: Need a BADI/EXIT to clear the Payment Block 'R' :

    Hi Experts,
    I am looking for a BADI/EXIT to clear the Payment Block that is put by the standard sap code through Perform zahlungssperre_setzen in include LMRMPF1R.
    I have tried to use BADI MRM_PAYMENT_TERMS but this badi gets called before the above PERFORM zahlungssperre_setzen and hence any change made by the BADI gets overwritten by the SAP code again.
    Any inputs in this will be helpful.
    <offer removed by moderator>
    Regards,
    Edited by: Thomas Zloch on Jun 30, 2011 10:34 AM

    Hi
    See SAP Note 1559443 - Changing baseline dates for payment terms for Spain as a sample for this BADI. Read the documentation for the BADI in SE18.
    Try with this coding.
    First, load the interface of all e_*
    *--- fill all export-parameter ----------------------------------------*
      e_zfbdt = i_rbkpv-zfbdt.
      e_zbd1t = i_rbkpv-zbd1t.
      e_zbd1p = i_rbkpv-zbd1p.
      e_zbd2t = i_rbkpv-zbd2t.
      e_zbd2p = i_rbkpv-zbd2p.
      e_zbd3t = i_rbkpv-zbd3t.
      e_zlspr = i_rbkpv-zlspr.
    After, for instance
      if i_rbkpv-zlspr = 'Z'.   "or other
        clear e_zlspr.
      endif.
    And you would see that it works.
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Jun 30, 2011 1:11 PM

  • I lost my iphone 4s. Can it be blocked through the serial number?

    I lost my iphone 4s. Can it be blocked through the serial number?
    My question is this: I know someone else has it. It was tracked through Find my Iphone. How to prevent it from being used ever again? Is there a service that would permanently blocked and unable to be used? Or anyone could just pop a new chip and ready to go? Since the device is registered under my Apple ID, no one else should have access to use my lost device, but me!

    Sorry to hear about your iPhone 4s, You should contact you service provider and report the iPhone 4s as lost.  You should try to erase your data on the iPhone and change your iTunes account as soon as possible. 

  • How do I use GarageBand as a amp/speaker to listen to my Electronic Drum set? I have a MIDI-USB cord already but I can't figure out how to listen to my set through the software using my computer speakers?

    How do I use GarageBand as a amp/speaker to listen to my Electronic Drum set? I have a MIDI-USB cord already but I can't figure out how to listen to my set through the software using my computer speakers?

    If you want to listen to the sounds of your drum set, you should use an audio cable and connect it to the computer's line-in, then create a real instrument track.
    If you use a Midi/USB interface, you'll have to create a software instrument track and select one of GB's drumsets as the instrument. Hopefully your drumset's midi notes are mapped to the right sounds in GB.

  • HT202157 How can I access my computer through the Apple TV unit?

    How can I access my computer through the Apple TV

    Welcome to the Apple community Nopasswords.
    Apple TV > computers.
    The following article(s) may help you.
    Understanding Home Sharing
    Setting Up Home Sharing On A Computer

  • Payment Block at the time of FB60

    Hi
    I want to have payment block flowing directly in FB60. I shud not enter manually
    So what i did:
    I went to OBA3. There i defined tolerance group and i gave payment terms as 0002
    In that payment terms, i have given payment block key A
    But when i did FB60, i saw no payment term and payment block is populated at vendor line item. Let me know the reason why it didn't flow to vendor

    Please check, that you are giving that tolerange group in the vendor master in FK02 > Company Code Data > Accounting Information. Also the payment term assigned in OBA3 is used only for residual item creation in F-44.
    To fetch the payment block in FB60, you should assign the payment term (having payment block in OBB8) in the vendor master in FK02 > Company Code Data > Payment Transactions.
    Regards,
    SDNer

  • Hi, While installing XQuatrz-2.7.7, the installation blocks at the "destination" level. It asks how to install this soft, "Install for all users" is shadowed, but frozen: i cannot select anything and move on. Any idea how to get that fixed? Thanks!

    Hi,
    While installing XQuatrz-2.7.7, the installation blocks at the "destination" level. It asks how to install this soft, "Install for all users" is shadowed, but frozen: i cannot select anything and move on. Any idea how to get that fixed?
    Thanks!

    It says above 2 relevant and 1 correct answere available .............
    I'm new here so could anyone direct me to these answeres?

Maybe you are looking for

  • Problem with Area  Chart

    Hi EveryOne, Me having problem with area chart,i have taken 3 area series to plot when me plotting the values one of the series is getting overlapped,Why its happening like this? Me attached the code Thanks in advance. <?xml version="1.0"?> <mx:Appli

  • Adobe Forms Designed

    Hi All, I need to develop Adobe forms. When I go to Layout editor using transaction SFP, it gives me an error that Adobe Forms designer needs to be installed on desktop. I have SAP GUI installed locally on my machine and probably need to install Adob

  • I need help on money that was took out my account..im trying to get a refund it was a mistake

    i need a refund on a mistake..an accidental purchase

  • Hyperion Intelligence Client 8 silent uninstall

    <p>Hi all,</p><p> </p><p>is there a way to perform a silent uninstallation for theHyperion Intelligence Client 8.</p><p>The silent installation works fine with a response file.</p><p> </p><p>Thanks</p><p>Matthias</p>

  • Restrict file dialog folder access

    How do I restrict a user to a specified folder and it's files when making a file selection. tks, Terry