SAP_HR Sub-components

Hi
After upgrade my HR Support patch level from 25 to 31, I observed that the following HR sub-components got in..
SAP_HRCRU      600       0000      -       Sub component SAP_HRCRU of SAP_HR 
SAP_HRCPT      600       0000      -       Sub component SAP_HRCPT of SAP_HR 
SAP_HRCPH      600       0000      -       Sub component SAP_HRCPH of SAP_HR 
SAP_HRCNZ      600       0000      -       Sub component SAP_HRCNZ of SAP_HR 
SAP_HRCNO      600       0000      -       Sub component SAP_HRCNO of SAP_HR 
SAP_HRCNL      600       0000      -       Sub component SAP_HRCNL of SAP_HR 
Is this normal? And why is the patch level 0000 ?
Regards
Madhu

Hi
The support package level of SAP_HR component is SAPKE60031. The NULL support package level appears only for HR Sub-components, which is normal, as these components does not follow the same correction strategy.
This is normal.
Regards
Madhu

Similar Messages

  • [svn:fx-trunk] 12878: When sub-components don' t have a tabIndex and when VideoPlayer instance does, assigned tabIndex to each inner-component to ensure that they appear in the correct tab order with other components on the stage .

    Revision: 12878
    Revision: 12878
    Author:   [email protected]
    Date:     2009-12-11 19:07:40 -0800 (Fri, 11 Dec 2009)
    Log Message:
    When sub-components don't have a tabIndex and when VideoPlayer instance does, assigned tabIndex to each inner-component to ensure that they appear in the correct tab order with other components on the stage.
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as

    Michael,
    "Michael Caughey" <[email protected]> wrote in message news:413f0af6$1@mail...
    If I'm doing something wrong what is it? Obviously there is something
    different about how I configured my environment a year ago.What happens if you bring down ms02?
    Regards,
    Slava Imeshev

  • BOM function module to find sub components

    Hi all ,
    I got a requirement . I have to find out the components required for a given product .Like if A is made up of X,Y and Z . If i have A , a final product , then how could i  know its sub components  X,Y and Z .
    Is there any Function module .
    Regards ,
    Raj

    Aparna,
    One doubt.Does the function module metioned by you will even explode if a Component under the header material is having a sub-assembly  which again is having some components and those componenets also have sub-assembly so on....
    I mean in one shot if we give the header material it should explode all the BOMS of the corresponding components.
    We have developed a small program kindly have a look at it.Does this whole program can be replaced by that function module alone?
    As we need supply area w.r.t a component under header material we are displaying only those fields in the output.
    REPORT ZBOMEXPLOSION.
    TABLES: MBEW,
            MARA, "Material Master
            MAKT,
            MARC,
            MAST, "BOM Header
            STKO, "BOM Detail
            STPO, "Bom Components
            STAS. "BOM Alternative
    *Declarations for ALV
    type-pools slis.
    DATA:itfieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA:itrepid TYPE sy-repid.
    itrepid = sy-repid.
    DATA:itevent TYPE slis_t_event.
    DATA:itlistheader TYPE slis_t_listheader.
    DATA:walistheader LIKE LINE OF itlistheader.
    DATA:itlayout TYPE slis_layout_alv.
    DATA:top TYPE slis_formname.
    DATA:itsort TYPE slis_t_sortinfo_alv WITH HEADER LINE.
    DATA :itsort1 TYPE slis_sortinfo_alv.
    DATA:itprintparams TYPE slis_print_alv.
    DATA:itvariant TYPE disvariant.
    data : title type lvc_title.
    field-symbols <fs> type LVC_TITLE.
    concatenate 'BOM Explosion level by level' ' ' into title separated by
    space.
    assign title to <fs>.
    DATA:PARENT-MATNR LIKE MAST-MATNR,
    CHILD-MATNR LIKE STPO-IDNRK,
    CHILD-WERKS LIKE MAST-WERKS,
    CHILD-STLAL LIKE MAST-STLAL,
    W_MAKTX LIKE MAKT-MAKTX,
    W_LEVEL TYPE I,
    W_DOT(1),
    W_LVL(12),
    W_LVL1(12),
    W_LVL2(2),
    WCNT TYPE I.
    DATA: BEGIN OF ITAB OCCURS 100,
    CNT TYPE I,
    LEVEL TYPE I,
    LVL1 LIKE W_LVL1,
    WERKS LIKE MAST-WERKS,
    POSNR LIKE STPO-POSNR,
    IDNRK LIKE STPO-IDNRK,
    PRVBE LIKE STPO-PRVBE,
    END OF ITAB.
    DATA: BEGIN OF ITAB1 OCCURS 100,
    WERKS LIKE MAST-WERKS,
    IDNRK LIKE STPO-IDNRK,
    END OF ITAB1.
    DATA: BEGIN OF ITAB2 OCCURS 100,
    CNT TYPE I,
    SUBCNT TYPE I,
    LEVEL TYPE I,
    LVL1 LIKE W_LVL1,
    WERKS LIKE MAST-WERKS,
    POSNR LIKE STPO-POSNR,
    IDNRK LIKE STPO-IDNRK,
    prvbe like stpo-prvbe,
    SBASE TYPE P,
    MAKTX LIKE MAKT-MAKTX,
    END OF ITAB2.
    PARAMETERS: P_WERKS LIKE MAST-WERKS,
                P_MATNR LIKE MAST-MATNR,
                P_STLNR LIKE MAST-STLNR,
                P_STLAN LIKE MAST-STLAN,
                P_STLAL LIKE MAST-STLAL.
    perform zmm.
    perform alv.
    *&      Form  zmmspt
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form zmm .
    SELECT * FROM MAST WHERE WERKS = P_WERKS
                         AND MATNR = P_MATNR
                         AND STLNR = P_STLNR
                         AND STLAN = P_STLAN
                         AND STLAL = P_STLAL.
    SELECT SINGLE * FROM MARA WHERE MATNR = MAST-MATNR.
    IF SY-SUBRC NE 0.
    CONTINUE.
    ENDIF.
    IF MARA-LVORM <> 'X'.
    PARENT-MATNR = MAST-MATNR.
    CHILD-MATNR = MAST-MATNR.
    CHILD-WERKS = MAST-WERKS.
    CHILD-STLAL = MAST-STLAL.
    CLEAR ITAB.
    CLEAR ITAB-LEVEL.
    MOVE MAST-WERKS TO ITAB-WERKS.
    MOVE MAST-MATNR TO ITAB-IDNRK.
    WCNT = WCNT + 1.
    MOVE WCNT TO ITAB-CNT.
    APPEND ITAB.
    W_LEVEL = 1.
    PERFORM GETCHILD.
    ENDIF.
    ENDSELECT.
    SORT ITAB BY LEVEL DESCENDING.
    LOOP AT ITAB.
    PERFORM GET_BOM.
    MOVE ITAB-WERKS TO ITAB1-WERKS.
    MOVE ITAB-IDNRK TO ITAB1-IDNRK.
    APPEND ITAB1.
    CLEAR ITAB2.
    MOVE-CORRESPONDING ITAB TO ITAB2.
    APPEND ITAB2.
    ENDLOOP.
    SORT ITAB2 BY CNT.
    LOOP AT ITAB2.
    CLEAR: MAKT-MAKTX.
    SELECT SINGLE * FROM MAKT WHERE MATNR = ITAB2-IDNRK AND
    SPRAS = 'E'.
    SELECT SINGLE * FROM MBEW WHERE MATNR = ITAB2-IDNRK AND
    BWKEY = ITAB2-WERKS.
    ITAB2-MAKTX = MAKT-MAKTX.
    MODIFY ITAB2.
    ENDLOOP.
    endform.                    " zmm
    *&      Form  GETCHILD
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form GETCHILD .
    SELECT * FROM STPO WHERE STLNR = MAST-STLNR
    ORDER BY POSNR.
    SELECT SINGLE * FROM STKO WHERE STLNR = STPO-STLNR
    AND STLAL = MAST-STLAL.
    SELECT SINGLE * FROM STAS WHERE STLNR = STPO-STLNR AND
    STLKN = STPO-STLKN AND
    STLAL = MAST-STLAL.
    IF SY-SUBRC EQ 0.
    CLEAR: W_DOT, W_LVL, W_LVL1.
    PERFORM MOV_DATA.
    CHILD-MATNR = STPO-IDNRK.
    W_LEVEL = W_LEVEL + 1.
    PERFORM SUBCHILD.
    W_LEVEL = W_LEVEL - 1.
    ENDIF.
    ENDSELECT.
    endform.                    " GETCHILD
    *&      Form  SUBCHILD
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form SUBCHILD .
    SELECT SINGLE * FROM MAST WHERE MATNR = CHILD-MATNR
    AND WERKS = CHILD-WERKS.
    IF SY-SUBRC NE 0.
    EXIT.
    ENDIF.
    SELECT * FROM STPO WHERE STLNR = MAST-STLNR
    ORDER BY POSNR.
    SELECT SINGLE * FROM STKO WHERE STLNR = STPO-STLNR AND
    STLAL = MAST-STLAL.
    SELECT SINGLE * FROM STAS WHERE STLNR = STPO-STLNR AND
    STLKN = STPO-STLKN AND
    STLAL = STKO-STLAL.
    IF SY-SUBRC EQ 0.
    W_DOT = '.'.
    PERFORM MOV_DATA.
    CHILD-MATNR = STPO-IDNRK.
    W_LEVEL = W_LEVEL + 1.
    PERFORM SUBCHILD.
    W_LEVEL = W_LEVEL - 1.
    SHIFT W_LVL.
    ENDIF.
    ENDSELECT.
    endform.                    " SUBCHILD
    *&      Form  MOV_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form MOV_DATA .
    W_LVL2 = W_LEVEL.
    CONCATENATE W_DOT W_LVL INTO W_LVL.
    CONCATENATE W_LVL W_LVL2 INTO W_LVL1.
    MOVE W_LVL1 TO ITAB-LVL1.
    MOVE W_LEVEL TO ITAB-LEVEL.
    MOVE MAST-WERKS TO ITAB-WERKS.
    MOVE STPO-POSNR TO ITAB-POSNR.
    MOVE STPO-IDNRK TO ITAB-IDNRK.
    MOVE STPO-PRVBE TO ITAB-PRVBE.
    WCNT = WCNT + 1.
    ITAB-CNT = WCNT.
    APPEND ITAB.
    endform.                    " MOV_DATA
    *&      Form  GET_BOM
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form GET_BOM .
    SELECT SINGLE * FROM MAST WHERE MATNR EQ ITAB-IDNRK AND
    WERKS = ITAB-WERKS.
    IF SY-SUBRC EQ 0.
    SELECT * FROM STPO WHERE STLTY = 'M' AND
    STLNR = MAST-STLNR AND
    DATUV LE SY-DATUM.
    SELECT SINGLE * FROM STKO WHERE STLTY = 'M' AND
    STLNR = STPO-STLNR AND
    STLAL = MAST-STLAL.
    SELECT SINGLE * FROM STAS WHERE STLNR = STPO-STLNR AND
    STLKN = STPO-STLKN AND
    STLAL = STKO-STLAL.
    ENDSELECT.
    ENDIF.
    endform.                    " GET_BOM
    *&      Form  alv
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form alv .
    IF itab2[] IS INITIAL.
    MESSAGE 'No Values exist for the Selection.' TYPE 'S'.
    STOP.
    ENDIF.
    DEFINE m_fieldcat.
        itfieldcat-fieldname = &1.
        itfieldcat-col_pos = &2.
        itfieldcat-seltext_l = &3.
        itfieldcat-do_sum = &4.
        itfieldcat-outputlen = &5.
        append itfieldcat to itfieldcat.
        clear itfieldcat.
      END-OF-DEFINITION.
      m_fieldcat 'LVL1' '' 'Level' '' 04.
      m_fieldcat 'POSNR' '' 'Item' '' 06.
      m_fieldcat 'IDNRK' '' 'Component' '' 18.
      m_fieldcat 'MAKTX' '' 'Description'  '' 40.
      m_fieldcat 'PRVBE' '' 'Supply Area' '' 12.
      itlayout-zebra = 'X'.
      itlayout-colwidth_optimize = 'X'.
      itlayout-no_subtotals = ' '.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
    *     I_INTERFACE_CHECK              = ' '
    *     I_BYPASSING_BUFFER             =
    *     I_BUFFER_ACTIVE                = ' '
         I_CALLBACK_PROGRAM             = sy-repid
    *     I_CALLBACK_PF_STATUS_SET       = ' '
    *     I_CALLBACK_USER_COMMAND        = ' '
    *     I_STRUCTURE_NAME               =
         IS_LAYOUT                      = itlayout
         IT_FIELDCAT                    = itfieldcat[]
    *     IT_EXCLUDING                   =
    *     IT_SPECIAL_GROUPS              =
         IT_SORT                        = itsort[]
    *     IT_FILTER                      =
    *     IS_SEL_HIDE                    =
    *     I_DEFAULT                      = 'X'
    *     I_SAVE                         = ' '
    *     IS_VARIANT                     =
    *     IT_EVENTS                      =
    *     IT_EVENT_EXIT                  =
    *     IS_PRINT                       =
    *     IS_REPREP_ID                   =
    *     I_SCREEN_START_COLUMN          = 0
    *     I_SCREEN_START_LINE            = 0
    *     I_SCREEN_END_COLUMN            = 0
    *     I_SCREEN_END_LINE              = 0
    *   IMPORTING
    *     E_EXIT_CAUSED_BY_CALLER        =
    *     ES_EXIT_CAUSED_BY_USER         =
        TABLES
          t_outtab                       = itab2
    *   EXCEPTIONS
    *     PROGRAM_ERROR                  = 1
    *     OTHERS                         = 2
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    EXPORT ITAB2 TO MEMORY ID 'KK_ITAB2'.
    endform.                    " alv
    K.Kiran.

  • Sub components problem in custom tag

    Hi!
    Im writing custom tag that do nothing but can contains other components.
    So first I create custom tag with hendler that extends UIComponentTag and component class that extends UIComponentBase
    now tag work but i dont see sub components on the page
    Second i override encodeChildren and getFamily methods with:
    public String getFamily() {       
            return "MyCaller";
    public void encodeChildren(FacesContext context) throws IOException {
            Iterator ch=this.getChildren().iterator();
            while(ch.hasNext()){
                 UIComponent oKid = (UIComponent)ch.next();
                 if(oKid.isRendered()){
                    oKid.encodeBegin(context);
                    oKid.encodeChildren(context);
                    oKid.encodeEnd(context);
            super.encodeChildren(context);
        }But subcomponents not rendered on page.
    So are you know whats wrong

    the problem was in wrong getComponentType() that return wrong value

  • Help Generator is not working for sub-components

    We are using modules with sub-components. The help generator is working fine, except for sub-components.
    The HTML-generator does not generate bookmarks and html for the sub-components and their items.

    So your report sends a email to the mailing list and the list knows what to do with the attached file??
    Just confirming it is NOT a mailing list issue..
    Thank you,
    Tony Miller
    Webster, TX

  • DataGrid with Custom Component not showing sub-components

    I'm hoping someone can enlighten me on this issue.
    I have a datagrid with one column which has an item renderer. It doesn't matter if the "text" data comes from a dataProvider or is static.
    If I do the following, only the first label will show up.
    <mx:DataGridColumn headerText="Column Title">
         <mx:itemRenderer>
               <mx:Component>
                   <mx:VBox>
                        <mx:Label text="{data.data1}" />
                        <mx:Label text="{data.data2}" />
                   </mx:VBox>
              </mx:Component>
         </mx:itemRenderer>
    </mx:DataGridColumn>
    However, if I change the VBox to a HBox both labels will show up.
    <mx:DataGridColumn headerText="Column Title">
          <mx:itemRenderer>
                <mx:Component>
                    <mx:HBox>
                        <mx:Label text="{data.data1}" />
                         <mx:Label text="{data.data2}" />
                    </mx:HBox>
               </mx:Component>
          </mx:itemRenderer>
    </mx:DataGridColumn>
    I'm using:
    Flex Builder 3 Standalone
    Version: 3.0.214193
    OS: Vista
    Any ideas or comments would be appreciated.

    Thanks for the reply KomputerMan.com. I've tried changing the dimensions of the VBox and no other labels appeared. Usually, when there is not enough room within the datagrid cell scrollbars will appear - you can experiment with the example below to see what I mean.
    As for radiobuttons in a datagrid, here you go. The DataGrid and its dataProvider are constructed in the same way you normally would.
    <mx:DataGridColumn headerText="Approve/Deny/Pending" width="170">
        <mx:itemRenderer>
            <mx:Component>
                <mx:HBox height="27" paddingLeft="10">
                    <mx:Script>
                        <![CDATA[
                            private function isSelected(s:Object, val:String):Boolean {
                                if ( s.toString() == val) {
                                    return true;
                                } else {
                                    return false;
                        ]]>
                    </mx:Script>
                    <mx:RadioButton groupName="approveType"
                        id="approved"
                        label="A"
                        width="33"
                        click="data.status='1'"
                        selected="{isSelected(data.status, '1')}"/>
                    <mx:RadioButton groupName="approveType"
                        id="denied"
                        label="D"
                        width="33"
                        click="data.status='2'"
                        selected="{isSelected(data.status, '2')}/>
                    <mx:RadioButton groupName="approveType"
                        id="Pending"
                        label="P"
                        width="33"
                        click="data.status='3'"
                        selected="{isSelected(data.status, '3')}/>
                </mx:HBox>
            </mx:Component>
        </mx:itemRenderer>
    </mx:DataGridColumn>

  • Action Events from sub-components?

    I have a main Swing GUI JFrame, in this frame I have a JLayeredPane (should have named it JLayeredPain). I have a button to switch the layers (only 2 layers, one is a text area, one is a new class which I wrote) On startup the Textarea shows. I click "Switch" and the new class object ( extends JPanel) shows in the JLayeredPane. In the new object I have a JButton "Back". I would like "Back" to cause the main GUI to switch the layers back to the TextArea. I need to somehow pass the ActionEvent from the secondary class From the "Back" button to the Main GUI to call jLayer.moveToFront(TextArea). Hmmm, but I don't know how to do this... Any thoughts would be helpful.

    Use JTabbedPane instead. JLayeredPane is only useful if you have to stack a bunch of transparent layers like Adobe Illustrator does.
    JLayeredPane isn't real good at dynamically changing event listeners. In theory, JLayeredPane should direct events to the topmost layer. In practice, I could never get it to direct events to anything other than the first added component that had any listeners. Changing the order of the layers had no effect. In the end, I added an extra transparent JPanel on top with listeners to trap the events and perform the corresponding action on the correct layer. I'll be this is exactly how Adobe Illustrator is implemented.

  • Reg: Sub assembly components

    Dear All,
    If i am having one main material number is there. In that particular material number lot of sub components are there. I just want to know one of the sub component  which may be using for lot of other material numbers also. How to find that one. If i am using one sub component for some other main component means how to find that one?
    Thanks,
    Sankar M

    Hi,
      you can see the compoments of material in transaction CS03.
    Materials used to make othe material is defined in BOM (Bill of material)
    also check KSSKAUSP table. and give material name in OBJEK.
    Hope this will solve youe problem
    Yhanks & regards

  • SAP_HR & EA-HR:  why do they need to be synchronized?

    Over the summer, we upgraded to ECC 6.0 SR3.  We included numerous support packages, including SAP_HR ...43.  However, not knowing what EA-HR was, we did not apply any support packages to EA-HR.  Now, we need to plan for year-end, and the HRSP link discusses SAP_HR in tandem with EA-HR.
    Although several threads in this forum mention the following link:
    http://help.sap.com/saphelp_erp60/helpdata/EN/44/4541e0bc511193e10000000a155369/frameset.htm
    as an explanation of this topic, I must be saphelp-impaired, because I just don't see exactly what EA-HR is used for when going to this link.  However, there must be SOME significance to EA-HR in particular, if it is mentioned in tandem with SAP_HR.
    So, what I really want to know is whether I need to keep EA-HR up-to-date with support packages when I update SAP_HR with support packages.  Naturally, I would like to know why (and what the impact is if I don't keep EA-HR up-to-date).
       Tom K.

    So, is there a SAP Note or some SAP guide/document that spells out what (sub)components are used for what functions?  Do the EA-xxx components merely add functionality in the portal/web environment?  When we were on 4.6C, we had perhaps a dozen components (e.g., SAP_BASIS, SAP_ABA, SAP_APPL, SAP_HR, IS-H).  Now, we have over 70 (sub)components, with all of the old ones, plus new NetWeaver components (e.g., SAP_BW, SAP_AP, FINBASIS), plus new mystery components (e.g., EA-IPPE, EA-APPL, EA-HR, EA-RETAIL), along with a myriad of HR subcomponents (e.g., SAP_HRCFR, SAP_HRCFI, SAP_HRCDK).  So, am I expected to keep all 70+ components and subcomponents updated every time that I update support packages?  With no disrespect to other industries, why would I care if I keep IS-OIL up-to-date when we don't use it?  Similarly, an oil company would not care about updating IS-H, unless they ran a hospital!
    I'm just not catching on to the strategy.  I'm guessing that all of us now running ECC 6.0 have been bloated with programs that we will never use.  Are we to spend our time and energy and disk space updating scores of components that we will never be in our business plan?  Is there a document with the SAP strategy for this?
    Please forgive my frustration.  I have yet to see how this has simplified anything.

  • RE : Creation of subcontrating PO - Components details

    Hi Experts,
    I am doing a subcontracting purchase order using BAPI - (Bapi_po_create1). But iam not able to update for the sub components of the materials. So, I opted for the PO creation first using Bapi_po_create1 and then using the FM Bapi_po_change iam changing the sub component details in the structure POCOMPONENTS available. PO is created successfully But still its not getting updated with subcontract details instead the system is bringing some standard values in the place of mat no., quantity, price , unit. but the return message is "Pur order changed".
    Note: For PO change iam passing the PO number generated above and the component details alone. That didnt work. Then I passed the header, Item and schedule details too still the same not geting updated but PO created.
    Please suggest.
    Thanks,
    Karthikeyan.

    Hi Karthi
    Use the below code
    loop at itab1.
    Reset values for next row
        if itab1-row ne gd_currentrow.
          append tab .
          clear tab.
          gd_currentrow = itab1-row.
        endif.
        case itab1-col.
          when '0001'. "PGNAM
            TAB-CO_CODE = itab1-value.
          when '0002'. "RONAM
            TAB-DOC_TYPE = itab1-value.
          when '0003'. "JVLEVEL
            TAB-DOC_DATE = itab1-value.
          when '0004'. "FTTYPE
            TAB-PURCH_ORG = itab1-value.
          when '0005'. "LANG
            TAB-PUR_GROUP =  itab1-value.
          when '0006'. "LTEXT
            TAB-VENDOR = itab1-value.
          when '0007'. "LTEXT
            TAB-PMNTTRMS = itab1-value.
          when '0008'. "LTEXT
            TAB-PO_ITEM = itab1-value.
          when '0009'. "LTEXT
            TAB-sched_line = itab1-value.
          when '0010'. "FTTYPE
            TAB-ACCTASSCAT = itab1-value.
          when '0011'. "FTTYPE
            TAB-ITEM_CAT = itab1-value.
          when '0012'. "FTTYPE
            TAB-MATERIAL = itab1-value.
          when '0013'. "FTTYPE
            TAB-QUANTITY = itab1-value.
          when '0014'. "FTTYPE
            TAB-UNIT  = itab1-value.
          when '0015'. "FTTYPE
           shift itab1-value left deleting leading space.
            TAB-DELIV_DATE = itab1-value.
          when '0016'. "FTTYPE
            TAB-NET_PRICE = itab1-value.
          when '0017'. "FTTYPE
            TAB-ORDERPR_UN = itab1-value.
          when '0018'. "FTTYPE
            TAB-PLANT = itab1-value.
          when '0019'. "FTTYPE
            TAB-STORE_LOC = itab1-value.
             when '0020'. "FTTYPE
            TAB-batch = itab1-value.
             when '0021'. "FTTYPE
            TAB-SD_DOC = itab1-value.
             when '0022'. "FTTYPE
            TAB-SDOC_ITEM = itab1-value.
             when '0023'. "FTTYPE
            TAB-MATERIAL1 = itab1-value.
             when '0024'. "FTTYPE
            TAB-PLANT1 = itab1-value.
             when '0025'. "FTTYPE
            TAB-QUANTITY1 = itab1-value.
             when '0026'. "FTTYPE
            TAB-UNIT1 = itab1-value.
        endcase.
      endloop.
      append tab.
      clear tab.
    sort tab by PO_ITEM sched_line.
    DELETE TAB WHERE PO_ITEM = SPACE.
    DELETE TAB WHERE sched_line = SPACE.
    loop at tab.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = tab-material
          IMPORTING
            OUTPUT = tab-material.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = tab-material1
          IMPORTING
            OUTPUT = tab-material1.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = tab-vendor
          IMPORTING
            OUTPUT = tab-vendor.
      concatenate tab-doc_DATE4(4) tab-doc_DATE2(2) tab-doc_DATE+0(2) into tab-doc_DATE.
      concatenate tab-DELIV_DATE4(4) tab-DELIV_DATE2(2) tab-DELIV_DATE+0(2) into tab-DELIV_DATE.
    header-comp_code    = TAB-CO_CODE.
    header-doc_type     = TAB-DOC_TYPE.
    header-DOC_DATE     = tab-doc_DATE.
    header-creat_date   = sy-datum.
    header-item_intvl   = '10'.
    header-vendor       = TAB-VENDOR.
    header-GR_MESSAGE   = 'X'.
    header-langu        = sy-langu.
    header-pmnttrms     = TAB-PMNTTRMS.
    header-purch_org    = TAB-PURCH_ORG.
    header-pur_group    = TAB-PUR_GROUP.
    header-currency     = 'INR'.
    headerx-comp_code   = c_x.
    headerx-doc_type    = c_x.
    header-DOC_DATE     = c_x.
    headerx-creat_date  = c_x.
    headerx-item_intvl  = c_x .
    headerx-vendor      = c_x.
    headerx-GR_MESSAGE  = c_x.
    headerx-langu       = c_x.
    headerx-pmnttrms    = c_x .
    headerx-purch_org   = c_x.
    headerx-pur_group   = c_x.
    headerx-currency    =  c_x.
    *p_int = p_int + 10.
    wa_item-po_item     = TAB-PO_ITEM.
    wa_item-ACCTASSCAT  = TAB-ACCTASSCAT.
    wa_item-ITEM_CAT    = TAB-ITEM_CAT.
    p_matnr = TAB-MATERIAL.
    CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
    EXPORTING
    input = p_matnr
    IMPORTING
    output = p_matnr
    EXCEPTIONS
    length_error = 1
    OTHERS = 2.
    wa_item-material    = p_matnr.
    wa_item-PO_UNIT     = TAB-UNIT.
    wa_item-plant       = TAB-PLANT.
    wa_item-stge_loc    = TAB-STORE_LOC.
    wa_item-quantity    = TAB-QUANTITY.
    wa_item-NET_PRICE   = TAB-NET_PRICE.
    wa_item-BATCH       = TAB-BATCH.
    wa_item-conf_ctrl   = ''.
    wa_item-ACKN_REQD   = ''.
    WA_ITEM-ERS = ''.
    APPEND wa_item TO it_item.
    wa_itemx-po_item     = TAB-PO_ITEM.
    wa_itemx-ACCTASSCAT  = c_x.
    wa_itemx-ITEM_CAT    = c_x.
    wa_itemx-material    = c_x.
    wa_itemx-PO_UNIT     = c_x.
    wa_itemx-plant       = c_x .
    wa_itemx-stge_loc    = c_x .
    wa_itemx-quantity    = c_x .
    wa_itemx-item_cat    = c_x .
    wa_itemx-acctasscat  = c_x .
    wa_itemx-NET_PRICE   = c_x .
    wa_itemx-BATCH       = c_x .
    wa_itemx-conf_ctrl   = 'X'.
    wa_itemx-ACKN_REQD   = 'X'.
    WA_ITEMX-ERS         = 'X'.
    APPEND wa_itemx TO it_itemx.
    wa_POSCHEDULE-PO_ITEM       = TAB-PO_ITEM.
    wa_POSCHEDULE-SCHED_LINE    = TAB-sched_line.
    wa_POSCHEDULE-DELIVERY_DATE = TAB-DELIV_DATE.
    wa_POSCHEDULE-QUANTITY      = TAB-QUANTITY.
    APPEND wa_POSCHEDULE TO it_POSCHEDULE.
    wa_POSCHEDULEx-PO_ITEM       = TAB-PO_ITEM.
    wa_POSCHEDULEx-SCHED_LINE    = TAB-sched_line.
    wa_POSCHEDULEx-DELIVERY_DATE = c_x.
    wa_POSCHEDULEx-QUANTITY      = c_x.
    APPEND wa_POSCHEDULEx TO it_POSCHEDULEx.
    wa_IMEPOACCOUNT-PO_ITEM      = TAB-PO_ITEM.
    wa_IMEPOACCOUNT-SERIAL_NO    = TAB-sched_line.
    wa_IMEPOACCOUNT-SD_DOC       = TAB-SD_DOC.
    wa_IMEPOACCOUNT-ITM_NUMBER   = TAB-SDOC_ITEM.
    APPEND wa_IMEPOACCOUNT TO it_IMEPOACCOUNT.
    wa_IMEPOACCOUNTX-PO_ITEM     = TAB-PO_ITEM.
    wa_IMEPOACCOUNTX-SERIAL_NO   = TAB-sched_line.
    wa_IMEPOACCOUNTX-SD_DOC      = c_x .
    wa_IMEPOACCOUNTX-ITM_NUMBER  = c_x .
    APPEND wa_IMEPOACCOUNTX TO it_IMEPOACCOUNTX.
    wa_POCOMPONENT-PO_ITEM      = TAB-PO_ITEM.
    wa_POCOMPONENT-SCHED_LINE   = TAB-sched_line.
    wa_POCOMPONENT-ITEM_NO      = TAB-sched_line.
    p_matnr1                    = TAB-MATERIAL1.
    CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
    EXPORTING
    input = p_matnr1
    IMPORTING
    output = p_matnr1
    EXCEPTIONS
    length_error = 1
    OTHERS = 2.
    wa_POCOMPONENT-MATERIAL       = p_matnr1.
    wa_POCOMPONENT-ENTRY_QUANTITY = TAB-QUANTITY1.
    wa_POCOMPONENT-PLANT          = TAB-PLANT1.
    wa_POCOMPONENT-CHANGE_ID      = 'I'.
    APPEND wa_POCOMPONENT TO it_POCOMPONENT.
    wa_POCOMPONENTX-PO_ITEM        = TAB-PO_ITEM.
    wa_POCOMPONENTX-SCHED_LINE     = TAB-sched_line.
    wa_POCOMPONENTX-ITEM_NO        = TAB-sched_line.
    wa_POCOMPONENTX-MATERIAL       = c_x.
    wa_POCOMPONENTX-ENTRY_QUANTITY = c_x.
    wa_POCOMPONENTX-PLANT          = c_x.
    wa_POCOMPONENTx-CHANGE_ID      = c_x.
    APPEND wa_POCOMPONENTX TO it_POCOMPONENTX.
      endloop.
    CALL FUNCTION 'BAPI_PO_CREATE1'
    EXPORTING
    poheader = header
    poheaderx = headerx
    IMPORTING
    exppurchaseorder = p_pono
    TABLES
    return = return
    poitem = it_item
    poitemx = it_itemx
    POSCHEDULE = it_POSCHEDULE
    POSCHEDULEx = it_POSCHEDULEx
    POACCOUNT = it_IMEPOACCOUNT
    POACCOUNTX = it_IMEPOACCOUNTX
    POCOMPONENTS = It_POCOMPONENT
    POCOMPONENTSX = It_POCOMPONENTX.

  • Generating a clientId for Custom Components

    I am creating a custom component that will be made up of smaller form elements and maybe even smaller custom components. Does JSF provide the mechanism for generating the clientId for each of these components and thier sub-components.
    What I don't want to do is this:
    writer.writeAttribute("name", clientId + "_id" + subComponentCounter++);
    ...

    I got that part. But what if your component has sub-components. Do you just name them whatever you want? I know that you could. But what if they are dynamically generated? And what if your sub-components have sub-components.
    So for example:
    Custom Control: Shipping Form
    |_Custom Control: Name Form
    | |_TextBox: First Name
    | |_TextBox: Last Name
    |_Custom Control: Address Form
    |_TextBox: Street
    |_TextBox: City
    |_TextBox: State
    |_TextBox: Postal Code

  • Enlarge JFrame and its components properties  proportionally

    Hi,
    We have a simple JFrame � Container - uses Flow Layout and has got Buttons, Text Fields� All of them are using Java�s default fonts, sizes..�
    And we want to increase or enlarge all of the JFrame and its sub components properties proportionally (especially Font�.) like in for example MS-Word.
    In the Ms-Word, there is ZOOM option in the Standard tool bar menu. If you set zoom to 150%, the font is automatically increases. And if you set it to 100% the font sets back to normal. And if the window is not enough to fit, it adds the scroll bars.
    For example, if we increase the Labels Font, the height of that component also should increase proportionally. So the Frame also should increase.
    How could we achieve this sort of functionality ( i.e. Proportionally increasing the component�s properties ) in Swing?
    I believe it is hard to set/adjust the all of the Frame�s components properties (I.e. Height, Font�) proportionally by using the Component listeners.
    (Another example, you might have noticed that the Frame�s Font, hight,width �sizes are proportionally bigger in Systems screen�s 800 by 600 pixels mode compare with 1024 by 768 pixels mode. May be this is windows feature. But we are looking at achieving the same sort of feature)
    Any help or thoughts would be appreciated.
    Thanks in advance.
    Vally.

    Here is a working sample:
    package ui_graphics;
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.FlowLayout;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.LayoutManager;
    import java.util.Arrays;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JSpinner;
    import javax.swing.SpinnerListModel;
    import javax.swing.SpinnerModel;
    import javax.swing.event.ChangeEvent;
    import javax.swing.event.ChangeListener;
    public class ZoomableFrameTest {
       private ZoomablePanel zoomPanel;
       private JLabel label;
       public ZoomableFrameTest() {
          label = new JLabel("Essai pour le zoom");
          label.setBounds(0,0,200,16);
          zoomPanel = new ZoomablePanel();
          zoomPanel.add(label);
          JFrame frame= new JFrame("Zoom test");
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.getContentPane().add(getZoomSpinner(), BorderLayout.NORTH);
          frame.getContentPane().add(zoomPanel, BorderLayout.CENTER);
          frame.pack();
          frame.setVisible(true);
       public static void main(String[] args) {
          new ZoomableFrameTest();
       public JSpinner getZoomSpinner() {
          String[] zoomValues = { "50", "100", "150" };
          SpinnerModel model = new SpinnerListModel(Arrays.asList(zoomValues));
          final JSpinner spZoom = new JSpinner(model);
          Dimension dim = new Dimension(60, 22);
          spZoom.setMinimumSize(dim);
          spZoom.setPreferredSize(dim);
          spZoom.setMaximumSize(dim);
          spZoom.setFocusable(false);
          spZoom.addChangeListener(new ChangeListener() {
             public void stateChanged(ChangeEvent e) {
                // R�cup�re le facteur d'�chelle
                int factor = Integer.parseInt((String)spZoom.getValue());
                setScaleFactor(factor);
          spZoom.setValue("100");
          return spZoom;
       private void setScaleFactor(int factor) {
          zoomPanel.setZoomFactor(factor);
    class ZoomablePanel extends JPanel {
       private int zoomFactor;
       public ZoomablePanel() {
          super(null);
       public void setZoomFactor(int factor) {
          this.zoomFactor = factor;
          if (this.isShowing()) this.repaint();
       public void paint(Graphics g) {
          super.paintComponent(g);
          double d = zoomFactor / 100d;
          Graphics2D g2 =(Graphics2D)g;
          g2.scale(d, d);
          super.paint(g2);
    }

  • SwingUtilities.paintComponent - problems with painting childs of components

    Maybe this question was mention already but i cant find any answer...
    Thats what could be found in API about method paintComponent in SwingUtilities:
    Paints a component c on an arbitrary graphics g in the specified rectangle, specifying the rectangle's upper left corner and size. The component is reparented to a private container (whose parent becomes p) which prevents c.validate() and c.repaint() calls from propagating up the tree. The intermediate container has no other effect.
    The component should either descend from JComponent or be another kind of lightweight component. A lightweight component is one whose "lightweight" property (returned by the Component isLightweight method) is true. If the Component is not lightweight, bad things map happen: crashes, exceptions, painting problems...
    So this method perfectly works for simple Java components like JButton / JCheckbox e.t.c.
    But there are problems with painting JScrollBar / JScrollPane (only background of this component appears).
    I tried to understand why this happens and i think the answer is that it has child components that does not draw at all using SwingUtilities.paintComponent()
    (JScrollBar got at least 2 childs - 2 buttons on its both sides for scroll)
    Only parent component appears on graphics - and thats why i see only gray background of scrollbar
    So is there any way to draw something like panel with a few components on it if i have some Graphics2D to paint on and component itself?
    Simple example with JScrollPane:
    JScrollPane pane = new JScrollPane(new JLabel("TEST"));
    pane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
    pane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
    SwingUtilities.paintComponent(g2d, pane, new JPanel(), 0, 0, 200, 200);Edited by: mgarin on Aug 11, 2008 7:48 AM

    Well the thing you advised could work... but this wont be effective, because i call repaint of the area, where Components painted, very often..
    So it will lag like hell when i make 10-20 repaints in a second... (for e.g. when i drag anything i need mass repainting of the area)
    Isnt there any more optimal way to do painting of the sub-components?
    As i understand when any component (even complicated with childs) paints in swing - its paint method calls its child components paint() to show them... can this thing be reproduced to paint such components as JScrollPane?

  • Flex mxml components should be private by default

    Flex mxml components should be private by default. Does adobe
    plan to fix this in future versions?

    Just noticed this and I think he may have a valid point here.
    But as well as reducing coupling the term I'd use to make this
    argument is
    encapsulation.
    There's no way AFAIK to make MXML sub components invisible to
    higher level components. This can sometimes reveal things
    internally that you don't want messed with, within a custom
    component. If you have a custom component that only requires
    one property be set to configure it properly, you don't want
    to be revealing all these extra sub-components just because they
    had to have ids assigned to them inside the custom component.
    This may be a headache for backwards compatibility, for
    anyone who has assumed these components would be public by default,
    but a simple "scope='public'" attribute should fix that. But even
    having them public by default, and allowing us to set their scope
    to private would be helpful at times.

  • Sub contracting plus vendor consignment.

    Hi every body,
    _Pl provide me the necessary solution for the following scenario:_ There is a vendor who is on sub contact to supply material A.
    The necessary sub components are provided to the vendor to supply the finished product.
    When the finished product is received , the product(material A) should be taken into vendor consignment stock,. i.e.,for the same material ,vendor combination both subcontracting and vendor consignment should be enabled simultaneously,
    This is a real scenario, which needs immediate solution.Those who could give a solution shall be awarded points immediately.
    Venkat.

    Hi Venkat
    Make Info record of same material and vendor for consignment and subcontracting
    Receive the material say A by subcontractor in unrestricted stock and then transfer the stock by 412K into consignment stock and whenever required u can issue from that
    regards
    Anil

Maybe you are looking for