Generating Random number for requisition number

hai all,
Am having a requirement of generating a random number based on the type of Process.
Say if it is medical means I want it to be MEDxxxxx .
Is thr any FM Please send some suggestions...
Thanks in advance,
Nalla.B

Hi Nalla,
First this is not WDABAP related question.
To Do this you need to contact Functional guys, they will generate number ranges.
Based on that object we can generate numbers. using NUMBER_RANGE_ENQUEUE and
NUMBER_GET_NEXT  function module.
Cheers,
Kris.

Similar Messages

  • How to get the Next free Number for External Number Range

    Hi ,
    To get next free number for External Number Range, I have used NUMBER_GET_NEXT Function module.
    It is throws the exception like  NUMBER_RANGE_NOT_INTERN.
    How can i get the next free number for external number range object. And How to update the Current Number for External Number Range Object
    Scenario.
    Call Function module              NUMBER_GET_NEXT
    Import Parameter.
    NR_RANGE_NR : 02
    OBJECT            : RV_BELEG
    QUANTITY         : 00000000000000000001
    I am getting Exception : NUMBER_RANGE_NOT_INTERN
    Thanks in advance.
    Regards
    Ram

    Hi Anand,
    The SAP system issues the numbers for internal number range intervals automatically. This number is between the from-number and the to-number. The last number issued is logged in the current number level.
    You need to enter a number for external number issue. The number you enter needs to be between the from-number and the to-number. For external number ranges, the number number used is not logged. So the next available number is not possible in a straight forward way.
    Only for Internal number ranges, the FM NUMBER_GET_NEXT can get the next available number.
    Hope this helps.
    Thanks,
    Balaji

  • Generating random text for placeholders in Pages

    In the templates that come with Pages the text placeholders are all in Latin, which I think looks quite professional. My question is: how can I generate random Latin text, like in the templates?
    Thanks
      Mac OS X (10.4.7)  

    You can also use the nifty freeware MacLorem, which will generate random Latin text with various specifiable qualities (and can produce mock text for various other "languages").

  • Wrong internal order number for internal number range

    Hi,
    I have created an internal order type and assigned the internal number range 450000-459999. When we checked the numbers given for the system there are missing numbers. For example; the numbering is OK up to 450013 numbered order and the next order has 450020 number, and next one has the 450040
    number.
    I checked the COAS table and there are no number used by any other order. What can be the reason for this situation? How can we fix the problem? Is there any one who face the same problem?
    What are your suggesitions...
    Thanks in advance
    Ahmet

    Hi,
    I have similar kind of query. How to use the numbers that the system jumped? Is there any record/history of unused numbers present in any table? Thanks in Advance!
    Regards,
    Nidhi

  • Will Lenovo Yoga 10+HD generate random MAC for WIFI

    Note what Apple iOS 8 will do
    Quote:
    Beginning with iOS 8, Apple's handheld devices will generate and use random Media Acccess Control, or MAC, addresses — rather than their real MAC address — when scanning for Wi-Fi access points. The change was announced in a closed session at the company's Worldwide Developers Conference and first called out by security researcher Frederic Jacobs.
    Source

    I'm not aware of any Android devices that do this... yet.  Maybe Google will follow suit in a future version of Android.

  • Generate random data for MaxDB

    Hello everybody,
    we are doing some tests on our MaxDB installation
    We would like to generate some activity on the database in order to test performance and generate some log files in order to do a complete restore/recovery
    I think it's possible to use some sql statement to create and populate a table using sqlcli, but I don't know how to enter many rows in one time, anyone know how do do this?
    Thanks,
    Valerio

    Valerio Cicchiello wrote:>
    > Hello everybody,
    >
    > we are doing some tests on our MaxDB installation
    > We would like to generate some activity on the database in order to test performance and generate some log files in order to do a complete restore/recovery
    >
    > I think it's possible to use some sql statement to create and populate a table using sqlcli, but I don't know how to enter many rows in one time, anyone know how do do this?
    There are several options:
    1. Option (super cheap and easy):
    Open an SQL Session
    Create a dummy table e.g.
    create table dummy (col1 char(1000), col2 char(1000), col3 char(1000))
    Load data into the dummy table, e.g.
    insert into dummy (select lpad('x', 1000, 'x'), lpad('x', 1000, 'x'), lpad('x', 1000, 'x') from tables a, tables b where rownum <10000)
    Then truncate the table
    truncate table dummy
    and insert the data again.
    2. Option (less cheap, but still easy):
    Use the delivered dummy-data test tool SDBFILL, e.g. like this:
    C:\sapdb\db760\db\bin\sdbfill DB760 init 0 10 100 0 a SUPERDBA ADMIN
    checking the command help gives us this:
    usage: sdbfill <DBName> (init|create|append|check|delete) [<From> <To>
                   [<TransactionLength> [<SleepBeforeCommit> [ (q|a|b)
                   [<DBAUser> <DBAPassword>]]]]] [<node>]
    The q|a|b section refers to the output mode (q= quiet, a=ascii, b=binary).
    In order to use it you've to make sure that the provided DBA user is setup as NOT EXCLUSIVE user.
    The program will create a dummy table called 'sdbfill' with this command:
    C:\sapdb\db760\db\bin\sdbfill DB760 create 1 10 100 0 a SUPERDBA ADMIN
    Dropped table 'sdbfill'.
    Created table 'sdbfill'.
    10, final commit at 9
    9 rows inserted successfully.
    Afterwards you can just pump in data like this:
    C:\sapdb\db760\db\bin\sdbfill DB760 append 0 100000 100 0 a SUPERDBA ADMIN
    100000, final commit at 99999
    You may want to play a bit around with this tool to lean how it works.
    It's the same tool used by the backup tool vendors to create data in MaxDB.
    Hope you get along with any of the two options.
    regards,
    Lars

  • How can I generate random password

    Hello...
    I use oracle 10g for windows,,,I have an employee table , there are a lot of colunms , their names are employee_name , employee_id ,employee_pass .....
    employee_pass colunm is empty
    I want to generate random password for employee_pass colunm
    How can I generate random password for employee_pass colunm
    thanks
    omer faruk akyuzlu
    in Turkey

    SQL>  exec dbms_random.seed(to_char(sysdate, 'sssss'))
    PL/SQL procedure successfully completed.
    SQL> select dbms_random.string('X', 8) from dual
      2  /
    DBMS_RANDOM.STRING('X',8)
    4YT1H150
    SQL> select dbms_random.string('X', 8) from dual
      2  /
    DBMS_RANDOM.STRING('X',8)
    WIA3QCIP
    SQL> Please be aware that storing the actual passwords in a the EMPLOYEES table is a very bad idea. Oracle has a pretty good password implementation. It's not perfect but it's a darn site better than hand-rolling our own.
    Cheers, APC

  • Generate Turing Number for form submission to prevent automated registraton

    Hi,
    How I want to have a script to generate and check a turing number. A turing number is a number the user has to read and copy in order to be able to validate a form. This avoids automated submissions. Just like when you register for yahoo mail etc it asks for this number to prevent automated registrations. Any help is appreciated.
    Thanks

    Just so happens 3 days ago, I took a few hours to research and write a few methods that generate a "turing" sequence of characters and numbers or custom and write an image, I call them viverification (vivo = life , verify = proof) images. Very simple, I have different methods for different needs in my client application code. Here are the methods:
         * Returns a random character chosen from the input charset. If the charset is an empty string returns a char
         * from the set:
         *"1AaBb2CcDdEe3FfGgHh4IiJjKk5LlMmNn6OoPp7QqRr8SsTt9UuVvWw0XxYyZz"
         * Implicit use of the java.util.Random() provides the pseudo random selection algorithm. Iteration of provided set
         * means that efficiency decreases with char set length, so use of very long charsets will incur a performance penalty.
         * If you desire simply to have a random roman letter provided , the getRandomRomanLetter(boolean)  allows returning upper case
         * or mixed case chars.
         *@param String charset -- The set of characters to use as random selection items. If you provide "eaAVB456" the output will be randomized
         * about those 8 characters returning. "e" or "B" or "4" ...in a random fashion.
         *@returns char -- A randomly selected char from the string provided as charset.
        public static char getRandomCharFromString(String charset) {
            if(charset.trim().equals("")) charset = "1AaBb2CcDdEe3FfGgHh4IiJjKk5LlMmNn6OoPp7QqRr8SsTt9UuVvWw0XxYyZz";
            java.util.Random ur = new java.util.Random();
            java.text.StringCharacterIterator sci = new StringCharacterIterator("");
            sci.setText(charset);
            sci.setIndex(ur.nextInt(charset.length()));
            return sci.current();
         * Returns a random character chosen from a character set as defined by the boolean mixed case.
         * Implicit use of the java.util.Random() provides the pseudorandom selection algorithm. Iteration of provided set
         * means that efficiency decreases with char set length, so use of very long charsets will incur a performance penalty.
         * If you desire simply to have a random letter from an arbitrary string of characters, the getRandomCharFromString(String)
          *a char from a user provided set.
         * @param boolean mixed case -- If false, returns only chars from the set [A...Z] if true returns char from set. [aAbB...zZ]
          *@returns char -- A randomly selected char from the string provided as charset.
        public static char getRandomRomanLetter(boolean mixedcase) {
            String set = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
            if(mixedcase)  set = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz";
            return Utilities.getRandomCharFromString(set);
         * Generates a 7 character Viverification Image used to confirm that only in vivo agents are filling out forms presented with the image.
         * The generated characters have forced capital roman letters at start and ends with 5 numerals in the center like: <p>
         * S35872F or R87356H
         * In conjunction with a confirmation field, the characters generated in the image can be matched against the returned string
         * value of those characters returned by this method to ensure a human agent filled out the form. An obfuscation diagonal line is
         *  drawn across the embedded sequence to obfuscate the image from OCR discovery techniques. This prevents bots from
         * being programmed to fill out forms or create accounts on systems built using the framework.
         * @param String path -- The fully qualified file path on the system to write the generated jpeg image file along with the file name.
         * @param int width -- The width of the generated image.  Must be long enough to accommodate the 7 characters as rendered on the generating platform to avoid truncation.
         * @param int height -- The height of the generated image.
         * @returns String -- If the Image generation succeeded, the string of the randomly generated character embedded in the generated image, empty string otherwise.
        public static String createViverificationImageAtPath(String path,int width, int height) throws IOException {
            String out = "";
            java.awt.image.BufferedImage bi = new java.awt.image.BufferedImage(width,height,BufferedImage.TYPE_INT_RGB);
            String viver = (int)((float)Math.random() * 100000) + "";
            viver = Utilities.getRandomRomanLetter(false) + viver + Utilities.getRandomRomanLetter(false);
            Graphics2D g2d =  bi.createGraphics();
           // g2d.setBackground(new Color(200,200,200));
            g2d.drawString(viver,3,height - 5);
            g2d.drawLine(0,height,width,0);
            ImageIO.write(bi,"jpeg",new File(path));
            return viver;
         * Generates a n character Viverification Image used to confirm that only in vivo agents are filling out forms presented with the image.
         * Where n is the length of the input message string.
         * In conjunction with a confirmation field, the characters generated in the image are matched against the returned string
         * value of those characters returned by this method to ensure a human agent filled out the form. This prevents bots from
         * being programmed to fill out forms or create accounts on systems built using the framework. Provides a boolean to enable
         * or disable character obfuscation using a line drawn diagonally across the image text. This prevents OCR automated tools
         * from being used to divine the characters. Accepts a custom desired string rather
         * than generating a random string as is done in createViverificationImageAtPath().
         * @param String path -- The fully qualified file path on the system to write the generated jpeg image file along with the file name.
         * @param String messg -- The desired message string to insert into the image, input image width must be long enough to accomodate the text or it will be truncated.
         * @param int width -- The width of the generated image.messg character string must be less than this width otherwise it will be truncated.
         * @param int height -- The height of the generated image.
         * @returns String -- If the Image generation succeeded, the string of the randomly generated character embedded in the generated image, empty string otherwise.
        public static String createViverificationImageAtPathWithString(String path,String messg,int width, int height,boolean obfuse) throws IOException {
            String out = "";
            java.awt.image.BufferedImage bi = new java.awt.image.BufferedImage(width,height,BufferedImage.TYPE_INT_RGB);
            String viver = messg;
            Graphics2D g2d =  bi.createGraphics();
            g2d.drawString(viver,3,height - 5);
            if(obfuse) g2d.drawLine(0,height,width,0);
            ImageIO.write(bi,"jpeg",new File(path));
            return viver;
        }You'll just need to import the requisite java packages used and you are good to go. If you want to make more complex images you can investigate the image API's further to get a more fancy (though it really is pointless to do so) minimally visually obfuscated images are all you need to thwart even the best subversive OCR (optical character recognition) algorithms that might be used by nefarious agents to spoof viverification.
    Use:
    Ideally you'd call the method as part of generating a page for an authentication or form in a dynamic fashion. (jsp /servlet) The returned string will allow the method to verify the sequence generated against the value returned by the vivo agent viewing the form. As part of validation you would write simple code to check if the string returned during the image generation doesn't match the form field for agent entry. If so you can deny the action, otherwise you can authorize it.
    Enjoy!
    Regards,
    David

  • Need help with a JavaScript to generate random number

    Hi
    First things first. I don't know the J of JavaScript.
    When I was thinking of some readymade solution to generate a random number in Captivate, I found this on a LinkedIn forum.
    1) Add a user variable to your project called "randomNumber". It's value can be zero.
    2) Add a Text Caption with "$$randomNumber$$" in it, to check whether your script is working.
    3) Add a button to the slide. Give it an On Success Action of Execute JavaScript. Turn off it's "Continue Playing the Project" checkbox.
    4) Add the following text in the button's Script_Window:
    var objCP = document.Captivate;
    var rand = 1 + Math.floor(Math.random() * 10);
    function onButtonClick(){
    objCP.cpEISetValue('randomNumber', rand);
    onButtonClick();
    However, this is (as the poster in the forum warned) not working for Captivate 7. Can somebody please help?
    I am open for any other methods of getting the same result.
    Thanks in advance,
    Sreekanth

    Hi Sreekanth,
    When testing, make sure you are testing from a web server where the web address begins with http or https.  When setting the captivate variable "randomNumber" try this instead:
    objCP.cpEISetValue('m_VarHandle.randomNumber', rand);
    That will only work for SWF output.  If you want it to work for both HTML5 and SWF output, try this code:
    window.onButtonClick = function(){
              var rand = generateRandomNumber(1, 10);
              setCpVariable('randomNumber', rand);
    window.generateRandomNumber = function(min, max){
              var randomNum = 0;
              if(!isNaN(parseFloat(min)) && !isNaN(parseFloat(max))){
                        min = Number(min);
                        max = Number(max);
                  randomNum = Math.floor(Math.random() * (max - min + 1)) + min;
              return randomNum;
    window.setCpVariable = function (cpUserVariableName, variableValue) {
              /* Check for HTML5 vs. SWF output */
              if (typeof window.cp === 'undefined') {
                        /* We have SWF output, so Get the Captivate Object */
                        var objCp = document.getElementById('Captivate');
                        if (objCp && objCp.cpEISetValue) {
                                  /* Set the Captivate User variable with the JavaScript variable, variableValue */
                                  objCp.cpEISetValue('m_VarHandle.' + cpUserVariableName, variableValue);
              } else {
                        /* We have HTML5 output */
                        /*If variable does not exist off of the window object, then use the variables manager*/
                        if (typeof window[cpUserVariableName] === 'undefined') {
                                  if (cp.vm && cp.vm.setVariableValue) {
                                            cp.vm.setVariableValue(cpUserVariableName, variableValue);
                        } else {
                                  window[cpUserVariableName] = variableValue;
    window.onButtonClick();
    Be sure to test this from a web server or else local security will prevent the javascript from executing.
    Best,
    Jim Leichliter

  • Modify the process of generating Requisition number in iProcurement

    We have a requirement to generate the Requisition number based on some of the information entered in iProc ( Using DFF) .Since iProc always use the sequence number to generate the number, we will be modifying the out of box functionality to generate the custom Req. Number.
    I have to identify all the objects that i need to modify in iProc ( VO, EO or controller classes ..etc), I was wondering if any one has this information?.
    I got the names of all the objects from 'About page' link and downloading these objects to my client and de compiling them to JAVA files to understand the flow, but this is very time confusing. I was wondering is there is a faster way to get this information.
    Thanks

    You can disable the image sizing portion of the UI and use the updateExportSettings() function on your export service provider to force the image size to your desired size. (This function is not well documented. It takes a single parameter, exportSettings, which you may modify in place before the export starts.) For example (this would go inside your export service provider declaration):
    updateExportSettings = function( exportSettings )
        exportSettings.LR_size_resizeType = 'wh'  -- specific width and height
        exportSettings.LR_maxHeight = 3600
        exportSettings.LR_maxWidth = 5400
    end,
    hideSections = { 'imageSettings' },  -- hide the sizing panel
    However, there is not a way to get Lightroom to render a file that is cropped to a specific aspect ratio. Whatever sizing parameters are specified, we will always honor the aspect ratio of the source file. In your processRenderedFiles function, you could use a third-party tool like Mogrify to regenerate the output file with the fill necessary to satisfy the desired aspect ratio.

  • Generate random number and letter in a text field ...

    Hi All,
    I having a bit trouble when trying to generate random number and letter in application express in a text field. Say I have a licence form and when user wants to create a licence, it will provide a random licence number in the licence number field but it has to be unique. the number should be something like HQ2345. I was trying to set the following sql in default value for that text field but it is not working -
    select DBMS_RANDOM.STRING('',2) || trunc(DBMS_RANDOM.VALUE(1000,9999))
    from dual;
    any suggesion !!!!
    thanks

    Put this as default value for your text-item
    DBMS_RANDOM.STRING('',2) || trunc(DBMS_RANDOM.VALUE(1000,9999))
    with type PL/SQL Expression. It have tested it and it works fine.
    DickDral

  • Generate Random number at VB6

    Thank you for reading below scenario:
    assume user will input 4 digits number to a text
    Input Number : 1119
    and I'll create a command button, after click on the command button it will generate above number
    Generate : 1119
    1191
    1911
    9111
    I did using "Randomize" but it generate the same number as result... .Can anyone give me an idea how to generate random number using Visual Basic as the above scenario?
    Thank's a lot

    The first thing to do is to rewrite in PHP.
    -- CJ

  • Generating random number within size of map problem (why me!!) ?

    Hi Guys,
    I'm trying to generator random numbers between 0 and a map width and another random number between 0 and a map height i.e if the map width was 3 i can generator 0,1,2.
    The coding i am using to do this is :
    int randomCol;
    int randomRow;
    randomCol = newMapWidth - 0 + 1;
    int itemp = generator.nextInt() % randomCol;
    if (itemp < 0)
          itemp = -itemp;
    randomCol = 0 + itemp;
    randomRow = newMapHeight - 0 + 1;
    int jtemp = generator.nextInt() % randomRow;
    if (jtemp < 0)
         jtemp = -jtemp;
    randomRow = 0 + jtemp;I've had a look at similar problems and searched penalty but can't seem to get it right for whatever way i implement. It leads to some array out of bound errors.
    If any can help me resolve this problem it would be greatly appreciated.
    Thanks A lot !

    Hippolyte wrote:
    randomRow = 0 + jtemp;I'll bite: what's the "0 + " voodoo for?It?s for clarity and Code readability, I guess. @OP: Random.nextFloat() generates numbers from 0.0f to 1.0f. Multiplying this number with your max value will generate a number between 0 and that given max value. BTW, you can generate numbers from -a to a by using (Random.nextFloat()- .5f) * (2 * a).
    Shazaam.

  • BAPI_PO_CHANGE me22n add profit center for purchase requisition number

    Hello all,
    I have to add an item line for a specific sales order( p_vbeln ).
    for that i use BAPI_SALESORDER_CHANGE and it works and the item is inserted.
    ( p_posnr = sales order item and ln_etnr = schedule_line = 1 )
    Now I have to maintain the specific po item line and to insert the Profit Center related to the Purchase Requisition Number that was assigned to the above sales order item like using transaction ME22N.
    when i use the transaction all i have to do is to ADD the Purchase requisition number to the PO Order Number and to add the PROFIT CENTER.
    for this i use BAPI_PO_CHANGE.
    i colect the folowing data:
    from table VBFA( vbelv = sales order number vbeln = l_ebeln)
    PO Number = p_ebeln.
    from table VBEP ( vbeln = sales order number, posnr = the previously inserted sales order item )
    Purchase Requisition Number = l_banfn
    Purchase Requisition Item = l_bnfpo
    from table VBAP (vbeln = sales order number, posnr = the previously inserted sales order item )
    Profit Center = l_prctr
    from table EKKN
    select max(  ebelp )
    from ekkn
    into l_ebelp
    where ebeln = l_ebeln.
    add 10 to l_ebelp
    Purchase Order Item = l_ebelp .
    and i move the data:
      i_t_poitem-po_item = l_ebelp.
      i_t_poitem-preq_no = l_banfn.
      i_t_poitem-preq_item = l_bnfpo.
      i_t_poitem-acctasscat = cc_x.
      APPEND i_t_poitem.
      i_t_poitemx-po_item = l_ebelp.
      i_t_poitemx-po_itemx = cc_x.
      i_t_poitemx-preq_no = cc_x.
      i_t_poitemx-preq_item = cc_x.
      i_t_poitemx-acctasscat = cc_x.
      APPEND i_t_poitemx.
      i_t_poaccount-po_item = l_ebelp.
      i_t_poaccount-itm_number = p_posnr.
      i_t_poaccount-SCHED_LINE = ln_etnr.
      i_t_poaccount-profit_ctr = l_prctr.
      APPEND i_t_poaccount.
      i_t_poaccountx-po_item = l_ebelp.
      i_t_poaccountx-profit_ctr = cc_x.
      APPEND i_t_poaccountx.
    then i use the function BAPI_PO_CHANGE:
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder                = p_ebeln
          testrun                          = l_test
       TABLES
         return                            = i_t_return_po
         poitem                          = i_t_poitem
         poitemx                        = i_t_poitemx
         poaccount                    = i_t_poaccount
         poaccountx                   = i_t_poaccountx.
    BUT i get the folowing result ( messages in return table)
    Insert item for PO-order                                                                               
    Message:  Changing of PO using Enjoy BAPI unsuccessful ;                                                
      Message:  Purchase order item 00120 still contains faulty account assignments ;   
      Message:  Enter Profit Center ;                         
    what should i do?
    best regards,
    emilia

    hello,
    i debugged the function.
    first the data from poaccount is copied in lt_account.
    then this happens:
      PERFORM get_current_data
          TABLES    poitem               poschedule               poaccount
                    pocondheader         pocond
                    extensionout
                    poexpimpitem         allversions              popartner
                    potextheader         potextitem               return
          USING
                    l_po                 lf_header_currency
          CHANGING
                    expheader            exppoexpimpheader.
      exppoexpimpheader = poexpimpheader. "foreign trade export workaround
    after this form is executed poaccount-profit_ctr is empty.
    lt_account-profit_ctr in not empty but then it is not anymore.
    in the form this happens:
    item data
      CALL METHOD im_po->get_items
        IMPORTING
          ex_items = lt_items.
      LOOP AT lt_items INTO an_item.
        l_item ?= an_item-model.
        CALL METHOD l_item->get_data
          IMPORTING
            ex_data = ls_mepoitem.
        ls_mepoitem-ebeln = ls_header-ebeln.
        APPEND ls_mepoitem TO lt_item.
    schedules
    accountings*
        CALL METHOD l_item->get_po_accountings
          IMPORTING
            ex_accountings = lt_accountings.
        LOOP AT lt_accountings INTO an_item.
          l_accounting ?= an_item-model.
          CALL METHOD l_accounting->get_data
            IMPORTING
              ex_data = ls_mepoaccounting.
          ls_mepoaccounting-ebeln = ls_header-ebeln.
          APPEND ls_mepoaccounting TO lt_account.
        ENDLOOP.
    item conditions
    foreign trade (item data; EIPO)
      ENDLOOP.
    so it acctualy copies every item from purchase number ebeln in lt_item.
    for each one of them it copies the account data into lt_account.
    so the last loop is for the item that i want to enhance.
    here it copies all the necessary data in lt_account except of course the profit center because that's the one that i need to insert.
    after this loop there is a form:
      PERFORM move_account_out TABLES lt_account
                                                                ext_poaccount
                               USING  header_currency.
    where the ext_poaccount is the poaccount parameter.
    this form:
    clears ext_poaccount.
    copies the data from lt_account into ext_poaccount.
    and returns the ext_poaccount with the empty Profit center field
    and so after performing get_current_data my parameter is deleted.
    then it's almost the end of the function and nothing else related to the poaccount parameter.
    so it's no use for me to insert the field Profit_Center?
    is there another FM that i should use to be able to insert the profit center?
    what should i do?
    Best regards,
    Emilia

  • How to generate the batch number for group of records

    Hi All,
    requirement: i have created one sequence to generate the batch numbers.i have to get the nextval of the sequence for batch number (this column is not part of the table. its dynamic column/alias column) only for every 50000 records of a table.
    detail description:
    for example, if i have 10 records in a table. And, if i want to generate the batch number for every 2 records, then the output should look like belo.
    batch-number qty
    1 10
    1 20
    2 30
    2 40
    3 50
    3 60
    4 70
    4 80
    5 90
    5 100
    Please help me on this. Please let me know if you need more info.

    one more update on the above request. this has to be done using SQL query only.

Maybe you are looking for

  • Fields in the cube

    Hi Experts Here client wants 200 fields in cube whether that is suggestable help me in this Regards Anand

  • ThinkPad W530: Blank Screen/Weird Colorful screen on Lid Open

    Please see the picture below. This error happens randomly when I close my lid, and/or move my laptop fast from one place to the other. I get either the error screen below or a blank screen. Both the error screen below and blank screen require me to h

  • Music Files on Nano

    I dragged music to my nano icon on the desktop, but it didn't put the files in the right folder. How can I move them?

  • Slow, Freezing up, Unexpectedly quitting...multiple problems

    I am having terrible issues with PPro CS5.5.  Fisrt off when making the switch from CS5 to 5.5 I noticed right away it was much slower...I then started encountering my projects to quit unexpectedly, freezes up, can't load certain media or freezes up

  • How to shift text within an envelope template

    Hello, I have created an envelope template to mail out some thank you notes. The envelope size is smaller than the average business envelope (3.75 x 5" vs. the standard business). Naturally, I went in to page setup and created a custom size for this