Clarification in flow

Hi Experts....
My selection screen is as below
companycode---> mandatory
Channel id
origin id  ---> Mandatory
Bill date -
>  Mandatory
my channel id is in a z table and stored in the table like
5801
5802
5803
in order to link this in the next table (xblnr-Bkpf) the channel id is stored as
5801-3605T
5801-3605R
5801-3605s
I need to cut the remaining half from - "hyphen' and link with the bkpf table
(i.e) 5801 from z table and all that satisfies with 5801 in xblnr-BKPF
My doubts is that....
1. is it neccessary to check channel id for is not inital ,  since it is notobligatory in my selection screen.
2. is it right to concatenate and check for  '-' hyphen  or i should
split and check .....
If iam wrong in the coding, can you please correct me?????
Thankx in advance
Rachel
part of my coding
===============
select channel_id from zft_oa_channel into corresponding fields of table it_zchannel
                                                where channel_id = pr_chaid.
if it_zchannel[] is not initial.
concatenate pr_chaid+0(4) '%' into pr_chaid.
select bukrs belnr gjahr bldat xblnr from bkpf into corresponding fields of table it_bkpf
                                              where bukrs = pr_bukrs
                                              and    bldat in so_bldat
                                              and    blart = 'AR'
*and    belnr = wa_bkpf-belnr
*and    gjahr = wa_bkpf-gjahr
                                              and    xblnr like pr_chaid.
endif.
if it_bkpf[] is not initial.
select bukrs belnr gjahr  xref1 xref2 kunnr dmbtr  from bseg into corresponding fields of table it_bseg
                                          for all entries in it_bkpf
                                           where  bukrs = it_bkpf-bukrs
                                                  and belnr = it_bkpf-belnr
                                                  and gjahr = it_bkpf-gjahr.
                                                 and kunnr =  wa_bseg-kunnr.
endif.
if it_bseg[] is not initial.
select  kunnr  name1 locco  from kna1 into corresponding fields of table it_kna1
                                      for all entries in it_bseg
                                        where  kunnr = it_bseg-kunnr and
                                                locco = pr_locco.
endif.
loop at it_bseg into wa_bseg where belnr = wa_bseg-belnr.    
   wa_final-kunnr = wa_bseg-kunnr.
   wa_final-xref1 = wa_bseg-xref1.
   wa_final-xref2 = wa_bseg-xref2.
   wa_final-dmbtr = wa_bseg-dmbtr.
   read table it_bkpf into wa_bkpf  with key belnr = wa_bkpf-belnr.       
if sy-subrc = 0.
    wa_final-xblnr = wa_bkpf-xblnr.
    wa_final-bldat = wa_bkpf-bldat.
  endif.

1. If Channel ID can be BLANK and still you are looking for the output then no need to check for NULL.
but, if has to get some value then its betterto check for NULL to avoid unnecessary processing.
2. You can do as you want to, SPLIT or CONCATENATE.

