Obliguatory and intervals

Hi,
SELECTION-SCREEN: BEGIN OF BLOCK b1.
PARAMETERS:
     p_datum LIKE sy-datum OBLIGATORY .
SELECT-OPTIONS:
     p_vbeln FOR vbap-vbeln NO INTERVALS.
SELECTION-SCREEN: END OF BLOCK b1.
what is the use of Obligatory and no intervals?
Thanks,

hi use validation for this ...u will get the result...
TABLES: vbak, ltak.
DATA:
  err_sw.
PARAMETERS: rb1 RADIOBUTTON GROUP rb1 USER-COMMAND sel DEFAULT 'X'.
PARAMETERS: rb2 RADIOBUTTON GROUP rb1.
SELECTION-SCREEN: SKIP 1.
SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
SELECT-OPTIONS: s_auart FOR vbak-auart DEFAULT 'ZRE'
NO INTERVALS MODIF ID rb1.
SELECT-OPTIONS: s_date FOR vbak-erdat MODIF ID rb1.
SELECTION-SCREEN: END OF BLOCK b1.
SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
SELECT-OPTIONS: s_tanum FOR ltak-tanum MODIF ID rb2.
SELECT-OPTIONS: s_bdatu FOR ltak-bdatu MODIF ID rb2.
SELECTION-SCREEN: END OF BLOCK b2.
*____________________________________________ Screen Actions
AT SELECTION-SCREEN OUTPUT.
  IF rb1 = 'X'.
    PERFORM hide_rb2_options.
  ELSE.
    PERFORM hide_rb1_options.
  ENDIF.
INITIALIZATION.
START-OF-SELECTION.
  CLEAR err_sw.
  IF rb1 = 'X'.
    IF s_auart IS INITIAL
    OR s_date IS INITIAL.
      MESSAGE i208(00) WITH 'Required field not entered'.
      err_sw = 'X'.
    ENDIF.
  ELSE.
    IF s_tanum IS INITIAL
    OR s_bdatu IS INITIAL.
      MESSAGE i208(00) WITH 'Required field not entered'.
      err_sw = 'X'.
    ENDIF.
  ENDIF.
  CHECK err_sw NE 'X'.
  WRITE:/ 'Hi!'.
*&      Form  hide_rb2_options
FORM hide_rb2_options.
  LOOP AT SCREEN.
    CASE screen-group1.
      WHEN 'RB1'.
        screen-active = 1.
        MODIFY SCREEN.
      WHEN 'RB2'.
        screen-active = 0.
        MODIFY SCREEN.
    ENDCASE.
  ENDLOOP.
ENDFORM.                    " hide_rb2_options
*&      Form  hide_rb1_options
FORM hide_rb1_options.
  LOOP AT SCREEN.
    CASE screen-group1.
      WHEN 'RB2'.
        screen-active = 1.
        MODIFY SCREEN.
      WHEN 'RB1'.
        screen-active = 0.
        MODIFY SCREEN.
    ENDCASE.
  ENDLOOP.
ENDFORM.                    " hide_rb1_options
regards,
venkat.

