Searching DI API Property for column text in marketing document

Hi,
I am searching the property for entering information into the column rdr1.text.
I found the following information in the help file:
ItemDetails Sets or returns the item details in the marketing document line.
Field name: Text.
Length: 16 characters.
Text Returns the text property.
Field name: text.
Both properties are not working because the second one is a read only field.
Thanks and Regards Chris

Hello Chris,
you may try the property "FreeText" of DocumentLines.
Cheers,
Roland
PS.:
You can switch on the system-information (CtrlShiftD).
Then in the bottom of B1 the propertys of a form-field are shown on mouseover. This helps often to find the right keyword for the SDK-Help.
In this case it shows the column name in DB: "FreeTxt"
Edited by: Roland Toschek on Mar 10, 2009 3:07 PM

Similar Messages

  • Write Tray API property for Portal Favourites page.

    Hi All,
    Plz help me out for setting the "Write Tray API" property" in Portal, as when iam accessing Portal favourites tab iam getting the error "The property White Tray API of the page must be set to "TRUE"".
    Kindly help, as this is urgent.
    Thanks & Regards,
    Shailesh Nagar

    Hi,
    that link is reffered to SAP Note :1017186 i don't know why its not working suddenly i am just copying the SAP Note here
    Symptom
    When user tries to add a km document to the portal favorites iView, a pop up message appears on the screen: "The property 'Write Tray API' of the page must be set to 'true'"
    Other terms
    Add to portal favorites iView, favorites iView, Write Tray API
    Reason and Prerequisites
    NW04 - All versions.
    NW04S - All versions.
    Solution
    -Open the framework page for edit.
    -Check the Desktop Innerpage (com.sap.portal.innerpage) and choose Properties.
    -In the Property Category, switch to "Show All".
    -Set the property "Use API of Tray" = to "Yes".
    -Save your changes.

  • FMS required for Row Level in Marketing document for Dimensions vs BP

    Dear All,
    I need some help in regards to the FMS in SAP Business One. I am trying to use Dimension in the row level of my marketing document. In Dimension 2 and Dimension 3 I have named them as Dimension 2 whose description is Regions and in Dimension 3 whose descrption is Area.
    Now in Cost Accounting I have setup the Profit Centers in Dimension 2 Region as under :
    Factor Code  Factor Description
    CD0201         Region 1_Asia
    CD0202         Region 2_Middle East
    Also I have setup the Profit Centers in Dimension 3 Area as under :
    Factor Code   Factor Description
    CD0201A       India
    CD0201B       Pakistan
    CD0201C       China
    CD0202A       Syria
    CD0202B       Saudi Arabia
    I have created a udf in the Business Partner Header as U_DCostRegion wherein I have set Valid Values for Field as under which the user will put
    Value            Description
    CD0201         Region 1_Asia
    CD0202         Region 2_Middle East
    In the Business Business Partner Territory the BP has been defined as per the Dimension 3 Area. In which for e.g C0001 territory is India, C0002 territory is Pakistan and so on
    Now my requirement :
    I want that if the user is doing a Sales Quotation or Sales Order from the Sales Quotation then in the Row level Dimensions column of Regions and Area automatically through FMS it should populate the data accordingly as to what is put in the BP master Data. For Example user is doing Sales Quotation for C0001 whose Area ( U_DCostRegion) is set as CD0201 Region 1_Asia and Territory is set as India then automatically in the Sales Quotation row columns of Region and Area values of CD0201 Region 1_Asia and CD0201A India should come.
    I think this requirement can be fullfilled by FMS but I am not able to do it from my end. Please advise what should be the FMS for it.
    Regards,
    Depika

    Dear Rahul,
    I am able to put the Region from the Business Partner UDF to the document Row of Region column with the FMS as SELECT $[OCRD.U_DCostRegion] as in the U_DCostRegion I had set Valid Values for Field as
    Value    Description
    CD0201 Region 1_Asia
    CD0202 Region 2_Middle East
    As in the Dimension in Marketing document it takes the Factor Code e.g CD0201 so I am able to handle it with the above FMS.
    But for the Area dimension I am not able to make the FMS because in the marketing document it takes the Factor Code means the Factor Code e.g CD0201A and its not linked to the BP Territory Table of OTER.
    I want a FMS which is linked with the OTER Table also as such if in the BP the territory ( avaliable in base product BP > General Tab > Territory ( where its defined as India for BP C0001) should link to CD0201A which is the Factor Code wherein the Factor Description is India.
    please advise in this regard.
    Regards,
    depika

  • DI API/DI Server Access to Approve Marketing Documents (Approval Procedures

    a.     Many of my clients require the functionality to remotely approve Marketing Documents
    b.     Currently the DI allows for the creation and updates of Approval Stages and Templates
    c.     There is no mechanism to approve Marketing Documents through the DI API / DI Server
    d.     This functionality is urgently required
    e.     It is specifically required to access the Marketing Document marked for approval and approve/reject these Documents via the DI API

    How to do it:
    SAPbobsCOM.ApprovalRequestsService oApprovalRequestsService = null;
    SAPbobsCOM.ApprovalRequestParams oApprovalRequestParams = null;
    SAPbobsCOM.ApprovalRequest oApprovalRequest = null;
    SAPbobsCOM.ApprovalRequestDecision oApprovalRequestDecision = null;
    oApprovalRequestsService =
      (SAPbobsCOM.ApprovalRequestsService)MyCompanyService.GetBusinessService(
          SAPbobsCOM.ServiceTypes.ApprovalRequestsService);
    oApprovalRequestParams =
      (SAPbobsCOM.ApprovalRequestParams)oApprovalRequestsService.GetDataInterface(
          SAPbobsCOM.ApprovalRequestsServiceDataInterfaces.arsApprovalRequestParams);
    int wddCode = 1;
    oApprovalRequestParams.Code = wddCode;
    oApprovalRequest = oApprovalRequestsService.GetApprovalRequest(oApprovalRequestParams);
    oApprovalRequestDecision = oApprovalRequest.ApprovalRequestDecisions.Add();
    oApprovalRequestDecision.Status = SAPbobsCOM.BoApprovalRequestDecisionEnum.ardApproved;
    oApprovalRequestDecision.ApproverUserName = SAPB1UserName;
    oApprovalRequestDecision.ApproverPassword = SAPB1Password;
    oApprovalRequestsService.UpdateRequest(oApprovalRequest);
    Hope it helps
    D.

  • Decimal Place settings for  'Total' field in Marketing documents.

    Dear sir,
    I'm Using SAP B1 2005B Patch Level 5
    I want to know which Decimal places setting i have to set for'Total'
    Field in all Marketing documents.I want to know whether it come's under
    Prices settings or Amounts setting.

    Jambulingam,
    The no. of decimals is set  in the Administration  -System Initialisation -  General settings - Display tab . There on the left hand side you can see the settings for decimals.
    Since it is a total you wil have to set it for Amounts.
    Nagesh

  • Searching the entire database for a text

    Hi guys,
    I need to get all the tables,cols which have a particular text,these tables have CLOB and similar datatypes also, so how do i find it?

    i am not able use this query as suggested in that thread by MichaelS
      select distinct substr (:val, 1, 11) "Searchword",
                    substr (table_name, 1, 14) "Table",
                    substr (t.column_value.getstringval (), 1, 50) "Column/Value"
               from all_tab_cols,
                    table
                       (xmlsequence
                           (dbms_xmlgen.getxmltype ('select ' || column_name
                                                    || ' from ' || table_name
                                                    || ' where upper('
                                                    || column_name
                                                    || ') like upper(''%' || :val
                                                    || '%'')'
                                                   ).extract ('ROWSET/ROW/*')
                       ) t
            where table_name in (SELECT table_name from all_tables)
            and owner NOT IN ('SYS','SYSTEM') and
            data_type IN ('CHAR','VARCHAR2') and
            data_length >= LENGTH(:val) and
            table_name in (SELECT table_name from all_tables);
           order by "Table";i get this following error
    ORA-19202: Error occurred in XML processing
    ORA-00942: table or view does not exist
    ORA-06512: at "SYS.DBMS_XMLGEN", line 288
    ORA-06512: at line 1
    Any help here ?

  • Property for determining text frame orientation?

    Has anyone found a property to set a text frame orientation? I am writing a script in the Japanese version of InDesign to add a vertical index on the side of a page. I can do everything except set the orientation to vertical by a script. Pulling my hair out trying to determine what makes a text frame vertical...
    Leif

    Hi.
    Is what you want convert to "縦組み(tate-gumi)" text frame?
    text frame can convert like this code
    var textframe_obj;
    textframe_obj.parentStory.storyPreferences.storyOrientation = StoryHorizontalOrVertical.VERTICAL;
    var cell_obj;
    cell_obj.writingDirection = HorizontalOrVertical.VERTICAL;
    I posted blog-entry about this:
    http://www.milligramme.cc/wp/archives/570
    Thankyou
    mg.

  • Search Example Code inside for Versioned and non-Versioned Documents

    These may be of use to someone...
    File names:
    AttributeSearch.java
    AttributeContentSearch.java
    The AttributeSearch application will search for documents (both versioned and non-versioned) with a file name containing "txt", residing in the user "system"'s home directory.
    The AttributeContentSearch application will search for documents (both versioned and non-versioned) with a file name containing "txt", and document content containing the word "hello", residing in the user "system"'s home directory.

    import oracle.ifs.beans.LibraryService;
    import oracle.ifs.beans.LibrarySession;
    import oracle.ifs.common.CleartextCredential;
    import oracle.ifs.common.ConnectOptions;
    import oracle.ifs.common.IfsException;
    import java.util.Locale;
    import oracle.ifs.beans.DirectoryUser;
    import oracle.ifs.beans.PrimaryUserProfile;
    import oracle.ifs.beans.PublicObject;
    import oracle.ifs.beans.Document;
    import oracle.ifs.beans.Folder;
    import oracle.ifs.beans.ContentObject;
    import oracle.ifs.beans.Search;
    // SEARCH RESULT
    import oracle.ifs.beans.SearchResultObject;
    // CONTENT + ATTRIBUTE SEARCH
    import oracle.ifs.search.ContextSearchSpecification;
    // SELECT, FROM
    import oracle.ifs.search.SearchClassSpecification;
    // ORDER BY
    import oracle.ifs.search.SearchSortSpecification;
    // WHERE
    import oracle.ifs.search.SearchClause;
    import oracle.ifs.search.SearchQualification;
    import oracle.ifs.search.JoinQualification;
    import oracle.ifs.search.FolderRestrictQualification;
    import oracle.ifs.search.AttributeQualification;
    import oracle.ifs.search.ContextQualification;
    public class AttributeContentSearch
    public static void main(String args[])
    try {
    LibraryService ifsService = new LibraryService();
    System.out.println("Oracle iFS Version " + ifsService.getVersionString());
    CleartextCredential credentials = new CleartextCredential("system","manager");
    ConnectOptions options = new ConnectOptions();
    options.setLocale(Locale.getDefault());
    options.setServiceName("ServerManager");
    options.setServicePassword("ifssys");
    LibrarySession ifsSession = ifsService.connect(credentials,options);
    DirectoryUser thisUser = ifsSession.getUser();
    System.out.println("Connected as \"" + thisUser.getDistinguishedName() + (thisUser.isAdminEnabled() ? "\" (admin enabled)" : "\""));
    PrimaryUserProfile userProfile = thisUser.getPrimaryUserProfile();
    SearchResultObject[] sro = runSearch (ifsSession,"hello");
    if (sro != null)
    for (int i = 0; i < sro.length; i++)
    System.out.print (((PublicObject)sro.getLibraryObject()).getName());
    System.out.println (" (" + ((PublicObject)sro[i].getLibraryObject()).getId() + ")");
    } catch (IfsException e)
    public static SearchResultObject [] runSearch( LibrarySession ifsSession, String searchCriteria) throws IfsException
    ContextSearchSpecification ss = null;
    SearchClassSpecification scs = new SearchClassSpecification();
    SearchSortSpecification sss = new SearchSortSpecification();
    SearchQualification sc = null;
    ss = new ContextSearchSpecification();
    ss.setContextClassname(ContentObject.CLASS_NAME);
    scs.addSearchClass( PublicObject.CLASS_NAME );
    scs.addSearchClass( Document.CLASS_NAME );
    scs.addSearchClass( ContentObject.CLASS_NAME );
    scs.addResultClass( Document.CLASS_NAME );
    sss.add( Document.CLASS_NAME, "NAME", true );
    sc = buildSearchClause( ifsSession, searchCriteria);
    ss.setSearchClassSpecification( scs );
    ss.setSearchQualification( sc );
    ss.setSearchSortSpecification( sss );
    Search s = new Search( ifsSession, ss );
    s.open();
    SearchResultObject [] sro = s.getItems();
    s.close();
    return sro;
    public static SearchQualification buildSearchClause( LibrarySession ifsSession, String searchCriteria ) throws IfsException
    Folder f = ifsSession.getUser().getPrimaryUserProfile().getHomeFolder();
    FolderRestrictQualification frq = new FolderRestrictQualification();
    frq.setStartFolder( f );
    frq.setSearchClassname(PublicObject.CLASS_NAME);
    AttributeQualification aq = new AttributeQualification();
    aq.setAttribute(Document.CLASS_NAME, PublicObject.NAME_ATTRIBUTE);
    aq.setOperatorType(AttributeQualification.LIKE);
    aq.setValue("%txt%");
    ContextQualification cq = new ContextQualification();
    cq.setQuery(searchCriteria);
    cq.setName("Test0");
    JoinQualification jq1 = new JoinQualification();
    jq1.setLeftAttribute ( Document.CLASS_NAME, Document.CONTENTOBJECT_ATTRIBUTE );
    jq1.setRightAttribute( ContentObject.CLASS_NAME, null);
    JoinQualification jq = new JoinQualificatio n();
    jq.setLeftAttribute ( PublicObject.CLASS_NAME, PublicObject.RESOLVEDPUBLICOBJECT_ATTRIBUTE );
    jq.setRightAttribute( Document.CLASS_NAME, null);
    SearchClause sc;
    sc = new SearchClause(jq, jq1, SearchClause.AND);
    sc = new SearchClause(sc, cq, SearchClause.AND);
    sc = new SearchClause(sc, frq, SearchClause.AND);
    sc = new SearchClause(sc, aq, SearchClause.AND);
    return sc;
    null

  • Update Property Promotion Column Value in InfoPath Document Library

    Hello All,
    I just tried to update a property promotion value using this code:
    using (SPSite site = new SPSite(webName))
                        using (SPWeb objweb = site.OpenWeb())
                            SPList spList = objweb.Lists["XYZ"];
                            SPQuery qry = new SPQuery();
                            qry.Query = @"<Where>" +
                          "<Eq>" +
                          "<FieldRef Name='ServiceR' /><Value Type='WorkflowStatus'>17</Value>" +
                          "</Eq>" +
                          "</Where>";
                            qry.ViewFields = @"<FieldRef Name='Title' /><FieldRef Name='Evaluation_x0020_Status' />";
                            SPListItemCollection listItems = spList.GetItems(qry);
                            objweb.AllowUnsafeUpdates = true;
                            if (listItems.Count > 0)
                                foreach (SPListItem item in listItems)
                                    if (item["Evaluation_x0020_Status"] == null)
                                        item["Evaluation_x0020_Status"] = "Evaluation Completed";
                                        item.Update();
                            objweb.AllowUnsafeUpdates = true;
    The code exexuted but the value does not updated !!
    Any Answer ?

    I resolve the issue using this link:
    http://nanettevb.blogspot.com/2011/03/cannot-update-promoted-fields-from.html
    Omar Attari

  • Why can't I print out predefined text in market document

    Dear all
         In the purchase order ,I add predefinded text, and I want to print out it with other document lines. So how to edit the layout.

    It still have no effect .as to my question ,for example,I add these lines in Purchase Order documents
    Line Type ItemCode Quantity price
    1-- A--
    1 -
    RMB 85.470085
    2 -
    T -
    this is an important item
    When I print out the Purchase Order ,the second line does not appear. By the way ,the second line is a predefinded text

  • How to search for a text string in Reports designer?

    In iDS reports (10gR2), I want to search from top down for a text string was used in one of the queries or triggers. In Forms, you can do it, in reports the related menu item is always seems to be grayed out no matter what item I pick in the Navigator. Is it doable or not? If yes, then how. I don't wanna open each program piece including the queries in the data model, report triggers or program units and look for (by visual scanning) for the text I am searching for. This is crazy. There must be a way to do it. Thanx.

    That is pretty bad for such an expensive report development program. The forms allows it, I wonder why Oracle did not include similar functionality in the reports developer. I knew the conversion to ascii, but during development it is pain in the ... just to search for a simple text string in the related program units in the report, to convert to ascii, do the search and then go back to the developer. Anyway, if that is the only way, there is nothing we can do I guess :(

  • How to use search REST api to get custom managed property data for anonymous user?

     
    I am trying build a public portal with anonymous access and i am trying to read some
    content from custom managed property using search REST api in sharepoint 2013. I have tried to enable all possible attributes of the managed prop. Like searchable,queryable,safe etc. also i am including queryparametertemplate in my REST api search query. But
    still i am not able to retrieve the managed prop. For an anonymous user. The same query returns the value if i am logged in.
    Any Help is greatly appreciated. 
    Thanks,
    Rakesh
    Thanks, Rakesh

    Hi Rakesh,
    To enable anonymous Search REST queries, we need to create queryparametertemplate.xml and upload it to the correct library in SharePoint.
    From your description I can know that you have created the file, then I recommend to check the things below:
    Please use “QueryTemplatePropertiesUrl” instead of “queryparametertemplate” in the Search REST API query as following: &QueryTemplatePropertiesUrl='spfile://webroot/queryparametertemplate.xml'.
    Make sure that the Query Properties you need have been added to the QueryProperties element in the queryparametertemplate.xml file.
    Make sure that the query parameters you need have been added to the WhiteList element in the
    queryparametertemplate.xml file. For example, if you want to use Refiners in the REST API, then the Refiners should be added to the
    WhiteList element in the queryparametertemplate.xml file as following:
    <a:string>Refiners</a:string>.
    You can also debug setting properties in anonymous Search Rest queries following the link below:
    http://www.mavention.com/blog/debugging-setting-properties-anonymous-search-rest-queries
    More references about anonymous Search REST:
    http://blog.mastykarz.nl/configuring-sharepoint-2013-search-rest-api-anonymous-users/
    http://msdn.microsoft.com/en-us/library/office/jj163876%28v=office.15%29.aspx#bk_AnonymousREST
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • How To Search For a Text In JTable Column?

    hi there
    i want to search for specific text in a JTable Column
    And If The Text Exists Highlits it?
    any ideas or useful links or tutorials?

    Well, then that would be a Swing related question. Did you search the Swing forum to see how rendering works.

  • Search for any text in column filter on adf table

    Hi,
    I have column filter on adf table where I can search for any text starting with by default.
    For e.g. you have data my name is sam you can search on table column filter by my and you get the results my name is sam
    but I want to search by any word let's say sam and I want to display same result.
    Thank you,
    Savan Shah.

    You probably can use wildcards (% and _ )
    for example %my%
    Dario

  • How to change the "name of column" property of an text item in runtime?

    How to change the "name of column" property of an text item in runtime?
    I look the properties of items in help and found nothing about this!
    It's possible?

    Hi,
    an other solution is change the block property QUERY_DATA_SOURCE_TYPE from "Table" to "Sub-query" , than change at run time the property QUERY_DATA_SOURCE_NAME.
    First create block and add items
    The QUERY_DATA_SOURCE_NAME will be for ex. "Select 'A' as col1, 'B' AS col2, 'C' as col3 from dual"
    Set into items the column name property to col1 , col2 ...
    At run time change the query to "Select 'Z' as col1, 'X' as col2 , 'Y' as col3 from dual"
    in this way you can change the source of column value.
    Caution because if you change value type from varchar2 to date you must cast date into varchar2.
    May be that this way is valid only for view data not for insert-update, i don't remember.
    bye
    Message was edited by:
    Killernero

Maybe you are looking for