Similar Messages

  • Clarification?: Frank & Lynn's book - task flow "shared" data control scope

    I'm seeking clarification around shared data control scopes please, regarding a point made in Frank Nimphius and Lynn Munsinger's "Oracle Fusion Developer Guide" McGraw-Hill book.
    On page 229 there is a note that states "The data control scope can be shared only if the transaction is also shared". Presumably this implies that only the transaction options "Always Use Existing Transaction" or "Use Existing Transaction if Possible" are applicable for a shared data control scope.
    However this seems at odds with what the IDE supports, as you can also select the transaction options "<No Controller Transaction>" and "Always Begin New Transaction" when the data control scope is set to shared.
    What's correct? The IDE or the book?
    Your assistance appreciated.
    CM.

    Chris,
    "The data control scope can be shared only if the transaction is also shared"
    At least the book stands correct for what I could test in a simple test case:
    1. no transaction - no sharing
    - no master/detail synchronization. DC are bot shared
    - commit in called btf does not commit caller task flow
    2. "always use existing" transaction selects shared Data Control and automatically disables this field so there is no other option for this
    3. Share DataControl and "Always begin transaction"
    Committing transaction in called btf also commits the transaction in calling TF
    So bottom line is that the transaction handling in ADFc appears to be confusing as it only is a directive for the DataControl to interpret.
    Also see page 14 "Task flow "new transaction" vs. "new db connection"" of : http://www.oracle.com/technetwork/developer-tools/adf/learnmore/march2011-otn-harvest-351896.pdf
    In ADF BC it seems that separated transactions only exist if you use isolated mode. If you use shared and new transaction then basically the transactions are not isolated.
    Frank
    Ps.: I took an action item to follow up with development about what the expected ADF BC behavior for the controller settings are.

  • Clarification on IDOC flow from XI to R/3 system

    Hi
      After successful syndication it will create XML which will be taken by XI and push to R/3 system. If am facing some issues in R/3 Inbound IDOC processing, how do I track the same in XI ? or is there any alternate kindly advice.
    thanks in adv
    Alexander

    Alexander,
    If the data has gone out of XI successfully and IDOC has been recieved by R/3, you cannot track the same in XI.
    In R/3, you can look at the list of IDOCS using WE02 transaction. Please take a look at the status of the IDOC and it should tell you what could be the error.
    Regards
    Ravi

  • Flow ,  flown and parellel processing : Clarification of my problem again

    Hi All
    its really nice to c the answers but I think I need to make more clear of the problem, am using flowN now,
    but I am having problems with that. First I will explain you the scenerio -- I have 6 types of orders, ABCD
    and EF , user need to select One of the Orders of ABCD or none( so Max One in this group ). and one of
    or both in EF group. So-->same data or bit different data ---> like ( A- 3 orders ) ( E F - 2 orders ) total
    A=3 E-2, F-2 ( total : 6 ) . I followed an approach all the activites relating to submitting and saving the
    orders kept in FlowN and N=(<=number of orders) index=iterator. for demo I have place one A order
    and 2 E orders , in result it is showing iterator=1,2,3 in the three processes it is shwoing all A orders only
    thats what my problem. I hope you guys understand my problem.... now plz suggest me ..asap
    thanks & regards
    jalandhar.

    Hi Antanoy,
    PFA code and please revert me asap if you dont undestand anything, thanks a lot for your reply. Expecting earliest reply dear friend.
    <sequence name="Sequence_35">
    <bpelx:flowN name="FlowN_CreateOrder"
    N="bpws:getVariableData('numberOfOrders')"
    indexVariable="iterator">
    <sequence name="Sequence_30">
    <assign name="assignInput">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns4:OrderList/Order[bpws:getVariableData('iterator')]"/>
    <to variable="oneOrder" query="/ns4:Order"/>
    </copy>
    </assign>
    <switch name="CreateOrModifyOrder">
    <case condition="contains(bpws:getVariableData('oneOrder','/ns4:Order/OrderNo'),'undefined') or bpws:getVariableData('oneOrder','/ns4:Order/OrderNo')=''">
    <bpelx:annotation>
    <bpelx:pattern>CreateOrder</bpelx:pattern>
    </bpelx:annotation>
    <sequence name="Sequence_14">
    <sequence name="Sequence_18">
    <assign name="assign_actions">
    <copy>
    <from expression="'C'"/>
    <to variable="oneOrder" query="/ns4:Order/main/Action"/>
    </copy>
    <copy>
    <from expression="'C'"/>
    <to variable="oneOrder"
    query="/ns4:Order/supplier/Action"/>
    </copy>
    <copy>
    <from expression="'C'"/>
    <to variable="oneOrder"
    query="/ns4:Order/delivery/Action"/>
    </copy>
    <copy>
    <from expression="'U'"/>
    <to variable="oneOrder"
    query="/ns4:Order/product/Action"/>
    </copy>
    <copy>
    <from expression="'U'"/>
    <to variable="oneOrder"
    query="/ns4:Order/costings/Action"/>
    </copy>
    </assign>
    <switch name="Switch_TechnicalList">
    <case condition="contains(bpws:getVariableData('oneOrder','/ns4:Order/TechnicalListId'),'undefined') or bpws:getVariableData('oneOrder','/ns4:Order/TechnicalListId')='' ">
    <sequence name="Sequence_26">
    <assign name="Assign_LineList">
    <copy>
    <from expression="'T'"/>
    <to variable="createLineList_createList_InputVariable"
    part="parameters"
    query="/ns10:createListElement/pListType"/>
    </copy>
    <copy>
    <from variable="oneOrder"
    query="/ns4:Order/main/MarketingGrpId"/>
    <to variable="createLineList_createList_InputVariable"
    part="parameters"
    query="/ns10:createListElement/pMktngGrp"/>
    </copy>
    <copy>
    <from expression="'A order'"/>
    <to variable="createLineList_createList_InputVariable"
    part="parameters"
    query="/ns10:createListElement/pDescription"/>
    </copy>
    </assign>
    <invoke name="createLineList"
    partnerLink="INF_xx_cccc_ORDER"
    portType="ns9:INF_yy_ccee_ORDER"
    operation="createList"
    inputVariable="createLineList_createList_InputVariable"
    outputVariable="createLineList_createList_OutputVariable"/>
    <assign name="Assign_linelist_id">
    <copy>
    <from variable="createLineList_createList_OutputVariable"
    part="parameters"
    query="/ns10:createListResponseElement/result"/>
    <to variable="oneOrder"
    query="/ns4:Order/TechnicalListId"/>
    </copy>
    </assign>
    </sequence>
    </case>
    <otherwise>
    <empty name="TechnicalList_not_empty"/>
    </otherwise>
    </switch>
    <switch name="Switch_OrderTypes">
    <case condition="bpws:getVariableData('oneOrder','/ns4:Order/main/OrderType')='4'">
    <bpelx:annotation>
    <bpelx:pattern>D</bpelx:pattern>
    </bpelx:annotation>
    <sequence name="Sequence_34">
    <assign name="Order_D">
    <copy>
    <from variable="oneOrder" query="/ns4:Order"/>
    <to variable="saveOrder_input" part="parameters"
    query="/ns10:saveOrderElement/orderdata/Order"/>
    </copy>
    <copy>
    <from expression="'4'"/>
    <to variable="oneOrder" query="/ns4:Order"/>
    </copy>
    </assign>
    <assign name="Append_order">
    <copy>
    <from variable="saveOrder_input" part="parameters"
    query="/ns10:saveOrderElement/orderdata/Order"/>
    <to variable="outputVariable" part="payload"
    query="/ns4:OutputMessage/OrderList"/>
    </copy>
    </assign>
    <invoke name="Create_Order"
    partnerLink="INF_cc_kkkk_ORDER"
    portType="ns9:INF_cc_kkkk_ORDER"
    operation="saveOrder"
    inputVariable="saveOrder_input"
    outputVariable="saveOrder_Output"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('oneOrder','/ns4:Order/main/OrderType')='3'">
    <bpelx:annotation>
    <bpelx:pattern>Order_C</bpelx:pattern>
    </bpelx:annotation>
    <sequence name="Sequence_33">
    <assign name="Order_C">
    <copy>
    <from variable="oneOrder" query="/ns4:Order"/>
    <to variable="saveOrder_input" part="parameters"
    query="/ns10:saveOrderElement/orderdata/Order"/>
    </copy>
    <copy>
    <from expression="'3'"/>
    <to variable="oneOrder" query="/ns4:Order"/>
    </copy>
    </assign>
    <assign name="Append_order">
    <copy>
    <from variable="saveOrder_input" part="parameters"
    query="/ns10:saveOrderElement/orderdata/Order"/>
    <to variable="outputVariable" part="payload"
    query="/ns4:OutputMessage/OrderList"/>
    </copy>
    </assign>
    <invoke name="Create_order"
    partnerLink="INF_XX_VVVV_ORDER"
    portType="ns9:INF_XX_CCCC_ORDER"
    operation="saveOrder"
    inputVariable="saveOrder_input"
    outputVariable="saveOrder_output"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('oneOrder','/ns4:Order/main/OrderType')='2'">
    <bpelx:annotation>
    <bpelx:pattern>B</bpelx:pattern>
    </bpelx:annotation>
    <sequence name="Sequence_32">
    <assign name="Order_B">
    <copy>
    <from variable="oneOrder" query="/ns4:Order"/>
    <to variable="saveOrder_input" part="parameters"
    query="/ns10:saveOrderElement/orderdata"/>
    </copy>
    <copy>
    <from expression="'2'"/>
    <to variable="oneOrder" query="/ns4:Order"/>
    </copy>
    </assign>
    <assign name="Append_order">
    <copy>
    <from variable="saveOrder_input" part="parameters"
    query="/ns10:saveOrderElement/orderdata/Order"/>
    <to variable="outputVariable" part="payload"
    query="/ns4:OutputMessage/OrderList"/>
    </copy>
    </assign>
    <invoke name="Create_Order"
    partnerLink="INF_cc_kkkk_ORDER"
    portType="ns9:INF_cc_kkkk_ORDER"
    operation="saveOrder"
    inputVariable="saveOrder_input"
    outputVariable="saveOrder_output"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('oneOrder','/ns4:Order/main/OrderType')='1'">
    <bpelx:annotation>
    <bpelx:pattern>A</bpelx:pattern>
    </bpelx:annotation>
    <sequence name="Sequence_31">
    <assign name="Order_A">
    <copy>
    <from variable="oneOrder" query="/ns4:Order"/>
    <to variable="saveOrder_input" part="parameters"
    query="/ns10:saveOrderElement/orderdata/Order"/>
    </copy>
    <copy>
    <from expression="'1'"/>
    <to variable="oneOrder" query="/ns4:Order"/>
    </copy>
    </assign>
    <assign name="Append_order">
    <copy>
    <from variable="saveOrder_input" part="parameters"
    query="/ns10:saveOrderElement/orderdata/Order"/>
    <to variable="outputVariable" part="payload"
    query="/ns4:OutputMessage/OrderList"/>
    </copy>
    </assign>
    <invoke name="Create_Order"
    partnerLink="INF_cc_kkkk_ORDER"
    portType="ns9:INF_cc_kkkk_ORDER"
    operation="saveOrder"
    inputVariable="saveOrder_input"
    outputVariable="saveOrder_output"/>
    </sequence>
    </case>
    <otherwise/>
    </switch>
    <switch name="Switch_PartnerOrderTypes">
    <case condition="bpws:getVariableData('oneOrder','/ns4:Order/main/OrderType')='6'">
    <sequence name="Sequence_37">
    <assign name="Order_F">
    <copy>
    <from variable="oneOrder" query="/ns4:Order"/>
    <to variable="saveOrder_input" part="parameters"
    query="/ns10:saveOrderElement/orderdata/Order"/>
    </copy>
    <copy>
    <from expression="'6'"/>
    <to variable="oneOrder" query="/ns4:Order"/>
    </copy>
    </assign>
    <assign name="Append_Order">
    <bpelx:append>
    <bpelx:from variable="saveOrder_input"
    part="parameters"
    query="/ns10:saveOrderElement/orderdata/Order"/>
    <bpelx:to variable="outputVariable" part="payload"
    query="/ns4:OutputMessage/OrderList"/>
    </bpelx:append>
    </assign>
    <invoke name="Create_order"
    partnerLink="INF_cc_kkkk_ORDER"
    portType="ns9:INF_cc_kkkk_ORDER"
    operation="saveOrder"
    inputVariable="saveOrder_input"
    outputVariable="saveOrder_output"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('oneOrder','/ns4:Order/main/OrderType')='5'">
    <sequence name="Sequence_36">
    <assign name="Order_E">
    <copy>
    <from variable="oneOrder" query="/ns4:Order"/>
    <to variable="saveOrder_input" part="parameters"
    query="/ns10:saveOrderElement/orderdata/Order"/>
    </copy>
    <copy>
    <from expression="'5'"/>
    <to variable="oneOrder" query="/ns4:Order"/>
    </copy>
    </assign>
    <assign name="AppendOrder">
    <copy>
    <from variable="saveOrder_input" part="parameters"
    query="/ns10:saveOrderElement/orderdata/Order"/>
    <to variable="outputVariable" part="payload"
    query="/ns4:OutputMessage/OrderList"/>
    </copy>
    </assign>
    <invoke name="Create_Order"
    partnerLink="INF_cc_kkkk_ORDER"
    portType="ns9:INF_cc_kkkk_ORDER"
    operation="saveOrder"
    inputVariable="saveOrder_input"
    outputVariable="saveOrder_output"/>
    </sequence>
    </case>
    <otherwise/>
    </switch>
    <assign name="appendOrderResult">
    <copy>
    <from variable="oneOrder" query="/ns4:Order"/>
    <to variable="outputVariable" part="payload"
    query="/ns4:OutputMessage/OrderList"/>
    </copy>
    </assign>
    <assign name="Iterator">
    <copy>
    <from expression="bpws:getVariableData('iterator')"/>
    <to variable="iterator"/>
    </copy>
    </assign>
    </sequence>
    </sequence>
    </case>
    <otherwise>
    <sequence name="UPDATEOrder">
    <assign name="Assign_Order">
    <copy>
    <from variable="oneOrder" query="/ns4:Order"/>
    <to variable="updateOrder_process_InputVariable"
    part="payload" query="/ns4:UpdateOrderList/Order"/>
    </copy>
    </assign>
    <invoke name="updateOrder"
    partnerLink="Inf_XX_XXXX_UpdateOrders"
    portType="ns15:Inf_XX_XXXX_UpdateOrders"
    operation="process"
    inputVariable="updateOrder_process_InputVariable"
    outputVariable="updateOrder_process_OutputVariable"/>
    <assign name="Assign_update_result">
    <bpelx:append>
    <bpelx:from variable="updateOrder_process_OutputVariable"
    part="payload"
    query="/ns4:UpdateOutputMessage/UpdateOrderList/Order"/>
    <bpelx:to variable="outputVariable" part="payload"
    query="/ns4:OutputMessage/OrderList"/>
    </bpelx:append>
    </assign>
    <assign name="appendOrderNoToList">
    <copy>
    <from expression="concat(bpws:getVariableData('createdOrderNoStringList'),bpws:getVariableData('updateOrder_process_OutputVariable','payload','/ns4:UpdateOutputMessage/UpdateOrderList/Order/OrderNo'),';')"/>
    <to variable="createdOrderNoStringList"/>
    </copy>
    </assign>
    </sequence>
    </otherwise>
    </switch>
    </sequence>
    </bpelx:flowN>
    <assign name="OK">
    <copy>
    <from expression='"OK"'/>
    <to variable="outputVariable" part="payload"
    query="/ns4:OutputMessage/resultDescr"/>
    </copy>
    </assign>
    </sequence>
    </scope>
    <reply name="replyOutput" partnerLink="client"
    portType="client:Inf_XX_XXXX_CreateOrders" operation="process"
    variable="outputVariable"/>
    </sequence>
    </process>
    thanks & regards
    j..

  • The subtle use of task flow "No Controller Transaction" behavior

    I'm trying to tease out some subtle points about the Task Flow transactional behavior option "<No Controller Transaction>".
    OTN members familiar with task flows in JDev 11g and on wards would know that task flows support options for transactions and data control scope. Some scenarios based on these options:
    a) When we pick options such as "Use Existing Transaction" and shared data control scope, the called Bounded Task Flow (BTF) will join the Data Control Frame of its caller. A commit by the child does essentially nothing, a rollback of the child rolls any data changes back to when the child BTF was called (i.e. an implicit save point), while a commit of the parent commits any changes in both the child and parent, and a rollback of a parent loses changes to the child and parent.
    A key point to realize about this scenario is the shared data control scope gives both the caller and called BTF the possibility to share a db connection from the connection pool. However this is dependent on the configuration of the underlying services layer. If ADF BC Application Modules (AMs) are used, and they use separate JNDI datasources this wont happen.
    b) When we pick options such as "Always Begin New Transaction" and isolated data control scope, the called BTF essentially has its own Data Control Frame separate to that of the caller. A commit or rollback in either the parent/caller or child/called BTF are essentially isolated, or in other words separate transactions.
    Similar to the last point but the exact opposite, regardless how the underlying business services are configured, even if ADF BC AMs are used with the same JNDI data source, essentially separate database connections will be taken out assisting the isolated transactional behavior with the database.
    This brings me back to my question, of the subtle behavior of the <No Controller Transaction> option. Section 16.4.1 of the Fusion Guide (http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/taskflows_parameters.htm#CIHIDJBJ) says that when this option is set that "A new data control frame is created without an open transaction." So you could argue this mode is the same as isolated data control scope, and by implication, separate connections will be taken out by the caller/called BTF. Is this correct?
    Doesn't this in turn have implications about database read consistency? If we have one BTF participating in a transaction with the database, reading then writing data, and a separate BTF with the <No Controller Transaction> option set, it's possible it wont see the data of the first BTF unless committed before the No Controller Transaction BTF is called and queries it's own dataset correct?
    An alternative question which takes a different point of view, is why would you ever want this option, don't the other options cover all the scenarios you could possibly want to use a BTF?
    Finally as a separate question based around the same option, presumably an attempt to commit/rollback the Data Control Frame of the associated No Controller Transaction BTF will fail. However what happens if the said BTF attempts to call the Data Control's (not the Data Control Frame's) commit & rollback options? Presumably this will succeed?
    Your thoughts and assistance appreciated.
    Regards,
    CM.

    For other readers this reply is a continuation of this thread and another thread: Re: Clarification?: Frank & Lynn's book - task flow "shared" data control scope
    Hi Frank
    Thanks for your reply. Okay I get the idea that were setting the ADFc options here, that can be overridden by the implementation of data control, and in my specific case that's the ADF BC AM implementation. I've always known that, but the issue became complicated because it didn't make sense what "No Controller Transaction" actually did and when you should use it, and in turn data control frames and their implementation aren't well documented.
    I think a key point from your summation is that "No Controller Transaction" in context of ADF BC, with either data control scope option selected, is effectively (as far as we can tell) already covered by the other options. So if our understanding is correct, the recommendation for ADF BC programmers is I think, don't use this option as future programmers/maintainers wont understand the subtlety.
    However as you say for users of other data controls, such as those using web services, then it makes sense and possibly should be the only option?
    Also regarding your code harvest pg 14 entry on task flow transactions: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/march2011-otn-harvest-351896.pdf
    ....and the following quote in context of setting the transaction option to Begin New Transaction:
    >
    When a bounded task flow creates a new transaction, does it also mean it creates a new database connection? No.
    >
    ....I think you need to be a little more careful in this answer, as again it depends on the underlying data control implementation as you point out in this thread. In considering ADF BC, this is correct if you assume only one root AM. However if the BTFs have separate root AMs, this should result in 2 connections and transactions..... well at least I assume it does, though I wonder what will happen if both AMs share the same JNDI data source.... is the framework smart enough to join the connections/transactions in this case?
    Also in one of your other code harvests (apologies I can't find which one at the moment) you point out sharing data control scopes is only possible if the BTF data controls have the same name. In context of an ADF BC application, with only one root AM used by multiple BTFs, this of course would be the case. Yet, the obvious implication to your summary of transaction outcomes in this thread, if the developers for whatever reason change the DC name across DataBindings.cpx files sourced from ADF Libraries containing the BTFs, then no, it wont.
    Overall the number of variables in this gets really complicated, creating multiple dimensions to the matrix.
    Going to your last point, how can the documentation be improved? I think as you say the documentation is right in context of the options for ADFc, but, as the same documentation is included in the Fusion Dev Guide which assumes ADF BC is being used, then it isn't clear enough and can be misleading. It would seem to me, that depending on the underlying data control technology used, then there needs to be documentation that talks about the effect of ADFc task flow behavior options in the context of each technology. And God knows how you describe a scenario where BTFs use DCs that span technologies.
    From context of ADF BC, one thing that I've found hard in analyzing all of this is there doesn't seem to be an easy way from the middletier to check how many connections are being taken out from a data source. The FMW Control unfortunately when sampling db connections taken out from a JNDI data source pool, doesn't sample quickly enough to see how many were consumed. Are you aware of some easy method to check the number of the db connections opened/closed?
    Finally in considering an Unbounded Task Flow as separate to BTFs, do you have any conclusions about how it participates in the transactions? From what I can determine the UTF lies in it's own data control frame, and is effectively isolated from the BTF transactions, unless, the BTF calls commit/rollback at the ADF BC data control level (as separate to commit/rollback at the data control frame level), and the data control is used both by the UTF and BTF.
    As always thanks for your time and assistance.
    CM.

  • How to obtain current location with in a flow

    Hi,
    This might be very basic level query, but i cant figure it out.
    I want to extract the location with in a flow. ie in my proxy service i have multiple stages and with in each stage i am using some log actions to print some statements. I can see the log statement does shows the location where the 'log' is generated from. something like this
    <ERROR> <ALSB Logging> <BEA-000000><*[Message Flow Pipeline, Message Flow Pipeline_request, stage1]*> My Message
    My Query is how i can obtain this string "*[Message Flow Pipeline, Message Flow Pipeline_request, stage1]" , in some variable, in my flow in case i need to log my current location somewhere.
    Many thanks for your help!
    sall

    thanks guys!
    I had already looked for any context variable which could provide the current location but no success!
    The business scenario is:
    Proxy request pipleline has saveral stages, from within each stage i have to make a java callout, which is basically a internal logging mechanism, with current location.
    Currently i am using hard coded string value e.g. "[JMS Flow Pipleline, JMS Flow Pipeline_request, Stage 1]" or "[JMS Flow Pipleline, JMS Flow Pipeline_request, Stage 2]", which is pretty pathetic. Any ideas how can we obtain the current location, within a flow, and assign it to some variable like location etc???
    I would like to use something like '$input/@name' which returns some string "ProxyServices$Template$Services$ProxyService"
    I hope this explains bit more, however let me know if you need more clarification.
    thanks
    sall

  • Calling a bounded task flow from  an unbounded task flow

    How can I navigate from an unbounded task flow to a bounded task flow....
    My situation is as follows:
    In the adfc-config.xml, I have a view activity ADMhome, Wildcard as well as a task-flow-call, admTaskFlow.  A control flow goes from the wildcard to ADMhome while another control flow goes from the wildcard to task-flow-call.
    I have a bounded task-flow "adm-task-flow" with two view actitivies: AdmListView and AdmPageView with AdmListView as the default activity. A Control flow goes from the AdmListView to AdmPageView, all pointing the page fragments
    I created another page ADMregion which is a  (jsf) where I dragged the adm-task-flow onto.
    When I ran the application, the home page displayed properly but when I clicked on a command button to invoke the "adm-task-flow", the application will not responded.
    When I looked at the log message, It gave this message:
    <TaskFlowCallXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <TaskFlowCallXmlImpl> <parse> ADFc: Failed to parse element 'task-flow-reference'.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['task-flow-call', ' admTaskFlow '].

    Thanks for this clarifications...
    I created a view activity in the adfc-config-xml and called the page (ADMregion) where the task flow was embedded. It worked well..
    Another clarification I want is this, when do I use a task flow call to call a task flow?  My thinking and my understanding was that when you create a task flow, you use a task flow call to invoke the task flow.
    Pls another aspect I want you to guide me is on calling a java class from jsf and jsff pages. Being new in these technologies, I have having some difficulties navigating and putting all of them together. My problem is this:
    I created a java class under the view package of Application Sources in the View Controller of my Application. The java class returns a value. I designed a jsff form with input fields and and command buttons. I want when I clicked on a command button to take a parameter from the input field and pass it to the java class, the after processing, the java class returns a value which I will place inside one of the input fields in my jsff form.

  • What is the process flow in MRP - MD61+MD01,MD02+MD04+COR7

    Hi experts,
    I need one clarification for Material requirment planning ( MRP - Process industries )
    My company is newly implemented in SAP so i want some clarification in MRP side.  My company flow is 3 rd level converted of FG.
    1 st level - Raw paint - Samifinished
    2 nd level - Tin condition - Samifinished
    3 rd level - Case condition - FG
    I have raised PIR in MD61 at FG code, after MRP Run planded order created at three level ( 1 st, 2nd, 3rd - level)
    But what is the t.code used is correct recording MRP Run - MD01( Plant level ) OR MD02 ( Single item)
    what is the t.code used for over all requirment Bill of material list ( ROH & VERP)at plant based recording purchase the material.
    Kindly pls explain the flow for PIR > MRP RUN>STOCK RECUIRMENT LIST> PLANNED ORDER TO PROCESS ORDER>
    Thanks,
    Umapathy

    Hi,
    To proceed further you should firm confirm that below master data properly maintained in your system,
    - Create BOM - CS01
    - Create Resource - CRC1
    - Create Master Recipe - C201
    Now your business process starts with the requirements created in the system e.g. by MD61 in your case
    Now you can run the MRP by MDBT/MD01/MD02 for your case. It is suggested to go with MD02 for better understanding on MRP behavior for single FG material.
    Now You can analyze the MRP result for single FG material in MD04 transaction wherein you will get the planned order created through MRP run and also the order report for planning of below level components of BOM
    Then you can further proceed for Production Execution with the help of below transactional steps:-
    - COR1 - Create Process Order Manual
    - COR7 - Convert Plan Order to Process Order
    - COR6N/CORZ/CORR - Order Confirmation
    - CORS - Cancel Confirmation
    - CORT - Display Confirmation
    - CO53 - Control Recipe Monitor (Optional)
    - CO55/CO60 - Maintain PI Sheet (Optional)
    - CO54 - Process Massage Monitor (Optional)
    - MB31 - Goods Receipt For Order
    - COIK / MB1A / MIGO :- Goods Issue
    - KKS1/KKS2 - Calculate Varience
    - CO88 - Actual settlement
    - COOISPI - Order Information System
    You can see the all PR created through MRP in ME5A transaction by selecting the Creation Indicator as B for MRP as shown in below screen,    
    And for rest of analysis you can use COOISPI report.
    Regards,
    Narresh

  • Access to trunk port clarification

    Hello-
    I am looking to clarify a point of confusion for myself regrading connecting an access port to a trunk port. Consider the following switchport config on switch1:
    Switch#1
    interface GigabitEthernet0/5
     switchport
     switchport access vlan 6
    ....and the corresponding config on it's neighbor:
    Switch#2
    Interface GigabitEthernet10/8
    switchport
    switchport mode trunk
    switchport trunk allowed vlan 1,6,100
    My first question is- Is this a valid configuration? Secondly, what would the expected results be? I am curious about what vlans would be allowed to pass through..
    Thanks in advance-
    Brian

    This would work fine but not recommended.
    Also the traffic between the switches would be only Native Vlan and vlan 6 will pass through.
    SW1-----F0/1----------f0/1----SW2
    SW1#sh int trunk 
    Port        Mode         Encapsulation  Status        Native vlan
    Fa0/1       auto         n-802.1q       trunking      1
    Port        Vlans allowed on trunk
    Fa0/1       1-1005
    Port        Vlans allowed and active in management domain
    Fa0/1       1,6
    Port        Vlans in spanning tree forwarding state and not pruned
    Fa0/1       1,6
    SW1#
    SW2
    SW2#sh int trunk 
    Port        Mode         Encapsulation  Status        Native vlan
    Fa0/1       on           802.1q         trunking      1
    Port        Vlans allowed on trunk
    Fa0/1       1,6,100
    Port        Vlans allowed and active in management domain
    Fa0/1       1,6,100
    Port        Vlans in spanning tree forwarding state and not pruned
    Fa0/1       1,6,100
    SW2#
    2) Part of this config is that any vlans which are been configured under the SW1 would be allowed through that access port.
    ex:
    SW1#sh int trunk 
    Port        Mode         Encapsulation  Status        Native vlan
    Fa0/1       auto         n-802.1q       trunking      1
    Port        Vlans allowed on trunk
    Fa0/1       1-1005
    Port        Vlans allowed and active in management domain
    Fa0/1       1,6,10,20,30,40,50,60,70,80,90,100
    Port        Vlans in spanning tree forwarding state and not pruned
    Fa0/1       1,6,10,20,30,40,50,60,70,80,90,100 ...>>>>>>>>>>all vlans are allowed here.
    b)
    Were as on Switch 2 if you create all these vlans and u dont allow that to go through the trunk interface which you have configured those vlans would nt be flowing through.
    eg;
    SW2#sh int tr
    Port        Mode         Encapsulation  Status        Native vlan
    Fa0/1       on           802.1q         trunking      1
    Port        Vlans allowed on trunk
    Fa0/1       1,6,100
    Port        Vlans allowed and active in management domain
    Fa0/1       1,6,100
    Port        Vlans in spanning tree forwarding state and not pruned
    Fa0/1       1,6,100>>>>>>>>>>>>>>>.Only 3 vlans would be flowing through due to explicit defined. but if you defined allowed all then all vlans would be shown here.
    i created all the vlans above on sw2 but you can see only 3 vlans are allowd as you have explicitly defined it.
    Hope this clarifies your query.
    Regards
    Inayath
    *************Plz dont forget to rate posts***********

  • Confirmation Control Work Flow  in Purchase Order

    Hi Gurus,
       Can anyone explain me about the Confirmation Control Tab Work Flow in Purchase Order.
       If i select the Conf. Control in Purchase Order, next what process has to follow?
       Thanks in Advance
    Regards,
    Prabhakaran M

    Hi Prabhakaran
    The Confirmation Control tab has a field for selecting the COnfirmaiton control Key for the PO Item. This key Determines which confirmation categories are expected for a PO item (e.g. order acknowledgment, shipping notification).
    There are four categories delivered in the standard system, which decides whether you need only a ASN for a PO Item, or ASN with a rough GR, or Rough GR only etc.
    Once you have this key set up, system expects you to create that document for this item before you process the GR or Invoice.
    You can also set up automatic ASN creation if you have EDI Integration with the vendor.
    Benefit of ASN is that you ve the confirmed delivery dates and quantities well in advance and warehouse/Inventory team can plan their operations accordingly in advance...
    I hope this clarifies your questions
    Regards
    Virender Singh

  • Regarding work flow for credit block release in sales order

    Dear Experts,
    Kindly help me with work flow-
    my scenario is if customers credit limit of 5000$ exceeds in sales order it should be blocked and notification should go to authorize person through simple mail to release this block.
    for this i have done settings in out control i have used output type krml and determined partner as employee responsible to release block in customer master but mail is not triggered to authorized person for credit block and how i can create work flow for this so that authorized person should get notify for credit block as well he releases block also.
    Regards
    Supriya

    Dear supriyaparimal,
    Please find the below points to fix your issue.
    1. Configure the out put determination by using the condition type KRML.(Hope oyu have done it already).
    2.Maintain the condition records in VV11 for condition type "KRML"
    3.Then select the condition record and click the communication tab .
    4. If you want to give any information you can use "Note for recipient".
    5. If the information has to be sent to relevant person you recipient name in the recipient column.
    Save the documnet.
    If you raise the sales order and if it is blocked then system automatically send the information to respective person.
    You can get this in formation in ""SBWP" transaction code.
    Check the in box, the information what you have mentioned in the condition records will be appeared.
    Please let me know if you have any clarifications
    Thanks&Regards
    raghu.k

  • Exchange 2013 SMTP Mail Flow from external domains

    I have query related to mail flow for incoming mails from external domains from Internet facing site. There are two sites - Site A & Site B. Both have Exchange 2013 CAS servers in NLB and Exchange 2013 Mailbox in individual DAG - say DAG1 in Site
    A and DAG2 in Site B. Site A is Internet facing site and site B is not Internet facing.
    An incoming Internet mail meant for recipient in Site B will land in Exchange 2013 CAS server in Site A. This CAS Server in Site A will look for the recipient in local Domain Controller and get to know the mailbox database of this recipient is in DAG2 (
    in site B ) Will the FET service in EX2013 CAS in Site A make a SMTP connection with FET service of EX2013 CAS in site B which will then make SMTP connection to EX2013 Mailbox server in Site B which is holding the recipient mailbox Active copy for delivery.
    OR
    EX2013 CAS will send this mail to Ex2013 Mailbox server in site A and the Hub Transport service running in in site A will then make SMTP connection with EX2013 Mailbox server in Site B which is holding the recipient mailbox Active copy
    Need clarification on above
    Thanks
    Parveen

    Hello,
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    I'm marking the reply as answer as there has been no update for a couple of days.
    If you come back to find it doesn't work for you, please reply to us and unmark the answer.
    Cara Chen
    TechNet Community Support

  • Clarification on tax base amount

    Hello SAP Gurus
    I need some clarification on tax base amount.
    when we make PO, there is a base amount of material and has excise conditions. now when we do MIGO with capture & post excise, one excise tab comes in item details, which shows all the duty values and tax base amount.
    is this base amount & duties in MIGO are coming from PO?
    if i change tax base amount and duties values in MIGO, what will be the impact?
    if i change only duty values not tax base amount in MIGO, what will be the impact?
    when we do MIRO, system proposes amount from PO, when we simulate, from where the excise duty values are flowing from PO or MIGO?
    in MIRO screen, does system calculate the duties based on the amount coming in MIRO or it picks data from MIGO?
    i need above clarification because i am not able to post vendor invoices during MIRO, system shows "The tax amount must not be greater than the tax base". this is happening, when we are posting over value vendor invoices.
    during MIGO, in some case duty values have been changed keeping tax base amount as per PO, in some case tax base amount and duty values both have been changed based on vendor invoice. pl help.
    thanks & regards'

    Hi
    I have already done that in VKOA, accounting document showing tax code, tax amount, GL account except Base amount.
    Best Regards
    Swami

  • Basic Custom duty,CVD and Cess on CVD flows into Excise Invoice instate of BED, ECess on BED and SecECes on BED

    Hello Gurus,
    One of client having two plants one is DTA Plant and Another one is EHTP Plant(100 % EOU) having 100% EOU licence.Any customer buying from EHTP plant , client is charging Basic custome duty , CVD and CVD Cess .(i.e customer is buying from 100% EOU plant means nothing but importing from different country).
    They want all the amounts should hit the BED (Basic Excise Duty) G/L Account and those amounts should flow to excise invoice also.
    So can you please help me out how to map this scenario?
    @ Please find the below duty structure for more clarification.
               Basic Customs duty @
    3.75%
    CVD @               
    12.00%
    Educatoin Cess on CVD @
    2.00%
    Secondary & Higher Ed. Cess on CVD @
    1.00%
    Add:Education Cess on Aggregate duty @
    2.00%
    Add:Secondary & Higher Ed. Cess on Agg. Duty @
    1.00%
    Total Duty
    Duty Payable @ 100% of the Customs duties
    Total :
    Additional Duty @2% on all customs duties
    Cess @ 1% on all customs duties
    Total :
    Add VAT @
    14.50%
    Thanks & Regards
    Sujit Mahanty

    Hello Lakshmipathi,
    Thanks for the reply
    i made a pricing procedure where i maintained all the condition types for all the above excise duties.
    As i mentioned that all the above duties like Basic custom duty, CVD, Edu cess on CVD , Scnd Higher Edu Cess on CVD will hit to Basis Excise duty (BED) GL account,so to achieve this i maintained same (EXD) account Key what i used for BED.
    But i problem is that i am not getting all the duties in the excise invoice document, how to get all the duties in the Excise invoice.
    Kindly let me know what to do, to achieve all the duties in the excise invoice document.
    Regards
    Sujit Mahanty

  • Changed JAOQ values not flowing from J1IEX to MIRO

    Dear CIN experts,
    We are having Dealers excise invoice capturing scenario in our implementation.
    Here, we are capturing ADC for imported scrap at the time of posting J1IEX, which is not known at the time of punching PO. a nominal value has been maintained using JAOQ condition type.
    While posting J1IEX, the actual excise values (BED, ECESS and SECESS) as in Traders excise invoice is captured including ADC.
    All the values except AED (captured ADC) is flowing from J1IEX to MIRO, where as AED (JMOQ) is being picked up from Purchase order.
    But this is not the case if JAOP is used to capture ADC in tax procedure. the changed AED value in J1IEX is flowing to MIRO.
    Is this SAP standard behavior or is that SAP has not tested these scenarios?
    kindly help to solve the issue.
    Thanks in advance.
    Ashwin..

    Hi Shankar,
    Thanks for the reply.
    well, AED is almost non existent now. at least not in the scenario i have explained. this is about procurement of Metal Scrap. so the SAD that the import vendor has taken credit of is transferred to us through a dealer.
    with JAOP, i can increase or decrease the value of AED mentioned in PO. but this is not happening with JAOQ (value condition).
    With JAOQ, the value flows from PO, with JAOP, the value flows from J1IEX.
    please let me know, if you require any more clarification on the above scenario.
    Thanks again for the help
    Ashwin.

