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

Similar Messages

  • 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

  • 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

  • How to get a server name through the load balancer

    Hi.
    I'd like to get the server name where is my application installed. There are some servers and clients access there throuth the load balancer. When I try to get it with request.getServerName(), I get the virtual address of the load balancer.
    Any suggestions?
    Thanks.

    Dear Sikindar;
    THanks for your cooperation, but I believe that these Tcodes will eb helpful if I know the table name, actually we don't know its name and that's what I'm asking about, how can I get the table name for the ABAPer?
    Appreciating your cooperation.
    Best Regards;
    Lobna

  • 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

  • My iphone was stolen how do i get the iphone blocked with the IMEI number

    how to get an iphone locked with the imei number?

    Ask your carrier as it varies from country to country.  In the USA, I don't believe any carrier maintains blacklisted IMEI numbers.  All they will do is cancel the account associated with that number, but they won't track and/or block that number.

  • 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?

  • How to get the form printed through the transaction ME42

    hi,
    How to get the form printed through the transaction ME42.
    For example :
    In t.code vf03 . In the main menu there is an option billing document , when we click on that we get a drop down menu which shows issue output to. If a print program call has the code to get the value from the t.code , immdiately when we click issue output to it call the form.

    Here go to ME42 put in your RFC no, in the menu Header -- Messages, go there and see if a message has been inserted, else you can insert one.
    when you save this, it will call the form.
    Regards,
    Ravi

  • 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.

  • 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

  • How to get values/data stored in the database into a list-item.

    how to get values/data stored in the database into a list-item.
    i tried to make a list item without any values assigned to it...but i got the below error.
    FRM-30191: No list items defined for required poplist.
    or
    FRM-32082: Invalid value for given item type.
    List EMPNO
    Item: EMPNO
    Block: EMP
    Form: MODULE5
    FRM-30085: Unable to adjust form for output.
    then according to some docs, i tried the the following for the trigger
    when-new-form-instance
    declare
         rg_name varchar2(40) := 'emp_rec';
         status number;
         groupid recordgroup;
         it_id item;
    begin
         it_id := Find_Item('empno');
         groupid := create_group_from_query(rg_name, 'select empno from emp');
         status := populate_group(groupid);
         populate_list(it_id, groupid);
    end;
    but yet didnt work... :(
    so how the heck do i get values fetched from the database table into the list item?

    for list items you need to values in the record group, one is the shown value and one is the returned value.
    Check out the online help for the populate_list built-in.
    You'll need something like select ename,ename from emp as the record group query.

  • Updating firmware when I can't get an internet connection through the router

    I am trying to update the firmware for WRT54G V8, but some of the instructions indicate I need to have the router connected and be connected to the internet.  I cannot get an internet connection through the router.  Can I upgrade firmware without being connected to the internet through the router.  (I have had this router for about a year and a half with no problems until now.)

    Yes, you can upgrade the firmware without an Internet connection.
    To upgrade the firmware, first download the new firmware into a computer that you can wire to your router.
    Next, power down your entire network.
    Then wire the computer to a LAN port on the router.
    Disconnect all other wires from the router.
    Power up the router and allow it to fully boot (1-2 minutes).
    Power up your computer.
    Login to the router, and do the firmware upgrade  (it will likely take several minutes).
    Power down your entire network.
    Next you need to reset the router to factory defaults.
    To reset your router to factory defaults, use the following procedure:
    1) Power down all computers, the router, and the modem, and unplug them from the wall.
    2) Disconnect all wires from the router.
    3) Power up the router and allow it to fully boot (1-2 minutes).
    4) Press and hold the reset button for 30 seconds, then release it, then let the router reset and reboot (2-3 minutes).
    5) Power down the router.
    6) Connect one computer by wire to port 1 on the router (NOT to the internet port).
    7) Power up the router and allow it to fully boot (1-2 minutes).
    8) Power up the computer (if the computer has a wireless card, make sure it is off).
    9) Try to ping the router. To do this, click the "Start" button > All Programs > Accessories > Command Prompt. A black DOS box will appear. Enter the following: "ping 192.168.1.1" (no quotes), and hit the Enter key. You will see 3 or 4 lines that start either with "Reply from ... " or "Request timed out." If you see "Reply from ...", your computer has found your router.
    10) Open your browser and point it to 192.168.1.1. This will take you to your router's login page. Leave the user name blank, and in the password field, enter "admin" (with no quotes). This will take you to your router setup page. Note the version number of your firmware (usually listed near upper right corner of screen). Exit your browser.
    If you get this far without problems, try the setup disk (or setup the router manually, if you prefer), and see if you can get your router setup and working.
    If you cannot get "Reply from ..." in step 9 above, your router is likely dead. Report back with this problem
    If you get a reply in step 9, but cannot complete step 10, then either your router is dead or the firmware is corrupt. Report back with this problem.
    If you need additional help, please state your ISP, the make and model of your modem, your router's firmware version, and the results of steps 9 and 10. Also, if you get any error messages, copy them exactly and report back.
    Please let me know how things turn out for you.

Maybe you are looking for

  • SWF Export, no font showing in Acrobat and zoom border problem (Acrobat & Reader) - Indesign CS6

    Hi Everyone, If anyone could help me on this that would be great, I've spent hours on the forums and manuals to no avail. I'm making an interactive PDF brochure in Indesign for one of our new products and I'm having issues (actual or perceived??!!) w

  • ADF-BC  multiple data sources

    Hi, we are having a requirement in which the model project has to be configured to more than one data source. The scenario is , the UI has to show the data from 8 different database instances. User can select the data source from UI, and accordingly

  • ARD 3.2.2 - Current Status - Screen Sharing Available

    Hello, like several other users i do have a problem with some of our mac client computers in ARD 3.2.2 Usually those Macs do display a Current Status in ARD like: Idle (time) or Available which we would call an expected state. Unfortunally some macs

  • I want IOS7 for my iPhone5, I don't have a MAC

    I have an iPhone 5 - I would like to install IOS-7 on it. Is it possible ? I do not have a MAC I do have an iPad (most current version)

  • Private VLan in 3550

    we are going to purchase cisco 3550 switches for our DMZs setup, we would like to utilise the Private VLAN (PVLAN) features in order to protect our individual server from any attack or any compromise servers. Can any body highlight some more on this