Issue when generating XPDL from process flows

I have a process flow which has the following architecture.
It begins with a Start activity called “START1”. START1 has two parameters P_MESSAGE_TYPE and P_MESSAGE_ID. These parameters are populated from values provided by an external process. From START1 an unconditional transition goes to a ROUTE activity. Leaving the ROUTE activity are 18 conditional transitions and 1 unconditional transition.
The 18 conditional transitions each perform a test on the parameter value supplied in P_MESSAGE_TYPE. The value supplied is checked against a string value (they all check for different values, e.g. 'referenceEngineeringInstructionRecordExtract'). The 1 unconditional transition provides an “emergency exit” should something come through that does not match any of the 18 conditions.
If there is a match against one of the 18 conditions then that particular transition is followed and a sub-process on the end of that transition is executed. Flow then continues from that sub-process on to an OR operator (which brings together the exit transitions from all 18 of these sub-processes) before the flow ends with the ususal Success, Error and Warning activities.
Here is the problem. When I build this process flow from scratch it generate out the XPDL it works fine. The XPDL generated around some of the conditional transitions looks like this:
<Transition Id="TRANSITION_4" From="MESSAGE_TYPE_ROUTER" To="R_EI_PART_CHANGE">
<Condition Type="CONDITION">
<Xpression>"P_MESSAGE_TYPE" ='referenceEngineeringInstructionPartChangeRecordExtract'</Xpression>
</Condition>
</Transition>
<Transition Id="TRANSITION_5" From="MESSAGE_TYPE_ROUTER" To="R_ENGINEERING_INSTRUCTION">
<Condition Type="CONDITION">
<Xpression>"P_MESSAGE_TYPE" ='referenceEngineeringInstructionRecordExtract'</Xpression>
</Condition>
</Transition>
<Transition Id="TRANSITION_6" From="MESSAGE_TYPE_ROUTER" To="R_FATIGUE">
<Condition Type="CONDITION">
<Xpression>"P_MESSAGE_TYPE" ='referenceFatigueParameterRecordExtract'</Xpression>
</Condition>
</Transition>
Here the complex condition in the transitions can be seen as, for example, *"P_MESSAGE_TYPE" ='referenceEngineeringInstructionPartChangeRecordExtract'* which appears in the process flow editor in the form *"START1"."P_MESSAGE_TYPE"='referenceEngineeringInstructionPartChangeRecordExtract'*
and these are all consistent throughout, i.e. every transition in thn process flow editor shows the “START1” which then seems to get stripped off during the XPDL generation.
Now, if I make a change to the flow (e.g. remove a sub-process or add a new sub-process) and regenerate the XPDL what usually gets generated is of this form:
<Transition Id="TRANSITION_4" From="MESSAGE_TYPE_ROUTER" To="R_EI_PART_CHANGE">
<Condition Type="CONDITION">
<Xpression>"P_MESSAGE_TYPE" ='referenceEngineeringInstructionPartChangeRecordExtract'</Xpression>
</Condition>
</Transition>
<Transition Id="TRANSITION_5" From="MESSAGE_TYPE_ROUTER" To="R_ENGINEERING_INSTRUCTION">
<Condition Type="CONDITION">
<Xpression>"START1"."P_MESSAGE_TYPE" ='referenceEngineeringInstructionRecordExtract'</Xpression>
</Condition>
</Transition>
<Transition Id="TRANSITION_6" From="MESSAGE_TYPE_ROUTER" To="R_FATIGUE">
<Condition Type="CONDITION">
<Xpression>"P_MESSAGE_TYPE" ='referenceFatigueParameterRecordExtract'</Xpression>
</Condition>
</Transition>     
What can be seen here is that for some reason the generator has kept the “START1” context of P_MESSAGE_TYPE in the test for referenceEngineeringInstructionRecordExtract (and for two others that I haven't included) but not for the remaining 15 which appear as normal. This results in code that falls over at runtime. I haven't touched these conditional transitions between edits. They are uniquely sequenced and the process flow validates successfully.
Has anyone else seen this issue before? I can’t find any reference to it either in MetaLink or in the forums.
Edited by: AndrewD on Jul 3, 2009 1:57 PM

Hi David,
Thanks for the reply. The client version is 10.2.0.2.8 on a 10.2.0.2 repository. I suspect that it is something internally buggy. I have since found other issues - like I open up one process flow and choose the "Generate" option from the menu, whereupon it generates the XPDL for the last process I opened and not the current one...seems like there are several issues in this area.
Andrew

Similar Messages

  • Transparency issue when generating PDF from InDesign Server

    Hi there
    Has anyone experienced any issues with transparency appearing solid white when generating a PDF from the InDesign server? There is no issue when exporting from the InDesign application, only when using the Server.
    Any pointers / suggestions would be much appreciated
    Thanks
    Davey

    Davey, please send me an InDesign Server document that I could use to reproduce this problem. My e-mail address is [email protected] Thank you. --DougR

  • Error when running the OWB process flow from the shell script

    Hi,
    I am able to deploy the process flow succesfully but when I execute the process flow from the shell script,I am getting the following error.Previously it worked fine.
    I had to make some chnage in the IP address,so i had to deploy again.
    Connected.
    SQL> @/oracle/product/owb92028/owb/rtp/sql/oem_exec_template.sql OWB_RTR LOC_P_REL PROCESS P_W_SOURCE "," ","
    Elapsed: 00:00:00.00
    Elapsed: 00:00:00.01
    Stage 1: Decoding Parameters
    | location_name=LOC_P_REL
    | task_type=ProcessFlow
    | task_name=P_W_SOURCE
    Stage 2: Opening Task
    declare
    ERROR at line 1:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "OWB_RTR.WB_RT_API_EXEC", line 17
    ORA-06512: at "OWB_RTR.WB_RT_API_EXEC", line 137
    ORA-06512: at "OWB_RTR.WB_RT_API_EXEC", line 164
    ORA-06512: at line 205
    Thanks in advance.
    Vinay

    Hi Kamal and kanakam kolla,
    This is just to let you know that,I solved my problem little differently by creating a new location and deployed the process flow.Now my process flow is working fine when i call from the shell script.What i see is that, it does not update properly when we update and redeploy the process flow.So far this is the work arround i could think off and i succesfully tested this.
    Thank you Kamal and kanakam kolla,for giving a thought towards my problem.
    Thanks
    Vinay

  • Error when generating IDoc from MC document - workitem to all the SAP users

    A workflow item with the subject of “Error when generating IDoc from MC document” is sent to all the SAP users' inbox. Is it possible to stop the generation of this work item? If that is not possible, can we limit sending the work item to a specific user/agent instead of all the users in the system?
    It appears that these work item or error message are generated when one of the developers reopen the POs and add line items. Moreover, during that time the procurement team blocked the IDOCs from going out to the vendors when changing and resaving the POs. Therefore, we need stop the generation of error message/work item when the IDOCs generation blocked.

    Please check Rule 70000141which is the default rule for this task. Inside this rule a FM is attcahed which is reading table EDO13 and EDPP1 where agent is retrieved Probably this table entries are not maintained. This Workflow is getting triggered from Message cOntrol I think.
    Please check this link for
    http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4aec8453d11d189430000e829fbbd/frameset.htm
    <b>Reward points if useful and close thread if resolved</b>

  • Error when generating IDoc from MC document

    Hi,
    Our Workflow administrator is getting the following error  in his inbox daily for a particular IDOC type.
    Error when generating IDoc from MC document
    Please let me know how to disable this message.
    Regards
    Elini.P

    Hi  experts,
                i got the error msg when generating idoc from mc document
    this error msg goes to all sap users inbox,how to resolve this problem
    pl give me solutions
    regards
    kumar

  • Passing paramater from process flow to unix script in owb

    Hi,
    I need help in calling a function the return value must be passed as a paramater to user defined activity operator in owb which would in turn run a unix script on the server which would use the paramater passed.
    Thanks,
    Ashvin.

    hi let me give you some more infor about my proble.
    i have a unix script named caproc. The script would be passed a paramater. the script would be called from simple owb process flow and i need to pass the paramater to it.
    i have tested running other unix scripts and the are running fine.
    as you said to create a variable 'x' i did that and under paramater_list of the user activity operator under binding i selected the variable 'X'
    the process flow was valiadated fine and deployed but when i run it it gives me this error.
    COPY_OF_UX_SCP_CALL
    Error
    RPE-01003: An infrastructure condition prevented the request from completing.
    COPY_OF_UX_SCP_CALL
    Error
    RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER := 0;function "COPY_OF_UX_SCP_CALL" return VARCHAR2 is "WARNING" NUMBER := 2;"RETURN_RESULT_NUMBER" NUMBER := NULL;"NUMBER_OF_ERRORS" NUMBER := 0;"SUCCESS" NUMBER := 1;"ITEM_TYPE" VARCHAR2(4000) := (owbsys.wb_rt_task_variable.get_value(305587));"ERROR" NUMBER := 3;"EVAL_LOCATION" VARCHAR2(4000) := (owbsys.wb_rt_task_variable.get_value(305590));"OK" NUMBER := 1;"FAILURE" NUMBER := 3;"AUDIT_ID" NUMBER := 305586;"RETURN_CODE" NUMBER := NULL;"NUMBER_OF_WARNINGS" NUMBER := 0;"ITEM_KEY" VARCHAR2(4000) := (owbsys.wb_rt_task_variable.get_value(305589));"RETURN_RESULT" VARCHAR(64) := NULL;"PARENT_AUDIT_ID" NUMBER := NULL;"OK_WITH_WARNINGS" NUMBER := 2;begin "$LOOP_DETECT$" := "$LOOP_DETECT$" + 1;if "$LOOP_DETECT$" > 2 then raise_application_error(-20001, 'Loop detected calling "COPY_OF_UX_SCP_CALL"');end if;return to_char(?'acac');end;begin :result := "COPY_OF_UX_SCP_CALL";end;. Please modify the expression, redeploy and retry again.
    COPY_OF_UX_SCP_CALL
    Error
    Missing IN or OUT parameter at index:: 2
    i am pasting the xml script owb generates which might help someone to point me the problem
    <?xml version = '1.0'?>
    <!DOCTYPE Package SYSTEM "jar:file:/C:/product/11.1.0/db_1/owb/lib/int/rtpcommon.jar!/Package_dtd.txt">
    <Package Id="SPT_TRY" Name="SPT_TRY">
    <PackageHeader>
    <XPDLVersion/>
    <Vendor/>
    <Created/>
    <Description></Description>
    </PackageHeader>
    <TypeDeclarations/>
    <Applications>
    <Application Id="A805FAF687910739AE04011AC69063028" Name="UX_SCRIPT">
    <FormalParameters>
    <FormalParameter Id="EXIT_CODE" Mode="OUT">
    <DataType>
    <DeclaredType Id="EXIT_STATUS"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:COMMAND">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:PARAMETER_LIST">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:SUCCESS_THRESHOLD">
    <DataType>
    <BasicType Type="INTEGER"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:SCRIPT">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:RESULT_CODE" Mode="OUT">
    <DataType>
    <BasicType Type="INTEGER"/>
    </DataType>
    </FormalParameter>
    </FormalParameters>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:Function" Value="SHELL"/>
    <ExtendedAttribute Name="OWB:ExtendedAttributes" Value="TASK_ID">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:TaskName"/>
    <ExtendedAttribute Name="OWB:ExecStoreUOID"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Application>
    <Application Id="A81117E4A8F6699DAE04011AC680650B6" Name="UX_SCRIPT">
    <FormalParameters>
    <FormalParameter Id="EXIT_CODE" Mode="OUT">
    <DataType>
    <DeclaredType Id="EXIT_STATUS"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:COMMAND">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:PARAMETER_LIST">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:SUCCESS_THRESHOLD">
    <DataType>
    <BasicType Type="INTEGER"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:SCRIPT">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    </FormalParameter>
    <FormalParameter Id="CFG:RESULT_CODE" Mode="OUT">
    <DataType>
    <BasicType Type="INTEGER"/>
    </DataType>
    </FormalParameter>
    </FormalParameters>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:Function" Value="SHELL"/>
    <ExtendedAttribute Name="OWB:ExtendedAttributes" Value="TASK_ID">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:TaskName"/>
    <ExtendedAttribute Name="OWB:ExecStoreUOID"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Application>
    </Applications>
    <WorkflowProcesses>
    <WorkflowProcess Id="UX_SCP_CALL" Name="UX_SCP_CALL">
    <ProcessHeader>
    <Description></Description>
    </ProcessHeader>
    <FormalParameters>
    <FormalParameter Id="EXIT_CODE" Mode="OUT">
    <DataType>
    <DeclaredType Id="EXIT_STATUS"/>
    </DataType>
    </FormalParameter>
    </FormalParameters>
    <DataFields/>
    <Activities>
    <Activity Id="UX_SCRIPT" Name="UX_SCRIPT">
    <Description></Description>
    <Implementation>
    <Tool Id="A805FAF687910739AE04011AC69063028" Type="APPLICATION">
    <ActualParameters>
    <ActualParameter/>
    <ActualParameter>"/bin/bash"</ActualParameter>
    <ActualParameter/>
    <ActualParameter>"0"</ActualParameter>
    <ActualParameter/>
    <ActualParameter/>
    </ActualParameters>
    <Description></Description>
    </Tool>
    </Implementation>
    <TransitionRestrictions>
    <TransitionRestriction>
    <Split Type="XOR"/>
    </TransitionRestriction>
    </TransitionRestrictions>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="805FAF687910739AE04011AC69063028"/>
    <ExtendedAttribute Name="OWB:ExtendedAttributes" Value="TASK_ID">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:TaskName" Value="&quot;UX_SCP_CALL:UX_SCRIPT&quot;"/>
    <ExtendedAttribute Name="OWB:ExecStoreUOID" Value="&quot;{0}&quot;"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    <ExtendedAttribute Name="OWB:Position">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:XPos" Value="262.0"/>
    <ExtendedAttribute Name="OWB:YPos" Value="-219.0"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Activity>
    <Activity Id="END_SUCCESS" Name="END_SUCCESS">
    <Description></Description>
    <Implementation>
    <Tool Id="END" Type="APPLICATION">
    <ActualParameters>
    <ActualParameter>OK</ActualParameter>
    </ActualParameters>
    <Description></Description>
    </Tool>
    </Implementation>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="805FAF68790F739AE04011AC69063028"/>
    <ExtendedAttribute Name="OWB:Position">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:XPos" Value="450.0"/>
    <ExtendedAttribute Name="OWB:YPos" Value="-40.0"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Activity>
    <Activity Id="START1" Name="START1">
    <Description></Description>
    <Implementation>
    <Tool Id="START" Type="APPLICATION">
    <Description></Description>
    </Tool>
    </Implementation>
    <TransitionRestrictions>
    <TransitionRestriction>
    <Split Type="XOR"/>
    </TransitionRestriction>
    </TransitionRestrictions>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="805FAF68790E739AE04011AC69063028"/>
    <ExtendedAttribute Name="OWB:Position">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:XPos" Value="-321.0"/>
    <ExtendedAttribute Name="OWB:YPos" Value="-211.0"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Activity>
    </Activities>
    <Transitions>
    <Transition Id="TRANSITION_1" From="UX_SCRIPT" To="END_SUCCESS">
    <Condition Type="OTHERWISE"/>
    </Transition>
    <Transition Id="TRANSITION" From="START1" To="UX_SCRIPT"/>
    </Transitions>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="805FAF687909739AE04011AC69063028"/>
    <ExtendedAttribute Name="OWB:ExtendedAttributes" Value="TASK_ID">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:RootUOID" Value="&quot;805FAF687909739AE04011AC69063028&quot;"/>
    <ExtendedAttribute Name="OWB:TaskName" Value="&quot;UX_SCP_CALL&quot;"/>
    <ExtendedAttribute Name="OWB:ExecStoreUOID" Value="&quot;{0}&quot;"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </WorkflowProcess>
    <WorkflowProcess Id="COPY_OF_UX_SCP_CALL" Name="COPY_OF_UX_SCP_CALL">
    <ProcessHeader>
    <Description></Description>
    </ProcessHeader>
    <FormalParameters>
    <FormalParameter Id="EXIT_CODE" Mode="OUT">
    <DataType>
    <DeclaredType Id="EXIT_STATUS"/>
    </DataType>
    </FormalParameter>
    </FormalParameters>
    <DataFields>
    <DataField Id="X">
    <DataType>
    <BasicType Type="STRING"/>
    </DataType>
    <InitialValue>`?'acac'`</InitialValue>
    </DataField>
    </DataFields>
    <Activities>
    <Activity Id="END_SUCCESS" Name="END_SUCCESS">
    <Description></Description>
    <Implementation>
    <Tool Id="END" Type="APPLICATION">
    <ActualParameters>
    <ActualParameter>OK</ActualParameter>
    </ActualParameters>
    <Description></Description>
    </Tool>
    </Implementation>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="81117E4A8F6999DAE04011AC680650B6"/>
    <ExtendedAttribute Name="OWB:Position">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:XPos" Value="450.0"/>
    <ExtendedAttribute Name="OWB:YPos" Value="-40.0"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Activity>
    <Activity Id="UX_SCRIPT" Name="UX_SCRIPT">
    <Description></Description>
    <Implementation>
    <Tool Id="A81117E4A8F6699DAE04011AC680650B6" Type="APPLICATION">
    <ActualParameters>
    <ActualParameter/>
    <ActualParameter>"/bin/bash"</ActualParameter>
    <ActualParameter>X</ActualParameter>
    <ActualParameter>"0"</ActualParameter>
    <ActualParameter/>
    <ActualParameter/>
    </ActualParameters>
    <Description></Description>
    </Tool>
    </Implementation>
    <TransitionRestrictions>
    <TransitionRestriction>
    <Split Type="XOR"/>
    </TransitionRestriction>
    </TransitionRestrictions>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="81117E4A8F6699DAE04011AC680650B6"/>
    <ExtendedAttribute Name="OWB:ExtendedAttributes" Value="TASK_ID">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:TaskName" Value="&quot;COPY_OF_UX_SCP_CALL:UX_SCRIPT&quot;"/>
    <ExtendedAttribute Name="OWB:ExecStoreUOID" Value="&quot;{0}&quot;"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    <ExtendedAttribute Name="OWB:Position">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:XPos" Value="262.0"/>
    <ExtendedAttribute Name="OWB:YPos" Value="-219.0"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Activity>
    <Activity Id="START1" Name="START1">
    <Description></Description>
    <Implementation>
    <Tool Id="START" Type="APPLICATION">
    <Description></Description>
    </Tool>
    </Implementation>
    <TransitionRestrictions>
    <TransitionRestriction>
    <Split Type="XOR"/>
    </TransitionRestriction>
    </TransitionRestrictions>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="81117E4A8F6499DAE04011AC680650B6"/>
    <ExtendedAttribute Name="OWB:Position">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:XPos" Value="-321.0"/>
    <ExtendedAttribute Name="OWB:YPos" Value="-211.0"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </Activity>
    </Activities>
    <Transitions>
    <Transition Id="TRANSITION_1" From="UX_SCRIPT" To="END_SUCCESS">
    <Condition Type="OTHERWISE"/>
    </Transition>
    <Transition Id="TRANSITION" From="START1" To="UX_SCRIPT"/>
    </Transitions>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="81117E4A8F6199DAE04011AC680650B6"/>
    <ExtendedAttribute Name="OWB:ExtendedAttributes" Value="TASK_ID">
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:RootUOID" Value="&quot;81117E4A8F6199DAE04011AC680650B6&quot;"/>
    <ExtendedAttribute Name="OWB:TaskName" Value="&quot;COPY_OF_UX_SCP_CALL&quot;"/>
    <ExtendedAttribute Name="OWB:ExecStoreUOID" Value="&quot;{0}&quot;"/>
    </ExtendedAttributes>
    </ExtendedAttribute>
    </ExtendedAttributes>
    </WorkflowProcess>
    </WorkflowProcesses>
    <ExtendedAttributes>
    <ExtendedAttribute Name="OWB:UOID" Value="805FAF687904739AE04011AC69063028"/>
    </ExtendedAttributes>
    </Package>

  • VPRS issue in STO - IC Billing process flow

    Hi Experts,
    I am working on following process flow (Stock transport PO - Delivery - Intercompany billing).
    Same condition type ZIXX is maintained in MM & SD Pricing procedure. In PO (STO), ZIXX is determined based on material valuation data and the same amount gets copied to IC billing.
    Along with ZIXX, we have VPRS condition type in billing pricing procedure. But issue is that: VPRS does not get determine. System analysis shows message 217 (error in quantity/ value determination for VPRS).
    Meanwhile, condition amount for ZIXX (determined in PO) and VPRS (determined in IC billing) may differ in some of the business scenarios. So both condition types are needed.
    Following settings have been maintained:
    ·         Copy control settings between delivery & IC billing document
    o   Price source A (Purchase order)
    o   Pricing type C (Copy manual pricing elements and redetermine others)
    ·         Item category (Intercompany) has marked for ‘Determine cost’ with billing relevance as A (delivery related billing)
    ·         Condition type VPRS
    o   marked as G (Internal Price)
    o   marked for ‘quantity conversion
    o   marked as ‘statistical’ in billing pricing PP
    o   subtotal B and requirement routine 4 (Cost)
    ·         Condition type ZIXX
    o   Marked as G (Internal price) in MM Pricing procedure
    o   Marked as H (Basic Price) in SD PP with requirement routine as 2 (item with pricing)
    ·         Material type is updated for ‘quantity and value update’ in SAP T.Code: OMS2
    Kindly let me know, how we can resolve VPRS issue.

    Hi Sachin,
    For the similar issue you face, there has been a discussion in the forum.. Pls check
    VPRS retrives the cost of the Material from the material master data > Accounting 1 tab to the Sales order.
    Once the cost is found, then Profit margin  (Net value - cost) is calculated.
    VPRS does not contain any Access sequence.
    With the help of its Condition category "G", it accesses the Material master > Accounting tab 1 and takes cost.
    There may be two cost specified in the Material master. They are
    - Moving Avarage Price
    - Standard Price
    Which one system will consider that depends upon the "Price control" field.
    If the value is "V' in the Price control field, the system takes the "Moving Avarage Price" and if it is "S", then system takes the "Standard Price".
    So, you must ensure these few control
    - VPRS should  NOT have any Access sequence.
    - Condition category "G" must have been assigned to VPRS.
    - VPRS must have been activated as "Statistical" condition in the Pricing Procedure and should not have any Account key.
    With Regards
    S.Siva

  • How to add doctype when generating XML from an arbitrary data structure

    I was reading SUN's tutorial "Working with XML - PART IV: Using XSLT". Inside this tutorial, in 3, it talks about how to generate XML from an arbitrary data structure making use of a XMLReader and a Transformer. The example only shows adding elements. Is there a way to add DTD information in the XML generated, i.e. <!DOCTYPE ... >? What APIs can I use?
    Thanks,
    Alex

    The simplest way seems to me is to use a XSL file for that. The <xsl:output> attributes doctype-system and doctype-public generate the DTD declaration <!DOCTYPE YOUR_ROOT SYSTEM "yourDTDfile.dtd"> and <!DOCTYPE YOUR_ROOT PUBLIC "yourDTDfile.dtd">, respectively.
    When calling transformerInstance.transform() the XSLT processor performs the identity transformation - it just copies elements, attributes, content, processing instructions and comments to the result stream.
    If you're using an xsl file for your transformation already, simply add <xsl:output doctype-system="yourDTDfile.dtd"/> to your existing XSL file.
    If you're only using the identity transformation you'd need to change the line of code where you obtain the transformer instance from the TransformerFactory to:
    t_factory.newTransformer(new StreamSource("test.xsl"));
    and use this as test.xsl:
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
       <xsl:output doctype-system="yourDTDfile.dtd"/>
       <!-- this is the identity transformation -->
       <xsl:template match="*|@*|comment()|processing-instruction()|text()">
          <xsl:copy>
             <xsl:apply-templates select="*|@*|comment()|processing-instruction()|text()"/>
          </xsl:copy>
       </xsl:template>
    </xsl:stylesheet>Good luck.

  • External display issues when waking display from sleep

    After waking my external display from sleep (the entire Macbook was not asleep, just the external display), the garbled colored dots kept appearing at the top and bottom of the screen, only then for the entire display to go black, then about 5-10 seconds later the images comes back, but with the garbled colored dots at the bottom. It will keep doing this over and over again.
    It's only happened once so far, but I seem to remember reading about some issues when waking from sleep with the new unibody Macbooks with regards to external displays. Is this a known issue with these Macbooks?

    There have been similar reports. However, not all external displays in combination with a MacBook will exhibit this problem. Thus, it seems either display specific or something that is caused by a cross between one display and a MacBook.
    I assume that you are using one of Appe's mini DisplayPort to DVI adapters to connect to the external display. In that case have you installed the latest firmware update for the adapter?

  • Content title/filename issues when contributing content from Outlook

    Hi,
    We have a critical issue with content title/file name when contributing content from within MS Outlook (2003) using the Desktop Integration Suite (11g) component.
    Either by copy-paste, or by drag-n-droping of an email item to a Contribution Folder in CS, the filename and content title are displayed as coded characters, instead of the email subject.
    e.g
    If an email item with subject "Oracle Magazine - July/August 2010" is being copied to CS contribution folders, its title should be "Oracle Magazine - July/August 2010" and file name something like "Oracle Magazine - July/August 2010.msg". Instead it gets a name that looks like this "0881FC3B-F733-46D3-869F-AB73F352D25F.msg" and title "0881FC3B-F733-46D3-869F-AB73F352D25F".
    Is there a solution for this, any configuration we are missing here so that we get a readable title and/or filename.
    thanks in advance

    Hi Srinath,
    We are using UCM 10gR3 (10.1.3.5.1). We tried both DIS 10gR3 (build 8.xxx) and 11g (build 9.xxx) with no result.
    And I am not able to find something in the documentation that could lead to a solution.

  • Mappings not triggered from Process flow?

    Hi,
    I have some mappings under a process flow..they are triggered daily but today they were not triggered can anyone tell me how to go about this?

    Hi ,
    If you have deployed the schedule then it will be in Disable state .
    You can check that by logging into SQL*PLUS as the Target user and running
    select job_name, state from user_scheduler_jobs;
    Use the Schedule tab on the Control Center Jobs panel in the Control Center Manager to schedule
    the job. Highlight, right click the job and from the pop-up menu select "start". Use the same query to check the current status:
    select job_name, state from user_scheduler_jobs;
    The above query will show whether the scheduled job is SCHEDULED, RUNNING or SUCCEEDED.
    Thanks,
    Sutirtha

  • Weird characters when generating WebHelp from a word document

    Hello,
    First of all, I'm using RoboHelp 6.
    I've seen many posts about this subject, but none with the same version.
    I've generated a WebHelp from a word document, that contains accentuated characters (french).
    When viewing that help from my local machine, it's ok.
    When viewing that help from a web server, it displays weird characters.
    I'd like to change the encoding to UTF8, in my web help.
    I've seen (if I understood well) that we could change the output charset when generating a web help, but only from the RoboHelp 7 version.
    How can I do such a thing on  RoboHelp 6 version ?
    I've tried to add <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> in many htm files, without success.
    Any ideas ?
    Thanks a lot
    Regards

    Hello
    Thank you for answering me.
    There is no way to do it using RoboHelp ?
    Thkx

  • Calling .exe file from process flow

    Hi All,
    I want to call an executable file from my process flow. What should I do for this. Please tell me. Eg. I want to call RUN.exe located in "c:\myfolder\run.exe" what should I do?
    Please help.
    Thanks,
    Danish

    I have had trouble with the user defined operator.
    Instead I use SQLPLUS operator to do these types of things.
    Use this for the Script Value:
    host c:\myfolder\run.exe
    exit;
    /

  • Remove spaces when generating xml from data mapped on object types

    My problem is kind of complex so I'll try to reduce it to a more manageable example:
    drop type msm force;
    drop type list_msm force;
    create type msm as object(
         nume char(20)
    create type list_msm as table of msm;
    select xmlserialize (document xmlelement("values",
         cast(multiset(
              select trim(p.den) from produse p) as list_msm
         ) as clob indent size=2
         ) as "xml"
         from dual;
    This is where it gets tricky.
    p.den is a field that contains spaces. I use trim(p.den) to remove them but because I cast this to list_msm, the values are then again mapped into msm objects, which have the "nume" field of char(20). So.. when generating the XML, the output still contains spaces.
    This is an excerpt of the result:
    <values>
    <LIST_MSM>
    <MSM>
    <NUME>Prod.1 </NUME>
    </MSM>
    <MSM>
    <NUME>Prod.2 </NUME>
    </MSM>
    <MSM>
    <NUME>Prod.3 </NUME>
    </MSM>
    <Later.. I see that the forum removes the extra spaces but I ensure you that after eg. "Prod.1" there are a lot of spaces, as the original field from the "produse" table is defined as char(20))
    So.. Is there a way to generate the XML without those extra spaces? Basically, I want to be able to trim them before I send them to the xml serializer, but the problem is that i have no control over the whole casting thing ( oracle magic happening that automatically creates all the xmlelements needed, etc.)
    Somehow, when the xml engine steps over the collection and accesses the fields, somehow, i need a trim there. Maybe some kind of accesor for the fields in the type can be declared so that the xml engine uses it instead of the field itself directly. The accesor would then return trim(field). Sorry for this mumbo jumbo gibberish but I want to be as clear as possible.
    Edited by: user9229988 on May 10, 2012 9:24 AM
    Edited by: user9229988 on May 10, 2012 9:25 AM
    Edited by: user9229988 on May 10, 2012 9:38 AM

    Hi.
    Check this:
    drop type msm force;
    drop type list_msm force;
    create type msm as object(
    nume VARchar2(20)     --VARCHAR2 NOT CHAR
    create type list_msm as table of msm;
    create table produse
    den char(20)
    INSERT INTO produse VALUES('Prod.1');
    INSERT INTO produse VALUES('Prod.2');
    INSERT INTO produse VALUES('Prod.3');
    COMMIT;
    select xmlserialize (document xmlelement("values",
    cast(multiset(
    select trim(p.den) from produse p) as list_msm
    ) as clob indent size=2
    ) as "xml"
    from dual;
    <values>
      <LIST_MSM>
        <MSM>
          <NUME>Prod.1</NUME>
        </MSM>
        <MSM>
          <NUME>Prod.2</NUME>
        </MSM>
        <MSM>
          <NUME>Prod.3</NUME>
        </MSM>
      </LIST_MSM>
    </values>Hope this helps.

  • Calling external scripts from Process Flow

    Hi,
    I'm trying to pass a list of parameters to a unix shell script using the parameter list in the process flow external process activity. However the parameter list is not being correctly passed. What is the correct format, delimiter & use of quotes ?
    Examples:
    Parameter List : REPORT_GROUPS,IGA,QLD,1
    Unix receives : EPO T_G OUPS,IGA,QLD,1 (3 parameters)
    and
    Parameter List : REPORT_GROUPS IGA QLD 1
    Unix receives : REPORT_GROUPS "" IGA "" QLD "" 1 (7 parameters - "" = null parameters received)
    Quotes just seem to be ignored.
    Can anyone give me the correct format or the where the format is documented ?
    In using OWB 9.0.4 with Oracle 9.2.0.2 on a HP UX server.

    Hi Pavel,
    The process flow editor interprets the first character in the parameter list as a separator (the 'R' in 'REPORT_GROUPS...' in your case).
    Check out OWB User Guide chapter 9, which says :
    Parameter List The list of parameters to be passed to the external process. Type the path
    and file name such as ?/c?c:\\temp\\run.bat .
    The Process Flow Editor interprets the first character you type to be the
    separator. For example, the Process Flow Editor interprets the following
    entry as /c and dir.
    ?/c?dir?
    Use the backslash as the escape character. For example, the Process Flow
    Editor interprets the following entry as -l and -s and /.
    /-l/-s/\//
    Hope this help.
    Regards
    Rolf

Maybe you are looking for