Problem while creating PO using BAPI_PO_CREATE1

HAI TO ALL
I AM TRYING TO CREATE PO USING BAPI
ORDER IS SUCCESFULLY GENERATED, BUT THE CONDITIONS WHATEVER I PASS IS ARE REPEATING ,
EVEN WE CONFIGURED DEFAULT VALUES MAINTAINED IN TRANSCTION 'OMFI" AND MAINTAINED Default Values for Purchasing FOR PARAMETER IN PARAMETER TAB IN USER PROFILE,
HELP ME...
REGARDS,
SN

Hi Sid.
I'm having this same problems on creating PO Service. Did you solve it? How did you do that?
I'm using a PR and the Category is 'Y', and I cant find where is the problem.
The tables that I'm passing to the BAPI_PO_CREATE1 are:
POITEM/ POITEMX
POACCOUNT/ POACCOUNTX
POSERVICES
POSRVACCESSVALUES
Please, if you have any idea, let me know!
Tks a lot!
Renata

Similar Messages

  • Problem while creating assets using BAPI

    Use table enhancement BAPI_TE_ANLU
    Diagnosis :The BAPIs for creating and changing assets currently support only those customer enhancements that relate to the user fields created using SAP enhancement AIST0002.
    Can anybody give the appropriate solution why this error is coming while creating assets using BAPI.

    Looks like you are trying to transfer custom fields into the asset master data that were not added following the steps in enhancement AIST0002.
    Using EXTENSIONIN parameter, you can transfer user fields from the asset master record. However, it is not possible to transfer fields that are updated in user-defined tables. Only user fields that were defined using SAP enhancement AIST0002 and are automatically updated in table ANLU can be udpated in this way. This means you have to use table extension BAPI_TE_ANLU.
    Enhancement AIST0002 contains function module EXIT_SAPL1022_001 as a component in which user fields can be implemented.
    The documentation ( BAPIPAREX) of the structure that forms the basis for this parameter contains additional information about using this parameter.
    Please check how table ANLU has been enhanced and also go through the documentation of enhancement AIST0002.
    Regards,
    Shyam

  • Problem while Creating BOM using LSMW Direct Input

    Hi  all ,
    I am trying to create the BOM Using LSMW Direct Input Method .
    I am getting problem at step 9 that is Read Data.
    It is able to read the values from header and item files .
    but it is not able to write , so the Written is 0 always .
    I put the field names first in the flat file and correcponding values below it with tab delimited.
    Please let me know where the Problem would be.... I am trying this from long time ..
    Regards ,
    Raj

    hi ,
    Yes i am specify files i am attaching 2 files .
    ones is header and the other is line item data .
    my strucure is :
    Hi ,
    I am still getting problem while for writing the records after reading the data .....
    my header structure :
    STYPE
    MATNR
    WERKS
    SELAL
    STLAN
    DATUV
    ZTEXT
    my item structure :
    STYPE
    MATNR
    WERKS
    SELAL
    POSTP
    MENGE
    my header data :
    STYPE     MATNR     WERKS     SELAL     STLAN     DATUV     ZTEXT
    1     388     0110     20     1     06.01.2009     SAMPLE ZTEXT     
    my item data :
    STYPE     MATNR1     WERKS     SELAL     POSTP     MENGE
    1     388     0110     20     N     1234
    1     382     0110     20     N     12345
    Above text files are delimited by tabulator.
    Please guide me . The files are reading but unable to write .....
    Regards,
    Raj

  • Problem while creating queries using SQVI

    Guys,
    I have many diff versions of sap's. 4.6c, 4.7, 4.7uc, 5.0, 5.0uc and so on......
    I have to few queries in 4.7 in SQVI, i have to make it in sync in all the othr servers.
    I have created all of them in all servers, but while creating in 4.6c, when i am using option "table Join" while creating query in SQVI, the system doesnt take me to next screen.
    What could be the problem. Its going to next screen when i use option "table" but not when i use "table joins".
    Can v transport these queries ( i mean SQVI queries, not those in sq01 ).
    Helppp..................

    used table view

  • Net_PRICE problem while creating PO with BAPI_PO_CREATE1 ***ASAP

    Dear All,
    While creating PO with bapi BAPI_PO_CREATE1, The net price is not populating, though the logic is correct, as when i change the net price to some otrher value of in the bapi, while debugging, it is taking the Net price, but in general run, the price is over written by Gross price in PO, Please Help, Its Urgent.
    Any Sample codes are welcomed, where Net_price is used.
    Thanks in Advance..
    Rewards Guaranteed.

    Dear All,
    While creating PO with bapi BAPI_PO_CREATE1, The net price is not populating, though the logic is correct, as when i change the net price to some otrher value of in the bapi, while debugging, it is taking the Net price, but in general run, the price is over written by Gross price in PO, Please Help, Its Urgent.
    Any Sample codes are welcomed, where Net_price is used.
    Thanks in Advance..
    Rewards Guaranteed.

  • While creating PO using BAPI_PO_CREATE1 vendor batch number is not comming.

    Hi Friends,
    I am using BAPI "    'BAPI_PO_CREATE1' to create PO in my report.
    The PO's are getting created but i the vendor batch number is not found in the PO.
    Where as i am passing the vendor batch number.
             bapimepoitem-vendrbatch = '2'.
              bapimepoitemx-vendrbatch = 'X'.
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader          = bapimepoheader
          poheaderx         = bapimepoheaderx
          memory_uncomplete = 'X'
        IMPORTING
          exppurchaseorder  = v_po_number
        TABLES
          return            = bapiret2
          poitem            = bapimepoitem
          poitemx           = bapimepoitemx
          poschedule        = bapimeposchedule
          poschedulex       = bapimeposchedulx.
        Commit the transaction
      IF v_po_number NE space.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait   = 'X'
          IMPORTING
            return = bapiret2_c.
      ENDIF.
    Please reply urgently.
    Thanks Regards,
    Sandipan Jena

    Hi
    My answer is pure assumption.
    Please check the following OSS notes
    Note 758810 - BAPI_PO_CHANGE vendor batch and batch not visible
    Note 1230268 - Field Vendor Batch never filled for PO BAPIs
    Please take help from BASIS and SAP, before implementing the OSS note
    Regards
    Madhan D

  • Problem while createing record using plsqlEO

    Hi,
    I called API in insertRow() method of plsqlEO to create record and the primary key person_profile_id is the out parameter of this API and it'll generate by the API.
    But while submitting the page its throwing an error message as
    the attribute person_profile_id is required.
    So I couldn't able to create record. What might be the reason behind this?
    The insertRow method is given below,
    protected void insertRow()
    Diagnostic.println("Inside insertRow!!!!");
    Object obj = null;
    HzPartyV2Pub hzpartyv2pub = new HzPartyV2Pub();
    oracle.apps.ar.hz.v2api.HzPartyV2Pub.PersonRec personrec = new oracle.apps.ar.hz.v2api.HzPartyV2Pub.PersonRec();
    BigDecimal[] x_party_id = new BigDecimal[1];
    String[] x_party_number = new String[1];
    BigDecimal[] x_profile_id = new BigDecimal[1];
    String[] x_return_status = new String[1];
    BigDecimal[] x_msg_count = new BigDecimal[1];
    String[] x_msg_data = new String[1];
    Diagnostic.println("Before calling initializePersonRec");
    initializePersonRec(personrec);
    Diagnostic.println("After calling initializePersonRec");
    try
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)getOADBTransaction();
    OracleConnection oracleconnection = (OracleConnection)oadbtransactionimpl.getJdbcConnection();
    Diagnostic.println("Before calling createPerson");
    HzPartyV2Pub.createPerson(oracleconnection, "T", personrec, x_party_id, x_party_number,
    x_profile_id, x_return_status, x_msg_count, x_msg_data);
    Diagnostic.println("After API Call Return Status is:" + x_return_status);
    catch(Exception exception)
    Diagnostic.println("Inside Catch Exception: " + exception);
    checkErrors();
    How to solve this issue? please suggest.
    Thanks & Regards,
    Sagarika

    The SQL statement generated by TopLink is as follows -
    UPDATE PR_SUPP SET CNTC_PRSN_NAME = ''
    , REMK = 'Remark 123 !', LAST_CHNG_DTTM = {ts '2002-11-29 10:59:56.0'} WHERE ((S
    UPP_CODE = 'A0001') AND (LAST_CHNG_DTTM = {ts '2002-11-29 10:46:01.0'}))
    The coloumn name in the generated statement conform to the coloumn names in the table. The exception is being thrown for all 'update' queries for all objects in the application.

  • Problem while creating database using dbca

    Hi all,
    I am getting following error when I try to create a database (fresh installation) using dbca on linux ES4, oracle 10.2.0.1 (Rev2). Any help much appreciated.
    ORA-19624: operation failed, retry possible,
    ORA-19870: error reading backup piece /u01/app/product/10.2.0/db_1/assistants/dbca/templates/Seed_Database_8k.dbf
    ORA-19505: failed to identify file /u01/app/product/10.2.0/db_1/assistants/dbca/templates/Seed_Database_8k.dbf
    ORA-27037: unable to obtain file staus.
    Thanks,

    Hi,
    You saw if this file /u01/app/product/10.2.0/db_1/assistants/dbca/templates/Seed_Database_8k.dbf exists ?
    See if this link help you:
    database 10gR2 configuration assistant error
    Cheers

  • Version problem while creating PO using CO

    Hi All,
    I am not able to create a PO. The following is the error
    "Version 0 not defined for fiscal year 2007"
    The follow on trial of resolutions is as follows:
    Message "GF626", Execute function, Control area 1000, General version definition, ACTIVATION OF INDICATOR NOT PERMITTED Message KT 253.
    Please help me with a step by step resolution
    Regards,
    Kumar

    SPRO --- Logistics --- PS --- Costs --- create CO Version
    In this check whether u have done the "setting for each fiscal year" for ur version

  • Entity Attributes are not populating while creating EO using EO wizard.

    Hi,
    I am using JDeveloper version 10.1.3.3.0.3 and E-Business suite12.1.2.
    I am facing problem while creating EO using EO wizard.
    In Entity Object Editor Entity Attributes are not populating while creating EO.
    Please help me resolve this issue.
    Thanks & Regards,
    Sagarika

    Please ensure you click on Tables and Synonyms check box and select proper schema.
    Try to select the table from the list after this instead of writing as in 10.1.3 when we write table name it automatically selects from the list if it exists in the list.
    Thanks
    AJ

  • Scrollbar appearing while creating pdf using AlivePDF

    Hi,
    I am facing a problem while creating pdf using AlivePDF.
    I have a VBox on which I am adding multiple pages. If the content overflows it shows scrollbar. All this is working fine.
    [PHP]
    <mx:VBox x="0" y="80" width="705" height="560" id="content"></mx:VBox>
    [/PHP]
    When I create the pdf using the following code it shows scrollbar in  generated pdf (attached screenshot) while I want all the content without  scrollbar
    [PHP]
    var pg:DisplayObject;
    pg = content.getChildAt(i);
    var pdf:PDF;
    pdf = new PDF (Orientation.PORTRAIT, Unit.POINT, Size.LETTER);
    pdf.setDisplayMode(Display.FULL_WIDTH);
    pdf.addPage();
    pdf.addImage(pg, new Resize(Mode.FIT_TO_PAGE, Position.CENTERED ),0, 0, 0, 0, 0, 1,true,'PNG',100);
    [/PHP]
    Please suggest what changes should I make to fix this.

    If the report didn't change, then perhaps the data did. Check
    to make sure the data being supplied to the report is as expected.
    I have run into mysterious errors where an expected value was of
    the wrong type or a required value was now blank. It is also
    possible to have existing logical errors in an iif() or other
    dynamic evaluation expression that was not previously examined;
    until now. So, is there any unexpected or exceptional data the
    report cannot handle?

  • Problem creating basic views while creating materials using idocs?

    hello,
    I am facing an issue while creating materials using idocs. The problem is that the basic view does not get created whereas other views are present. The function module used is idoc_input_matma01 and the basic idoc type is MATMAS03.
    Looking for help. Thank you

    Hi Madhu,
    Actually i recieve an idoc from PI containing data required for cretion of the material via an idoc. This idoc is then processed to create the required material.
    The material gets created with appropiate data in various tables(mara, makt) but when we view material in mm03 we cant see the basic data views.

  • Problem while creating WBS elements using LSMW

    Hello experts,
    I am able to create Project Definitions using LSMW. (using recording)
    But there is a problem while creating WBS elements.
    Tcode CJ20 has table control and that will become problem for multiple rows (levels).
    Can anyone suggest a solution to mass upload WBS elements?
    Thanks for your valuable advice.

    Hi,
    Instead of using "BAPI_PROJECT_MAINTAIN", use following solution. We are using this solution and it is working pretty good.
    If the WBS element is already created and you want to create one more with same data, first get the WBS related information using BAPI_PROJECT_GETINFO as you are doing currently.
    I am using different sets of BAPIs to create project, create / change WBS element.
    I use function module from Function group CJ2001 ( Project related BAPIs ), CJ2054 ( WBS related BAPIs ) and PS_BAPI ( pre/post processing BAPIs ). There are specific order in which you need to execute these BAPIs.
    For example if you want to create / change the WBS element, the BAPIs sequence is:
    <b>1. BAPI_PS_INITIALIZATION
    2. BAPI_BUS2054_CREATE_MULTI ( to create  WBS )
             or
    2. BAPI_BUS2054_CHANGE_MULTI ( to change WBS )
    3. BAPI_PS_PRECOMMIT
    4. BAPI_TRANSACTION_COMMIT</b>
    Check the documentation of BAPI "BAPI_BUS2054_CREATE_MULTI " to see how these function modules work.
    Let me know if you need further information.
    Regards,
    RS

  • Getting error while creating subsite using custom template in sharepoint2013

    Hi,
    I am getting the following error while creating subsite using custom template in sharpoint2013. even publish features are enabled.
    Please suggest me on this.
    Thanks in advance.

    You need to enable the PerformancePoint Service Site Collection Features(PPSMonDatasourceCtype)
    on the target site collection. go to site action > site settings> site collections features > and enable it and now try again.
    Similar case: http://imughal.wordpress.com/2012/09/20/dependency-feature-ppsmondatasourcectype-id-05891451-f0c4-4d4e-81b1-0dabd840bad4-for-feature-bicenterdataconnections-id-3d8210e9-1e89-4f12-98ef-643995339ed4-is-not-activated-at-this-scop/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Problem while creating sales order

    Hi
       We are facing a problem while creating a sales order in R/3. The sales order number is getting generated. But we are not able to view the same in the backend meaning it is not there in the database. Any inputs would be of help.
    regs
    Steve

    Hi everybody,
    I've got a problem with this too. I use the BAPI_SALESORDER_CREATEFROMDAT2 with BAPI_TRANSACTION_COMMIT and the webdynpro shows me the document number created in R3 with a Success message. But when I go to R3 and try to display the created sales order, it doesn't exists. So... Maybe I'm doing something wrong with the BAPI_TRANSACTION_COMMIT. ¿Can anybody help me with this?
    The code I use is this:
    When the user pushes the SAVE button in the WebDynpro, this code executes:
        //@@begin onActionSave(ServerEvent)
         wdThis.wdGetSOCreaCustController().executeBapi_Salesorder_Createfromdat2();
         wdThis.wdGetSOCreaCustController().executeBapi_Transaction_Commit();
        //@@end
    In the custom Controller I've got the code for those executions:
      public void executeBapi_Salesorder_Createfromdat2( )
        //@@begin executeBapi_Salesorder_Createfromdat2()
         try {
              wdContext.currentBapi_Salesorder_Createfromdat2Element().modelObject().execute();
         catch (Exception ex) {
              wdComponentAPI.getMessageManager().reportException(ex.getMessage(), false);
         wdContext.nodeOutput().invalidate();
        //@@end
      public void executeBapi_Transaction_Commit( )
         try {
              wdContext.currentBapi_Transaction_CommitElement().modelObject().execute();
         catch (Exception ex) {
              wdComponentAPI.getMessageManager().reportException(ex.getMessage(), false);
         wdContext.nodeOutput().invalidate();   
        //@@end
    ¿Is something wrong? ¿Is something missing?

Maybe you are looking for

  • Viewing more than 9 Forms from the Window Menu Item

    Hi, I would like to know if you can list more than 9 Forms at one time from the Windows Menu Item before you have to select the MORE WINDOWS option to display the entire list of currently opened forms. Can this be set in the .mmb or some config file?

  • IPhoto Video problem

    Great! Create a video in half an hour! An hour later and I still can't even find my videos from iPhoto, can't import them and on top of it some of my photo's in iPhoto are greyed out. Fantastic first experience! Tried the solutions that worked for so

  • How to Have Reader Users Add their  picture

    I want Reader users to be able to add a personal photo to a pdf. Is this capability made via scripting in the original pdf. Anyone know the code and how to use it?

  • Error while calling the Graph

    Hi, When I am trying to open the Graph through BEx Browser, getting an error 'Error When Calling Up IGS (Error opening an RFC connection.)'. Same report is working fine in my development server. Please advise if I need to do any settings for this. Th

  • If i have forgotten my security answers and not receiving mails on my email id, how do i change my password?

    i have forgotten my security answers and not receiving mails on my email id, how do i change my password?