Maybe you are looking for

  • Banking Reports not accessible by Lim. Financial License in SAP B1 8.81 PL 0

    Dear All, I am using SAP B1 8.81 PL 00 (Indian localization). When I log in with a Limited Financial License user , the Banking Reports cannot be accessed. It gives a message : 'You cannot open window with your current license'. Also I cannot locate

  • Released Document not appearing.

    Hello All, There is a issue in our system. We have a Purchase Requisition which is released in Live system. When we log in with English Language then we can see the Document is released for all levels, but when we are logging in thru some Other Langu

  • ERPi: How to un-install ERPi or Re-configured ???

    Hi Question might sound very simple but issue is something like this: 1- i installed ERPi 11.1.2.1 2- configured "EPM System Configurator" but when i re-run the "EPM system configurator" it disappeared. ERP Integrator is not showing in list so i am t

  • Editing ipod music library in itunes

    When I am plugged into itunes I can see the music that is loaded onto my ipod, but I cannot highlight any of the songs (they are all grey). I want to edit some album titles, etc, directly on my ipod through itunes but can't figure out how. Any help o

  • I can only save as a tiff file

    Hi, I saved one file as .tif and now after using RAW to process images, opening in CS3, trying to save, there are no options either .jpg or .pds. I had to open two previously saved .jpg files, before I had the full range of choices. Is this normal? T