Need best Architecture design for the following scenario

Hi Experts,
I need best architecture design for the following scenario:
Sender: Mail
Receiver: if sender body contain u201DApproveu201D, then call SOAP adapter, If SOAP adapter execute successfully, then  send Mail(SOAP adapter executed successfully) and SMS .  So receiver is SOAP, Mail and SMS.
My current approach issue:
Three message mapping:
Mapping1: mail to SOAP
Mapping2: mail to Mail
Mapping3: mail to SMS
In interface determinant>u201DSelect all three operation mappingu201D> u201Cselect order at runtimeu201D.
Issue in current approach: For me first SOAP adapter should complete successfully, after that only my Mail and SMS operation mapping should execute:
But problem is before success of SOAP adapter engine, Mail and SMS mapping completed or integration engine executed.
Note: There is possible to fail the SOAP request in adapter engine.
Kindly help me --> u201CAm I going correct way or want to change the architectureu201D?
Thanks for advance!!
Regards, Kumar

What do you mean by successful execution of soap call?  Are you talking about Successful response (happy flow) from the soap call instead of application error ? Then based on the response you want to decide sending mail and sms.  How big call is your soap ?  If your soap interface is very simple I can give the other possible way.
Sender sends the message, use mapping  to read the content and then do soap call in the mapping itself and after seeing the soap response decide about two receivers (mail and SMS).  If your soap call is very simple one, you can go for it. Otherwise I would not recommend this. The reason is you loose some visibility regards to monitoring during soap call in the mapping.
Other option is go for CCBPM.  Here you receive the message, use send step to soap interface which is sync step. Then after seeing the response create another block with fork steps each for two senders mail and sms. If response bad then dont proceed or execute the next block. Simply use exeception or control step to jump out from the block,

