Using BAPI_PO_CREATE1 to create a PO - MoT from contract is overwriting input

We're using BAPI    BAPI_PO_CREATE1  to create a PO with reference to a conract.
On that contract, we assign a MoT Group - a MoT value that corresponds to several MoT values.
For instance, MoT 91 allows MoT 07, 08, and 09.
When we pass a value to the OIC_MOT field of 07, the PO is trying to create using MoT = 91.
We are using the ExtensionIn structure and are marking the appropriate OIC_MOT = 'X' in the ExtenionInX structure.
any ideas?

We found the issue - it turns out that if you do NOT pass origin state/country to the BAPI, all of the external details are copied from the contract.

Similar Messages

  • Error using BAPI_PO_CREATE1 for creating PO with services

    Hi,
    I'm getting an error saying 'EnTER account assignment data for item' when I use BAPI_PO_CREATE1 and try to create POs with Service Items. I have filled all the required details, even then the system throws up this error message. Thanks for any help.
    Regards,
    Vijay

    what have you passed to the table POACCOUNT? and POACCOUNTX?
    Regards,
    Ravi

  • Error using BAPI_PO_CREATE1 to create po with ref to PR

    Hi all,
         I am using FM BAPI_PO_CREATE1 to create a PO wrt PR. but while executing getting an error.
    No instance of object type PurchaseOrder has been created. External reference:
    Purchase order still contains faulty items
    Purchase requisition 10002040, item 00010, does not exist
    Purchase requisition 10002040, item 00010, does not exist.
    Any suggestions to solve this problem.
    Thanks in advance,
    Neela

    Hi ,
    i got the error message that 'Please maintain services sor limits'  message se 029.I'm using bapi (BAPI_PO_CREATE1) and pass preq_no and preq_item in poitem structure.can u help me in this issue?

  • Using RMAN to create single instance standby from 2 node rac

    Any advice on the RMAN command to take a non catalog full rman backup from a two node 11gr2 rac node and use it to create the STANDBY single instance.
    The RAC two node instance is in ASM (Linux)
    The Physical Standby is Normal File System (Linux)
    The command that I get from Metalink suggests:
    rman target sys/passwd@primary catalog RMAN/RMAN@RMAN auxiliary sys/passwd
    RMAN> run {
    allocate auxiliary channel C1 device type disk;
    duplicate target database for standby;
    When I took the rman backup I did not use catalog. Please suggest how to accomplish the same task without catalog. Thanks

    Listener.ora
    SID_LIST_STANDBY_LSNR =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = KEMETRAC.respecti.com)
    (SID_NAME = STANDBY)
    (ORACLE_HOME = /u02/standby/11.2.0.3/STANDBY)
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u02/standby/11.2.0.3/STANDBY)
    (PROGRAM = extproc)
    ADR_BASE_STANDBY = /u02/standby/11.2.0.3
    TRACE_LEVEL_STANDBY = OFF
    STANDBY_LSNR =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby.respecti.com)(PORT = 2012))
    LOGGING_STANDBY = OFF
    ...... Tnsnames.ora
    STANDBY.RESPECTI.COM,STANDBY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby.respecti.com)(PORT = 2012))
    (CONNECT_DATA =
    (SERVICE_NAME = STANDBY.respecti.com)
    KEMETRAC1.respecti.com, KEMETRAC1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.respecti.com)(PORT = 2012))
    (CONNECT_DATA =
    (SERVICE_NAME = kemetrac1.respecti.com)
    KEMETRAC2.respecti.com, KEMETRAC2 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.respecti.com)(PORT = 2012))
    (CONNECT_DATA =
    (SERVICE_NAME = kemetrac2.respecti.com)
    # TAF 2 Node RAC
    KEMETRAC.respecti.com, KEMETRAC =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (FAILOVER = ON)
    (LOAD_BALANCE = ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.respecti.com)(PORT = 2012))
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.respecti.com)(PORT = 2012))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = kemetrac.respecti.com)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    (RETRIES = 180)
    (DELAY = 5)
    The Standby has been started up with nomount.
    standby> rman target sys/[email protected] auxiliary sys/pw
    Recovery Manager: Release 11.2.0.3.0 - Production on Wed Jan 18 18:16:46 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
    connected to target database: KEMETRAC (DBID=1448030790)
    connected to auxiliary database: KEMETRAC (not mounted)
    RMAN>
    RMAN> run {
    2> duplicate target database for standby from active database dorecover nofilenamecheck;}
    Starting Duplicate Db at 18-JAN-12
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/18/2012 18:23:06
    RMAN-05501: aborting duplication of target database
    RMAN-06217: not connected to auxiliary database with a net service name
    RMAN>

  • Create PO(release order) from contract

    Hi,
       I have created a contract using me31k with one item,then I creted a relese order PO with same item.when I enter another item in my relase order PO which is not there in the my contract,here system allow me  to add item  and save without any problem.Why system does not stop this? If it is standard behaviour,then how to prevent ?.
    For this issue,can some body throw some light on this issue,please?
    With Regards,
    Jaheer

    Hi,
       The release order means the PO item created with reference to the contract item. There can be multiple items in the PO in which some items can be with reference to contract - these items eventually becomes the release orders and other items can be without reference to contract.
       In short, you can add multiple items in PO where some items can be with reference to contract item and some are not. This is standard behavior.
    Regards,
    AKPT

  • Using PHP to Create a Poster Frame from a Video

    I have a PHP script which I am using to grab a poster frame from an arbitrary video ($video). Currently it breaks the video into all its frames, counts the files, and grabs the middle one...
    system("mplayer -vo png $video");
    system("mv " . sprintf("%08d.png", floor(system("ls -1 | wc -l") / 2)) . " /home/.");
    The issue with the code above is that, until completion, it fills up a large portion of the hard drive on the server. I know I can figure out the number of the middle frame with the code below, but I do not know of a way to pull out the middle frame without pulling out all the other frames too...
    $fps = system("x=$(mplayer -msglevel all=0 -identify -vo null -frames 0 $video 2>&1 | grep ID_VIDEO_FPS) ; echo ${x#*=}");
    $length = system("x=$(mplayer -msglevel all=0 -identify -vo null -frames 0 $video 2>&1 | grep ID_LENGTH) ; echo ${x#*=}");
    $midframe = floor($fps * $length / 2);
    Does anyone have any ideas? At the very least, is there a way I can read each frame but only save the middle one?

    tony5429 wrote:Yeah; I may end up going with a solution like that. I had hoped to be able to seek to a specific frame. Really I'd like the script to be very robust - for example, if I pass it a 30-fps video that is one second long, I'd like to get the #15 frame...
    Google told me mplayer can't seek to a specific frame, but does 1/100th of a second seeks. I'm not sure how precise the duration estimates are.

  • How to use java to create an XML document from an SQL database?

    Hi,
    I'm a complete novice at XML and have only recently started programming in Java.
    I'm currently trying to develop a package in Java 1.1.8 which requires a set of very specifically formatted XML documents. These documents would need to be updated regularly by people with no knowledge of Java and I would like to make it as simple as possible.
    Since the data will already be in an SQL database, I thought it might be possible to generate the XML documents from the data using a small Java application, but I'm not too sure how to go about this or if this is even possible! Any help or pointers in the right direction would be very much appreciated.
    Louise

    Do you have the option of upgrading to a newer version of the JDK?
    JAXB does what you are wanting very easily. Also there are tools if you don't want to write your own. JAXB is available as early release on Sun's site as is the newest JDK. Otherwise, you have to design a factory and interface that will do this for you (which is what JAXB basically is in a very simplified view).

  • Using DDE to create an Excel spreadsheet from forms

    I'm able to write text to the sheet, but I've not been able to find a way to automatically set the width of the columns based on my data. It would be a big help if someone could even just point me to the correct manual to read.
    Thanks,
    Ron

    OLE2 Package similar to client_ole2He didn't talk a bout an OLE2-package similar to client_ole2. He talked abouit THE OLE2-package (which in fact is the same which is called "behind the scene" in client_ole)
    If your OAS is located on a windows-machine, you can use the standard-OLe"-package from forms. But, for that, all operations are executed on the server. So, if for example you do OLE-operations on excel, excel will be started on the server. WIth that, there will be no choice for a user to "interact" when something goes wrong and there are some Excel-fragment snot correctly closed. So, i would be cautious to use this, especialy if you have a lot of users.

  • Using bapi_po_create1 to create PO with return item - Order Combination

    Hello,
    There's a shipping tab that appears in a purchase return item, and in it there's a flag called Order Combination.
    Only i can't seem to find a way to change that flag using this BAPI, nor using bapi_po_change.
    Any ideas?
    Thank you in advance.
    Duarte

    Hi
    Its a setting that you maintain in the customer master reord that defaults it.
    So if you want this to be flagged for some vendors and for some no flag the you need to maintain accordingly in the Customer master data  - Sales are data  Shipping tab
    If you want it to be maintained through BAPI then populate the same in  POSHIPPINGEXP structure
    Thanks & Regards
    KK

  • Creating po using bapi_po_create1

    i am using bapi_po_create1 to create po's..po number and item(posnr) numbers are external numbers..so we have External order no range configured based on order type...
    Do i need create external number ranges for posnr too..?
    For some reason even if pass posnr = '9999', it's creating po's with '10','20'..etc.. is there a flag i need to set in BAPIMEPOITEM???
    Thanks
    Siva.

    Hi,
    Check the sample code, and Observe the Bold Code. may be you missed that.
    REPORT  zpo_test             .
    *DATA DECLARATION
    CONSTANTS : c_x VALUE 'X'.
    *Structures to hold PO header data
    DATA : header LIKE bapimepoheader ,
           headerx LIKE bapimepoheaderx .
    *Structures to hold PO account data
    DATA : account LIKE bapimepoaccount OCCURS 0 WITH HEADER LINE ,
           accountx LIKE bapimepoaccountx OCCURS 0 WITH HEADER LINE .
    *Internal Tables to hold PO ITEM DATA
    DATA : item LIKE bapimepoitem OCCURS 0 WITH HEADER LINE,
           itemx LIKE bapimepoitemx OCCURS 0 WITH HEADER LINE,
    *Internal table to hold messages from BAPI call
    return LIKE bapiret2 OCCURS 0 WITH HEADER LINE,
    *Internal table to hold messages from BAPI call
    pocontractlimits LIKE bapiesucc OCCURS 0 WITH HEADER LINE.
    DATA : w_header(40) VALUE 'PO Header',
           purchaseorder LIKE bapimepoheader-po_number,
           delivery_date LIKE bapimeposchedule-delivery_date.
    DATA : ws_langu LIKE sy-langu.
    *text-001 = 'PO Header' - define as text element
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS : company LIKE header-comp_code DEFAULT '122' ,
                 doctyp LIKE header-doc_type DEFAULT 'NB' ,
                 cdate LIKE header-creat_date DEFAULT sy-datum ,
                 vendor LIKE header-vendor DEFAULT '2000000012' ,
                 pur_org LIKE header-purch_org DEFAULT 'PU01' ,
                 pur_grp LIKE header-pur_group DEFAULT '005' .
    *sociedad like HEADER-COMP_CODE default '122' ,
    *vendedor like HEADER-SALES_PERS default 'sale person'.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS : item_num LIKE item-po_item DEFAULT '00010',
                 material LIKE item-material DEFAULT '12000000' ,
                 tipo_imp LIKE item-acctasscat DEFAULT 'K' ,
    *            pos_doc like ITEM-ITEM_CAT default 'F' ,
                 shorttxt LIKE item-short_text DEFAULT 'PRUEBA BAPI' ,
                 grup_art LIKE item-matl_group DEFAULT '817230000' ,
                 plant LIKE item-plant DEFAULT '3001' ,
                 mpe LIKE item-trackingno DEFAULT '9999' ,
    *contrato like ITEM-AGREEMENT default '4904000003' ,
    *quantity like ITEM-QUANTITY default 1 .
                po_unit LIKE item-po_unit DEFAULT 'EA'.
    SELECTION-SCREEN END OF BLOCK b2.
    * Par?mnetros de imputaci?n
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-004.
    PARAMETERS : centro LIKE account-costcenter DEFAULT '1220813150',
                 cuenta LIKE account-gl_account DEFAULT '6631400' ,
                 num_pos LIKE account-po_item DEFAULT '10' ,
                 serial LIKE account-serial_no DEFAULT '01' ,
                 ind_imp LIKE account-tax_code DEFAULT 'I2' .
    SELECTION-SCREEN END OF BLOCK b3.
    START-OF-SELECTION.
    *DATA POPULATION
      ws_langu = sy-langu. "Language variable
    *POPULATE HEADER DATA FOR PO
    *HEADER-COMP_CODE = sociedad .
      header-doc_type = doctyp .
      header-vendor = vendor .
      header-creat_date = cdate .
      header-created_by = 'TD17191' .
      header-purch_org = pur_org .
      header-pur_group = pur_grp .
      header-comp_code = company .
      header-langu = ws_langu .
    *HEADER-SALES_PERS = vendedor .
    *HEADER-CURRENCY = 'DOP' .
    *HEADER-ITEM_INTVL = 10 .
    *HEADER-PMNTTRMS = 'N30' .
    *HEADER-EXCH_RATE = 1 .
    *POPULATE HEADER FLAG.
      headerx-comp_code = c_x.
      headerx-doc_type = c_x.
      headerx-vendor = c_x.
      headerx-creat_date = c_x.
      headerx-created_by = c_x.
      headerx-purch_org = c_x.
      headerx-pur_group = c_x.
      headerx-langu = c_x.
    *HEADERX-sales_pers = c_x.
    *HEADERX-CURRENCY = c_x.
    *HEADER-ITEM_INTVL = c_x.
    *HEADER-PMNTTRMS = c_x.
    *HEADER-EXCH_RATE = c_x.
    *HEADER-EXCH_RATE = c_x.
    *POPULATE ITEM DATA.
      <b>item-po_item = item_num.</b>
      item-quantity = '1'.
    *ITEM-MATERIAL = material .
      item-short_text = 'prueba bapi_po_create1'.
    *ITEM-TAX_CODE = ''.
      item-acctasscat = 'K' .
    *ITEM-ITEM_CAT = 'D' .
      item-matl_group = '817230000' .
      item-plant = '3001' .
      item-trackingno = '99999'.
      item-preq_name = 'test'.
    *ITEM-AGREEMENT = '' .
    *ITEM-AGMT_ITEM = ''.
      item-quantity = '1' .
      item-po_unit = 'EA'.
    *ITEM-ORDERPR_UN = 'EA'.
      item-conv_num1 = '1'.
      item-conv_den1 = '1'.
      item-net_price = '1000000' .
      item-price_unit = '1'.
      item-gr_pr_time = '0'.
      item-prnt_price = 'X'.
      item-unlimited_dlv = 'X'.
      item-gr_ind = 'X' .
      item-ir_ind = 'X' .
      item-gr_basediv = 'X'.
    *ITEM-PCKG_NO = '' .
      APPEND item.
      CLEAR item.
    *POPULATE ITEM FLAG TABLE
    <b>  itemx-po_item = item_num.
      itemx-po_itemx = c_x.</b>
    *ITEMX-MATERIAL = C_X.
      itemx-short_text = c_x.
      itemx-quantity = c_x.
    *ITEMX-TAX_CODE = C_X.
      itemx-acctasscat = c_x.
    *ITEMX-ITEM_CAT = c_x.
      itemx-matl_group = c_x.
      itemx-plant = c_x.
      itemx-trackingno = c_x.
      itemx-preq_name = c_x.
    *ITEMX-AGREEMENT = C_X.
    *ITEMX-AGMT_ITEM = c_x.
      itemx-stge_loc = c_x.
      itemx-quantity = c_x.
      itemx-po_unit = c_x.
    *ITEMX-ORDERPR_UN = C_X.
      itemx-conv_num1 = c_x.
      itemx-conv_den1 = c_x.
      itemx-net_price = c_x.
      itemx-price_unit = c_x.
      itemx-gr_pr_time = c_x.
      itemx-prnt_price = c_x.
      itemx-unlimited_dlv = c_x.
      itemx-gr_ind = c_x .
      itemx-ir_ind = c_x .
      itemx-gr_basediv = c_x .
      APPEND itemx. CLEAR itemx.
    *POPULATE ACCOUNT DATA.
      account-po_item = item_num.
      account-serial_no = serial .
      account-creat_date = sy-datum .
      account-costcenter = centro .
      account-gl_account = cuenta .
      account-gr_rcpt = 'tester'.
      APPEND account. CLEAR account.
    *POPULATE ACCOUNT FLAG TABLE.
      accountx-po_item = item_num .
      accountx-po_itemx = c_x .
      accountx-serial_no = serial .
      accountx-serial_nox = c_x .
      accountx-creat_date = c_x .
      accountx-costcenter = c_x .
      accountx-gl_account = c_x .
      account-gr_rcpt = c_x.
      APPEND accountx. CLEAR accountx.
    *BAPI CALL
      CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader         = header
          poheaderx        = headerx
        IMPORTING
          exppurchaseorder = purchaseorder
        TABLES
          return           = return
          poitem           = item
          poitemx          = itemx
          poaccount        = account
          poaccountx       = accountx.
    *Confirm the document creation by calling database COMMIT
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
      wait = 'X'
    * IMPORTING
    * RETURN =
    END-OF-SELECTION.
    *Output the messages returned from BAPI call
      LOOP AT return.
        WRITE / return-message.
      ENDLOOP.
    Check the Bold code.
    Regards
    vijay

  • Hi Experts, a questions about using BAPI_PO_CREATE1(BAPI_PO_CREATE obsolet)

    Hi Experts,
    I use BAPI_PO_CREATE1 to create a purchase order(stock transfer order - UD), but does anyone know how to assign parameters to the interface of the BAPI? but when I go to transaction ME21N I enter the purchase org, group, material number, quantity, plant, and supplying plant and I click save, then a purchase order is generated but how can I use this BAPI to generate purchase order? can anyone tell me in detail?
    thank you in advance.
    Kind regards
    Dawson

    Hi,
    Please find the code below in order to create a PO from BAPI_PO_CREATE1
    Example of population of BAPI interface in the Function Builder
    Parameter: POHEADER
    COMP_CODE = 1000
    DOC_TYPE = UB
    ITEM_INTVL = 00001
    VENDOR = 0000001000
    PMNTTRMS = 0001
    PURCH_ORG = 1000
    PUR_GROUP = 001
    CURRENCY = EUR
    Parameter: POHEADERX
    COMP_CODE = X
    DOC_TYPE = X
    ITEM_INTVL = X
    VENDOR = X
    PMNTTRMS = X
    PURCH_ORG = X
    PUR_GROUP = X
    Parameter: POITEM
    PO_ITEM = 00001
    MATERIAL = 100-100
    PLANT = 1000
    STGE_LOC = 0001
    QUANTITY = 15.000
    TAX_CODE = V0
    ITEM_CAT = 0
    ACCTASSCAT = K
    Parameter: POITEMX
    PO_ITEM = 00001
    MATERIAL = X
    PLANT = X
    STGE_LOC = X
    QUANTITY = X
    TAX_CODE = X
    ITEM_CAT = X
    ACCTASSCAT = X
    Parameter: POSCHEDULE
    PO_ITEM = 00001
    SCHED_LINE = 0001
    DELIVERY_DATE = 02.12.2002
    QUANTITY = 6.000
    PO_ITEM = 00001
    SCHED_LINE = 0002
    DELIVERY_DATE = 03.12.2002
    QUANTITY = 5.000
    PO_ITEM = 00001
    SCHED_LINE = 0003
    DELIVERY_DATE = 04.12.2002
    QUANTITY = 4.000
    Parameter: POSCHEDULEX
    PO_ITEM = 00001
    SCHED_LINE = 0001
    PO_ITEMX = X
    SCHED_LINEX = X
    DELIVERY_DATE = X
    QUANTITY = X
    PO_ITEM = 00001
    SCHED_LINE = 0002
    PO_ITEMX = X
    SCHED_LINEX = X
    DELIVERY_DATE = X
    QUANTITY = X
    PO_ITEM = 00001
    SCHED_LINE = 0003
    PO_ITEMX = X
    SCHED_LINEX = X
    DELIVERY_DATE = X
    QUANTITY = X
    Parameter: POACCOUNT
    PO_ITEM = 00001
    SERIAL_NO = 01
    QUANTITY = 15.000
    GL_ACCOUNT = 0000400000
    COSTCENTER = 0000001000
    CO_AREA = 1000
    Parameter: POACCOUNTX
    PO_ITEM = 00001
    SERIAL_NO = 01
    QUANTITY = X
    GL_ACCOUNT = X
    COSTCENTER = X
    CO_AREA = X
    Parameter: POCOND
    ITM_NUMBER = 000001
    COND_ST_NO = 001
    COND_TYPE = PB00
    COND_VALUE = 79.900000000
    CURRENCY = EUR
    CURRENCY_ISO = EUR
    COND_UNIT = KG
    COND_P_UNT = 1
    CHANGE_ID = U
    Parameter: POCONDX
    ITM_NUMBER = 000001
    COND_ST_NO = 000
    ITM_NUMBERX = X
    COND_TYPE = X
    COND_VALUE = X
    CURRENCY = X
    CHANGE_ID = X
    Parameter: POPARTNER
    PARTNERDESC = OA
    LANGU = EN
    BUSPARTNO = 0000001100
    PARTNERDESC = GS
    LANGU = EN
    BUSPARTNO = 0000001200
    PARTNERDESC = PI
    LANGU = EN
    BUSPARTNO = 0000001000
    Do not forget to call BAPI_TRANSACTION_COMMIT after bapi call.
    KR Jaideep,

  • How to Park or place PO as on-hold using BAPI_PO_CREATE1

    Hi Gurus:
    I am using BAPI_PO_CREATE1 to create a PO from a custom developed Java application.
    The business is requesting that the PO should be Parked or put in the On_Hold status because they may not have all the requisite information at the time of creating the PO. The idea is to get a PO number even though all the information is not yet available.
    After getting all the required information, the buyer will go through the SAP GUI to update and create the PO from the Parked PO.
    Is there a flag in the BAPI BAPI_PO_CREATE1 that can be used to Park the PO?
    Appreciate your feedback.
    Thanks

    Hi Mandar:
    Thank you very much for your response. I am not trying to mark a line item as deleted or lock a line item.
    The requirement is to be able to create a PO and park it or keep it on hold status when all the information is not available - yet get a PO number for some other purpose.
    I know we can park a requisition and a PO but am not aware of how this can be accomplished when using the BAPI BAPI_PO_CREATE1.
    Once again, thanks for taking time and responding.

  • Using Jsp to create a crystal report

    Hi,
    I am using Jsp to create a crystal report from an oracle database.To create a new report document,i am using the ReportClientDocument class in the
    "com.crystaldecisions.sdk.occa.report.application.ReportClientDocument " package.
    I am using this code:
        ReportClientDocument rpt=new ReportClientDocument ();
                       rpt.newDocument();The report application server running on my machine does not support this.
    I have to use an IReportAppFactory interface method which is part of the package com.crystaldecisions.sdk.occa.managedreports.*,, in order to create a new report document.Can anbody help be know how to use this interface in a Jsp??
    Any help would be appreciated.
    Thanks,

    <p>Hi Tim,</p><p>      For security reasons we do not save the database password with the report. There are a few ways to solve what you are trying to do:</p><ol><li>Use the Create Viewer JSP page wizard to auto-generate the code. You will need to use the API option and select the option to <strong>"Log on to existing data connections" </strong>as well as the option to <strong>"Connect the CrystalReportPageViewer" </strong>(Note: I suspect that the reason you had a blank page the first time you tried this is because you did not have an Output option selected) <br /><br />The code that is generated will provide you with the ability to pass in the database authentication and then launch the report in the viewer.<br /><br /></li><li>The other option is to use a JNDI Connection at runtime. If you setup a JNDI Data Source you should have the ability to store the database authentication with the Data Source. To have the report use a JNDI connection at runtime you will need to set the name of the JNDI Data Source using the Properties View of the database in the Report Designer.</li></ol><p>Anyway, give this a shot and let me know how you make out.</p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <strong><a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a></strong>          </p>

  • Problem in Conditions while using BAPI_PO_CREATE1

    Hi All
    I am using BAPI_PO_CREATE1 to create purchase Order. When I am changing calculation type for condition type's system not picking the correct amount through BAPI.
    For e.g. for condition type 'FRB1' (Freight Value) I have maintain the amount 10.00 in condition value for calculation type 'B' (fixed amount). But when I pass calculation type 'A' i.e. Percentage, BAPI overwrites the amount to 1.00%.
    I Want to pass the amount 10.00 as it is with calculation type '%'. Kindly suggest how to do it.
    Regards,
    Pradip

    Hi All
    I am using BAPI_PO_CREATE1 to create purchase Order. When I am changing calculation type for condition type's system not picking the correct amount through BAPI.
    For e.g. for condition type 'FRB1' (Freight Value) I have maintain the amount 10.00 in condition value for calculation type 'B' (fixed amount). But when I pass calculation type 'A' i.e. Percentage, BAPI overwrites the amount to 1.00%.
    I Want to pass the amount 10.00 as it is with calculation type '%'. Kindly suggest how to do it.
    Regards,
    Pradip

  • Creating release order from contract

    Hello
    I tried to create a relase order from contract. But it gave me the message
    "Partner XXXX is not authorized to release from the contract"
    In the customization of the contract type WK1 I have maintained the setting as A for the field check partner authorization.

    HI,
    Pl find solution on
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/55fdbb545a11d1a7020000e829fd11/content.htm
    Vrajesh

Maybe you are looking for

  • How to confirm a successful LUN rebuild , after raid 5 Array rebuild. Disk Fail

    I've been running a  ESXI 5.5 host  with various linux ,  BSD, and Windows VM's, recently had a Host kernel Panic as a result of SAS drive failure. HP proliant ML 350 G6 with a P410i raid controller, replaced HDA re-ran SMART smart to configure array

  • I couldnt update my mac os x 10.6.8. to 10.8

    i have downloaded mac os x 10.8 but now i am using 10.6.8 snow lepord but i cant able to updat eit "says  ur not compatiable

  • Problem to import MOV files

    Hi, I have a problem to import mov files from my hard disk (coming from a Casio Exelim ZR100 @ 1920x1080, 30 pic/sec. 44kHz, codec: H.264/AVC ). I tried different project setups - doesn`t work . I get a common failure message. MTS file import works..

  • Color Separations

    Hi there,  I know this topic has been visited several times by others but I am having a hard time finding them through the forum searches. I am trying to print color separations for screen print through cs5 (previously I was using cs2)  I have Acroba

  • How to get back my application ?

    Hi everybody... I created an application in htmldb.oracle.com and made preferences as run application only after completing my whole project. Now i am unable to see my application in the application builder nor am unable to recollect the application