DIAPI for Product Tree

Hi all,
I found out that DI API doesn't provide property 'WareHouse' for Product Tree. It always gets the default WH from item master data. Using UI API, we can change the WH, whereas we cannot do that using DI API?
Does SBO know about this? Are they going to add the properties? If I add a new productTree using DI API then update the record in the database, is it recommended? will it cause any problem?
Advises and suggestions are appreciated. Thanks.
regards,
erwine

I wouldn't write to the database.  It might not mess anything up, but it might, and you might not find it until it is too late. 
I'd recommend - if the WH is taken from the Item, change the Item WH then change it back after you create the Product Tree.

Similar Messages

  • DTW Production tree headers - price list

    I have 2000+ production Bom's headers that I would like to update via DTW. I want to change the price list on the header. The field on the OITT file is PriceList but the DTW template for production trees does not have this field on it. I know the DTW production tree lines template has price list & price fields on them to update ITT1 but not the header. Does anyone know the field name to use to update the price list number on the headers by DTW please?

    Hi Gordon,
    Thanks for the reply. It wasn't the answer I would have liked but that's the way it is sometimes.
    Regards,
    Stuart J.

  • Product trees- Lines

    DTW
    Product trees
    ProductTrees_Lines1 template
    what are the mandatory fields here? If possible, a sample data for each field
    RecordKey
    LineNum     
    Comment     
    Currency     
    IssueMethod     
    ItemCode     
    ParentItem     
    PriceList     
    Price     
    Quantity     
    Warehouse
    Edited by: SU Vijay on Sep 18, 2008 1:19 PM

    hi,
    here are the example template_lines you want :
    1     1     1     1     2     2     2     2
    0     1     2     3     0     1     2     3
    item1     item2     item3     item4     item1     item2     item3     item4
    EUR     EUR     EUR     EUR     EUR     EUR     EUR     EUR
    im_Backflush     im_Backflush     im_Manual     im_Manual     im_Backflush     im_Backflush     im_Manual     im_Manual
    item D3     item D4     item A1     item A2     item B     item B1     item B2     item B5
    1     1     1     1     1     1     1     1
    10     8     8     8     8     8     8     8
    1     1     1     1     1     1     1     1
    01     01     01     01     01     01     01     01
    The sequence is as same as the template i.e. begin from record key and end with warehouse code
    Rgds,

  • 11.5.10.2 to R12.1.1 upgrade : AutoPatch warning : Product Data File $APPL_TOP/admin/*prod.txt does not exist for product

    Hello Sir,
    OS version : AIX 6.1
    DB version : 11.2.0.3
    EBS version : 11.5.10.2
    As a part of 11.5.10.2 to R12.1.1 upgrade, I am applying merged patch (9179588:R12.AD.B) with 9477107:R12.AD.B and patch 7461070(R12.AD.B.1 upgrade driver).
    I can see AutoPatch warning messages during adpatch session as below so I have not yet started this merged patch. Please suggest.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/patches/R1211AD/merge>adpatch
                         Copyright (c) 2002 Oracle Corporation
                            Redwood Shores, California, USA
                             Oracle Applications AutoPatch
                                     Version 12.0.0
    NOTE: You may not use this utility for custom development
          unless you have written permission from Oracle Corporation.
    Attention: AutoPatch no longer checks for unapplied pre-requisite patches.
    You must use OAM Patch Wizard for this feature. Alternatively, you can
    review the README for pre-requisite information.
    Your default directory is '/fmstop/r12apps/apps/apps_st/appl'.
    Is this the correct APPL_TOP [Yes] ?
    AutoPatch records your AutoPatch session in a text file
    you specify.  Enter your AutoPatch log file name or press [Return]
    to accept the default file name shown in brackets.
    Filename [adpatch.log] : adpatch_u_merged_R12AD11.log
    You can be notified by email if a failure occurs.
    Do you wish to activate this feature [No] ?
    Please enter the batchsize [1000] : 2000
    Please enter the name of the Oracle Applications System that this
    APPL_TOP belongs to.
    The Applications System name must be unique across all Oracle
    Applications Systems at your site, must be from 1 to 30 characters
    long, may only contain alphanumeric and underscore characters,
    and must start with a letter.
    Sample Applications System names are: "prod", "test", "demo" and
    "Development_2".
    Applications System Name [FMSTEST] : FMSTEST *
    NOTE: If you do not currently have certain types of files installed
    in this APPL_TOP, you may not be able to perform certain tasks.
    Example 1: If you don't have files used for installing or upgrading
    the database installed in this area, you cannot install or upgrade
    the database from this APPL_TOP.
    Example 2: If you don't have forms files installed in this area, you cannot
    generate them or run them from this APPL_TOP.
    Example 3: If you don't have concurrent program files installed in this area,
    you cannot relink concurrent programs or generate reports from this APPL_TOP.
    Do you currently have files used for installing or upgrading the database
    installed in this APPL_TOP [YES] ? YES *
    Do you currently have Java and HTML files for HTML-based functionality
    installed in this APPL_TOP [YES] ? YES *
    Do you currently have Oracle Applications forms files installed
    in this APPL_TOP [YES] ? YES *
    Do you currently have concurrent program files installed
    in this APPL_TOP [YES] ? YES *
    Please enter the name Oracle Applications will use to identify this APPL_TOP.
    The APPL_TOP name you select must be unique within an Oracle Applications
    System, must be from 1 to 30 characters long, may only contain
    alphanumeric and underscore characters, and must start with a letter.
    Sample APPL_TOP Names are: "prod_all", "demo3_forms2", and "forms1".
    APPL_TOP Name [drix10] : drix10 *
    You are about to apply a patch to the installation of Oracle Applications
    in your ORACLE database 'FMSTEST'
    using ORACLE executables in '/fmstop/r12apps/apps/tech_st/10.1.2'.
    Is this the correct database [Yes] ?
    AutoPatch needs the password for your 'SYSTEM' ORACLE schema
    in order to determine your installation configuration.
    Enter the password for your 'SYSTEM' ORACLE schema:
    The ORACLE username specified below for Application Object Library
    uniquely identifies your existing product group: APPLSYS
    Enter the ORACLE password of Application Object Library [APPS] :
    AutoPatch is verifying your username/password.
    The status of various features in this run of AutoPatch is:
                                               <-Feature version in->
    Feature                          Active?   APPLTOP    Data model    Flags
    CHECKFILE                        Yes       1          1             Y N N Y N Y
    PREREQ                           Yes       6          6             Y N N Y N Y
    CONCURRENT_SESSIONS              No        2          2             Y Y N Y Y N
    PATCH_TIMING                     Yes       2          2             Y N N Y N Y
    PATCH_HIST_IN_DB                 Yes       6          6             Y N N Y N Y
    SCHEMA_SWAP                      Yes       1          1             Y N N Y Y Y
    JAVA_WORKER                      No        1          -1            Y N N Y N N
    CODELEVEL                        No        1          -1            Y N N Y N N
    Identifier for the current session is 2987
    Reading product information from file...
    Reading language and territory information from file...
    Reading language information from applUS.txt ...
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/eaaprod.txt
    does not exist for product "eaa".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/abmprod.txt
    does not exist for product "abm".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/evmprod.txt
    does not exist for product "evm".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ipdprod.txt
    does not exist for product "ipd".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/zfaprod.txt
    does not exist for product "zfa".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/zsaprod.txt
    does not exist for product "zsa".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/cssprod.txt
    does not exist for product "css".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/meprod.txt
    does not exist for product "me".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/xnmprod.txt
    does not exist for product "xnm".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/xncprod.txt
    does not exist for product "xnc".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/xnsprod.txt
    does not exist for product "xns".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/fptprod.txt
    does not exist for product "fpt".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/okrprod.txt
    does not exist for product "okr".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/cueprod.txt
    does not exist for product "cue".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ibaprod.txt
    does not exist for product "iba".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ozpprod.txt
    does not exist for product "ozp".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ozsprod.txt
    does not exist for product "ozs".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/rlaprod.txt
    does not exist for product "rla".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/vehprod.txt
    does not exist for product "veh".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/rhxprod.txt
    does not exist for product "rhx".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/imtprod.txt
    does not exist for product "imt".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ahmprod.txt
    does not exist for product "ahm".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/okbprod.txt
    does not exist for product "okb".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/okoprod.txt
    does not exist for product "oko".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/xniprod.txt
    does not exist for product "xni".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/jtsprod.txt
    does not exist for product "jts".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/amfprod.txt
    does not exist for product "amf".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/cunprod.txt
    does not exist for product "cun".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    Reading database to see what industry is currently installed.
    Reading FND_LANGUAGES to see what is currently installed.
    Currently, the following language is installed:
    Code   Language                                Status
    US     American English                        Base
    Your base language will be AMERICAN.
    Setting up module information.
    Reading database for information about the modules.
    Saving module information.
    Reading database for information about the products.
    Reading database for information about how products depend on each other.
    Reading topfile.txt ...
    Saving product information.
    Trying to obtain a lock...
      Attempting to instantiate the current-view snapshot...
      No baseline bug-fixes info available. Will attempt next time.
         **************** S T A R T   O F   U P L O A D ****************
    Start date: Sun Aug 04 2013 18:45:12
    0 "left over" javaupdates.txt files uploaded to DB: Sun Aug 04 2013 18:45:12
    0 patches uploaded from the ADPSV format patch history files: Sun Aug 04 2013 18:45:12
    Uploading information about files copied during the previous runs ...
    0 "left over" filescopied_<session_id>.txt files uploaded to DB: Sun Aug 04 2013 18:45:12
         ****************** E N D   O F   U P L O A D ******************
    End date: Sun Aug 04 2013 18:45:12
    Enter the directory where your Oracle Applications patch has been unloaded
    The default directory is [/fmstop/patches/R1211AD/merge] :
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    I checked under 11i $APPL_TOP/admin directory, I can see only one izuprod.txt file apart from applprod.txt.
    drix10:/fmstop/fmstest/fmstestappl/admin>ls -lrt *prod.txt
    -rwxr-xr-x    1 appltest dba          231650 Oct 30 2004  applprod.txt
    -rwxr-xr-x    1 appltest dba            4966 Sep 21 2007  izuprod.txt
    R12 code tree is newly installed so there is only applprod.txt
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin>ls -lrt *prod.txt
    -rwxr-xr-x    1 appltest dba          226340 Jul 29 15:19 applprod.txt
    Please suggest if I can ignore these warning to proceed with applying merged patch.

  • Another user-modified table 'Product Tree' (OITT) - Error message

    Hi
    Our B1 2005A SP01 PL48 sometimes shows the following error message when trying to change a BOM, even if this error is not possible.
    Another user-modified table 'Product Tree' (OITT) (ODBC -2039) [Message 131-183]
    What can I do, except for deleting and recreating the BOM?
    Thanks
    Franz

    Hi Franz,
    Please check these threads to find anything in common:
    Another user-modified table  'Items' (ODBC -2039)
    Another User modified Table (ODBC -2039) - Sales order
    In Purchase Order
    Re: Warehouse alerts not popping up.
    Thanks,
    Gordon

  • Another user-modified table  'Product Tree' (OITT)

    Hi
    I get the following message when I try to add an item to a certain BOM:
    - Another user-modified table  'Product Tree' (OITT) (ODBC -2039)  [Message 131-183]
    Do I have to log this problem with SAP or is there an 'easier' solution?
    Thanks
    Franz

    Hi Franz,
    It could be a possible Database correction issue. It would be better if the issue is opened to SAP Support for further help and investigation into the issue.
    Regards,
    Jitin

  • About ODMr for product design and development.

    how ODMr can be used to find patterns of desingers' behaviors when they create new design for a product?
    In general, designers tend to change their design to satisfy needs required by customers or technicians.
    Is ODMr able to find which design parameters are most contributive to the performance of a product?
    Is it ok to use Decision Tree if I have hypothesis space for desing parameters and training data?
    I want to use ODMr to improve R&D process.
    But I'm sure it is a smart way to use ODMr for product design and development.
    If anyone has good idea or other algorithm available for that field, please let me know~~
    Have fun~!

    I would think if you are going to run both of those programs at the same time, or even one at a time, a system with discrete graphic would be a better fit for you.
    The next question is if you are doing web design do you really need a retina display. At this time only apple has them so everyother computer viewing your web designs wouldn't see the difference, if there is any to begin with.

  • Issue for production via SAP Business Objects

    Hi all,
    I would like to create Issue for production from SAP Business Object. I am using C#.net. I did not find it in DIAPI
    Is there any way ????
    Issue is urgent
    Thanks in advance

    Hello Manish,
    IT worked for me, you can try it.
    SAPbobsCOM.Documents ldoc_RecHdr = (SAPbobsCOM.Documents)oCompany.GetBusinessObject(BoObjectTypes.oInventoryGenExit);
                   ldoc_RecHdr.DocDate = Convert.ToDateTime(DTPPostingDate.Value);
                    ldoc_RecHdr.Reference2 = txtRefNo.Text;
                    ldoc_RecHdr.Comments = richtxtRemark.Text;
                    ldoc_RecHdr.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items;
                    for (int i = 0; i < DataGrid.RowCount; i++)
                        ldoc_RecHdr.Lines.BaseEntry = Convert.ToInt32(DataGrid.Rows[i].Cells[0].Value);
                        ldoc_RecHdr.Lines.BaseType = Convert.ToInt32("202");
                        ldoc_RecHdr.Lines.BaseLine = i;
                        ldoc_RecHdr.Lines.Quantity = Convert.ToDouble(DataGrid.Rows[i].Cells[3].Value);
                        ldoc_RecHdr.Lines.WarehouseCode = DataGrid.Rows[i].Cells[5].Value.ToString();
                        ldoc_RecHdr.Lines.Add();
                    if (ldoc_RecHdr.Add() != 0)
                        string error = oCompany.GetLastErrorDescription();
                        MessageBox.Show(error.ToString());
                    else
                        MessageBox.Show("Record Inserted Successfully!");

  • Hierarchy Query For Full Tree ?

    Hi Everyone,
    I want to write a hierarchy query which should give me the whole path starting from root node to each individual nodes by passing value of any individual tree member. below is the sample data and the output what i am expecting. and also the output what i am getting right now from my query.
    CREATE TABLE RELATION (PARENT VARCHAR2(1),CHILD VARCHAR2(1) PRIMARY KEY);
    --Data for the tree which starts from the root 'A'
    Insert into RELATION (PARENT, CHILD) Values (NULL,'A');
    Insert into RELATION (PARENT, CHILD) Values ('A', 'B');
    Insert into RELATION (PARENT, CHILD) Values ('A', 'C');
    Insert into RELATION (PARENT, CHILD) Values ('B', 'D');
    Insert into RELATION (PARENT, CHILD) Values ('B', 'E');
    Insert into RELATION (PARENT, CHILD) Values ('D', 'F');
    Insert into RELATION (PARENT, CHILD) Values ('C', 'G');
    --Data for the tree which starts from the root 'H'
    Insert into RELATION (PARENT, CHILD) Values (NULL,'H');
    Insert into RELATION (PARENT, CHILD) Values ('H', 'I');
    Insert into RELATION (PARENT, CHILD) Values ('H', 'J');
    Expected Output by passing values as 'C' which gives the whole tree where the node C is present:
    A
    A->B
    A->C
    A->B->D
    A->B->E
    A->C->G
    A->B->D->F
    My Query:
    select
    sys_connect_by_path(child,'->') tree
    from
    relation
    --where (parent ='C' or child='C') 
    start with
    parent is null
    connect by
    prior child = parent
    order by tree;
    Output of my query:
    ->A
    ->A->B
    ->A->B->D
    ->A->B->D->F
    ->A->B->E
    ->A->C
    ->A->C->G
    ->H
    ->H->I
    ->H->J
    I am not able to add the condition for the query so that i can get only rows of the tree where the nod 'C' is present. i am just getting whole data from the table with all the unwanted trees.
    Can anyone please help me in getting the correct output.
    Thank you in advance.

    odie_63 wrote:
    Another solution, involving analytics : Hierarchical queries and analytic functions do not mix well together in 10g:
    SQL> select * from v$version
      2  /
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL> SELECT tree
      2  FROM (
      3    select sys_connect_by_path(child,'->') tree,
      4           max(case when child = 'C' then connect_by_root(child) end) over() root1,
      5           connect_by_root(child) root2
      6    from relation
      7    start with parent is null
      8    connect by prior child = parent
      9  )
    10  WHERE root1 = root2
    11  ;
      from relation
    ERROR at line 6:
    ORA-00600: internal error code, arguments: [qctcte1], [0], [], [], [], [], [], []
    SQL> Although it is much better in 11g:
    SQL> select * from v$version
      2  /
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> SELECT tree
      2  FROM (
      3    select sys_connect_by_path(child,'->') tree,
      4           max(case when child = 'C' then connect_by_root(child) end) over() root1,
      5           connect_by_root(child) root2
      6    from relation
      7    start with parent is null
      8    connect by prior child = parent
      9  )
    10  WHERE root1 = root2
    11  ;
    TREE
    ->A
    ->A->B
    ->A->B->D
    ->A->B->D->F
    ->A->B->E
    ->A->C
    ->A->C->G
    7 rows selected.
    SQL> SY.

  • Problem Posting Receipt From Production and Issue for Production

    Hi Everyone,
    I am posting Receipt from Production and Issue for Production through DIAPI in SAP Business One 2007A SP00 PL03.
    I am using following lines of code
    oDocument.Lines.SetCurrentLine(0);
    oDocument.Lines.BaseEntry = int.Parse(BaseEntry);
    oDocument.Lines.Quantity = double.Parse(Quantity);
    lRetCode = oDocument.Add();
    The Document adds perfectly but when I open the document in SAP Business One i am not able to see the Order Number at Line level on which this document was Based.
    I identified the problem being Order Number Column being binded to BaseRef field hence form is not able to Show the Order Number and we cannot set BaseRef via DIAPI since the property to set that field is not exposed.
    I donot want to update the table through a Recordset Update Query. I would appreciate if the property to set that field is exposed by SAP or any other workaround can be put forward by anyone who has faced the same problem.
    Thanks
    Kapil

    Do you need to set
    oDocument.Lines.BaseType = 17 (if this is sales order)
    and then baseentry = baseentry....etc
    If you bind the base entry correctly it should alwasy shows the base document on both database as well as front end. I have never had any problem with this
    Sincerely

  • About the support of commsuite 7 for two tree LDAP

    Hi all,
    We are giong to move our old IMS LDAP (ver 5.2) to a new hardware with DS version 6.3.1. Existing DS version 5.2 holds enterprise
    data in a two tree structure. ( Ex : dc=example,dc=com and o=isp) . Both trees carry user data. Documents released for
    commsuite 7 says the following,
    "Messaging Server and Calendar Server have introduced a one-tree structure, where there is no Domain Component (DC) Tree.
    All domain information is held in domain nodes in the Organization Tree."
    Paralley to the LDAP move the IMS version will also be upgraded to commsuite7. In this scenario how can I manage
    this whole process with the existenace of two tree structure. Any document regarding this issue?
    Appreciate your guidance..........
    Thanks

    nusagnar wrote:
    ### User data should not exist in the Domain Component tree.
    Yes. True. I knew it. Sorry about my bad terminology used in writing the sentence " Both trees
              carry user data.". Think this two-tree structure as a one configured properly. As I obeserved
              ( In Installation log files) this system uses schema 2. Not schema 1. How can I confirm which schema it used?Which system are you referring to? The iMS5.2 system or the Comm-Suite-7 system?
    iMS5.2 only supported Schema 1.
    For Comm-Suite-7 you can check by running:
    -bash-3.00# ldapsearch -b "o=comms-config" objectclass=sunCommsMetaData
    version: 1
    dn: cn=CommServers,o=comms-config
    objectClass: top
    objectClass: sunCommsMetaData
    sunkeyvalue: dssetup_ver=6.4
    sunkeyvalue: dssetup_rev=5.05
    sunkeyvalue: dcsuffix=o=isp
    sunkeyvalue: ugsuffix=o=isp
    sunkeyvalue: mlsuffix=o=mlusers
    sunkeyvalue: schematype=2
    cn: CommServersNote: "schematype=2"
    ### Which documents? Please provide the URL.
    Please read the title " Changes in the DIT Structure" in
    http://wikis.sun.com/display/CommSuite/Understanding+Communications+Suite+Product+Requirements+and+Considerations
    If you are using Access Manager then you need to use Schema 2. If you aren't using Access Manager then you can use Schema 1 or Schema 2. This is clearly stated in the "Schema Requirements" section of that document.
    ### Schema 2 is a single-tree structure. Comm-Suite-7 supports Schema 1.
    I understood it differently in this way after referring the doc above. Both schema 1 and 2 supports one-tree
         and two-tree systems.( I can create a new suffix with DC components ( Ex: dc=example,dc=com) in DS version 6.3
         with schema 2 ).I haven't come across any customers who are using a two-tree Schema 2 environment. So going down this path is potentially risky.
    But support for two-tree system depends on the LDAP parameters specified when preparing the DS
         using comm_dssetup.pl. Can you please guide me to find a good document on this?I don't understand your issue. If you are preparing a fresh Directory Server install with the comm_dssetup.pl tool and you want to use schema 1, then simply choose schema 1 when asked.
    ### Lets imagine there is a two tree structure ( whether it is schema1 or schema2 will depend on your next reply )
    and required to migrate to a DS system with schema 2 for commsuite 7. What is the possibility of doing it ? Do you have a specific requirement for using Schema 2 or not?
    Regards,
    Shane.

  • Error during goods receipt of Finished goods for production order

    hi friends
    pls help me iam struggle this issue and mentioned the issue .
    when i do goods receipt for production order system getting error like
    No price could be determined for material/batch FG/ plant ZTP
         Message no. CK 465
    Diagnosis
         The system could not calculate a price for material/batch FG/ in plant
         ZTP for valuation view 0, because none of the valuation strategies in
         valuation variant 007 was successful.
    System Response
         User-defined error management enables you to specify whether the message
         is an error message, a warning message or an information message.
         o   If you have defined the message as a warning message or an
             information message, the costing item will be entered in the cost
             estimate with a value of zero.
    If you have defined the message as an error message, the cost
    estimate contains an error or errors.
    -   In the case of a material cost estimate, the system sets the
        status KF.
    -   If it is a cost estimate without quantity structure, or base
        object cost estimate (that is, a unit cost estimate),  the
        system cannot proceed with costing until you have corrected the
        errors.
    If the system issues a termination message, the cost estimate cannot
    be processed, and processing is terminated.
    procedure
        o   Check the master data for material/batch FG/ in plant ZTP.
        o   If you have authorization for Customizing, check the valuation
            strategy for materials in valuation variant 007.
        Note
        If the message is a warning message or an information message, there is
        a danger that materials with errors will be ignored by the system.
        If, because of this, you issue a warning message and at the same time
        include materials with a zero value in cost estimates, you can make the
        following settings for these materials in the costing view of the
        material master:
      1.  Enter a very low price in the planned price 1, 2 or 3 fields
          manually, for instance 0.01 USD. These prices are used for costing
          purposes only; they are not read by other applications.
      2.  Enter the highest price unit possible, for example 10000.
          Note: If you enter a new price unit that is higher than the costing
          lot size, the system increases the costing lot size accordingly.
      3.  Change the valuation strategy, such as strategy 4, where you could
          enter the planned price field in which you entered the low price.
          The system now costs as follows:
          Using the valuation strategy, the system finds planned price 1, 2 or
          3. Due to the low price and high price unit, the system rounds the
          value to zero. However, the cost estimate still obtains status KA
          (free of errors), and no error message is issued.
          This procedure can be used for all materials that have caused error
          message CK465 to be issued.
    with regards
    dinesh
    Edited by: code acess on Nov 8, 2010 4:06 AM

    hi ragavendra,
    this is dinesh .i maintained the costing view and planned price. but again i have same error.so please reply me where i missed the data
    with regards
    dinesh
    Edited by: code acess on Nov 9, 2010 4:01 AM

  • IPC pricing gross value for products in catalog

    Hello all,
    In ISA b2b application I need to add a new column with gross value for products in catalog. Here is how I've tryed :
    </i>
    <!-- CBI Added gross price -->
                   <td align="right" >
                        <%IPCItem priceRef2;
                         try {
                          priceRef2 = (IPCItem) item.getItemPrice().getPriceInfo()
                                       .getPricingItemReference();
                          if (priceRef2 != null) {
                               DimensionalValue grossValue = priceRef2
                                                 .getGrossValue();
                                       %>
                                       <%=grossValue.getValueAsString() + " "
                                                 + grossValue.getUnit()%>
                        <% } else {
                             %><isa:translate key="z_catalog.isa.nogrossvalue"/> <% }
                         } catch (Exception e) {
                         %><isa:translate key="z_catalog.isa.ipcexception"/>
                         <%} %>
                   </td>
                   <!-- CBI Added gross price -->
    </i>
    The problem is that the gross value is the same with the net value.
    I've try also using <i>item.getItemPrice().getPriceInfo().getAllPriceInfos()</i>
    where item is WebCatItem, and retrive an array of PriceInfo (s) with only one PriceInfo object which has the type <b>netValue</b>.
    Then in the backendobject-config.xml I've modify the priceTypes attribute value for BO "CatPriceCalc", but without any succes. Here is the snippet:
    <i><businessObject type="PriceCalc" name="CatPriceCalc" className="com.sapmarkets.isa.backend.crm.webcatalog.pricing.PriceCalculatorCRMIPC" connectionFactoryName="JCO" defaultConnectionName="ISAStateless">
                        <params>
                             <!-- CBI gross value -->
                             <b><param name="priceTypes" value="totalNetValue totalGrossValue"/></b>
                             <!-- for allowed values see defined constants in com.sapmarkets.isa.backend.boi.webcatalog.pricing.PriceType -->
                             <param name="doItemCalls" value="true"/>
                             <!-- set this to true if you want to have additional call of CRM_ISA_PRICING_ITMDATA_GET when doing item pricing -->
                        </params></i>
    Do you know how to solve this problem? Or why is not working.
    Any help (soultion, docs, links) is very wellcome and rewarded.
    Thank you
    Bogdan

    Hi Bodgan,
       It seems that some values like tax, discount are not being calculated by IPC as required parameters are not sufficient enough to differentiate between the two. You can run catalog pricing analysis and see what are the gross and net pricing value. You can update the extra parameters to IPC by extending the class you mentioned and modify backend config xml file to use that class for ISA.
    Regards.
    Vivek

  • IPC Pricing routine for Product Family Margin in Quotation is not working

    Hi,
    I am working on the IPC Pricing Routine to calculate Item's Product Family Margin in the Quotation. 
    Process followed:
    Step 1:  Created a Group condition ZPFM for Product Family Margin and assigned to the pricing procedure. 
    Step 2:  Created a Value Routine to determine ZPFM's Condition Rate and Condition Value.
    Logic: 
              1.  Collect (Sum Of)  the Cost (ZSVC) and the Subtotal 3 of the items which are in same Material Group.
               2.  Assign the ZPFM Condition Value = Sum of Subtotal 3 - Cost.
    Issue:  The condition value for ZPFM is calculating correct for all line items except the last item.  I am getting some junk value always to the last item. If I delete the last time, again next last item is giving wrong value.  The calculation value in the routine debugging log (SM53) is showing correct value.  However, assigning the wrong value.  No other routines have been assigned to this condition type in the pricing procedure. 
    Routine Code:
    package stanley.pricing.userexits.val;
    import java.math.BigDecimal;
    import com.sap.spe.pricing.customizing.PricingCustomizingConstants;
    import com.sap.spe.pricing.transactiondata.PricingTransactiondataConstants;
    import com.sap.spe.pricing.transactiondata.userexit.IPricingConditionUserExit;
    import com.sap.spe.pricing.transactiondata.userexit.IPricingItemUserExit;
    import com.sap.spe.base.logging.UserexitLogger;
    import com.sap.spe.pricing.transactiondata.userexit.ValueFormulaAdapter;
    //import com.sap.spe.pricing.transactiondata.userexit.IPricingCondition;
    public class Z_CondValueRoutine730 extends  ValueFormulaAdapter{
       private static UserexitLogger uelogger =
              new UserexitLogger(Z_CondValueRoutine730.class);
      public BigDecimal overwriteConditionValue(IPricingItemUserExit pricingItem,
             IPricingConditionUserExit pricingCondition) {
      // Variable Declarations.
      BigDecimal conditionValueZCVC=PricingTransactiondataConstants.ZERO;
      BigDecimal conditionValueZCVCAccrual=PricingTransactiondataConstants.ZERO;
      BigDecimal subTotal3=PricingTransactiondataConstants.ZERO;
      BigDecimal subTotal3Accrual=PricingTransactiondataConstants.ZERO;
      if(pricingCondition.getConditionTypeName().equalsIgnoreCase("ZPFM")){
                IPricingItemUserExit[] prItems;
                prItems = pricingItem.getUserExitDocument().getUserExitItems();
                String materialGroup = pricingItem.getAttributeValue("MATL_GRP");
                uelogger.writeLogDebug("  Material Group  :"+materialGroup);
                for (int i=0;i<prItems.length;i++){
                     String materialGroup1 = prItems[i].getAttributeValue("MATL_GRP");
                     if (materialGroup1.equalsIgnoreCase(materialGroup)){
                          subTotal3 = prItems[i].getSubtotal(PricingCustomizingConstants.ConditionSubtotal.SUBTOTAL_3).getValue();
                          subTotal3Accrual = subTotal3Accrual.add(subTotal3);
                          IPricingConditionUserExit[] conditionsForCumulation = prItems[i].getUserExitConditions();
                          for (int j = 0; j < conditionsForCumulation.length; j++) {
                               if(conditionsForCumulation[j].getConditionTypeName()==null) {
                                   continue;
                               else if ( conditionsForCumulation[j].getConditionTypeName().equalsIgnoreCase("ZCVC")){
                                    conditionValueZCVC = conditionsForCumulation[j].getConditionValue().getValue();
                                    conditionValueZCVCAccrual = conditionValueZCVCAccrual.add(conditionValueZCVC);
                BigDecimal conditionValueZPFM=PricingTransactiondataConstants.ZERO;
                conditionValueZPFM = subTotal3Accrual.subtract(conditionValueZCVCAccrual);
               BigDecimal conditionRateZPFM=PricingTransactiondataConstants.ZERO;
               conditionRateZPFM = conditionValueZPFM.multiply(new BigDecimal ("100"));
              conditionRateZPFM = conditionRateZPFM.divide(subTotal3Accrual,7,BigDecimal.ROUND_FLOOR);
             uelogger.writeLogDebug(subTotal3Accrual+"-"+conditionValueZCVCAccrual+" = "+conditionValueZPFM);
             uelogger.writeLogDebug("Condition Rate  :"+conditionRateZPFM);
           pricingCondition.setConditionRateValue(conditionRateZPFM.setScale(2,BigDecimal.ROUND_HALF_UP));
           pricingCondition.setConditionValue(conditionValueZPFM.setScale(2,BigDecimal.ROUND_HALF_UP));
              return null;
           return null;

    Hi,
    I think you should change xkwert variable instead of komv-kwert.
    Standard routines does the same.
    Aslo check in SPRO settings that routine is attached and
    getting triggered by putting break-point.
    Regards,
    Vishal

  • SRM 4.0- How to set the default values for product type (01) only for SC

    The radio button “Service” should not be visible.
    Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
    How to set the default values for product type (01) only for SC
    We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
    Here we can set defalut value 01 but it is not correct one since same search help is using several places.
    We need to limit the search help results only for SC.
    Kindly help out me ASAP.

    The easiest way to set defautl values is to edit the batch class.
    Goto the characteiristic and go to update values.
    In here you probably have something like 0 - 100 as a spec range.
    On the next line enter the default value within this range.  At the end of the line, click in the box in the column labelled "D".  This indicates the defautl value for the characteristic.
    If you need to you can do this in the material classification view as well.
    Just to be clear, these values will only show up in the batch record.  You can not have defautl values in resutls recording screens.
    FF

Maybe you are looking for

  • How to single out email addresses in a text

    Gurus, How can I get email addresses in a single text? for example if given '"has, Fez" <[email protected]>,"Heidinger, Matk" <[email protected]>,' how can I get just [email protected]??? [email protected] ???                                 it comes

  • How can I get rid of songs listed as shadow/grey letters in my music that I have removed?

    Songs that should have been removed is still there. This is music that's not in iCloud. It happend when I change Itunes to another PC. Some songs are even listed two times.

  • Word opens, then crashes with this message:

    Word opens, then freezes, then crashes with this message: A COM exception has occured. This command is not available. Does anyone know what this is? Is there a way to fix this? I would appreciate help greatly! I am running Lion 10.7.3.

  • Data Manager Package Error in SAP BPC 10

    Hi All, I am getting below error message while running the Data manager package /CPMB/LOAD_INFOPROVIDER in SAP BPC 10. Screenshot is attached for your reference. Please help in solving this issue. Thanks & Regards, Ramesh.

  • Error:when making the textbox rendering by button click

    Hi, i'm trying to create login page, i placed one login button, two messageTextInputBoxes(Rendered as false). when the page loads no text box appears, after clicking login button two text box in separate region should appear(for that i code in proces