BADI to uncheck Invoice indicator and set net price as 0 while creating PO

Hi all,
Is there any BADI to uncheck the Invoice indicator and set the net price as "0" while creating Purchase order?
Im creating Purchase order in SRM and for certain vendor and material group net price should be set to zero and invoice receipt to be unchecked so that user wont get invoice receipt.
Can anyone tell me how to do this?
Thanks,
Amal

Pradeep,
Thanks for your response.
I will tell you the actual senario im having.
Using Shoppin Cart, user will order for some items in SRM and once it was completed PO will be created in R/3 system. Here(R/3) when i check in ME23 for the created PO, the IR flag has been set. But i want the PO should be created as IR flag not checked and amount is changed to ZERO for certain vendor and material group combination.
I searched some threads and found few function modules ( BBP_PD_PO_GETDETAILS, BBP_PD_PO_UPDATE, BBP_PD_PO_SAVE) which can be used in BADI BBP_DOC_CHANGE_BADI. But im not aware of the fields in which we can found vendor, material group, amount, IR indicator.
Can you please guide me how to resolve this?
This is my first task in SRM and im not aware of all terms in SRM.
SRM version: 4.0
R/3 version: ECC 5.0
Thanks,
Amal

Similar Messages

  • Get "Error in Net Price Calculation" error while creating a Purchase Order

    I am getting a error when i try to create a PO. Says "Error in Net Price Calculation item 00010(Please correct)"
    I have defined conditon records with the price for the material  and have also created info record.However the price in the info record (including currency i.e USDN is different than the one defined in the conditon records currency is USD).
    However the price is different from the one defined in info record and in material master.
    Where is it picking the price from also is there any way to edit the price in material master or info record ?
    Also when i view the condition records by using Tcode MEK1 i get the following error
    "Access Pricing Purchasing Z00q 20 contains no fields"
    I know Z001 is the access sequence
    Can any one tell me wht is this error message about ?
    Edited by: Dspsac on Jan 29, 2008 4:31 AM

    how can u maintain the condition record as well as info record for a vendor -material in the same time frame
    it is not possibe
    as info record is also 1 of the condition table
    if u have maintained the info record then system is going to fetch the data from there but point top notice is it depends on the validity of record
    system fetch the price from info record
    and the currency used is fom vendor master

  • Creation of Purchase order - set net price in display mode

    Hello,
    During the creation of purchase order from contract or DA (ME21N-ME59N),  I want to set the net price in display mode (under any conditions) .
    Is there a parameter setting or a point of modification to make ithis?
    Thanks for your contribution.
    JLC

    Check for existing screen layout name from below settings -
    Goto SPRO -> IMG Settings -> Materials Management -> Purchasing -> Purchase Order -> Define Document Types
    Check for Field selection key against the PO Type.
    Then goto below setting -
    SPRO -> IMG Settings -> Materials Management -> Purchasing -> Purchase Order -> Define screen layout at document level
    Select the screen layout / Field selection key in this setting and modify the field selection group Quantity and price. Make Price and price unit as display only as per your requirement.

  • BAPI to add item and its net price while creating opportunity

    is there any BAPI/FM  through which  i can add item and its net value to opportunity in CRM.
    Kindly help.
    Regards
    Sachin Yadav

    You can give a try with Customer Function like EXIT_SAPLMCB1_001

  • Net Price showing zero while using BAPI_PO_CREATE1 for me21n

    Dear All,
    I am using BAPI_PO_CREATE1 for ME21N. The problem is, after execution of the program the error msg it shows-
    No instance of object type PurchaseOrder has been created. External reference:
    Purchase order still contains faulty items
    Net price must be greater than 0
    The values are coming from excel file.
    Please tell me where I am doing wrong.
    With regards,
    Rosaline.

    Hi,
    Symptom
    You create a purchase order with BAPI_PO_CREATE1 or you add an item to an existing purchase order with BAPI_PO_CHANGE. You assign a value in field POITEM-NET_PRICE. However, this value is not transferred. If it was not possible for you to determine any conditions, the system generated the error message 06218 'Net price must be greater than 0'.
    Other terms
    BAPI_PO_CREATE1, BAPI_PO_CHANGE, price, net price, gross price, conditions, price determination, condition type, 06218, EKPO-NETPR, NETPR, POITEM-NET_PRICE, NET_PRICE, PO_PRICE, BAPI_PO_PRICE, BUS2012, PurchaseOrder.CreateFromData1, CreateFromData1, PurchaeOrder.Change
    Reason and Prerequisites
    This function has not been available up to now. You could also assign conditions via the condition tables.
    Read also Notes 399791, 428621, 529287, 578253 and 539950 for this.
    Solution
    The present note adds field PO_PRICE to table POITEM. PO_PRICE can have the values ' ', '1' or '2' with the following meaning:
        PO_PRICE = ' ': The price determination is carried out as before.
        PO_PRICE = '1': The value assigned in field NET_PRICE is transferred as a gross price, that is it is set in the condition type that is defined as a base price in the calculation schema. All other condition types remain unchanged. No conditions are copied from the last document.
        PO_PRICE = '2': The value assigned in field NET_PRICE is transferred as a net price, that is it is set in the condition type that is defined as base price in the calculation scheme. All other condition types are deleted.
    Note the following
    The following restrictions apply to field PO_PRICE:
        If you assign conditions via the BAPI interface, these are always transferred. This is carried out independently of the value that you assign in field PO_PRICE.
        If you add a new item to a purchase order with BAPI_PO_CHANGE, it does not suffice to fill field POITEM-NET_PRICE on item level. The corresponding currency must be specified explicitly on header level.
        You can only use field PO_PRICE during the creation of a purchase order item. If you want to change the price of an already existing item, you can only do this via the conditions.
        If you fill field POITEM-PO_PRICE, you must enter an 'X' in POITEMX-PO_PRICE so that the value is transferred.
    Correction
    The correction is made available via R/3 support package. If you want to implement the note manually, proceed as follows:
        1. Make sure that your system contains Notes 494759, 552189 and 578253.
        2. Create data type BAPI_PO_PRICE with the following attributes:
                        Short text:
                           Price transfer indicator: 1  = gross, 2 = net
                        Package: ME
                        Domain: BPUEB
        3. Extend structure BAPIMEPOITEM (directly after NO_ROUNDING):
                        Component: PO_PRICE
                        Component type: BAPI_PO_PRICE
        4. Extend structure BAPIMEPOITEMX (directly after NO_ROUNDING):
                        Component: PO_PRICE
                        Component type: BAPIUPDATE
        5. Extend structure MEPOITEM_DATA (directly after NO_ROUNDING):
                        Component: PO_PRICE
                        Component type: BAPI_PO_PRICE
        6. Extend structure MEPOITEM_DATAX (directly after NO_ROUNDING):
                        Component: PO_PRICE
                        Component type: BAPIUPDATE
        7. Implement the correction instructions in your system.
    regards,
    Ravi
    Edited by: Parupelly on Dec 14, 2011 1:30 PM

  • How to set standard quantity for po while creating idoc

    hi..
    i have a requirement to create an outbound idoc for PO in which i need to set a standard quantity as '1000'... plz tell me where to set the quantity,so that  the PO quantity is 1000 by default while creating PO...
    Plz help me asap

    Hello,
    Your requirement is not clear, why you want to change PO item quantity? anyway, If you want to post an IDOc with changing the PO item quantity, go to Customer exit EXIT_SAPLEINM_002 in IDOC_OUTPUT_ORDERS and change the quantity(MENGE) for each segment (E1EDP01) and modify the IDoc data (INT_EDIDD).
    Remember to create a Poject using CMOD and add this customer exit and activate, otherwise your code doesn't get triggered.
    Thanks
    RK

  • Can we Set the Default SAP Component while Creating Support Message

    Hi Friends,
        I Have got requirement like, when we create the support desk message from any application system by default the sap component should get selected which we have determined in Solman.Our Business secnario is too complex user give create the support message without giving the Sap Component or they give wrong sap Component, so we want to set the sap component get selected by default while creating the support desk message, guide me in solving this issue.
      Regards
        Charan

    I think your logic is reversed.  I think it's better to let users create messages from the application areas from which they are having the problem.  Based on the standard SAP component which defaults into the component field, the ticket can be routed to one of your 20 teams.  This is where the agent detemination rule for support team can be configured.  There are a number of message on the forum regarding support team configuration.  This way, if your 20 teams can't solve the problem (for example SAP defect) then the message can be forwarded directly to SAP using the correct component.  Good luck.

  • Final Invoice indicator not set for limt PO though same done in SRM system

    Hi,
    We are closing Standard and Limit PO through a program in SRM system. For standard PO it's working fine (the Final Invoice flag in ERP system is set checked with WBS element blocked), however when it come to Limit PO, it's giving an error message and not updating Final Invoice flag for the same WBS element though we have updated the final invoice flag in BBP_PDIGP as well as BBP_PDLIM tables in SRM system through the program.
    Regards,
    Ni3

    Hi,
    The error message I am getting is "User status LFI is active (WBS E.000804.02.02)" where in standard PO the same WBS is referred still the PO is getting closed.
    PS: I do not wish to create any customization.
    Regards,
    Ni3

  • Cannot set child's birth date while creating Apple ID for iOS 8 family sharing

    Just upgraded my iPhone 4S to iOS 8 and am in the process of setting up Family Sharing. I want to create an Apple ID for my 13-year old. For some reason iOS doesn't let me enter the birthday properly. It keeps rolling back to 18 September 2001 (exactly 13 years ago today). My kid's birthday is several months earlier.
    iOS does let me choose any later date, e.g. in November 2001 or 2011. But as soon as I choose a date earlier than 18 September 2001, iOS rolls back to 18 Sep 2001.
    Since children under 13 are not eligible, it seems that only children that are EXACTLY 13 years old today (happy birthday!) can get an Apple ID.
    Must be a bug, right?

    If they are 13 they would obtain a normal Apple ID (13 is the age cutoff historically for an Apple ID). They should create one normally and then you can associate it with your account. I don't know if purchase control will work with that.

  • Setting up new dbname/sid while creating oracle db from rman backups in 11g

    Hi all,
    I have rman backups and need to create another database from rman backups with different name... but it is unsuccessful..
    created instance with new db...
    running create new db connecting rman auxiliary sys/password@newdb
    run {
    SET NEWNAME FOR DATAFILE 1 TO 'F:\app\HOME\oradata\clonedb1\SYSTEM01.DBF';
    SET NEWNAME FOR DATAFILE 2 TO 'F:\app\HOME\oradata\clonedb1\SYSAUX01.DBF';
    SET NEWNAME FOR DATAFILE 3 TO 'F:\app\HOME\oradata\clonedb1\UNDOTBS01.DBF';
    SET NEWNAME FOR DATAFILE 4 TO 'F:\app\HOME\oradata\clonedb1\USERS01.DBF';
    SET NEWNAME FOR DATAFILE 5 TO 'F:\app\HOME\oradata\clonedb1\EXAMPLE01.DBF';
    SET NEWNAME FOR TEMPFILE 1 TO 'F:\app\HOME\oradata\clonedb1\TEMP01.DBF';
    DUPLICATE DATABASE TO clonedb
    pfile 'D:\TESTDELETE\initclonedb1.ora'
    BACKUP LOCATION 'F:\app\HOME\flash_recovery_area\orcl\'
    LOGFILE GROUP 1 ('F:\APP\HOME\ORADATA\ORCL\REDO01.LOG') SIZE 60M REUSE,
    GROUP 2 ('F:\APP\HOME\ORADATA\ORCL\REDO02.LOG.rdo') SIZE 60M REUSE,
    GROUP 3 ('F:\APP\HOME\ORADATA\ORCL\REDO03.LOG') SIZE 60M REUSE;
    Error it shown is in rman backup creation is as follows
    <part>>
    sql statement: alter system set db_name = ''ORCL'' comment= ''Modified by RMAN
    duplicate'' scope=spfile
    Oracle instance shut down
    Oracle instance started
    Total System Global Area 640286720 bytes
    Fixed Size 1376492 bytes
    Variable Size 314576660 bytes
    Database Buffers 318767104 bytes
    Redo Buffers 5566464 bytes
    Starting restore at 20-DEC-11
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=133 device type=DISK
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
    output file name=F:\APP\HOME\ORADATA\CLONEDB1\CONTROL01.CTL
    output file name=F:\APP\HOME\FLASH_RECOVERY_AREA\CLONEDB1\CONTROL02.CTL
    Finished restore at 20-DEC-11
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/20/2011 07:07:11
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01102: cannot mount databa
    se in EXCLUSIVE mode
    RMAN> EXIT
    how can i prevent rman setting db_name=orcl which is already exists in the db.. i need to create db from rman backups with different dbname...
    whould someone help me out, how can i create database from another database rman backups with different dbname/sid on same host..
    My pfile has new db_name , but while db creation rman setting to db_name to source dbname.. it should be new db name that i want create with new db name...
    is there any RMAN command to specify new DB name it should set while running
    sql statement: alter system set db_name = newdbname -- as part rman script execution...
    it appears to be i should not touch the soruce db.. i have access to only source db rman backups and need to create another db with different dbname/sid.. please do help...

    When you performing RMAN duplicate why you making your script so complicated?
    Your instance name and DB name can be different, But what is the contents in your pfile "D:\TESTDELETE\initclonedb1.ora" ? please do post
    Have you started any other services related to ORACLE? check in start --> run --> services.msc any other active oracles services, Make sure you have clonedb1.
    Startup in nomount
    check the connectivity to target server.
    SET NEWNAME FOR TEMPFILE 1 TO 'F:\app\HOME\oradata\clonedb1\TEMP01.DBF';Why you mentioning SET NEWNAME FOR DATAFILE ? You have option of db_file_name_convert/log_file_name_convert in case if your file system different in Target & auxiliary.
    BACKUP LOCATION 'F:\app\HOME\flash_recovery_area\orcl\'When you have backup in same location why you are mentioning this clause?
    First run duplicate from auxiliary server as
    rman target sys/*****@prod auxiliary /
    RMAN> duplicate target database to "db_name";
    Am not sure what you are trying to do. is it 11gR1 or 11gR2?
    You have option of duplicate from active database without having backup also..
    here some links please check it.
    http://docs.oracle.com/cd/E14072_01/backup.112/e10642/rcmdupdb.htm#BGBFDJHB
    RMAN 11GR2 : DUPLICATE WITHOUT CONNECTING TO TARGET DATABASE [ID 874352.1]
    knowledgespring      
         Newbie
    Handle:      knowledgespring
    Status Level:      Newbie (10)
    Registered:      Dec 26, 2007
    Total Posts:      243
    Total Questions:      77 (75 unresolved)
    So sad that forum was able to help only in two answers out of your 77 questions :(
    Edited by: CKPT on Dec 21, 2011 5:12 PM

  • Receive IDOC INVOIC even if GR based IV is flagged while creating purchase

    Hi,
    I created a Purchase order by selecting the flag for GR Based IV. Now I would like to receive Invoice before GR is created through IDOC via EDI. Is there any SAP note to receive and park the IDOC when the GR based IV is selected in PO.
    Regards,
    Sagar

    the programs that post the IDOC just do what they can do based on the information available in the IDOC itself, and it they cannot do it, then an error is issued and the IDOC fails.
    turn you process. instead of directly posting the idocs and wanting the failed ones go into the parked status, park all first and process then the parked invoices.
    check OSS Note 501524 - EDI: Parking incoming invoices by default

  • Setting user specific contract data while creating sales order using BAPI

    Hi all,
    I am creating sales order using BAPI - BAPI_SALESORDER_CREATEFROMDAT2.
    Now my problem is that there is no structure for contract data (i.e. VEDA), system automatically set contract data using customization values.
    I am doing some validations on cotract data in MV45AFZZ which fails, because these validations are performed on standard values, user specific values r not set.
    How to handle this issue, your small clue may help a lot.
    Regards,
    S@meer

    HI
      Pricing will be carried basing on the pricing
    procedure.
    Case1: Prices will be carried out automatically if
    necessary condition records are maintained for the
    condition type.
      For this you can go to Sales Order-> Item Conditions
    In the screen you can click on command button Analysis,
    which gives you the list of condition types associated
    to the pricing procedure. By clicking on the condition
    type you can know the action that has taken place.
    Case2: Manually forcing prices for Items.
      To do this, you have to populate ORDER_CONDITIONS_IN &
    ORDER_CONDITIONS_INX. Also note to identify the item
    numbers, you manually pass the item number for each item
    in the sales order, use the same item number for
    populating conditions.
      Parameters required:
    ORDER_CONDITIONS_IN:
      ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
    ORDER_CONDITIONS_INX:
      ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
       Hope the above info helps you. Do revert back if you
    need more info.
    Kind Regards
    Eswar

  • Net Price Control in Purchase Order

    Hi
    Purchase Order Net price is coming from Info Record.
    My company want that NO changes should be made in the PO net price by user while creating PO and accept price coming from Info record only.
    How to do this. Please help.
    Sunil Kolambkar

    Hi,
    Spro>Materials Management>Purchasing>Purchase Order>Define Document Types
    Here check the "Field Selection Key" against the PO doc type
    (ex: Standard NB doc type the "Field Selection Key" would be "NBF")
    Then go to
    Spro>Materials Management>Purchasing>Purchase Order>Define Screen Layout at Document Level
    Select the " Field Selection Key" of ur doc type..Just Double click on that
    then click on "Quantity and Price", there you can see the "Price and price unit" field..
    against that field you can see three options, Reqd.entry  Opt. entry  Display...
    Here tick the field "Display", So that You can get this field in Change mode in ME21N trx...
    If you want you can create a NEW Doc type & Use it..
    Thx
    Raju

  • Default setting for partial invoice indicator

    Hello Experts,
    We are on SRM 5.0 SP12 and ERP 6.0 SP13. When a split accounting purchase order is created in SRM and transfers over into SAP, partial invoices are automatically posting with the distribution of "Distribute to following row". In ME23N under account assignment, there are three options for partial invoice postings:
    1) Derive from account assignment category
    2) Distribute to following row
    3) Distribute proportionally
    We would like to default the third selection, "Distribute proportionally". Does anyone know where this setting can be changed or how to do this?
    I tried going into SPRO-> IMG-> MM-> Purchasing-> Account Assignment-> Maintain Account Assignment and changing the Partial Invoice selection on the account assignment from '2 u2013 Apportion IR quantities to GR quantities proportionately' to '1 u2013 Apportion IR quantities to GR quantities one after another'.  When I created a new split accounting purchase order in SRM and viewed the PO in ME23N, the partial invoice indicator still had a distribution of '1 Distribute to Following Row'.  Does anyone have any ideas about how to set up a default for the partial invoice indicator when a purchase order is coming from SRM?
    Thanks,
    Brett

    SAP was able to provide assistance on the issue.  Here are the details:
    The SRM always sends to ECC the "Distribute to Following Row" selected,
    and sometimes configuration changes in tcode OME9 have not effect,
    possibly due to the Support Package.
    To specify the correct option "Distribute Proportionally", it is necessary to use the Badi BBP_PO_INBOUND_BADI...
    The partial invoice indicator is set to '1' by default in SRM, it is
    standard behaviour, you can check it in the LBBP_BD_DRIVER_46AF15
    program. The functionality that allow has the value ´2´ to partial
    invoice indicator is exclusive to MM - R3 system.
    You have two possible solution to create from EBP to backend some PO
    documents with multiple account assignment and partial invoice
    indicator = 2 (Distribute Proportionally):
    a) To use the Badi BBP_ECS_PO_OUT_BADI to create the PO this way.
    ls_ct_bapi_poitem-PART_INV = '2'
    Effectively, this solution change the setting in the backend
    to 'Distribute Proportionally'.
    b) Partial invoice indicator can either be set in OME9 in the Backend
    for the posted account assignment category (e.g. K - cost center)
    or default using Backend Badi:
    BBP_PO_INBOUND_BADI
    BBP_POITEM-PART_INV
    -> Part_INV is a field of BBP_POITEM. In the backend BADI, if you
    look at the field of BBP_POITEM, you will find PART_INV. You
    have to use the BADI to set this field.
    OME9 was the tcode in MM to specify the partial invoice settings for each account assignment.  According to SAP, sometimes this works with SRM (since the default setting sent to ECC from SRM is "Distribute to following row") and sometimes it doesn't.  We ended up changing the partial invoice flag upon creation of the purchase order through the BADI mentioned above since the configuration changes did not remedy the issue.  Now the partial invoices are posting proportionally which has resolved all of our split accounting posting issues.
    Thanks,
    Brett

  • PO net price to be constant till the invoice-even if there is change in PIR

    Hi All,
             When a PO is created for material and the net price of the PO is 'X'. when the net price value is changed in the purchase info record to ' X-1'  . The invoice document corresponding to the PO would be 'X-1' . Please let me know, what configuration setting needs to be done for the invoice document to have 'X' price.
    Regards,
    PSS

    Dear pSS,
    As per i know, when you create a PO with ref to PIR, then the saved the PO, the you change the value in PIR, the PO net price won't change until you refresh the PO, and about invoice, its depend on your PO, is it GRbasedIV or not.

Maybe you are looking for

  • My imac restarts insteads of shut down

    hello i am new to the mac...so bare with me. i am using a 27" intel i7 mac os x lion, version 10.7.2 hmm ... i noticed from day one...that sometimes when i click the apple>shut down...it does everything like a shut down but it spins the dvd-r and res

  • Can my IPod 4th generation send messages to people who don't have an IPhone or IPod?

    I have updated my IPod and it isn't letting me send messages to other people who dont have an Apple Product. Why is that happening? Also my facetime isn't working. Why is that?

  • Insert a button that will paste a value from one cell to another

    I'm hoping to be able to insert a button on a form that, when clicked, will copy the values of certain cells and paste those values into other cells on the same form. I'm looking to insert another botton that, when clicked, will take the value in one

  • Insert command - missed space char

    Hello all, i try insert string with space char at end, for example: create table t1 ( f1 varchar (10) ) insert into  t1 values ('a ') select f1 & 'x' from t1 and query displays 'ax' not 'a x' (probably a bug). How can I avoid this? I can not delete s

  • Ejb System.out.println

    Does anyone know where System.out.println from a bean goes. I can't seem to find the data in any trace or log files??