Similar Messages

  • Need Mapping logic for the following scenario

    Hi everyone,
    I need a mapping logic for the following scenario.
    For the same order no with same material no, the quantity should be summed and only one idoc should be created.
    For the same order no with different material no, no need to sum the quantity and only one idoc should be created.
    For example:
    Source Structure:
    Ord No      Mat No      QTY
    12               1               2
    13               1               3
    13               2               1
    12               2               4
    15               1               5
    14                3              7
    12               1              6
    Target Structure:
    Ord No      Mat No      QTY
    12               1               8
    12               2               4
    13               1               3
    13               2               1
    14               3              7
    15               1              5
    Thanks in Advance

    Try the graphical mapping as shown below using concat with a space as delimite and UDF to split the value again by space.
    1. Idoc node
    (RootContext)
    OrdNo
         |concat[ ] -> sort[asending] -> SplitByValue -> collapseContexts -> Idoc
    MatNo                case sensitive    [ValueChange]                              
    (RootContext)
    2. OrdNo
    OrdNo(RC)
         |concat[ ] -> sort[asending] ->SplitByValue->collapseContexts->SplitByVale-> UDF to fetch ordno  -> OrdNo
    MatNo(RC)           case sensitive    [ValueChange]                [eachValue]   (return var1.split(" ")[0];)
    3. MatNo
    OrdNo(RC)
         |concat[ ] -> sort[asending] -> SplitByValue ->collapseContexts->SplitByVale-> UDF to fetch ordno  -> MatNo
    MatNo(RC)              case sensitive    [ValueChange]                  [eachValue]   (return var1.split(" ")[1];)
    4. Qty
                   [asending,case sensitive]               
                   --  sortByKey -----> formatByExample -> sum ->Qty
    OrdNo(RC)           |          |          ^          
         |concat[ ] -> |            Qty(RC)          |
    MatNo(RC)           |                |     
                   --sort[asending]-> SplitByValue
                       case sensitive    [ValueChange]
    Regards,
    Sunil Chandra

  • Can anyone tell me the field name, table name for the following scenario?

    Hi All,
    Can anyone tell me the field name and the respective table name for the following scenario's?
    1. A report to list all the materials to which Invoice is done and delivery is pending.
    2. A report for Order tracking.
    3. A report, which gives PO(Purchase Order),  Pricing details.
    4. A report, which calculates the MATERIAL COST. It will select all the material issued for the entered service order number from  stock.
    Thanks & Regards,
    P.Gowrishanker
    Edited by: Gowrishanker pari on Jun 1, 2008 8:58 AM

    I believe that OmniVision Technologies has the contract for the 3gs.

  • Provide the java code for the following scenario.

    Hi Experts,
    I have tried with all the combinations for this scenario. As per my understanding i require java code for the following scenario
    so that it becomes easy........
    I require a Message mapping for this Logic.
    In the Source there are 4 fields and, the Target side, the fields should appear like this.
    Source Structure- File
    Record
    |-> Header
    Order_No
    Date
    |-> Item
    Mat_No
    Quantity
    Target Structure-IDoc
    IDoc
    |-> Header
    |-> Segment
    Delivery_Order_No
    Recv_Date
    |-> Item
    |-> Segment
    Delivery_Order_No
    Material_Num
    Recv_Quantity.
    The Logic is for every Order number an IDOC is generated.And if the Material num matches then the quantity should be added. and important note is that the material numbers are different for every order number. That means if a material number is 2 in the order number A. Then the material number can never be 2 in any of the order numbers.Here is the following with an example for the above scenario.
    For example:-
    we have
    Source Structure- File
    Order-no Date Mat_No Quantity
    1 01/02/2011 A 10
    1 01/02/2011 B 15
    1 01/02/2011 A 10
    2 01/02/2011 C 10
    2 01/02/2011 C 10
    3 01/02/2011 D 20
    3 01/02/2011 D 10
    3 01/02/2011 E 25
    Target Structure-IDoc
    Delivery_Order_No Recv_Date Material_Num Recv_Quantity
    1 01/02/2011 A 20
    1 01/02/2011 B 15
    2 01/02/2011 C 20
    3 01/02/2011 D 30
    3 01/02/2011 E 25
    So for this example total of 5-Idocs created. That means for this example if Order_No is 1 When the Mat_No is A the quantity gets added. For this Scenario 1 IDoc with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) is generated by adding the quantity field in the Target Side. Similarly if Order_No is 1 when the Mat_No is B then separate IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) in the Target Side. Similarly, if Order_No is 2 when the Mat_No is C, an IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) by adding the quantity field in the Target Side. ike wise the process goes on upto 3.Kindly do the needy..
    Kindly provide the java code.
    Thanq very much in advance..

    what i have understood from ur example is that u want to generate an idoc for unique combination of  Order-no and Mat_No
    if yes then chk the below mapping..
    change the context of Order_No, Date, Mat_No and Quantity to Record (right click-> context)
    1)
    Order-no
    ----------------------concat[;]---sort----splitbyvalue(valuechanged)-----collapse context---IDoc
    Mat_No
    2)
    Order-no
    --------concat[;]---sort----splitbyvalue(value changed)---collapse context---UDF1--splitbyvalue(each value)--Delivery_Order_No
    Mat_No
    3)
    Order-no
    -----------concat[;]---sortbykey----------------------- \
    Mat_No                       /                            \
    Date--------------- /                                       \
    ----------------------------------------------------------FormatByExample-----collapsecontext---splitbyvalue(each value)----Recv_Date
    Order-no                                                 /
    -----------concat[;]---sort----splitbyvalue(value changed)
    Mat_No
    4)
    Order-no
    --------concat[;]---sort----splitbyvalue(value changed)---collapse context-UDF2--splitbyvalue(each value)--Material_Num
    Mat_No
    5)
    Order-no
    -----------concat[;]---sortbykey
    Mat_No                       /
    Quantity --------------- /
    ----------------------------------------------------------FormatByExample-----SUM(under statistic)----Recv_Quantity
    Order-no
    -----------concat[;]---sort----splitbyvalue(value changed)
    Mat_No
    UDF1:
    String [] temp= a.split(";");
    return temp[0];
    UDF2:
    String [] temp= a.split(";");
    return temp[1];

  • I Need to use ABS for the following statement

    Hi
    WA_OUTTAB-CORES_PER_MOLD = GT_IOOPCOMP-BDMNG / GT_IOOPER-MGVRG.
    I need to put ABS for the following statement.
    Kindly help.

    WA_OUTTAB-CORES_PER_MOLD = GT_IOOPCOMP-BDMNG / GT_IOOPER-MGVRG.
    WA_OUTTAB-CORES_PER_MOLD = abs(WA_OUTTAB-CORES_PER_MOLD).
    Regards
    Aneesh.

  • How to plan Failover for the following Scenarios in Flex-connect mode.

    The following queries are in respect to AP High availability (not SSO fail over or Controller HA), meaning if one controller fails, the AP will be failing over to the secondary controller which is in a different Geo location. the AP will be in Flex-connect mode with local switching and local auth. in this scenario, following are my queries
    1: If i have an SSID that has an interface group linked to it, can i fail it over on other controller where there may be a single WLAN linked to it.?
    2:Do we need the subnet masks to be same at both ends?
    3: if i have an SSID with open authentication, can i configure the remote network SSID with no authentication?
    4: can any one link me up with a document that explains configuration case study of the flex-connect mode fail over scenarios.
    All the help given would be really appreciated.
    Thanks.

    hi Scott,
    Sorry for replyimg late. and thanks for your reply and suggestion.
    it did help me a lot, but now i am in a tiff.
    the thing is my client has following existing scenario:
    he has 6 disparate locations with a standalone 5508 WLC at each location.
    he is now planning to configure AP failover for every location.
    we are using the Flex-connect design as he has not procured a HA-SSO license.
    also the WLC are not in same location.
    the Flex-connect design is with Local Switching and local Auth.
    there are 2 SSID which are causing me issues.
    1: SSID A is linked to an interface group which has multiple vlans.
    2: SSID B shares its WLAN interface with another SSID (the wlan is split between 2 different SSID)
    we need local switching for these and also they need to have local auth.
    so if i remove the interface group for SSID A and use a bigger subnet, what will be the best possible mask to use considering that the ARP and DHCP broadcast shouldn't choke up the network (existing subnets are /21 and /22). or any workaround to minimise the network activity.
    and for SSID b what is the configuration i would need to do on the secondary controller or is it just that the SSID needs to be present on the controller and the mask need not be same.
    sorry for troubling you and thanks in advance
    Niiketan Sutar.

  • What can be the Tech design for the following functional points

    Hi All,
    What can be the Technical Design preparation for the below Functional Design Points!
    <b>1. Search table Z100
    Select all records where
    Status (Z100-ZSTATUS) = “G”
    Date (Z100-ZDATE ) = current month minus 1
    Total price (Z100-ZTOTPR) => $5000.
    Select Z100-MATNR
    List Z100-MATNR and ZTOTPR</b>
    <b>2. Then, for each MATNR, list all equipment records where
    Equipment type (EQUI-EQTYP) = “S”
    List Material (EQUI-MATNR)
    WBS (EQBS-PS_PSP_PNR)
    UID (EQUI-UIINR)
    Serial Number (EQUI-SERNR)</b>
    <b>3. Then compare the equipment record WBS  (EQBS-PS_PSP_PNR) to the Contract Line Item WBS (VBAP-PS_PSP_PNR)
    From VBAP, select the Sales Document (VBAP-VBELN) and Contract Line Item (VBAP-POSNR)</b>
    <b>4. Then compare the Sales Document on VBAP (VBAP-VBELN) to the Sales Document on VBAK (VBAK-VBELN).
    From VBAK, select the UID indicator (VBAK-UID) and Contract Number (VBAK-BSTNK).</b>
    <b>5. If VBAK-UID is initial, go no further. No entry is required to the table.
    If VBAK-UID is not initial;
    Create 3 new rows on table Z200</b>
    <b>6. Select the UID number EQUI-UIINR
    If no record exists in table with UID number, create three new rows in table Z200 populate fields per the following table mapping.   The table mapping shows “default” values, or sources in SAP, and parameters if needed. </b>
    Can anybody tell me what is the technical design we can write for above finctional design.
    Thanks in advance.
    Thanks & Regards,
    Prasad.

    Hi,
    The functional design is very detailed and has covered almost the technical part as well. I dont think you need to add anything more. If you need to add anything then it would probably be the Selects statements. But i dont think they are required.
    But once you collect the data in internal table, what should be done. Should it be sent to smartform/script or a report output should be displayed. Or are any tables to be updated.If so, then specify the same.
    Best regards,
    Prashant

  • What is the appropriate data expiration / eviction scheme for the following scenario

    We currently have an expiration scheme through which data entries in cache-A get expired after the cache hits a certain size. The LRU entries are expired after the max threshold is reached. But the issue is that certain entries in the cache are rendered meaningless without the other entries. There is a virtual grouping of entries in this cache.
    Is there an expiration scheme that can be defined through which a group of entries can be deleted in one shot, and how can this policy be enforced.
    The other way i would percieve this to work is to separate the currently virtually grouped entries into their own individual caches. This seems the logical thing to do, except for the issue being that we would still like to keep all these caches in the same service, and have an eviction policy defined at the service level instead of at the cache level.
    Is it possible to define an eviction policy at the service level, for example to satisfy the below scenario.
    Service-A has 10 caches in it [cache-1, cache-2, ....., cache-10]. And there is a limit of 10GB defined on the service. So, if the total utilization of all the caches in Service-A reaches 10GB, an entire cache from amongst [cache-1, cache-2, ....., cache-10] will need to be cleared and the memory be made available. Which one of the caches to be cleared will depend on which cache satisfies the LRU condition. So, maybe the entire cache-5 should be deleted if the entries in this cache was the oldest used.
    Please let me know if the above scenario can be implemented.
    Thanks
    Sumax

    Ricardo Pedro Rodrigues Ferrão wrote:
    > Hi Eugene,
    >
    > I’ll try to explain it better.
    >
    > For example the business unit A is “portable pc” and I have this business unit in both companies and what I want in management consolidation is to consolidate data by the business unit “portable pc” joining data from both companies.
    >
    > Thanks.
    Ricardo,
    I had similar business scenario in my earlier project and the expectations were almost same.
    I created one consolidation area (legal consolidation) under one single data basis and assigned business area as sub-assignment. All the consolidation functions are executed by the business users based on legal cons requirements purpose, while the reports can be generated for both legal and management consolidation.
    In management consolidation reporting, your expectations can be met easily. The header will be business area, while line item data will be companies wise (if you would like the data to display that way).
    For more information, you can check the threads created by me.

  • Block Service A/P Invoice for the following Scenario

    Hi,
    if i m making a Service Purchase order for the Total Amount of INR 1200
    and based on tat document i m making a Service A/P invoice For the Total Amount Of INR 700
    Now if i m again going to make the A/P invoice based on the Same Purchase Document then we are finding the Total Amount for the INR 1200 instead of INR 500
    Wat to do in order to Achieve this, can anybody help me out
    Thanks in Advance

    Perumal kumarar
    The issue that you are having is not a standard SAP functionality.  SAP always keeps track of the Balance Open Amount on the Service PO and only copies the balance to the AP Invoice (in your case)
    How did you Create the AP Service Invoice.  Did you use Copy to from the PO or did you actually go to the AP Invoice selected the Vendor and did a  COPY FROM and selected customize and changed the amount?
    Suda

  • What solutions would be needed for the following scenario

    I have a client who operates two companies.
    One company manufactures a specific piece of equipment.
    The other company rents, sells and services this piece of equipment.  This equipment consists of three major interchangeable components.
    They need to track:
    Customer information u2013 company name, contact person, start date, end date, sold or rental unit, service schedule on the three major components.
    Equipment information u2013 where it is, which components it consists of, service records, forecast of service requirement, data on each specific component.
    Job information u2013 field tickets, work orders, distance traveled for installations and service work, how long  units have been running.
    Revenue information u2013 all pertinent information as well as what was billed and when.
    Inventory information u2013 all pertinent information as well as which parts have been used by manufacturing and which parts have been used to maintain the rental assets or service on sold equipment.
    They also want to automatically contact operators and client about upcoming service dates.
    My expertise is in SAP HR.  Which SAP modules would they need to accomplish this?  Is there another solution they should consider?

    They need to track:
    Customer information u2013 company name, contact person, start date, end date, sold or rental unit, service schedule on the three major components.
    SD Modules
    Equipment information u2013 where it is, which components it consists of, service records, forecast of service requirement, data on each specific component.
    PM Modules
    Job information u2013 field tickets, work orders, distance traveled for installations and service work, how long units have been running.
    PM Modules
    Revenue information u2013 all pertinent information as well as what was billed and when.
    SD Modules
    Inventory information u2013 all pertinent information as well as which parts have been used by manufacturing and which parts have been used to maintain the rental assets or service on sold equipment.
    MM Module
    They also want to automatically contact operators and client about upcoming service dates.
    CS Module

  • How to do Mapping for the following Scenario

    Hi All,
    I am doing File 2 File Multimapping Scenario with out using BPM Concept but, My result was Struck at Message Mapping.
    Source                          Target
    Message                       Message1     Details                                Details
             Name                            Name
             ID                                  ID                                                                               
    Message2        
                                                    Details
                                                        Name
                                                        ID
    I am getting Runtime Exception at Message Transfermation error if i do the one 2 one direct mapping....
    so, How to do the Mapping for thei Scenario?
    WIth Regards,
    Mahesh

    Hi Farooq,
    I am using Split and Merge.
    Source XML
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge" targetNamespace="http://sap.com/xi/XI/SplitAndMerge">
    <xsd:import namespace="http://tcs.com/Demo" />
    <xsd:element xmlns:p0="http://tcs.com/Demo" name="Messages">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Message1" form="qualified">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="p0:BPM_In_MT" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Target XML
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge" targetNamespace="http://sap.com/xi/XI/SplitAndMerge">
    <xsd:import namespace="http://tcs.com/Demo" />
    <xsd:element xmlns:p0="http://tcs.com/Demo" name="Messages">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Message1" form="qualified">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="p0:BPM_Out_MT" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Message2" form="qualified">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="p0:BPM_Out1_MT" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Thanks
    Mahesh

  • Which one is the Best UI element for the following requirement

    Hi friends,
    I have a requirement in Webdynpro for ABAP, where the application window contains a menu on the leftside. when a menu item is clicked by the user, corresponding internet service should be executed on the right side of the window. This internet service will be executed by means of an url. I found that an Iframe would suit my requirement where the source field of the IFrame can be the url. I want to know is it the UI element that would best suit my requirment or is there any other UI element that can be better than the IFrame.
    Kindly let me know.

    If you want to display external content in place within Web Dynpro ABAP via a URL, then the iFrame is about your only way to go.  At one point we were going to depreciate the iFrame because of its limiations around state management and authentication. That deprecation was announced with 7.0 Enhp1 but the UI element was not actually removed or disabled.  With 7.0 Enhp2 will un-depreciated the UI element.  So it is safe to use as long as you understand the documented limiations.

  • I Need A Clasical Report For  The Following Specification Plz

    With out Using any ALVS .
                                                          SALESORDER REPORT
    TABLES : VBAK,
                       VBAP,
                        KNA1.
    INPUT FIELDS :  Sales Document  (RANGE)----
      (vbak-vbeln)
                                  Document Date (Date Received/Sent).(RANGE)----
    (vbak-audat)
                                  Sold-to party (PARAMETERS)----
    (kna1-kunnr)
    O/P FIELDS :
    Sales Document----
    (vbak-vbeln)
    Document Date (Date Received/Sent)----
    (vbak-audat)
    Sales Document Item----
    (vbap-posnr)
    Short text for sales order item----
    (vbap-arktx)
    Material Number----
    (vbap-matnr)
    Cumulative order quantity in sales units----
      (VBAP-KWMENG)
    Requested delivery date----
    (VBAP-CMKUA)
    CUSTMER NUMBER(Sold-to party) -
    (kna1-kunnr)
    CUSTMER NAME -
    (KNA1-NAME1)
    CUSTMER CONTRY----
    (KNA1-LAND1)
    Net Value of the Sales Order in Document Currency----
    (VBAK-NETWR)
    Sales Organization----
    (VBAK-KORG)
    Name of Person who Created the Object----
    (VBAK-ERNAM)
    ================================================================================
    VBAK :
                                                                                    (KNA1-KUNNR)
    Sales Document----
    (VBAK-VBELN)
    Document Date (Date Received/Sent)----
      (VBAK-AUDAT)
      Net Value of the Sales Order in Document Currency----
    (VBAK-NETWR)
    Sales Organization----
    (VBAK-KORG)
    Name of Person who Created the Object----
    (VBAK-ERNAM)
    VBAP:
    Sales Document Item----
    (VBAP-POSNR)
    Short text for sales order item----
    (VBAP-ARKTX)
    Material Number----
    (VBAP-MATNR)
    Cumulative order quantity in sales units----
      (VBAP-KWMENG)
    Requested delivery date----
    (VBAP-CMKUA)
    KNA1:
    CUSTMER NUMBER(Sold-to party) -
    (KNA1-KUNNR)
    CUSTMER NAME -
    (KNA1-NAME1)
    CUSTMER CONTRY----
    (KNA1-LAND1)
    ====================================================================================================
    TABLES : VBAK,
    VBAP,
    KNA1.
    INPUT FIELDS : Sales Document (RANGE)
    Document Date (Date Received/Sent).(RANGE)
    Sold-to party (PARAMETERS)
    O/P FIELDS :
    Sales Document ....... VBAK-VBELN
    Document Date (Date Received/Sent).....VBAK-AUDAT
    CUSTMER NUMBER(Sold-to party)................VBAK-KUNNR
    Net Value of the Sales Order in Document Currency.....VBAK-NETWR
    Sales Organization......................................................VBAK-KORG
    Name of Person who Created the Object..................VBAK-ERNAM
    Sales Document Item ...............VBAP-POSNR
    Short text for sales order item..........VBAP-ARKTX
    Material Number.............................VBAP-MATNR
    Cumulative order quantity in sales units............VBAP-KWMENG
    Requested delivery date.................VBAP-CMKUA
    CUSTMER NAME..................KNA1-NAME1
    CUSTMER CONTRY..........................KNA1-LAND1

    Here is the sample code, please make the necessary modifications...
    REPORT ZTEST LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
    HEADING.
    *TABLES DECLARATION
    TABLES : KNA1, VBAK, VBAP.
    *SELECT OPTIONS
    SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
    *INITIALIZATION
    INITIALIZATION.
    CUST_NO-LOW = '01'.
    CUST_NO-HIGH = '5000'.
    CUST_NO-SIGN = 'I'.
    CUST_NO-OPTION = 'BT'.
    APPEND CUST_NO.
    *SELECTION SCREEN VALIDATION
    AT SELECTION-SCREEN ON CUST_NO.
    LOOP AT SCREEN.
    IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
    MESSAGE E001(ZTJ1).
    ENDIF.
    ENDLOOP.
    *BASIC LIST SELECTION
    START-OF-SELECTION.
    SELECT KUNNR NAME1 ORT01 LAND1 INTO
    (KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
    FROM KNA1
    WHERE KUNNR IN CUST_NO.
    WRITE:/1 SY-VLINE,
    KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    KNA1-NAME1 UNDER 'NAME',
    61 SY-VLINE,
    KNA1-ORT01 UNDER 'CITY',
    86 SY-VLINE,
    KNA1-LAND1 UNDER 'COUNTRY',
    103 SY-VLINE.
    HIDE: KNA1-KUNNR.
    ENDSELECT.
    ULINE.
    *SECONDARY LIST ACCESS
    AT user-command.
    IF SY-UCOMM = 'IONE'.
    PERFORM SALES_ORD.
    ENDIF.
    IF SY-UCOMM = 'ITWO'.
    PERFORM ITEM_DET.
    ENDIF.
    *TOP OF PAGE
    TOP-OF-PAGE.
    FORMAT COLOR 1.
    WRITE : 'CUSTOMER DETAILS'.
    FORMAT COLOR 1 OFF.
    ULINE.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'NAME',
    61 SY-VLINE,
    63 'CITY',
    86 SY-VLINE,
    88 'COUNTRY',
    103 SY-VLINE.
    ULINE.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR SECONDARY LISTS
    TOP-OF-PAGE DURING LINE-SELECTION.
    *TOP OF PAGE FOR 1ST SECONDARY LIST
    IF SY-UCOMM = 'IONE'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'SALES ORDER DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'DATE',
    60 SY-VLINE,
    62 'CREATOR',
    85 SY-VLINE,
    87 'DOC DATE',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR 2ND SECONDARY LIST
    IF SY-UCOMM = 'ITWO'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'ITEM DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'SALES ITEM NO.',
    60 SY-VLINE,
    62 'ORDER QUANTITY',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *END OF PAGE
    END-OF-PAGE.
    ULINE.
    WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
    SY-PAGNO.
    SKIP.
    *& Form SALES_ORD
    *& FIRST SECONDARY LIST FORM
    FORM SALES_ORD .
    SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
    (VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
    FROM VBAK
    WHERE KUNNR = KNA1-KUNNR.
    WRITE:/1 SY-VLINE,
    VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
    40 SY-VLINE,
    VBAK-ERDAT UNDER 'DATE',
    60 SY-VLINE,
    VBAK-ERNAM UNDER 'CREATOR',
    85 SY-VLINE,
    VBAK-AUDAT UNDER 'DOC DATE',
    103 SY-VLINE.
    HIDE : VBAK-VBELN.
    ENDSELECT.
    ULINE.
    ENDFORM. " SALES_ORD
    *& Form ITEM_DET
    *& SECOND SECONDARY LIST FORM
    FORM ITEM_DET .
    SELECT VBELN POSNR KWMENG INTO
    (VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
    FROM VBAP
    WHERE VBELN = VBAK-VBELN.
    WRITE : /1 SY-VLINE,
    VBAP-VBELN UNDER 'SALES ORDER NO.',
    40 SY-VLINE,
    VBAP-POSNR UNDER 'SALES ITEM NO.',
    60 SY-VLINE,
    VBAP-KWMENG UNDER 'ORDER QUANTITY',
    103 SY-VLINE.
    ENDSELECT.
    ULINE.
    ENDFORM. " ITEM_DET
    Regards,
    Pavan.

  • What are the assessment options in Captivate 8 for the following scenario:

    I have one Captivate  project with five modules, after each module I want to have mandatory questions (user need to answer to proceed and pass the course) and optional questions (user can skip, not included in the final score). I am using Oracle LMS. it seams Adobe didn't change the limited quiz preferences in Captivate 8.
    I would like to hear from the experts before I proceed into a lengthy option. I have the option to chop the project into five separete projects with 5 quizes ( with manadatory questions) . then make the optional quiz questons as a sperate projects, and organize them ( learning objects)  in the LMS to play after each module, where the use can skip.

    As Lieve suggests, since you need to score various quizzes separately, you need to have those CP quizzes as separate files...which, again as she states, is a SCORM requirement.
    You could put all those separate CP files together in one package with Captivate's 'Multi-SCO Packager' but in every case I've seen, the LMS breaks those up into separate lessons anyway...so you'll need to use the LMS to open one, go through it, close it, have it scored, open the next through the LMS, etc.
    So the LMS would be the 'Main File' Lieve mentions.
    If you don't NEED to see the individual quiz scores, you could put all sections in one main CP file...then all section quizzes would be scored cumulatively to show one overall score in the LMS...
    ...and if your LMS supports 'interaction data' you could report on the actual answers to each question to find out how well a user did in each quiz section, but that again depends on your LMS capabilities (and that data will meet the requirements).
    Overall though, if you need to see separate quiz scores in the main LMS interface, each quiz has to be its own file. That would be the case with ANY tool you use, being a SCORM limitation.

  • Existing function modules for the following scenarios...

    Hello experts,
    I am currently selecting the latest record from table ANLC based from
    ANLN1(main asset number) and ANLN2(asset sub-number) and its AFABE is equal to
    '01'. Now, is there any function module that I can use to automatically get the
    latest record from ANLC? Currently, this is what I am doing:
             get corresponding values from table ANLC based
             from the current asset in it_finaltab
                SELECT bukrs anln1 gjahr
                       afabe knafa kansw
                       answl kaafa nafal
                       aafav aafag nafap
                       aafap nafav nafag
                  FROM anlc UP TO 1 ROWS
                  INTO (it_anlc-bukrs, it_anlc-anln1, it_anlc-gjahr,
                        it_anlc-afabe, it_anlc-knafa, it_anlc-kansw,
                        it_anlc-answl, it_anlc-kaafa, it_anlc-nafal,
                        it_anlc-aafav, it_anlc-aafag, it_anlc-nafap,
                        it_anlc-aafap, it_anlc-nafav, it_anlc-nafag)
                  WHERE anln1 EQ it_anla-anln1
                    AND anln2 EQ it_anla-anln2
                    AND bukrs IN r_iwerk
                    AND afabe EQ '01'
                  ORDER BY gjahr DESCENDING.
                ENDSELECT.
    Also, Is there any function module that I can use to get the asset number of a
    given equipment?
    Again, thank you guys and God Bless!

    Can you check if it works this way???
    CALL FUNCTION 'GM_GET_FISCAL_YEAR'
      EXPORTING
       I_DATE                           = SY-DATUM
       I_FYV                            = 'F1'
    IMPORTING
       E_FY                             = l_gjahr
    EXCEPTIONS
       FISCAL_YEAR_DOES_NOT_EXIST       = 1
       NOT_DEFINED_FOR_DATE             = 2
       OTHERS                           = 3.
    IF SY-SUBRC eq 0.
    Assuming 2000 might be the oldest Fiscal year in system
    CALL FUNCTION 'ANLC_READ_MULTIPLE_GJAHR'
      EXPORTING
        I_ANLN1            = it_anla-anln1
        I_ANLN2            = it_anla-anln2
        I_BJAHR            = '2000'
        I_BUKRS            = p_bukr
        I_GJAHR            = l_gjahr
      I_PROBELESEN       = ' '
      TABLES
        T_ANLC             = it_anlc
      T_R_AFABE          =
    EXCEPTIONS
       NOT_FOUND          = 1
       OTHERS             = 2.
    IF SY-SUBRC eq 0.
       sort it_anlc by gjahr descending.
    ENDIF.
    endif.
    Regards
    Eswar
    Note: Reward if you find the info useful.
    Message was edited by: Eswar Rao  Boddeti

Maybe you are looking for

  • Taking too much time in setting up

    i connect newly bought ipod to computer,it ask to set up to which i cliked done,and now its been half an hour an orange light is blinking, but no key is operating in itunes, i tried to eject but it says still working, usually how long it take to char

  • Unable to load CS5.5 on my 10.9.5 iMac

    Unable to load CS5.5 on my 10.9.5 iMac window pops when I try to open 'Could not initialize Photoshop because the disk is not available'. This is a Student and Teacher copy. Can someone help me with this?

  • How to write a Data Plugin to access a binary file

    hi Im a newbee to DIAdem, i want to develop a data plugin to access a binary file with any number of channels.For example if there around 70 channels, the raw data would in x number of files which will contain may be around 20 channels in each file .

  • Business Objects Excel Analyser

    Hi, We are currently using BEx reporting tols on top of SAP BI and considering replacing BEx Tools with that of BO Tools. Can you help me with list of available BO Reporting Tools and advantages of them compared to BEx tools. and Provide more info on

  • Item Hierarchies

    Hi, I am using Discover3.1 for the 1st time. I have created the joins accross the tables... Now i want to create item hierarchies. Pl. advice me what is the criteria for this. Like how shd i decide to create a hierarchy for each item. What kind of st