LSMW create positions without updating table T528B?

I created many positions by LSMW,
but, in PA40, I can't assign a person to any one of these LSMW-created positions, system says "position xxxxxxxx is not available in T528B",
I've set integration between PA & OM, if I manually created position in PPOME or PP03, the manually created position could be assigned in PA40
So, how could it happen? SAP's bug or our system's bug?
I have to run report RHINTE10 to update T528B.

Hi
Please check if value of p0001-otype is missed in IT0001.
Regarding such case, you need to do integration between PA and PD.
For example:
1) Turned on integration (PLOGI ORGA "X") (same result with integration off in step 2-4)
2) Conversion of organisational structure (O, O-O, O-K) via IDoc
3) Conversion of PA-data via IDoc; one infotype at the time in the following order: IT0, IT1, IT2, IT3, IT302. No position entered in IT1
4) Conversion of position and relations to org units and cost centers and jobs via IDoc
5) RHINTE10 report to update new org units and positions (and jobs) I have also tried this step after step 6 (makes no difference)
6) Turned integration off (PLOGI ORGA " ")
7)Conversion of relation from the position to the person (A008 rel.)
8) Turned integration on again (PLOGI ORGA "X")
9) Run RHINTE30 for the converted persons.
The above is just an example for your reference. For more detail, you need refer to the documentation for integration
Regards
Jun

