BAPI_BUSPROCESSND_CREATEMULTI how to use the activity-category parameter

Hi all,
I am trying to use BAPI_BUSPROCESSND_CREATEMULTI to create purchase orders.
I am having problems to use the Activity (header) Category field.
Among other parameters, in the INPUT_FIELDS table I have added a line for the field CATEGORY as follows:
REF_HANDLE = 0000000001
REF_KIND = A
OBJECTNAME = ACTIVITY
FIELDNAME = CATEGORY
Then I have added a line in the ACTIVITY table with:
REF_HANDLE = 0000000001
CATEGORY= ZSB
PRIORITY=5
But no results.  The field is not entered in the purchase order I create.
Anybody could point out how to use this parameter in this BAPI?
Many thanks,
Aldo

Please fill category on order and after Enter debug crm_order_maintain function module.
This should help you to see where in function module this field should be filled.
you can also use crm_order_maintain for documents creation.
Regards
Radek

Similar Messages

  • How to use the activation library on SAP J2EE Engine

    Hi my friends:
       This post is referent to a note and their solution, but the solution is not clearly:
    Symptom:
    One wants to use the activation library provided together with the j2ee engine from an own library.
    Reason and Prerequisites:
    One wants to use the activation library from an own library but a ClassNotFound Exception or a NoClassDefFoundError keeps showing up.
    Solution:
    For J2EE Engine 6.30/6.40:
    To avoid the above mentioned exceptions one has to specify circular references between the activation library and the specific resource. When the engine's classloading system sees such references it creates a common loader for these resources and avoids the issue.
    Some one knows how to do circular references in my program????,
    i can use web applications or web dynpro with SAP Developer Studio Kit.
    thnsk Forum
    Joshua

    Hi,
    This is the info from help.sap.com on libraries and how provider.xml sjould look like:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/16/df813e77d46245e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/content.htm
    this is the dtd:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/09/5d963be736904c96cbdfe93793eb42/content.htm
    The file itslef is located in the library archive in server folder usually.
    I hope this helps.
    Greetings, Myriana

  • I would like someone to tell me how to use the dstp address parameter(url) in the datasocket connections.What to write in there, destination/source url.

    What do i do if i right to a datasocket..Do i have to make a special file on my server, How do i create a datasocket server.?? Do i use the same "address" to read a datasocket?

    The URL is the address of the DataSocket server. The server program is a stand-alone program that handles connections and broadcasts data. You create a server by running the program that comes with LabVIEW. You publish to (write) and subscribe from (read) the server and both would use the same address. Normally the data is not file based but DataSocket does support file reads by specifying file or ftp instead of dstp in the URL. The server can be running on the same computer as a publisher/subscriber or on a different computer. NI is now offering a class called LabVIEW Networked Measurements that covers DataSocket. I strongly recomend it.

  • How can use the active x excel to change the assigned data/number in my VI?

    I have an assigned data in my vi using build array and insert into array. i can change the data in excel,
    but i can't change the data in array, How can I connect/communicate/control the data in aray using active x excel.
    (i know this is complicated that's why i'm trying to get helped)
    (please lend me a simple example)
    Thank You very much.

    The one I pointed you to before was a bad example. Try the one here. The example returns the cell value as a string but that's easy enough to change. You can also modify it to return a range of cells to create a LabVIEW array. You can also search NI Dev Zone for other examples by going here and you can also search this forum for Excel examples.

  • How to use the "out" parameter in idl

    hello.idl:
    module HelloApp
    interface Hello
    string sayHello();
    void getPass(in string name,out string pass);
    HelloServer:
    public class HelloServer
    class HelloServant extends _HelloImplBase
    public void getPass(String name,org.omg.CORBA.StringHolder pass)
    System.out.println("Server pass = " + pass);
    if (name.equals("lxh"))
    pass = new org.omg.CORBA.StringHolder("1234");
    if (name.equals("cbj"))
    pass = new org.omg.CORBA.StringHolder("5678");
    HelloClient:
    public class HelloClient
    public static void main(String args[])
    try{
    org.omg.CORBA.StringHolder Pass = null;
    if (args.length == 1)
    System.out.println("Client pass = " + args[0]);
    helloRef.getPass(args[0],Pass);
    System.out.println(Pass);
    } catch(Exception e) {
    When I run client main method with parameter "lxh",I will get a error says the getPass() parameter which has given is wrong.
    How to use the out parameter in client?

    Does this error only occurs if you pass "lxh" or always?
    Did you try passing a StringHolder Object rather than a NULL Object?
    Perhaps you can post the error message!?

  • How to use the compensate activity in bpel flow

    Hi
    Can anyone please let me know how to use the compensate activity in bpel flow. Like i have 4 DB adapters in a flow if any one fails i want do the roll back by using compensate activity.
    I am femiliar with transactions proparties, I want to do it from compensate
    Any suggestions would be appricite.
    Thanks in advance.

    Hi,
    wrong forum, please try the SOA forum SOA Suite
    Frank

  • How to use the out parameter of a transformation

    Hi All,
    I have a requirement where I need to move all the transformations from process flows to map.SO for each transformation I need to have 1 map which calls this transformation.I have 1 transformation which has both input and output parameter.If I use this transformation in mapping then how to use the out parameter of thsi transformation.This out parameter needs to beused in other mappings.Can soemone please help me.
    Thansk in advance

    Hi,
    I'm not quite sure what you are trying to do.
    What works: Connect the outgroup of a pre- or post-mapping process operator to the mapping output parameter operator..
    What does not work: Connect the outgroup of an operator that can return more than one row (e.g. table operator, filter, joiner ,...) to the mapping output parameter operator. The mapping output parameter just returns "one row", like a pl/sql function call.
    You cannot pass a "data stream" from one mapping to another. Maybe the pluggable mappings is what you are looking for.
    Regards,
    Carsten.

  • How to use the Java embedding activity in BPel

    hi all,
    How to use the java embedding activity in BPEL
    pls can u provide sample example

    1 Use [Oracle BPEL Process Manager Client Java API Reference|http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/overview-summary.html] and especially [com.collaxa.cube.engine.ext|http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/com/collaxa/cube/engine/ext/BaseBPELXExecLet.html]
    Instead of System.Out.println use addAuditTrailEntry(java.lang.String message)
    2. If you want to import a package write in code (Source View) of bpel process
    +<bpelx:exec import="package_name"/>+ for example +<bpelx:exec import="java.util.regex.Matcher"/>+
    example 1:
    String bodyAsString;
    StringBuffer myStringBuffer = new StringBuffer();
    try {
    bodyAsString = (String)getVariableData("BodyString");
    addAuditTrailEntry("bodyAsString1: "+ bodyAsString);
    Pattern pattern = Pattern.compile("goodDay");
    Matcher matcher= pattern.matcher(bodyAsString);
    while (matcher.find()) {   
    matcher.appendReplacement(myStringBuffer, "shitDay");
    matcher.appendTail(myStringBuffer);
    bodyAsString = myStringBuffer.toString();
    addAuditTrailEntry("bodyAsString2: "+ bodyAsString);
    } catch (Exception ex) {
    addAuditTrailEntry("Failed+bodyAsString",ex.getMessage());
    I put in code (Source View) the following
    <bpelx:exec import="java.util.regex.Matcher"/>
    <bpelx:exec import="java.util.regex.Pattern"/>
    example2:
    Object temp;
    try {
    temp = ((XMLElement)getVariableData("inputVariable","payload","/ns2:FiscalisMessage/ns2:Body")).getChildNodes().item(1);
    setVariableData("AdjReceipt",temp);
    addAuditTrailEntry("ok",temp.toString());
    catch (Exception ex) {
    addAuditTrailEntry("Failed :",ex);
    I put in code (Source View) the following
    <bpelx:exec import="oracle.xml.parser.v2.XMLElement"/>

  • How can I back into the main screen without using the activator bottom?

    How can I back into the main screen without using the activator bottom?

    I assume you mean the HOME button. You cannot. The HOME button is the only way to exit an app.

  • How to use the knowledge base category hierarchy?

    Hi !
    I read documents about the knowledge base, I know Oracle Text supplies English and French knowledge base, but I would like to know how to use it, how to handle it. If I want to had some themes, or delete some.
    Is there a table containing the knowledge base?
    Is there someone can help me? Thanks in advance
    Have a nice day
    PS : sorry for my poor english

    Thank you very much M. Omar R Alonso for your reply.
    I checked in the documentation how to use the ctx_query.hfeedback procedure, and I tried the example provided. But it doesn't work, the bt_feedback, rt_feedback, nt_feedback columms have never filled.
    I'm not sure that the knowledge base is already supplied in Oracle Text, because also, when I execute a query like :
    select ID_TXT, score(1) SCORE from TEXT_BASE where contains("idx_txt","sport",1)>1 order by SCORE DESC
    The results are the same as
    select ID_TXT, score(1) SCORE from TEXT_BASE where contains("idx_txt","about(sport)",1)>1 order by SCORE DESC
    So, I don't know if it uses the knowledge base or not.
    Thx again

  • How to use the same services-config for the local and remote servers.

    My flex project works fine using the below but when I upload my flash file to the server I doesn't work, all the relative paths and files are the same execpt the remote one is a linux server.
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service id="amfphp-flashremoting-service"
                class="flex.messaging.services.RemotingService"
                messageTypes="flex.messaging.messages.RemotingMessage">
                <destination id="amfphp">
                    <channels>
                        <channel ref="my-amfphp"/>
                    </channels>
                    <properties>
                        <source>*</source>
                    </properties>
                </destination>
            </service>
        </services>
        <channels>
        <channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
        </channel-definition>
        </channels>
    </services-config>
    I think the problem  is the line
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
    but I'm not sure how to use the same services-config for the local and remote servers.

    paul.williams wrote:
    You are confusing "served from a web-server" with "compiled on a web-server". Served from a web-server means you are downloading a file from the web-server, it does not necessarily mean that the files has been generated / compiled on the server.
    The server.name and server.port tokens are replaced at runtime (ie. on the client when the swf has been downloaded and is running) not compile time (ie. while mxmlc / ant / wet-tier compiler is running). You do not need to compile on the server to take advantage of this.
    Hi Paul,
    In Flex, there is feature that lets developer to put all service-config.xml file configuration information into swf file. with
    -services=path/to/services-config.xml
    IF
    services-config.xml
    have tokens in it and user have not specified additional
    -context-root
    and this swf file is not served from web-app-server (like tomcat for example) than it will not work,
    Flash player have no possible way to replace token values of service-config.xml file durring runtime if that service-config.xml file have been baked into swf file during compilation,
    for example during development you can launch your swf file from your browser with file// protocol and still be able to access blazeDS services if
    -services=path/to/services-config.xml
    have been specified durring compilation.
    I dont know any better way to exmplain this, but in summary there is two places that you can tell swf  about service confogiration,
    1) pass -services=path/to/services-config.xml  parameter to compiler this way you tell swf file up front about all that good stuff,
    or 2) you put that file on the webserver( in this case, yes you should have replacement tokens in that file) and they will be repaced at runtime .

  • How to use the change log in ODS to track Delta change?

    People say that historical data (like Delta change) in ODS can be tracked in the Change Log.  How to use the change log to track historic data?
    Thanks

    Kevin
    See if it helps
    Every ODS object is represented on the database by three transparent tables:
    Active data: A table containing the active data (A table)
    Activation queue: For saving ODS data records that are to be updated but that have not yet been activated. The data is deleted after the records have been activated.
    <b>Change log: Contains the change history for delta updating from the ODS Object into other data targets, such as ODS Objects or InfoCubes for example.</b>
    An exception is the transactional ODS object, which is only made up of the active data table.
    The tables containing active data are constructed according to the ODS object definition, meaning that key fields and data fields are specified when the ODS object is defined. Activation queue and change log are the same in the table’s structure. They have the request ID, package ID and the record number as a key.
    Data base structure changes
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/d53ec3efdc9b47a9502c3a4565320c/frameset.htm
    Hope this helps
    Thnaks
    Sat

  • How to use the POST method In Oracle APEX 3.1

    Hi,
    In APEX if we are submitting the page the parameters( Variables ) will pass through URL.
    How to hide the these parameters from URL??
    I Hope POST method will solve this problem.
    How to use the POST method in APEX???
    Help me out to solve this problem.
    thanks in advance.
    Cheers,
    Shan

    In APEX if we are submitting the page the parameters( Variables ) will pass through URL.No they won't. Submission POSTs the <tt>wwv_flow</tt> form.
    Sometimes a branch may be performed after submission, generating a URL in which parameter values are visible. To avoid this, use the save state before branching option.
    Other actions&mdash;like using navigation lists, or clicking a link in a report&mdash;will perform a GET using parameters in the URL. In these cases using Session State Protection is advised.

  • How to use the Combo Box In MAtrix Colums

    HI Experts,
    Good Mornong.How to use the Combo Box In MAtrix Colums?
    Regards And Thanks,
    M.Thippa Reddy

    hi,
    loading data in to the combobox on form load.but, it should be done when atleast one row is active.
    the values what ever you are inserting in to combo should  be less than or eqhal to 100 or 150.if it exceeds beyond that performance issue arises.it takes more time to load all the data.so, it is better to have 100 or less.
    oMatrix.AddRow()
    RS = Nothing
    RS = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
    RS.DoQuery("select ItemCode,ItemName from oitm")
    oCombo = oMatrix.Columns.Item("ColumnUID").Cells.Item(oMatrix.RowCount).Specific
    For i = 1 To RS.RecordCount
          If RS.EoF = False Then
                oCombo.ValidValues.Add(RS.Fields.Item("ItemCode").Value,RS.Fields.Item("ItemName").Value)
                RS.MoveNext()
          End If
    Next
    the above code is inserting data from database to column combobox.
    you can fill combo directly also as shown below.
    oCombo.ValidValues.Add("x","1")
    oCombo.ValidValues.Add("y","2")
    oCombo.ValidValues.Add("z","3")
    oCombo.ValidValues.Add("","")
    and what ever the values you are filling into combo should be unique.other wise it shows valid value exists.
    regards,
    varma

  • How to use the Variants in SAP Transportation and what is its use ?

    Hi experts,
    How to use the Variants in SAP Transportation and what is its use & How to create a variant in SAP ?
    Can anybody answer this ?
    Regards,
    Shakti

    Hi,
    If you are asking about "slection vairants" in SPRO settings of "shipment cost document" then
    When it is activated,
    each user can have his own slecetion  and list criteria for
    1. List shippment costs:calculation
    2. List shippment costs: settlement
    This can be directly saved from VI01 screen by the user.
    from environment> lists
    This is user specific only.
    Hope this helps.
    Regards,
    Sharan

Maybe you are looking for