Similar Messages

  • Problems in KAPA - shifts and intervals table

    Hello SAP experts, i have a problem with this table, my problem is that the table isn´t updating my data every time i save, and some capacity IDs arent been considered, how can i know how often is this table been updated ,or is there a problem with this table? because my shifts and intervals in each work station aren´t been updated in the table.

    Hi,
    The follwing tables are used for workcenter capacity:
    CRCA: Workcenter Capacity Allocation
    KAKO: Capacity Header
    KAPA: Shift Parametres for Available Capacity
    KAZY: Intervals of Capacity
    Please check and confirm.

  • CIF ECC Shifts and Intervals to APO

    Hi All,
    I need to maintain shift and interval is ECC work center as a part of u201Cstandard available capacityu201D.
    These shifts and intervals are to be transferred to APO u2013 PPDS for planning. Though in CFC9 I have u201CUse Ext. Capacityu201D enabled, Shifts and Interval are not getting CIFed to APO.
    The only reason I can make is; shifts and intervals defined in ECC are not a part of standard available capacity. (In Interval and Shift Tab of capacity header definition, Stand Avail u2013 is Grey Field)
    Please guide
    Regards,

    Hi,
    What is parameter set in CFC9 for external capacity is it A or X.
    If it is A external capacity indicator will be checked in resource in APO and APO will use shifts from ECC for scheduling inspite of specification in workcenter.
    If it is X you need to check the checkbox external capacity for particular work center by clicking on APO resource button in workcenter.
    Regards,
    Santosh

  • ICharts scaling and intervals MII 11.5

    I have an iChart (Line graph) that I have four pens, all of which have the auto scale is not checked.  I have the global range checked and I set the min and max.  The problem I have is the intervals from 100 (min) to 350 (max).  How can I set it so it is every 10 or 15 or 25?  The default for this is 25 when I set the YaxisMajorTickCount to 20.  Since I do not know how to modify the intervals, I played around the tick counts.
    document.Chart2.getChartObject().setGlobalMinRange(100);
    document.Chart2.getChartObject().setGlobalMaxRange(350);
    document.Chart2.getChartObject().setUseGlobalRanges(true);
    document.Chart2.getChartObject().setGlobalAutoScale(false);
    document.Chart2.getChartObject().setGlobalServerScaling(false);
    document.Chart2.getChartObject().setYAxisMajorTickCount(20);

    Hi Chip,
    I did some experimenting - I figured there must be some underlying mathematical calculation involved that determines the intervals, and since I can't see the actual code behind it, this is what I came up with.
    It looks to be a formula like this: 2(range) / desired interval.  So, in your case, the range 100 - 350 yields 250, and say you want the intervals to be by tens.
    2(250) / 10 = 500 / 10 = 50.  So if you set the YAxisMajorTickCount to 50, the chart shows intervals by tens.  Intervals of 15 are a bit more challenging, since 500 is not evenly divisible by 15.  So I adjusted the range to 100 - 370 and got the intervals by 15.
    Anyrate, maybe this is just crazy talk, but try it and let me know if it works for you
    Kind Regards,
    Diana Hoppe

  • Dates and Intervals

    Hi all,
    1) I wish to attain the interval for a pair of dates (e.g. 20 Jan 2007 and 27 Jan 2007). It should result me with 7 days.
    2) There is a given number of days (e.g. 3 days), and also a starting date (9 Feb 2007). It should result me with 14 Feb 2007 since 10 Feb and 11 Feb are non-working days. Is there any function module to perform the above?
    Many thanks and regards,
    Patrick

    Hi Patrick,
    1) Just define a variable of type i and subtract the two days.
    2) Use FM DATE_CONVERT_TO_FACTORYDATE
      DATA:
        zlv_days    TYPE i,
        zlv_workday TYPE c.
      ev_date  = iv_date.
      zlv_days = iv_days.
      WHILE zlv_days GT 0.
        ev_date = ev_date + 1.
        CLEAR:
          zlv_workday.
        CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
          EXPORTING
            date                         = ev_date
            factory_calendar_id          = iv_fabkl
          IMPORTING
            workingday_indicator         = zlv_workday
          EXCEPTIONS
            calendar_buffer_not_loadable = 1
            correct_option_invalid       = 2
            date_after_range             = 3
            date_before_range            = 4
            date_invalid                 = 5
            factory_calendar_not_found   = 6
            OTHERS                       = 7.
        IF syst-subrc <> 0.
          EXIT.
        ENDIF.
        IF zlv_workday = space.
          SUBTRACT 1 FROM zlv_days.
        ENDIF.
      ENDWHILE.
    Regards,
    John.

  • Hierarchy with Intervals and Temporal Join

    Hi,
      I am loading a hierarchy structure (Time dependant and with Temporal Join and Intervals)
    in the flat file structure for hier loading we have leaf to and leaf from fields which means Page of the hierarchy to and page of the hierarchy from.
    can anyone let me know what is the use of these fields, and the values we have to pass for these fields with an example.
    i haven't come across Hier loading with intervals and termporal join.
    can anyone please help me in this?
    Regards,
    p423168.

    Hi,
    BI Process (Loading Hierarchies from Flat file to BI)
    Go to RSA1
    Create info object for customer as zcust_b5 and activate
    Create info object as zcust_b5 and activate it
    Select the info object and double click on it
    Select the hierarchies tab and select the option with hierarchies
    And select Hierarchies not time dependent
    Click external characteristics in hierarchies
    Select your Infoobjects in the list and pass it and activate it
    After activating the objects we will see tables of hierarchies at maintain Hierarchies
    Create an application component
    Create the transfer rules for the info object and activate (for hierarchies, texts, attributes)
    This screen will show the communication structure.
    After creating the data source at info source level the field attributes are shown in above
    Create an excel sheet with required values and save it in CSV file.
    Uploading the Hierarchy Data into BW
    a) Create Info Package for Hierarchy Upload. Select the Hierarchy to be uploaded
    and also the Full Update button as we are uploading the entire Hierarchy.
    b) There are three update methods for uploading the hierarchy.
    Full Update: For Uploading the entire hierarchy structure
    Insert Sub tree: For appending the hierarchy with new nodes.
    Update Sub tree: For modifying the nodes of the hierarchy.
    Create info package and schedule the data loads
    Select the Hierarchy and name it before scheduling
    Schedule and Start the data loads
    After creating the info package of the info object the above screen shows the initial hierarchy maintenance
    Hierarchy is done successfully by extracting data from flat file.
    time dependent :
    a) For making the hierarchy time dependent select the u2018Time-Dependent Hierarchy structureu2019 radio button and activate the info object ZSREP
    b) In the transfer structure there will be 2 more additional fields date from and date to for the time dependent nodes.
    c) Consider that Sales Representative u2018SREP2u2019 was in England up to 31/12/1995 and moved to USA
    d) Flat file structure for the above hierarchy is shown below . It contains two extra columns Date-to and Date-from.
    e) In the info-package Update tab , select Fixed Time interval radio button and give start date as 01/01/1000 and End date as 31/12/9999 so that all nodes are uploaded.
    f) Upload the hierarchy data from flat-file to BW.
    g) Display the loaded hierarchy.
    Regards
    Sudheer
    Edited by: SUDHEER on Dec 30, 2008 12:52 PM

  • Format bold text in field and putting some text on new line - Help!

    I am lost.  I found the rich text formating item to click.  But after that, I don't know what to do next.  I want to bold some characters and I want some reponses on separate lines as I asked previously.  As to spans and the commands - I have no programming experience.  I have just been using what George has given me.  It has worked well, but I just need the bold text in some of the field text to be printed and I need some items to be on separate lines.  But I have no idea where to put the information you are saying about spans and I do not know the script to use to bold text or to start text on new line.  Am I to insert it in the calculation box of the text box?  Sorry to be so lame, but I am void in programming skills.  Help!
    For example, here is the script.  In aISOreq{0], if I want to bold "Patter#1 Check:", where do I put the span and what script do I use to say to bold it.   Could you give me an example, please.  Also, if I want to put "a. Medications on weekend?" on one line and "b. Activities on weekends? Types of activities? Supervision? With who?" on the next line, where do I put the span and what script do I use to say to put on separate lines?  Could you give me an example for this also, please.  I have literally just used the scripts George has given me and they work great - but that is all I know how to do.  Thanks.
    (function () {
        // Set up an array to hold the individual paragraphs of text
        var aISOfreq= [];
        // Populate the array with paragraph text
       aISOfreq[0] = "Pattern #1: Multiple Isolations on Mon & Tues decreasing to Fri.  Pattern # 1 Check: a. Medications on weekend?  b. Activities on weekend? Types of activities? Supervision? With who?";
       aISOfreq[1] = "Pattern #2: Multiple Isolations on specific days.  Note days.  Pattern #2 Check:  a.  Different schedule on these days? Different adult? Block schedule? May need consistent schedule w/same adult.  b.  Are accommodations/modifications occurring? More group v. individual instruction? Does the student need warm-up drills or a specific job?  Does student need a specific lesson routine? c.  Previous night's activities?  Need calming activities before bed?  Need earlier bedtime? Need additional evening structure?";
       aISOfreq[2] = "Pattern #3: Isolations are grouped in intervals.  Note interval.  Pattern #3 Check:  a.  Cyclic behavior?  Review assessment.  Need Mental Health referral for meds and/or therapy intervention?  b.  Medication: supervision? Self-medicating? Taking consistently? Need medication check with physician?  Share concerns with physician?  c.  History of legal/illegal drug abuse?  Share cyclic pattern with physician.  On probation?  Share concerns with PO?";
      aISOfreq[3] = "Patterns #1 & #2: Multiple Isolations on Mondays & Tuesdays decreasing to Fridays AND Multiple Isolations on specific days.  Note days.  Pattern #1 Check:  a. Medications on weekend?  b. Activities on weekend? Types of activities? Supervision? With whom?  Pattern #2 Check:  a. Different schedule on specific days? Different Adult? Block schedule? May need consistent schedule with same adult.  b. Accommodations/modifications occurring? More group v. individual instruction? Need warm-up drills or specific job?  Need a specific lesson routine?  c. Previous night's activities? Need calming activities before bed? Need earlier bedtime? Need additional evening structure? ";
       aISOfreq[4] = "Patterns #1 & #3: Multiple Isolations on Mondays & Tuesdays decreasing to Fridays AND Isolations grouped in intervals.  Note intervals.  Pattern #1 Check:  a. Medications on weekend?  b. Activities on weekend? Types of activities?  Supervision? With whom?   Pattern #3 Check:  a. Cyclic behavior?  Review assessment.  Need Mental Health referral for meds and/or therapy intervention?  b.  Medication supervision? Self-medicating? Taking consistently? Need med check with physician?  Share concerns with physician?  c.  History of legal/illegal drug abuse?  Share cyclic pattern with physician.  On probation?  Share concerns w/PO?"
      aISOfreq[5] = "Patterns #2 & #3: Multiple Isolations on a specific day AND Isolations grouped in intervals.  Note days & intervals.  Pattern #2 Check:  a.  Different schedule? Different Adult? Block schedule? May need consistent schedule w/same adult.  b.  Accommodations/Modifications occurring? More group v. individual instruction? Need warm-up drills or a specific job?  Need a specific lesson routine? c.  Previous night's activities?  Need calming activities before bed?  Need earlier bedtime? Need additional evening structure?  Pattern #3 Check:  a. Cyclic behavior? Review assessment.  Need Mental Health referral for medication and/or therapy intervention?  b.  Medication supervision? Self-medicating? Taking consistently? Need medication check with physician?  Share concerns with physician?  c. History of legal/illegal drug abuse?  Share cyclic pattern with physician.  On probation?  Share concerns w/PO?";
       aISOfreq[6] = "Patterns #1, #2 & #3: Multiple Isolations on Mondays & Tuesdays decreasing to Friday, Multiple Isolations on specific days AND Isolations grouped in intervals.  Note days and intervals.  Pattern #1 Check: a. Medications on weekend?  b. Activities on weekend? Types of activities? Supervision? With whom?   Pattern #2 Check:  a. Different schedule? Adult?  Block schedule?  May need consistent schedule w/same adult.  b.  Accommodations/Modifications occurring? More group v. individual instruction? Need warm-up drills or a specific job?  Need a specific lesson routine? c.  Previous night's activities?  Need calming activities before bed?  Need earlier bedtime? Need additional evening structure?  Pattern #3 Check:  a. Cyclic behavior? Review assessment.  Need Mental Health referral for medication and/or therapy intervention?  b.  Medication supervision? Self-medicating? Taking consistently? Need medication check with physician?  Share concerns with physician?  h.  History of legal/illegal drug abuse?  Share cyclic pattern with physician.  On probation?  Share concerns w/PO?";
       aISOfreq[7] = "No Pattern";
         // Get the selected item, which is the export value of the selected combo box item
        var item = getField("ISO Frequency Pattern").value;
        // Display the text corresponding to the selected item in the text field
        event.value = aISOfreq[item];

    Look at the reference of the richValue property of the Field object. It contains a couple of examples of how it should be done. Also read the reference of the Span object.

  • How can I get the values on Xaxis and Yaxis?

    Hi, I would like to get the values that are on the axis X and Y or to get the base value and the ticks interval for calculating the values.

    You can get the base values and intervals via the following properties:
    XAxis.MajorDivisions.Base
    XAxis.MajorDivisions.Interval
    XAxis.MinorDivisions.Base
    XAxis.MinorDivisions.Interval
    YAxis.MajorDivisions.Base
    YAxis.MajorDivisions.Interval
    YAxis.MinorDivisions.Base
    YAxis.MinorDivisions.Interval
    Note that calculating the values from these properties will only work if the axis AutoSpacing property is false. Otherwise, the ticks and labels are automatically determined by the graph depending on the available space to present something that always looks nice.
    - Elton

  • Create number range and assign new product id

    hi,
    can anyone tell me the steps to create the number range and assign it to the product id..
    and replace existing product id to the new one through program or.. is there any standard program is available to change the product id
    thanks
    dinesh

    Hi Dinesh,
    Agree with Arden, I think there is no number range feature for product IDs. You can have your own number range object and intervals with custom solution on UI to create product IDs sequentially.
    I am not sure but have a look at the TCode: COMC_MATERIALID_ALL which may be doing what you need.
    You cannot change the product ID once created I think.
    You can change the category assignment of the products through the report : COM_PRODUCT_RECATEGORISATION
    Check enhancement spot : CRM_PRODIL_EXIT which has got some methods for CREATE and MODIFY Products.
    Hope this will be useful.
    Regards,
    Naresh

  • New free/open-source tool to encapsulate the OCI interface

    Hello,
    Here is a short presentation and a link to a new free tool available on soureceforge.net.
    This tool is a powerful "wrapper" to encapsulate the OCI interface:
    Introduction
    OCILIB is a free, open source and platform independant library, written in C, that access Oracle Databases.
    The OCILIB library :
    * Encapsulates OCI (Oracle Call Interface which is powerful but complex)
    * Hides OCI complexity
    * Proposes instead a simple, readable and reusable API
    * Offers up to 310 simple and straightforward APIs.
    Introduction
    Current version : 2.3.0 (2008-03-30)
    Main features
    * Data binding
    * Integrated smart define and fetch mecanisms
    * Full Unicode support on all platorms
    * Multi row fetching
    * Binding array Interface for fast and massive bulk operations
    * Reusable Statements
    * Connection Pooling
    * Global Transactions
    * Returning DML feature support
    * ROWIDs support
    * Named Types (Object types) support (User or Builtin)
    * Cursors
    * PL/SQL blocks
    * PL/SQL Ref cursors and Nested tables
    * LOB (BLOBs/ FILEs)
    * Supports lobs > 4Go
    * Long datatype (piecewise operations)
    * Provides "All in one" Formatted functions (printf's like)
    * Smallest possible memory usage
    * Date/time management
    * Timestamps and Intervals support
    * Error handling
    * Describe database schema objects
    * Access columns by index or name
    * Hash tables API
    * Portable Threads and mutexes API
    * Supports static / shared oracle linkage
    * Support runtime loading (no OCI libs required at compile / time)
    * Great performances (straight OCI encapsulation)
    Download
    Get OCILIB from OCILIB Project page at Sourceforge Website:
    http://orclib.sourceforge.net/
    Hope this would help some of you ;D
    Francois

    Don't give up just because there are other options out there.
    Adobe is only giving up the free tool for education purposes, or unemployed developer.  You didn't say if you were one of those.
    I believe over time there will be plenty of room for alternate IDE approaches that support the Flex Framework; and in fact there are quite a few options already out there.

  • When a+b+c is not equal to a+c+b

    Hi,
    I would be pleased to have some comment on the following :
    if a+b+c != a+c+b then something the + operator is not working as it should !?
    SQL> select
    a,b,c,a+b+c,a+c+b
    from
    (select date '2005-02-28' a, numtoyminterval(1,'MONTH') b, numtodsinterval(1,'DAY') c from dual);
    A          B             C                   A+B+C      A+C+B
    28.02.2005 +000000000-01 +000000001 00:00:00 29.03.2005 01.04.2005

    Hi Laurent
    As James pointed out, the behaviour with add_months is different but gives a consistent result for the 2 orders. This I can understand because of the functionality and the additional logic that can be placed in the function call.
    SQL> select
      2     a+b+c,
      3     a+c+b,
      4     a+b,
      5     a+c,
      6     add_months(a,1) + 1 abc,
      7     add_months(a+1,1) acb
      8  from
      9     (select
    10             date '2005-02-28' a,
    11             numtoyminterval(1,'MONTH') b,
    12             numtodsinterval(1,'DAY') c
    13     from
    14             dual
    15     );
    A+B+C     A+C+B     A+B       A+C       ABC       ACB
    29-MAR-05 01-APR-05 28-MAR-05 01-MAR-05 01-APR-05 01-APR-05
    SQL> select
      2     date '2005-03-29' - numtoyminterval(1,'MONTH')
      3  from
      4     dual;
            date '2005-03-29' - numtoyminterval(1,'MONTH')
    ERROR at line 2:
    ORA-01839: date not valid for month specified
    SQL>
    SQL> select
      2     add_months(date '2005-03-29',-1)
      3  from
      4     dual;
    ADD_MONTH
    28-FEB-05So based on this, I don't see how the + operator could be commutative for anything other than numbers. Dates and intervals are a special case where order of evaluation does (and should?) effect the result...aren't they?

  • Error while J1INCHLN - Business Place for document  could not be determined

    Dear All Experts,
    I am getting below error while running J1INCHLN Business Place for document could not be determined. For updating Business Place & Section Code I am running J1INPP Update Business Place information in FI document.
    So I am getting error Document is incomplete.
    Further I decided to update this in BSEG manually from SE16N. I am getting two errors :
    1 ) Entry XX does not exist in T059Q ( Check Entry)
    2 ) Entry C1 does not exist in T059Q ( Check Entry)
    I have posted TDS to with these Tax Codes and same maintained in Vendor Master as well. But I am not getting these entries IN T059Q.
    I got way to maintain via View Maintainence. But I would like to know the significance of these details.
    Experts guidance will be helpful.
    Regards,
    Revati Joshi.

    Dear Expert,
    You might have not maintained a number range intervals for Remittance Challan for current year,
    Step-1:
    It is in Path: F.A(New) -- F.A.G.S(New) -- Withholding Tax --- Extended Withholding Tax --- Posting --- India --- Remittance Challans --- Maintain Number Groups -- Provide your company code, Section Code, Official W/H Tax Key and Number Group - 001
    Step-2:
    It is in Path: F.A(New) -- F.A.G.S(New) -- Withholding Tax --- Extended Withholding Tax --- Posting --- India --- Remittance Challans --- Assign Number Ranges to Number Groups --- Provide Number Group - 001 and Internal Number Range - 01
    Step-3:
    It is in Path: F.A(New) -- F.A.G.S(New) -- Withholding Tax --- Extended Withholding Tax --- Posting --- India --- Remittance Challans ---Maintain Number Ranges --- Select Maintain Groups button and select the 001 Check box and menu -- interval -- maintain and provide company code, and then select insert interval button and provide Calendar Year and Intervals
    after configuring this steps, try posting the documents by entering business place and section code in the accounting document and Create Remittance Challan in T-Code: J1INCHLC - Create Remittance Challan  and next for Bank Challan T-Code: J1INBANK - Enter Bank Challan and next for printing Withholding Tax Certificate T-Code: J1INCCERT - Print 
    Try this steps.. it will met your requirement..
    Regards,
    GOPI KRISHNA YANDRA
    SAP FI/CO CONSULTANT

  • Define Number Assignment for Goods Receipt/Issue Slips

    Hi Experts,
    please can you help in the creation of manual creation of transport request for the customizing activity "Define Number Assignment for Goods Receipt/Issue Slips": settings for assigning goods receipt/issue slip numbers upon goods movements (MM) or deliveries (LE-SHP)?
    Customizing for this functionality is composed by the following points:
    1. functionality activation at plant level
    2. number range group/interval code assignment
    3. Groups and intervals creation
    4. Plant / Storage Location / Movement type combination assignment to number range group.
    Customizing request is automatically created for points 1, 2, 4, but NOT for point 3 where you have to create Groups, Intervas and assing each others.
    You receive a message from SAP that you have to insert the relevant object manually into transport request.
    Please can you tell me exactly what I have to put into transport request as object:
    - Program ID     (I think R3TR)
    - Object Type
    - Object name
    and any other relevant information with all the details.
    Thank you very much
    Kind Regards
    Andrea.

    Hi
    You need to create the transport request by selecting the required number & clicking on the trnsaport icon, then a prompt for transport request will be displayed, there you can create the request & move it to production.
    Reward points if usefu;
    Thanks & Rgards
    Kishore

  • It is possible to get a response of a asynchronous RFC call thru wait loop

    Hi Experts,
    The requirement is that i queue up all the requests from a web services ( One queue per plant for example) which i set in the HTTP sender URL ( i mean the queue name ). and i am posting the records thru a RFC call.
    1. Let the RFC call be synchronous and in case the R/3 system is done.. Will the XI queue keep the Call and keep on retrying it till the R/3 system is up.
    2. Otherwise if the RFC call be asynchronous, is it possible to introduce a wait loop in BPM to listen to the RFC till i get some response ( i think this is not possible).
    Need your suggestion on the same...
    The requirement demands that no single request from the web service should be lost.. in case of failure of R/3 they should be queued up and re tried.. Forget about the error because of exception in RFC this will be taken care manually..
    Thanks for your response in advance.

    Hi Rajesh,
    you can queue and restart only asynchronous messages. I think you can build a Business Process, where you repeat sending a message til you have success or maximum number of tries is reached. But no good idea, coz you will get timeout at HTTP sender. Aynchronous messages dont have a response.
    May be, XI can solve your task in the standard: In transaction SMQR you can just configure what you describe. All asynchronous messages will be queued and restartet in case of receiver not reachable. You can configure no of retries and intervall between.
    Regards,
    Udo

  • How to use SET ID in select statement of SQ02

    Hi,
    I have a infoset, where for one of my Zfield, i have writen a select statement in order to get my ouput.
    if aufk-aufnr = 'XYZ'.
      select sum( FKBTR ) from fmifiit into zfmifiit
      where fikrs = aufk-kokrs
      and fipex IN capex
      and wrttp NE '51'.
    endif.
    For the above statement, i have created (with 10 single values, table name FMCI, field name FIPEX)  a SET id named CAPEX and used with IN operator.
    But when i generating the infoset i am getting error like below
    The IN operator with "CAPEX" is followed neither by an internal table nor by a value list
    I was using IN opeartor for set ids during validation / substitutions, where if i have to validate multiple single values.
    What to do here?
    Regards,
    Srinu

    [OPEN-SQL|http://help.sap.com/abapdocu_70/en/ABENOPEN_SQL_GENERAL.htm] set of statement, [SELECT|http://help.sap.com/abapdocu_70/en/ABAPWHERE.htm] statement, [WHERE|http://help.sap.com/abapdocu_70/en/ABENWHERE_LOGEXP.htm] addition requires a selection table (type range, [WHERE - IN seltab |http://help.sap.com/abapdocu_70/en/ABENWHERE_LOGEXP_SELTAB.htm]) of parameter and not a set. We are in Abap here, not in a Customizing screen
    You have to convert the set to a selection table in an ABAP coding before using it in a SELECT statement.
    (Check FM like G_SET_TREE_IMPORT to import definition of set (values and intervals) and map them to a select-table, or ask a developper to perform it, look at G_SET_TREE_IMPORT -> select statement)
    Regards,
    Raymond

Maybe you are looking for

  • Itunes 9.0.2 crashes immediately upon start-up

    Ever since I downloaded the latest Snow Leopard update (10.6.2), I can't open Itunes -- it immediately crashes upon start-up and I will get the following error message. Any idea what the problem is and what I can do? Process: iTunes [165] Path: /Appl

  • Message "Could not save because there is not enough memory (RAM)"

    Running Mac OS9.2.2 Suddenly start to get and error message " An error occured saving the enclosure "file name" Not enough memory" when trying to save an attachment in Microsoft Outlook. Same thing with Adobe Photoshop - when trying to save an any ne

  • Contacts - how to get faces icon to appear so that I can select photos from iPhoto?

    In Contacts when I try to edit and select a persons photo all I can select from is buttons labelled Defaults, Recents, and Camera.  I have heard there should be a Faces button which would allow me to select photos from iPhoto.  In iPhoto I have appli

  • Passing data from one component to another

    I have one composite component (HtmlGroupPanel) that holds one or many primitive component. I have to sum up all the number of X in each primitive component and pass it to the parent/composite component to render that data to the user. Can any one pl

  • Nodemanager in WLS81sp5 calling custom script to start Managed Server.

    Hi, In WLS81sp5 on AIX, I have modified nodemanager.properties file to call a custom script. This custom script is called successfully when I start a managed server from admin console. This custom script is called with 1st argument as "-Xms512m -Xmx5