How to maintain EMP number same as Personnel number

Hi Expert ,
I have requirement where i need to create emp number always with personnel number .Any user exit or badi to serve this purpose ?
This is very urgent requirement so pls help me out

Hi,
>>How is the required pl/sql code to do that ?
In this case, just a SQL code resolve your problem:
select DOC_NUMBER from doc_number where doc_code = <value> for update;
update DOC_NUMBER set doc_number = doc_number+1 where doc_code = <value>;
commit;Cheers

Similar Messages

  • How  to maintain 10digit number

    Hi ,
    I want to save a 10 digit number like mobile number (Eg: 9848948499) in a variable.
    Which data type will accept this because int ,long , double are not working for this please check.

    prometheuzz wrote:
    PhHein wrote:
    Huh?! long and double are just fine, use long.@OP: Unless that (mobile) number can have leading zero's, then a String would do.My mobile has a leading zero!
    A 'telephone number' is not a number - it is an identifier and ALL parts of it are used to identify a telpehone. The use of the word 'number' go back to the early days when, in Britain anyway, by asking the operator one specified the exchange name and the number of the telephone within the exchange (1,2,3 .... 900, 901 etc). These days the exchange name is just part of the 'telephone number' .
    The likely best structure to hold a 'telephone number' is likely to be something like a String or char array or byte array. If one creates a class TelephoneNumber then the detail of how it is represented internally should not concern the user.

  • How to Maintain Running number in the E-Mail while campaign is executing

    Hai everyone..
    We are trying to incorporate a running number in the e-mail for validation purpose at later stage. This running number will be the part of e-mail content and it will be different for each BP, who are in the target group..
    can anybody give me idea in this regard..
    Regards

    Hi Veerendra,
    The below info. might further help your technical consultant to achieve this.
    Use this BAdI (CRM_MKT_PRC_CONVERT) to enable you to shrink or shorten very large numbers taken from the number range interval and convert them to a more user-friendly format, such as an alphanumeric form. This BAdI is implemented as a part of Campaign Response Handling. It is called by the APIs during campaign execution to create and send personalized letters, mails, SMSs, and faxes.
    You can implement your own conversion logic to convert the Personalized Response Code (PRC), which is integrated with Mail Forms. The PRC is generated by using the standard Number Range function and is in numeric form (Base10).  The number range interval can be defined in the Customizing activity Define Number Range Interval for PRC.
    Note: Important PRC-related attributes:
    Maximum possible length of PRC: 12 digits
    Highest possible value of PRC that can be generated: "999999999999"
    Maximum possible length of PRC when converted to an alphanumeric form: 16 characters
    Default Settings
    A default implementation of the method CONVERT_PRC is provided to convert the PRC to an alphanumeric form. This implementation can be replaced by a custom implementation.
    Reward points if it helps.
    Thanks.
    Sindhu.

  • How to maintain serial no for sales order created by BAPI

    Hi all,
    We are using BAPI for creating sales order "BAP_SALESORDERDAT2" but we are not able to assign Serial number while using this BAPI. Is there any function modul, BAPI, or workarround available to solve this problem. Or how to maintain Serial number.
    Regards
    Shambhu Sarkar

    Hi
    It is not possible to to maintain serial numbers with the normal SD
    BAPIS. This functionality is not scope of the BAPIS.
    regards,
    Ramana

  • HT1349 How do I set up a speed dial on my iPhone 4s?  I am used to the bberry where I just keep my finger on a number in order to dial. This is very useful in the car.  How do I get the same effect on iPhone?

    How do I set up a speed dial on my iPhone 4s?  I am used to the bberry where I just keep my finger on a number in order to dial. This is very useful in the car.  How do I get the same effect on iPhone?

    I found a post from Alope that told me exactly how to fix it.
    Go to:
    Settings   - General   - Restrictions    -    put your pass code in   -     Facetime      -  turn the switch to ON
    Worked perfectly to stop the message that said, Not authorized to do that!

  • How to Maintain two different prices for same material in different qty?

    Dear all,
    How to maintain two different prices for same material in different batch quantities in purchase order(ie.,info record)?
    (Vendor is supplying quantities in 2 different batches & also in different prices)
    Expecting valuable reply.
    Jeyakanthan

    In a PO you can create 2 items, and each item can be maintained with a different price in the conditions.
    In info record it is not possible to have different prices for the same period, except for scales.
    so if you have a price of e.g. 2 USD for 1000 kg and 1,90 USD for 2000 kg then you can maintain this in scales, but you still have to have 2 items in the PO so that each one can individually find its price.
    Alternative you can create contracts (as well with more than one item) to reflect the different prices and batches.

  • So10  how to maintain texts here and have the same copied

    Hi Gurus,
    How to maintain texts here in so10 ? After maintining here how to make it come in the billling or delivery documents.
    Yezdevan

    Hi
    Go to SO10 Tcode and create new Text there with a unique name say 'XYZ' as text name.
    In the print program or directly to the form you can use " INCLUDE XYZ                                                                               
    OBJECT TEXT ID ST                                                                               
    LANGUAGE EN ".
    bye

  • HOW TO CREATE EXTERNAL NUMBER RANGE IN OM

    HI ALL
    HOW TO CREATE EXTERNAL NUMBER RANGE IN OM
    PLEASE GIVE ME SPOON FEEDING
    IT IS VERY URGENT FOR ME
    PLEASE PLEASE AND PLEASE
    REGARDS

    ok i understood u want the img path for maintaing
    positions ,jobs , Org units
    Path:IMG->Personnel Mgmt->OM->Basic Setting->Maintain Number ranges.
    IMG go to Personnel Management -> Organizational Management -> Basic Settings
    -> Maintain Number Ranges.
    Select subgroup $$O to maintain number range for Org Unit and click on Number range Maintenance. Then click on change Intervals. Now you can create both internal and external number range for Org Unit according to your requirement.
    Similarly for Position select subgroup $$S and follow the same process.
    Edited by: Sikindar on Feb 7, 2008 11:23 AM
    Edited by: Sikindar on Feb 7, 2008 11:28 AM

  • How to maintained the Text  language for CKF keyfigure

    Dear All,
    Please let me know how to maintained the text language for CKF I am using only keyfigures in CKF.
    Issue is text is not showing in Spain language when user exeuted the report (longin Spain) for CKF keyfigures .
    As per report design there are formuals and direct keyfigures and CKF has defined and we keep it under in Row struture in the report.
    After exeuted the report (Login Spain)Text has converted in all languages along with spain except for CKF keyfigures.
    Issue in text CKF's:
    There is a main  CKF (Cost) under this again we defined two sub CKF's those are total cost and average cost. We able to see the text in Spain language for Main CKF(cost) and also cheked in RSZELTTXT(Texts of reporting component elements) for the same.
    We can able to see the text in all languages for main CKF(cost) and enteries are there in RSZELTTXT table.
    We can see only  the text in english for  total cost and average cost and also enteris are there only in EN in RSZELTTXT table.
    It would help to me if any one can answer my question.
    Thanks in advance .
    Regards,
    MQ

    U can fetch the texts for the items using
    Read_text.
    Example:
        g_f_tdname = xvttp-vbeln.
        g_f_obj = p_obj.
        g_f_langu = 'DE'.
        REFRESH g_t_lines.
        CLEAR g_t_lines.
        CALL FUNCTION 'READ_TEXT'
             EXPORTING
                  id                      = p_var
                  language                = g_f_langu
                  name                    = g_f_tdname
                  object                  = g_f_obj
             TABLES
                  lines                   = g_t_lines
             EXCEPTIONS
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  OTHERS                  = 8.
        IF sy-subrc <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    The Required fields are,
    Text-id ,language,name,object.
    Let me know if you further require help.
    Regards

  • How to maintain gap between table and graph in a report

    HI,
    I have a report in which a graph is placed below a table  and data in the table gets increased with time , then how to maintain the gap as constant between table and the graph ?? Like i have 50 rows in a table and then next day 10 rows are added but then i want maintain same gap between the table and graph???

    >Right click on chart.
    >Open the property and go to the relative position.
    >Select the distance of the upper left point of the chart in relation to another report element by entering - the number of pixels; the part of the tavfrom which youble want to measure the pixels (in the first drop-down list); the report element from which you want to measure the pixels (in the second drop-down list).
    >Repeat this for the distance of the lower left point of the chart.
    Hope this will help you out.

  • How long does the number porting process take?

    Hello Everybody! I just got my iphone (witch I LOVE it by the way) but I was wondering, how long does the number porting process take?
    I ported my phone number over from SprintPCS last night at around 7pm EST and right now it's 8am EST and my Palm seems to still be working... Is this normal?
    I'm still receiving incoming calls to my Palm, Text messages to my Palm, but yet I can do outgoing calls from my iphone... I'm kinda confused...
    I mean I received the text on my iphone from sprint telling me: "Welcome to AT&T" as well as receiving the e-mail saying my new phone number is the same one I've had for 6 years now... Is 13 hours considered normal?
    Thanx! :-D

    QueenYvette,
    If it continues to be an issue tomorrow, I would recomend calling again, and getting in contact with AT&T's porting department. They are familiar with resolving any issues that may arise.
    Powering off both phones is to make sure that the old phone is not maintaining an active connection with the old carrier that can interfere with the last steps of the porting process. If at all possible its a good idea to leave the old phone powered off, and restart the new phone about once an hour so that it will resync with the towers.
    Hope this helps,
    Nathan C.

  • How to maintain budget in 2006 when user in 2008 & vice versa?  frame 1 y

    Problem:
    User could not save changes in  original budget in 2006 & in 2008 also.
    Description
    When user tried to change original budget (FR04) in 2006 year,
    then getting a Message on screen
    “ Payment for yearly  budget 2008 samller than distrubuted budget”
    with fund center – commitment item list &
    “ Payment for the annual budget 2006 are less than annual release “
    with fund center – commitment item list.
    User add & release fund in specific fund center-commitment item which was showing in error list.
    After the ‘check’-
    then getting error ‘’ Payment for yearly  budget 2008 samller than distrubuted budget”
    with fund center – commitment item list
    Time frame only shown 2006.
    Here how to maintain budget in 2008 when user in 2006?
    In Next step
    When user tried to change original budget (FR04) in 2008 year,
    then getting a Message on screen
    “ Payment for yearly  budget 2008 samller than distrubuted budget “
    with fund center – commitment item list &
    “Payment for the annual budget 2006 are less than annual release”
    with fund center – commitment item list.
    User add & release fund in specific fund center-commitment item which as  showing in error list.
    After the ‘check’-
    then getting error
    ‘’ Payment for the annual budget 2006 are less than annual release”
    with fund center – commitment item list
    Time frame only shown 2007 2008 2009.
    here how to maintain budget in 2006 when user in 2008?
    Means user can only change budget in 2007 to 2009” when more years coming in timeframe.
    Current year :2008
    Closed year: 2006 
    In Fund Management, need change original budget payments in 2006 which is already closed.
    Purpose:
    Maintain the positive budget in fund center -Commitment item in 2006 & in 2008 which is shwoing in error.
    Can we see past-current timeframe at the same time ?

    1. copy the frames of your looping animation.
    2. create a new movieclip and paste those copied frames onto
    this movieclip's timeline
    3. from your library drag a copy of the above movieclip to
    frame 1 of your main timeline and attach a stop() to that frame.
    4. place your login textfield and ok button on frame 1 of
    your main timeline.
    5. when ok is pressed (and login) passes some condition
    direct your main timeline to frame 20.

  • Urgent : Unable to maintain the Number ranges for Excise Groups

    Hi CIN experts............
    In Development server I created 3 excise Groups (E2,E3 and E4), the same I was transported to Production.
    J_1IRG23A1, J_1IRG23A2 object number ranges are Excise Group specific.
    When I go to Tools - Number Ranges to maintain number range for J_1IRG23A1, J_1IRG23A2 objects I didn't find these excise groups.
    Im able to see these Excise groups in Tools - Number ranges in Development server, but not in Production.
    Can any one guide me something to resolving the issue ?
    regards
    Durga Ram

    Hello Nagaraju,
    Can you please tell me the customozing path for maintaining the number ranges for PM log entries.
    I require to mention customizing path in my document.
    Puneet

  • How to find the number of occurance of a string in text field of Infopath form?

    Hi All,
    In Infopath text field, How to find the number of occurrence of a particular string in that field?
    Thanks in advance!

    You can check to see if it contains a string once by using the contains function, but there isn't a very clean way to do what you want. If you wanted to guess at the maximum number of occurrences, then you could:
    Box A has your initial. Set Box B to do a concat of string-before and string-after of Box A where it copies Box A minus the string we're looking for. Then we have Box C that does the same thing to Box B. Repeat as many times as you see necessary.
    Example:
    String: "1"
    Box A - "123451234512345"
    Box B - "23451234512345"
    Box C - "2345234512345"
    Box D - "234523452345"
    etc.
    We then have a field that has nested ifs looking backwards from Z -> A looking for a non-blank. Based on that, we return the number of occurrences. Again, this isn't clean, but it will work if you think there's a predefinable maximum.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to find Installation Number in R3 to create Technical system in XI.

    Hi,
    how to find Installation Number in R3 to create Technical system in XI. can you please help me out.
    thanks
    siva.

    Hi Siva,
    Host name you can find at same location. Not sure about message server port (Basis team shall be able to provide this information)....
    However there is a very simple way fo creating technical system..
    Check out this Michals blog...its very easy
    /people/michal.krawczyk2/blog/2005/03/10/registering-a-new-technical-system-in-sld--abap-based
    Nilesh

Maybe you are looking for