Similar Messages

  • Creating a better update table statement

    Hello,
    I have the following update table statement that I would like to make more effecient. This thing is taking forever. A little background. The source table/views are not indexed and the larger of the two only has 150k records. Any ideas on making more effecient would be appreciate.
    Thanks.
    Ryan
    Script:
    DECLARE
    V_EID_CIV_ID SBI_EID_W_VALID_ANUM_V.SUBJECT_KEY%TYPE;
    V_EID_DOE     DATE;
    V_EID_POE     SBI_EID_W_VALID_ANUM_V.POINT_OF_ENTRY%TYPE;
    V_EID_APPR_DATE DATE;
    V_CASE_CIV_ID     SBI_DACS_CASE_RECORDS.CASE_EID_CIV_ID%TYPE;
    V_CASE_DOE     DATE;          
    V_CASE_POE SBI_DACS_CASE_RECORDS.CASE_CODE_ENTRY_PLACE%TYPE;
    V_CASE_APPR_DATE           DATE;
    V_CASE_DEPART_DATE           DATE;
    V_SBI_UPDATE_STEP SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP%TYPE;
    V_SBI_CIV_ID SBI_DACS_CASE_RECORDS.SBI_CIV_ID%TYPE;
    CURSOR VALID_CIV_ID_FROM_EID IS
         SELECT EID.SUBJECT_KEY,
              TO_DATE(EID.PROCESS_ENTRY_DATE),
              EID.POINT_OF_ENTRY,
              TO_DATE(EID.APPREHENSION_DATE),
              DACS.CASE_EID_CIV_ID,
              TO_DATE(DACS.CASE_DATE_OF_ENTRY,'YYYYMMDD'),
              DACS.CASE_CODE_ENTRY_PLACE,
              TO_DATE(DACS.CASE_DATE_APPR,'YYYYMMDD'),
              TO_DATE(DACS.CASE_DATE_DEPARTED,'YYYYMMDD'),
              DACS.SBI_UPDATE_STEP,
              DACS.SBI_CIV_ID
         FROM SBI_EID_W_VALID_ANUM_V EID,
    SBI_DACS_CASE_RECORDS DACS
    WHERE DACS.CASE_NBR_A = EID.ALIEN_FILE_NUMBER;
         BEGIN          
              OPEN VALID_CIV_ID_FROM_EID;
    SAVEPOINT A;
              LOOP
                   FETCH VALID_CIV_ID_FROM_EID INTO V_EID_CIV_ID, V_EID_DOE, V_EID_POE,V_EID_APPR_DATE,V_CASE_CIV_ID, V_CASE_DOE,V_CASE_POE,V_CASE_APPR_DATE,V_CASE_DEPART_DATE,V_SBI_UPDATE_STEP,V_SBI_CIV_ID;     
    DBMS_OUTPUT.PUT_LINE('BEFORE');
                   EXIT WHEN VALID_CIV_ID_FROM_EID%FOUND;
    DBMS_OUTPUT.PUT_LINE('AFTER');
              UPDATE SBI_DACS_CASE_RECORDS
    SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_CASE_CIV_ID,
                   SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 1
    WHERE V_CASE_CIV_ID IS NOT NULL
    AND V_CASE_CIV_ID <> 0;
    UPDATE SBI_DACS_CASE_RECORDS
              SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
                   SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 2
    WHERE V_SBI_CIV_ID IS NULL AND V_SBI_UPDATE_STEP = 0
                   AND V_EID_DOE = V_CASE_DOE
                   AND V_EID_POE = V_CASE_POE
                   AND V_EID_APPR_DATE = V_CASE_APPR_DATE
                   AND V_EID_APPR_DATE = V_CASE_DEPART_DATE;
                   UPDATE SBI_DACS_CASE_RECORDS
              SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
                   SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 3
    WHERE V_SBI_UPDATE_STEP = 0
                   AND V_EID_DOE = V_CASE_DOE
                   AND V_EID_POE = V_CASE_POE
                   AND V_EID_APPR_DATE = V_CASE_APPR_DATE;
    UPDATE SBI_DACS_CASE_RECORDS
              SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
                   SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 4
    WHERE V_SBI_UPDATE_STEP = 0
                   AND V_EID_DOE = V_CASE_DOE
                   AND V_EID_POE = V_CASE_POE
                   AND (V_EID_APPR_DATE - V_CASE_APPR_DATE) > -4
                   AND (V_EID_APPR_DATE - V_CASE_APPR_DATE) < 4 ;
         UPDATE SBI_DACS_CASE_RECORDS
              SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
                   SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 5
    WHERE V_SBI_UPDATE_STEP = 0
                   AND V_EID_DOE = V_CASE_DOE
                   AND V_EID_POE <> V_CASE_POE
                   AND V_EID_APPR_DATE = V_CASE_APPR_DATE;
    UPDATE SBI_DACS_CASE_RECORDS
              SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
                   SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 6
    WHERE V_SBI_UPDATE_STEP = 0
                   AND V_EID_POE = V_CASE_POE
                   AND V_EID_APPR_DATE = V_CASE_APPR_DATE;
    UPDATE SBI_DACS_CASE_RECORDS
              SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
                   SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 7
    WHERE V_SBI_UPDATE_STEP = 0
         AND V_EID_APPR_DATE = V_CASE_APPR_DATE;
              UPDATE SBI_DACS_CASE_RECORDS
              SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
                   SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 8
    WHERE V_SBI_UPDATE_STEP = 0
    AND V_EID_DOE = V_CASE_DOE
                   AND (V_EID_APPR_DATE - V_CASE_APPR_DATE) > -4
                   AND (V_EID_APPR_DATE - V_CASE_APPR_DATE) < 4;          
                   UPDATE SBI_DACS_CASE_RECORDS
              SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
                   SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 9
    WHERE V_SBI_UPDATE_STEP = 0
    AND V_EID_DOE = V_CASE_DOE
                   AND V_EID_POE = V_CASE_POE;
              UPDATE SBI_DACS_CASE_RECORDS
              SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
                   SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 10
    WHERE V_SBI_UPDATE_STEP = 0
    AND (V_EID_APPR_DATE - V_CASE_APPR_DATE) > -4
                   AND (V_EID_APPR_DATE - V_CASE_APPR_DATE) < 4;     
              END LOOP;
              CLOSE VALID_CIV_ID_FROM_EID;
         COMMIT;
         END;     
    -----Thats it. Thanks for your help.
    Ryan

    Please use [ code] or [ pre] tags to format code before posing:
    DECLARE
         V_EID_CIV_ID SBI_EID_W_VALID_ANUM_V.SUBJECT_KEY%TYPE;
         V_EID_DOE DATE;
         V_EID_POE SBI_EID_W_VALID_ANUM_V.POINT_OF_ENTRY%TYPE;
         V_EID_APPR_DATE DATE;
         V_CASE_CIV_ID SBI_DACS_CASE_RECORDS.CASE_EID_CIV_ID%TYPE;
         V_CASE_DOE DATE;
         V_CASE_POE SBI_DACS_CASE_RECORDS.CASE_CODE_ENTRY_PLACE%TYPE;
         V_CASE_APPR_DATE DATE;
         V_CASE_DEPART_DATE DATE;
         V_SBI_UPDATE_STEP SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP%TYPE;
         V_SBI_CIV_ID SBI_DACS_CASE_RECORDS.SBI_CIV_ID%TYPE;
         CURSOR VALID_CIV_ID_FROM_EID IS
              SELECT EID.SUBJECT_KEY,
               TO_DATE(EID.PROCESS_ENTRY_DATE),
               EID.POINT_OF_ENTRY,
               TO_DATE(EID.APPREHENSION_DATE),
               DACS.CASE_EID_CIV_ID,
               TO_DATE(DACS.CASE_DATE_OF_ENTRY,'YYYYMMDD'),
               DACS.CASE_CODE_ENTRY_PLACE,
               TO_DATE(DACS.CASE_DATE_APPR,'YYYYMMDD'),
               TO_DATE(DACS.CASE_DATE_DEPARTED,'YYYYMMDD'),
               DACS.SBI_UPDATE_STEP,
               DACS.SBI_CIV_ID
              FROM SBI_EID_W_VALID_ANUM_V EID,
               SBI_DACS_CASE_RECORDS DACS
              WHERE DACS.CASE_NBR_A = EID.ALIEN_FILE_NUMBER;
    BEGIN
         OPEN VALID_CIV_ID_FROM_EID;
         SAVEPOINT A;
    LOOP
         FETCH VALID_CIV_ID_FROM_EID INTO V_EID_CIV_ID, V_EID_DOE,
              V_EID_POE,V_EID_APPR_DATE,V_CASE_CIV_ID, V_CASE_DOE,
                   V_CASE_POE,V_CASE_APPR_DATE,V_CASE_DEPART_DATE,V_SBI_UPDATE_STEP,V_SBI_CIV_ID;
         DBMS_OUTPUT.PUT_LINE('BEFORE');
         EXIT WHEN VALID_CIV_ID_FROM_EID%FOUND;
         DBMS_OUTPUT.PUT_LINE('AFTER');
         UPDATE SBI_DACS_CASE_RECORDS
          SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_CASE_CIV_ID,
           SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 1
         WHERE V_CASE_CIV_ID IS NOT NULL
          AND V_CASE_CIV_ID <> 0;
         UPDATE SBI_DACS_CASE_RECORDS
          SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
           SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 2
         WHERE V_SBI_CIV_ID IS NULL AND V_SBI_UPDATE_STEP = 0
          AND V_EID_DOE = V_CASE_DOE
           AND V_EID_POE = V_CASE_POE
            AND V_EID_APPR_DATE = V_CASE_APPR_DATE
             AND V_EID_APPR_DATE = V_CASE_DEPART_DATE;
         UPDATE SBI_DACS_CASE_RECORDS
          SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
           SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 3
         WHERE V_SBI_UPDATE_STEP = 0
          AND V_EID_DOE = V_CASE_DOE
           AND V_EID_POE = V_CASE_POE
            AND V_EID_APPR_DATE = V_CASE_APPR_DATE;
         UPDATE SBI_DACS_CASE_RECORDS
          SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
           SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 4
         WHERE V_SBI_UPDATE_STEP = 0
          AND V_EID_DOE = V_CASE_DOE
           AND V_EID_POE = V_CASE_POE
            AND (V_EID_APPR_DATE - V_CASE_APPR_DATE) > -4
             AND (V_EID_APPR_DATE - V_CASE_APPR_DATE) < 4 ;
         UPDATE SBI_DACS_CASE_RECORDS
          SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
           SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 5
         WHERE V_SBI_UPDATE_STEP = 0
          AND V_EID_DOE = V_CASE_DOE
           AND V_EID_POE <> V_CASE_POE
            AND V_EID_APPR_DATE = V_CASE_APPR_DATE;
         UPDATE SBI_DACS_CASE_RECORDS
          SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
           SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 6
         WHERE V_SBI_UPDATE_STEP = 0
          AND V_EID_POE = V_CASE_POE
           AND V_EID_APPR_DATE = V_CASE_APPR_DATE;
         UPDATE SBI_DACS_CASE_RECORDS
          SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
           SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 7
         WHERE V_SBI_UPDATE_STEP = 0
          AND V_EID_APPR_DATE = V_CASE_APPR_DATE;
         UPDATE SBI_DACS_CASE_RECORDS
          SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
           SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 8
         WHERE V_SBI_UPDATE_STEP = 0
          AND V_EID_DOE = V_CASE_DOE
           AND (V_EID_APPR_DATE - V_CASE_APPR_DATE) > -4
            AND (V_EID_APPR_DATE - V_CASE_APPR_DATE) < 4;
         UPDATE SBI_DACS_CASE_RECORDS
          SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
           SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 9
         WHERE V_SBI_UPDATE_STEP = 0
          AND V_EID_DOE = V_CASE_DOE
           AND V_EID_POE = V_CASE_POE;
         UPDATE SBI_DACS_CASE_RECORDS
          SET SBI_DACS_CASE_RECORDS.SBI_CIV_ID = V_EID_CIV_ID,
           SBI_DACS_CASE_RECORDS.SBI_UPDATE_STEP = 10
         WHERE V_SBI_UPDATE_STEP = 0
          AND (V_EID_APPR_DATE - V_CASE_APPR_DATE) > -4
           AND (V_EID_APPR_DATE - V_CASE_APPR_DATE) < 4;
    END LOOP;
    CLOSE VALID_CIV_ID_FROM_EID;
    COMMIT;
    END;Peter D.

  • EHP 7 Upgrade - Position 99999999 isn't in table T528B

    We recently upgraded to ECC 6 EHP 7 and noticed that we can no longer create personnel records. We don't use HCM for anything other than creating our sales reps as personnel numbers.
    In our non-upgraded system we're able to create a personnel # without issue but in our EHP 7 system it returns error message "Entry S 99999999 does not exist in T528B (check entries)". Sure enough the position isn't in table T528B but it never has been.  At this point we're not sure if the issue is that the Position is missing or if it's a related Personnel SubArea issue. In our non-upgraded system a Personnel Sub Area of 1000 is defaulted through a Dynamic Action but in EHP 7 it no longer seems to be getting populated. The field is greyed out so I can't enter it manually but nothing is entered.
    We have gone to OSS and have been given several pieces of advice, none of which has worked. First off we were instructed to maintain an actual position as the default. That didn't work.
    To do this I went to SM30 and for table T77S0 and for the PLOGI PRELI
    value tried to replace 99999999 with 50000138. The system returns an
    error of which the long text is:
    Specify a valid value
    Message no. 5B190
    Diagnosis
    No position which actually exists in PD (in the file PLOG) may be
    entered as a 'default position', since it only displays a symbolic
    position.
    1. If you are editing the entry PLOGI PLOGI:
    The entry PLOGI PRELI already contains a position number which
    exists in
    the required plan version. Please cancel your entry.
    Before entering the plan version, you must enter a position number
    according to PLOGI PRELI that does not already exist in this plan
    version.
    2. If you are editing the entry PLOGI PRELI:
    Please enter a value for which no position was created in the
    integration plan version (you will find this in T77S0 - entry PLOGI PLOGI); Also check whether the PLOGI PLOGI entry is correct.
    Next we were asked to populate the BTRTL value through user exit ZXPADU01 however that only can change data in structures PREL and PREF neither of which has BTRTL in it.
    A popular solution on SCN seems to be the use of dynamic actions, which we did actually use but OSS has come back and said "
    The value is getting pushed in both ofyour systems by a dynamic action in table V_T588Z. Unfortunatley thiskind of propsing default values is not the correct way and is working in your TRN system accidently. Dynamic actions are designated for creating Infotypes dynamically during any action but are not suitable for updating Infotype 0001 with default values.
    At the end of the day none of us have any real experience with HR/HCM as the only thing we use it for is creating sales reps as personnel #'s and it's been working fine for the past 15 years.  Now all of a sudden we upgrade to EHP 7 and it doesn't seem to work and the normally suggested solution that is on SCN seems to no longer work and neither do OSS's solution.  Can anyone help us default in the Personnel Sub Area when creating a new Personnel # through PAL1.  I'm not 100% sure that will cause the 9999999 default position issue but I have a feeling it will, or at the very least get us past one part of the problem.
    Is there a valid user exit that we can default BTRTL through or some other way? I read another SCN thread that stated "The Position will often default the Personnel Area and Personnel Sub-Area in IT0001, from it's IT1008 values." but don't know really what IT0001 or IT1008 is and additionally wonder if the default position of 99999999, again which doesn't exist in T528B could be edited.  Any help is greatly appreciated and please be as detailed as possible as we literally have no first hand experience with any part of HCM.
    Sincerely,
    David

    Thanks Maheswaran!!!
    Yesterday I reviewed dozens of notes and seems I missed 1317551, this is SAP answer for my issue. Second one - 1278517 - and many others I read yesterday.
    Yesterday I found one 334477 (from 2001) which also confirmed my point of view.
    What for I need these entries - just to process my current processes. Problem is that someone how developed this piece of code forgot to check whether functionality is activated and then call function. In my case I just need these entries to go through that function (without error). Afterwards there is a check of flag in requisition, but it's always empty as I don't use it. Anyway logic in SAP is something confusing and hard to explain it.
    You make my day – thank you for that.. I can close thread unless you have something to add?
    Regards
    Bartlomiej

  • LSMW - create Scheduling Agreement for subcontracting position type

    Hi all,
    I want to use LSMW to create a scheduling agreement with position type L (subcontracting).
    I'm using Business Object Method BAPI with
    Business Object      BUS2013     
    Method               CREATE
    Message Type         PURSAG_CREATE
    Basic Type           PURSAG_CREATE01
    The LSMW creates the scheduling agreement with the list of material I inserted in my file but with position type 'blank'.
    any ideas?
    i read that the standard program RM06EEI0 don't support subcontracting, this is the reason of BAPI.
    thanks, MG

    Hi gurus!
    I forgot to put 'X' in E1BPMEOUTITEMX-ITEM_CAT so, even if i mapped the field, it was not updated.
    thanks a lot.
    problem solved.
    MG

  • [Updated] How to create copies of internal table?

    Dis is the detailed description of a problem i have and i
    tried all i can to solve it without satisfied results.
    I want to copy an internal table of a type defined in the
    ABAP program itself, not dictionary. I have a function
    that is supposed to accept the internal table as a
    parameter of type 'any table'. The function should create
    the new internal table using the field catalog of the
    passed 'any table' and then create a new internal table
    using "create_dynamic_table" and return the DATA pointer.
    If anyone knows how it is done pls help me out.
    I would like to get the field catalog of the following
    internal table automatically by using some sap function..
    TYPES:
    BEGIN OF MYTYPE,
      NAME TYPE SOMEZTABLE-NAME,
      AGE TYPE SOMEZTABLE-AGE,
    END OF MYTYPE.
    DATA:
    IT_TABLE TYPE TABLE OF MYTABLE INITIAL SIZE 0.
    DATA:
    COPY_OF_IT_TABLE TYPE REF TO DATA.
    SELECT NAME AGE INTO TABLE IT_TABLE FROM S0MEZTABLE.
    PERFORM CREATECOPY USING IT_TABLE CHANGING COPY_OF_IT_TABLE.
    <b><i>[I have used FORM 4 understanding purpose only. I
    actually want to put the code in the form in a seperate
    global class method. So, its not possible to define
    field symbols in the main pgm and assign value to it
    from within the FORM. Also we cant CREATE DATA of the
    type 'mytype' within the FORM.]</i></b>
    FORM CREATECOPY
      USING
        IT_TABLE <b>TYPE ANY TABLE</b>
      CHANGING
        COPY_OF_IT_TABLE TYPE REF TO DATA.
    <i><b>[ Here i would like to create a copy the passed
    internal table and return a reference to it. I donot want
    to refer to the same table passed. I guess the use of
    function CREATE_DYNAMIC_TABLE in the CL_ALV_TABLE_CREATE
    clss is required. ]</b></i>
    ENDFORM.

    Ravikumar,
    All the example code i have got wil not work when i put the code in a method of a class..
    The problem is not as simple as it sounds...
    Pls try if u can and u will understand the basic problem..
    If u can pls giv me ur email id as i can mail u the detailed description of the problem..

  • Steps to create Universe without using Fact Table

    Dear All,
    i am confronting with a problem by creating an Universe.
    The problem is that we do no have any fact table.
    Could you please  explain the steps for creating an universe without fatc table?
    Thanks
    Pat

    The first thing to do is identify the tables in your schema that contain measures. These will be your base tables for contexts.
    Then identify all the tables that relate to each of your candidate fact tables.
    You may identify two related tables, both with facts in, which would give you a fan trap.
    Say you have a schema with only three tables and they are related as: T1 -< T2 -< T3
    T2 and T3 both have measure columns.
    What you would need to do is create an alias of T2 (AT2) and join it to T2.
    You would then have two contexts, T1-< T2 , T2-< T3 and T1-<T2, T2- AT2
    For objects from T2, derive the dimensions from T2 and the measures from AT2.
    Beyond that, it's fairly standard.
    If you have a data schema it is going to be much easier for you.

  • Problem In LSMW during creating position

    hi all,
    my scenrio is i am creating a unit of type O and after this i have to create position for it.
    i create a single recording for this. first i create a unit then position will create. but during creating position it will take a object ID of unit. but position has internal range it will assigned internaly but in my case it is taking object id of unit that is been created.
    how to get object ID of position???
    thanks
    Sachin

    hi manoj,
    thanks for ur answer,
    there is one problem, when i m running my lsmw in my system it is running fine. but when i run my lsmw in other system , in my recording , it automatically assigning object id to the field object id which is blank.
    i dont know y this is so?
    thanks
    Sachin

  • Creating a new position and updating IT 1028 using HCM processes and forms

    I have to create a new position and update the related infotypes using the design time framework of HCM processes and forms. The problem I am facing is the info type 1028 is not a part of the de coupled infotype framework and does not appear in the service fields list. How can I update the infotype 1028? I was thinking of updating it using the FLUSH method of the class implementing the ADV services interface IF_HRASR00GEN_SERVICE_ADVANCED by calling the function module RH_INSERT_INFTY. But, how do I get the position ID created? Is there any other way of achieving this? Please help as soon as possible.

    HI
    Create one Function Module to return all the vacant positions and load that in a drop down.
    For IT1028 you have to update via the RH_INSERT_INFTY.
    Kind Regards,
    Mukesh

  • How to manually create a transport for table T604 update?

    Hi Gurus,
    I upated table T604 with transaction VEU4 - but at the time if saving it did NOT prompt for a transport request
    Now, I have to move  the data (updated table ) to quality box / prodcution
    Instead of using again trx VEU4 in quality / prodcution boxes, I want o create an empty transport manually and then assign table T604 to that transport and move to next box.
    Is that possible ? If so, can sombody explain the steps, please : how to manually create a transport and assign ojbects (table object) to it
    Thanks,
    SM

    Not sure how you have updated T604 in VEU4, but if you go to SM30 transaction with T604 table and click Customization, then it will take you to the place in SPRO where the table is maintained. From there, use the menu Table View -> Transport and create a transport request. Then select the entries you need to transport (all, if necessary) and go to the menu Edit -> Transport -> Include in Request.

  • How to update a table of contents when the feature "update table of contents" is unavailable?

    Hello folks,
    I've been struggling all morning with this issue and am completely desperate.
    First, some info:
    - I am making a spanish versions of an english documents: everything in the original doc was then edited, including TOCs. What I got at first, was a first spanish document already filled with spanish content.
    - I was not the primary creative of the document I'm workin on and am unable to get in touch with whoever that can be.
    - My document is a 200 pages text only document, with 12 chapters and, at the beginning of each chapter, a specific TOC for that very chapter.
    - Inside each chapter, there are only Sections and Subsections, no other style. Those are the two levels in the TOCs.
    - There is also a General TOC at the beginning of the document: that one only shows the Chapter names and the page number where to locate them.
    My problem:
    - Somewhere along the way, from one doc to another, the TOCs stopped to update the page numbers automatically.
    - Now I have sections and subsections that are shown in one page (for instance 204) but they actually are on page 135.
    - When I try to update the TOCs, I stand on the TOC itself as I was told in many tutorials, but the "update table of contents" feature is unavailable, even in the main TOC at the very beginning of the doc.
    It is like if I wasn't standing in the actual TOC, but there is no actual TOC anywhere that I could refer to.
    What can I do? I am changing the wrong page numbers manually but, of course, that is not ideal... and it may become more and more tricky while I keep producing new documents each based on the previous one.
    Any help will be much appreciated.
    Warm regard from sunny Paris, France!
    Sasha

    You've just confused me.
    My understanding of how this is set up is that either:
    This is a book, and there is a master TOC that includes all book documents and a document-specific TOC in each component file, or
    This is a single file and there is one master TOC that includes all sections and a section-specific TOC that includes only the individual section.
    In the first case, I think you would want two TOC styles set up, one that includes the chapter heads (if I understood how you said this worked) for the for the master, and you would include all docs in the book when you generate it, and a second style for the individual chapters, with the subheadings you want to include.
    In the second case, it would be similar, but instead of only one style to cover the section TOCS, I think you would need to create a unique set of pargraph styles for the headings in each section (they can all be the same format, based one section, just with unique names), and then make a TOC style for each section that includes only the styles from that section.
    OK,  wait a sec. I just reread what you said: "Another thing: when the numbers are "linked" and updating well, they  display indide a little box. Not a text box, but a kind of little frame  around the numbers. That frame makes it imposible to delete just one  number: when the TOC says that Section 6.1 is in page 135, for example,  you cannot delete just the 5, it deletes, not just the 3 numbers, but  also the doted tab."
    I think these are NOT normal TOCs created by using Layout > TOC (but you could replace them with ones that are, if you set up your styles properly and the text you want to include is appearing on the pages). Those little boxes you mention sound like cross-references, which should update automatically without any intervention at all. Unfortunately, cross-refs can be flakey, especially if they point to another document. I'd open the cross-refs panel and see if you need to recreate a bunch of links.

  • How can I protect formulae in a newly created spreadsheet without locking the whole sheet ?

    How can I protect formulae from being overwritten on a newly created spreadsheet without locking the whole sheet ?

    Olly,
    I'll be picky here on nomenclature ;-)
    Tables and other Obects can be locked, but Sheets can't be locked.
    If you wish to shield some parts of your content from accidental modification, arrange your layout to put that sensitive content in tables separate from the tables that need to be accessed, and lock the sensitive ones. It's also possible, but rather clunky, to place shields over the sensitive area. A shield can be made by Inserting a Shape and positioning the shape over the sensitive area. With the shape selected, go to the Graphics Inpector and set the Opacity of the shape to zero. You will then be able to see through the shape but will no be able to Click through it to get at the cells below. This method is inconvenient because you have to worry about keeping the shape aligned with the table should the table need to change size or shape.
    Jerry

  • Need a Query to update table from another table.

    I have two tables Table A and Table B , till now in table “A”. I have a column which consist of IDs and duplicate IDs( which are basically formed by Original Ids) , I have another table i.e. table “B” , which gives a mapping between original ids and duplicate Ids
    TABLE A:
    ID/DUPLICATEID      NAME
    1     Rahul
    1_CAD     Pawan
    2     Nikhil
    3     TOM
    3_CAD     Ravi
    3_MQ     Puneet
    TABLE B:
    ORIGINALID     DUPLICATEID
    1     1_CAD
    3     3_CAD
    3     3_MQ
    Now I want to have another column in Table “A” , which will give me the mapping between the original Id and duplicate Id as shown in updated table “A”.
    UPDATED TABLE A:
    ID/DUPLICATEID     NAME     ORIGINAL_ID
    1     Rahul     
    1_CAD     Pawan     
    2     Nikhil     
    3     TOM     
    3_CAD      Ravi     
    3_MQ     Puneet     
    Now I want to write a Query in which I can update this column (ORIGINAL_ID) of Table “A”, from the table B(basically want to update mulitple rows using single query), because table B already has this mapping. Can any one help me in this. I am basically a Java guy , so I don’t know much about it. I hope to get a positive response from you people, Thanks in advance!

    Here you go...
    <pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%">
    <code>
    SQL&gt; CREATE TABLE A (ID VARCHAR2(10), NAME VARCHAR2(10), NEW_ID VARCHAR2(10));
    Table created.
    SQL&gt; INSERT INTO A VALUES ('1', 'Rahul', '');
    1 row created.
    SQL&gt; INSERT INTO A VALUES ('1_CAD', 'Pawan', '');
    1 row created.
    SQL&gt; INSERT INTO A VALUES ('2', 'Nikhil', '');
    1 row created.
    SQL&gt; INSERT INTO A VALUES ('3', 'TOM', '');
    1 row created.
    SQL&gt; INSERT INTO A VALUES ('3_CAD', 'Ravi', '');
    1 row created.
    SQL&gt; INSERT INTO A VALUES ('3_MQ', 'Puneet', '');
    1 row created.
    SQL&gt; CREATE TABLE B (ID VARCHAR2(10), NAME VARCHAR2(10));
    Table created.
    SQL&gt; INSERT INTO B VALUES ('1', '1_CAD');
    1 row created.
    SQL&gt; INSERT INTO B VALUES ('3', '3_CAD');
    1 row created.
    SQL&gt; INSERT INTO B VALUES ('3', '3_MQ');
    1 row created.
    SQL&gt; COMMIT;
    Commit complete.
    SQL&gt; UPDATE A
    2 SET NEW_ID = NVL((SELECT B.ID FROM B WHERE A.ID = B.NAME),A.ID)
    3 /
    6 rows updated.
    SQL&gt; COMMIT;
    Commit complete.
    SQL&gt; SELECT * FROM A;
    ID NAME NEW_ID
    1 Rahul 1
    1_CAD Pawan 1
    2 Nikhil 2
    3 TOM 3
    3_CAD Ravi 3
    3_MQ Puneet 3
    6 rows selected.
    </code></pre>
    Note: While asking question do give us DML/DDL script. It will make peoples life better.
    Karthick.
    http://www.karthickarp.blogspot.com/

  • HELP in Creating maintenance viewfor a table

    Hi Experts,
    I have created a customer table ZADD in the development system which has to have a maintenance view too. Can you guide me how to create the same. In the tecnical dialog details, I have put the following details :
    Authorization group : ZTAB ( Table Maintenance )
    Authorization Object : S_TABU_DIS.
    Now, does the function group needs to be created at our end or we can use any standard function groups which would convert the table to the maintenance view.
    Kindly guide
    With Regards,
    Rajesh

    Hi
    <b>The Authorization group can be created as follows
    Transaction SE54 >Select 'Authorization Groups'>Create/Change-->New Entries. Now the authorization group created can be assigned to your table.
    To create an authorization group use transaction SE54.
    You can use
    <b>&NC& (Without Authorization group)</b>
    for creating Table mainataianence as well.
    Use Transactions
    SE54 -> Create Authorization group
    SE14 -> Table adjustment
    and
    SM30 -> Table Maintaience
    SE80 -> Creation New Function Group
    Ensure that you activate and adjust database in SE14 after your update in SM30.</b>
    Hope this will help.
    Please reward full points, incase it suits your requirements.
    Regards
    - Atul

  • Bad update table?

    Hi
    I have in FORM code:
    UPDATE Z_TABLE SET COL1 = 'value' WHERE COL2 = var
    And in this program is also many inserts and BDC codes.
    After execute all PERFORM is command  COMMIT WORK AND WAIT.
    Problem is only in update table Z_TABLE. Some rows in database don't have updated
    values.
    It is possible that this error exists because FORM is executed many times ?
    If I change this code to the one command: UPDATE Z_TABLE from itab, this repaire
    my all updates or maybe this is work the same like single record UPDATE?

    UPDATE dbtab - source
    Syntax
    ... { {SET set_expression [WHERE sql_cond]}
        | {FROM wa|{TABLE itab}} }.
    Alternatives:
    1. ... SET set_expression [WHERE sql_cond]
    2. ... FROM wa
    3. ... FROM TABLE itab
    Effect
    The specifications in source define which rows and columns are changed. Either individual columns are changed using the addition SET or entire rows are overwritten using the addition FROM.
    After FROM, either a non-table-type data object wa or an internal table itab can be specified. The content of these objects determines - on the one hand - which row(s) is/are changed, and
    - on the other hand - which values are used to overwrite the row(s).
    Alternative 1
    ... SET set_expression [WHERE sql_cond]
    Effect
    After the addition SET, the changes are specified in a list of change expressions in set_expression.
    The addition WHERE uses a logical expression sql_cond to define in which rows of the database table the changes are executed. For the logical expression sql_cond, the same applies as for the WHEREcondition of the statement SELECT, with the exception that no subqueries are to be evaluated in the database table to be changed. If no WHERE condition is specified, all the rows in the database table are changed. If a column of the type STRING or RAWSTRING is changed, the primary key must be fully specified in the WHERE condition.
    The content of primary key fields can only be changed if the respective database table is not linked with a search help and if pool and cluster tables are not accessed. If a link was to be created through the changes and this row would cause double entries in the primary key or a unique secondary index of the database table, no row is changed and sy-subrc is set to 4.
    Notes
    Before release 6.10, SET could only be specified for static specification of the database table.
    Before release 6.10, no dynamic logical expressions could be used in the WHERE condition of the statement UPDATE.
    Example
    Dynamic conversion of the content of an arbitrary column in an arbitrary database table of a previous currency in Euro.
    PARAMETERS: table    TYPE c LENGTH 30,
                column   TYPE c LENGTH 30,
                old_curr TYPE sycurr.
    DATA: set_expr  TYPE string,
          condition TYPE string.
    CONCATENATE column ` = 'EUR'`
                INTO set_expr.
    CONCATENATE column ` = old_curr`
                INTO condition.
    TRY.
        UPDATE (table)
        SET    (set_expr)
        WHERE  (condition).
      CATCH cx_sy_dynamic_osql_error.
        MESSAGE `Error in update!` TYPE 'I'.
    ENDTRY.
    Alternative 2
    ... FROM wa
    Effect
    If you specify a non-table-type work area wa, the system will search for a row in the database table which, in its primary key, has the same content as the respective beginning part of the work area. The content of the work area is interpreted in its non-converted form and in accordance with the structure of the database table or the view. The content of the work area is assigned to this row. The assignment takes place without conversion from the left to the right in accordance with the structure of the database table or the view. The work area must fulfill the prerequisites for use in Open SQL statements.
    If there is no row with the same content for the primary key in the database or if the change would lead to a double entry in a unique secondary index, the line is not changed and sy-subrc is set to 4.
    Notes
    The work area wa should always be declared in relation to the database table or the view in the ABAP Dictionary.
    If you have a static specification of the database table or the view, the specification of the work area using FROM wa can be omitted outside of classes - provided a table work area dbtab for the respective database table or the view is declared using the statement TABLES. The system expands the UPDATE statement implicitly to include the addition FROM dbtab.
    Alternative 3
    ... FROM TABLE itab
    Effect
    When an internal table itab is specified, the system processes all the rows of the internal table in accordance with the rules for the work area wa. The row type of the internal table must meet the requirements for use in Open-SQL statements.
    If, in the database, there is no row with the same content of the primary key for a row in the internal table, or if the change would lead to a double entry in a unique secondary key, the respective row is not changed and sy-subrc is set to 4. If the internal table is empty, sy-subrc is set to 0. The system field sy-dbcnt is always set to the number of rows actually inserted.
    Example
    Reduction of the flight cost for all of today's flights of an airline carrier in the database table SFLIGHT by the percentage percent. The calculation of the new price is always done in an internal table sflight_tab and the database table is changed accordingly.
    PARAMETERS: p_carrid TYPE sflight-carrid,
                percent  TYPE p LENGTH 1 DECIMALS 0.
    DATA sflight_tab TYPE TABLE OF sflight.
    FIELD-SYMBOLS <sflight> TYPE sflight.
    SELECT *
           FROM sflight
           INTO TABLE sflight_tab
           WHERE carrid = p_carrid AND
                 fldate = sy-datum.
    IF sy-subrc = 0.
      LOOP AT sflight_tab ASSIGNING <sflight>.
        <sflight>-price =
          <sflight>-price * ( 1 - percent / 100 ).
      ENDLOOP.
    ENDIF.
    UPDATE sflight FROM TABLE sflight_tab.

  • "Error in updating Table J_1iexchdr"

    Hi ,
    When I am creating the excise invoice, It's terminated the program and gives the following error
    "Error in updating Table J_1iexchdr"
    What can be the reason?
    Regards
    Prem

    Hi prem
    Look if these threads can help
    RG23C Update Problem
    Problem in SAP Script
    billing document not creating
    return delivery
    ************Reward points if usefull**************

Maybe you are looking for

  • How to I get Facebook games to recognize Flash 11?

    My computer advised me to update my Flash player, so I did and now I cannot get any Facebook games to load.  Well, most any games for that matter.  Alot of my kids games don't load either.  It's like my computer doesn't recognize that I have the play

  • Is the macbook air's adapter universal?

    I am going to travel to dubai will my macbook air work normally or do I need to buy a 220V adapter?

  • How To Deploy/Run a pure Java Portlet into Webcenter

    Hello Gurus, I am new to the portal technologies. So maybe I am asking a very basic question. Here it what I would like to achieve. 1) Create a sample "HelloWorld" portlet (A java class which implements a portlet interface or some standard portlet im

  • Ipod update -50 error on a Mac

    Hello all, I am having a problem updating my Ipod video on a Mac G4. I am updateit thru Itunes. I can update all of my video and music files but it won't update my calendars or my photos. Yes I have selected the options to update those sections. When

  • Event on close Browser to unlock Data

    Hi experts, I have an OVP Floorplan and the problem is, that by closing the Browser, all Data Locks remain in SM12. Is there an Event or Method called before closing the browser or how can I Unlock the Data? I've red, that the Method WDDOINIT of the