Posting dada in mb31

when one user is  posting data in mb31, the second user want to post another data to mb31 we are getting the error message that material is locked my user one.
is there any solution to post data by multiple user at a time in mb31.

HI,
It is not possible to post the same material twice in MB31. When a material is being posted, SAP enables a lock on the material and until the transaction is completed the lock on the material is not released. Hence the same material cannot be used. The same can be applied to multiple materials , but not the same material multiple times.

Similar Messages

  • Posting of goods mb31

    hi
    every one
    i have an issue
    i am doing operation wise confirmation for that particular order
    before all operations cofirmation if that order is posting it is allowed
    for posting cant we restrict this posting (mb31) if any operation is pending
    thanks in advance
    regards
    mohan

    Dear Mohan,
    One way is to implement a proper BAdi/Enhancement.
    Please check this sample program from other thread to find BADI and enhancement for a given transaction code. You just need to create a custom program in your system by cut and paste below codes.
    REPORT ZTEST.
    TABLES: TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA: FIELD1(30).
    DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS: P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA: WA_TADIR TYPE TADIR.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    ENDCASE.
    Alternatively, you can do the following:
    1. For what ever transaction u want the enhancement .. just check for the System-->status (menu) and find out the PROGRAM name....
    2. Double click on to the program name and go inside the program (Abap editor)
    3. Search for "Call Customer-function " ... and u'll get some search results .. If u get results then u have enhancement in that tcode .....
    4. Then it actually calls a Function module .... copy the Function module name .... go to SE80 (object navigator) click on "Repository Information system" then Customer Enhancements .... Give the Function module name in the "Components" field and click Execute ....
    ull get a list of Enhancements related to that Componene....
    5. Choose which ever enhancement will suit ur business need ..
    6. Go to CMOD... create a project .... assign ur enhancement ... and then code ur logic.... activate ur enhancement in CMOD ....... Ur Buisness need will be solved...
    For a user exit......
    Finding whether there is any User Exit or not for tcode VA42
    1. For what ever transaction u want the user exit .. just check for the System-->status (menu) and find out the PROGRAM name.... ( The program name would be for our scenario "SAPMV45A" )
    2. Double click on to the program name and go inside the program (Abap editor)
    3. Search for the word "USEREXIT" .... u ll find all the user exits in the search result .. and find ur's then ...
    Hope this will help.
    Regards,
    Naveen.

  • MB31 - Posting field

    Hi,
    How to capture the content of "Posting date" in MB31 transaction. Since Parameter ID is not there I am unable to use get parameter and I have not able to use DYNP_VALUES_READ function also since it's giving run time dump.
    Regards,
    Balaji Viswanath.

    Hello,
    This can be achieved by writing a small BDC. Fill up the relavant data on the initial screen of the Tx. MB31 and pass only the OK code of the detailed screen. Make a 'CALL TRANSACTION' in 'E' (ERROR) mode. The control takes you to the second / Detailed screen if the BDC is executed.
    The above suggestion is given based on the assumption that you need to call MB31 in a BDC.
    <b>However if you are not able to capture the value by FM DYNP_VALUES_READ in an user-exit, you can export the data of the field 'POSTING DATE' to ABAP memory by a Field exit.You can use this exported data whereever you need in the transaction. Please ensure to refresh the abap memory every time.</b>
    I hope this helps you.
    Regards, Murugesh AS
    Message was edited by: Murugesh Arcot
    Message was edited by: Murugesh Arcot
    Message was edited by: Murugesh Arcot
    Message was edited by: Murugesh Arcot

  • Gr is not posted after the conformation of Production order take place

    Hi  Gurus
    I have created production order and conformation take placed but goods movement (GR) is not get posted. Stock quantity shows zero.
    1.      I have set 'auto goods reciept' indicator in Control Key .
    2.      Opl8 transaction for GR for production order.the indicator is active.
    3.      I have set 'auto goods reciept' indicator in production scheduling profile
    Pl give the solution
    Narasingam

    Hi Rohit
    I have checked in COGI . i got message lile "cost element 875000 is not maintained at 30.07.2009 for controlling area T010"
    Then i have created cost element .
    I have already given storage location for FG material
    I have checked the routing with Auto GR control key.
    I have  assigned only one operations in routing
    But
    I can able to post GR using mb31
    Document 11058 posted
    Regards
    Narasingam

  • Goods movement 107 to 101 is not allowed

    Hello friends,
    I was trying to post GR for order using MIGO_GO with movement type 101, but system is not allowing to change default 107 movement type to 101.
    However,on other hand system is allowing to post it through MB31.
    Please help.
    Thanks in advance and Regards
    akshay naware

    Hello,
    Try to enter the movement type before entering the Order number..
    Then press enter. Once the movement type is modified try to enter the order number.
    Thanks and Regards,
    Mariano

  • Delivered quantity in co03 not updated

    Hi folks,
    I'm using bapi 'BAPI_GOODSMVT_CREATE' to post goods movement (type: 101). After i posted it, the field 'GWEMG' (delivered quantity) is not updated with the value i posted. But when i try to post manually using mb31, it works. anyone have any idea whats wrong with this?
    Thanks!

    Hi,
    Check that have you maintained " Movement Indicator" as F?
    Regards,
    Velmurugan S

  • Getting 'Maintain Settlement Rule' Error while GI

    Hello Friends,
    While posting GI through MB31, I am getting an error of settlement rule, I was wondering what the error of kind and how to resolve it.... what are the entries need to make ?
    Regards,
    Rahul

    Hi,
    Actually you are doing GR through MB31, go to order change CO02 and in the menu to to Header tab and click Settlement rule from the menu. In that screen whether settlement rule is assigned or not, if it not assigned assign a receiver (category) and percentage and save.
    (In this situation, you can choose catrgory CTR and give any cost center number in the order.)
    (For information, this settlement is defaulted from OKO7 transaction code, check with your CO consultant about the entries
    then try to do the MB31.
    Thanks,
    JK

  • GR for Production Order, not updating Stock

    Hi All,
    Issue:
    I am posting a GR for a production order, but the stock qty is not getting updated. I checked in MB51, i find the document being posted, but in MMBE the stock is not updated. In the system, there is 2 settlement profiles, one which allows settlement on material & the other only on G/L or Cost Center. I find this issue only when i create orders which have settlement receivers as G/L or Cost Center, also in MB51 i find that the sloc field is blank, even though it is maintained in the order & the same is seen when i receive via MB31.
    Await your inputs as to where i need to check to resolve this issue.
    Regards,
    Vivek

    Hi Prasobh,
    I believe your pointing in the right direction. My suspicion is on similar lines.
    A brief backdrop:
    Order is created, whose settlement is to be done on a G/L acct, the settlement profile does not allow settlement onto material & hence in the GR tab, the GR non-valuated indicator is ticked. I manually ticked the GR indicator to post GR via MB31.
    In MB51 i find the material document, but what is interesting is, the storage location field is blank, even though the order contains this value, which was later seen during MB31 posting as well.
    But a similar order has been created in the legacy system with the same parameters as above & i find the stock to be updated.
    So i suspect, it is something to do with the account determination, which is not allowing the quantity updation to take place, because of the GR non-valuated tick in the order header.
    Hope i was able to put across the issue to you in a clear way.
    Regards,
    Vivek

  • Posting new FI document from MB31

    Hi,
      l am using this BAPI: BAPI_ACC_GL_POSTING_POST to post new FI Excise Duty.
    With TC MB31.
    It's create document related to that TC.
    But none of my document have been created, event passing thrue the BAPI.
    Any help would be appreciated.
    Robert

    Generally, for each call to BAPI_ACC_GL_POSTING_POST, you examine the contents of the RETURN structure. Based on that, you either call BAPI_TRANSACTION_COMMIT or BAPI_TRANSACTION_ROLLBACK.
    All of these BAPIS are pretty well documented, so you can check that as well.
    Rob

  • Can't able to post the Goods Receipt in MB31

    I had create plant - 7177, Warehouse-I - 717 (For finished material) & Warehouse-II - 718 (For Semi finished material). While creation of finished material in MM01, i was entered the wherehouse no as 718. With this parameter, i cant able to post the goods receipt in MB31- For Finished Material. An error message appeared as "material not exit in the WH-717 in plant 7177". What is the procedure to solve this problem?

    Hi,
    In order header, go to goods receipt tab, check the storage location maintained. I think this storage location / plant combination is not linked to warehouse 717.
    Hope this answers your query.
    If helpful award points
    Regards,
    Vivek

  • MB31(posting not possible for Fg)

    i have one Fg, under this 2 sfg.
    There is sales order for Fg.But when i m trying to post sfg's to stock ,its giving me error ,posting not possible ,becasue sysytem has not determined the price ,error no-ck465.
    what i found is the sales order link is missing with the production order of sfg.thats why its giving error.
    how can i post the material???
    how sales order link has missed???

    Hi Varun,
    Looks like system is not able to determine price for the SFG. Could you please check whether Std Cost estimate exists for this material and the value is populate in Costing View2 "Current Standard Price" or in Accounting1 View "Standard price".
    Please update the standard price for SFG and then try posting to stock. The current error is only because of this.
    If you want the Sale order also to be linked please let me know.
    Hope this will resolve the problem...Reward your points,
    Regards,
    Prasobh

  • Unable to posting in serial order(MB31)

    Hi Dear,
    when we are posting in serial order (900000000269) with 22000 quantity then it is unable to posting in 22000 quantity.
    message hasbeen written Exactly 22.000 serial numbers must be selected .
    (instead of 7.173)
    if we are posting order no with below 14000 quantity then it is posted correct. but above 14000 quantity it is unable to post the serial order number.

    TYPES: BEGIN OF ty_mase,
              matnr   TYPE matnr,
              lsernr  TYPE lsernr,
             alpha_numeric TYPE zalpha,
           END OF ty_mase.
    DATA: wa_imase1(18) TYPE c,
           wa_mara       TYPE marc,
           wa_sernr      TYPE risernr,
           v_string(18)  TYPE c,
           v_imase(18)   TYPE c,
           v_month(18)   TYPE c,
           v_year(18)    TYPE c,
           v_sernum(18)  TYPE c,
           lv_name       TYPE c,
           wa_imase(6)   TYPE c,
           lin(10)       TYPE c,
           lv_month      TYPE char6,
           lv_year       TYPE char4,
           lv_datum      TYPE sy-datum,
           it_mase       TYPE TABLE OF ty_mase,
           lwa_mase      LIKE LINE OF it_mase.
    CLEAR : wa_imase1,wa_mara,wa_sernr,v_string.
    CLEAR : v_imase,v_month,v_year,v_sernum,wa_imase,lin,lv_name,lv_datum.
    CALL FUNCTION 'MARC_SINGLE_READ'
       EXPORTING
         matnr = material_no
         werks = plant
       IMPORTING
         wmarc = wa_mara.
    IF wa_mara-sernp = 'S001'.
       lv_datum = sy-datum.
    *  SELECT SINGLE alpha_numeric FROM mase INTO wa_imase1 WHERE matnr = material_no.
    *  SELECT SINGLE alpha_numeric FROM ZPP_SERAIL_NO INTO wa_imase1 WHERE matnr = material_no.
    *  IF wa_imase1 IS INITIAL.
    *    wa_imase = wa_imase1 + 000001.
    *    lv_name   = 'S'.
    *  ELSE.
    *    lv_name   = 'S'.
    *    v_imase   = wa_imase1.
    *    v_sernum  = v_imase+6(6).
    *    wa_imase  = v_sernum + 000001.
    *  ENDIF.
       v_year   = lv_datum+2(2).
       CASE lv_datum+4(2).
         WHEN '01'.
           v_month = 'JAN'.
         WHEN '02'.
           v_month = 'FEB'.
         WHEN '03'.
           v_month = 'MAR'.
         WHEN '04'.
           v_month = 'APR'.
         WHEN '05'.
           v_month = 'MAY'.
         WHEN '06'.
           v_month = 'JUN'.
         WHEN '07'.
           v_month = 'JUL'.
         WHEN '08'.
           v_month = 'AUG'.
         WHEN '09'.
           v_month = 'SEP'.
         WHEN '10'.
           v_month = 'OCT'.
         WHEN '11'.
           v_month = 'NOV'.
         WHEN '12'.
           v_month = 'DEC'.
       ENDCASE.
       SELECT SINGLE alpha_numeric
                     FROM zpp_serail_no
                     INTO wa_imase1
                    WHERE matnr    = material_no
                    AND   z_month  = v_month
                    AND   z_year   = v_year.
       IF wa_imase1 IS INITIAL.
         wa_imase = wa_imase1 + 000001.
         lv_name   = 'S'.
       ELSE.
         lv_name   = 'S'.
         v_imase   = wa_imase1.
         v_sernum  = v_imase+6(6).
         wa_imase  = v_sernum + 000001.
       ENDIF.
       CONDENSE wa_imase.
       CALL FUNCTION 'CONVERSION_EXIT_AUFNR_INPUT'
         EXPORTING
           input  = wa_imase
         IMPORTING
           output = wa_imase.
       DO number_serialno TIMES.
         CONCATENATE lv_name v_year v_month wa_imase INTO v_string.
         CONDENSE v_string.
         wa_sernr-sernr = v_string.
         APPEND wa_sernr TO tab_sernr.
         wa_imase = wa_imase + 000001.
         CONDENSE wa_imase.
         CALL FUNCTION 'CONVERSION_EXIT_AUFNR_INPUT'
           EXPORTING
             input  = wa_imase
           IMPORTING
             output = wa_imase.
         CLEAR v_string.
         CLEAR wa_sernr.
       ENDDO.
       SORT tab_sernr BY sernr ASCENDING.
       DESCRIBE TABLE tab_sernr LINES lin.
       CONDENSE lin.
       CLEAR wa_sernr.
       READ TABLE tab_sernr INTO wa_sernr INDEX lin.
       IF sy-subrc = 0.
    *    SET PARAMETER ID 'MEM1' FIELD wa_sernr-sernr.
    *    UPDATE mase SET alpha_numeric = wa_sernr-sernr WHERE matnr = material_no.
         EXPORT wa_sernr-sernr TO MEMORY ID 'MEM2'.
       ENDIF.
    ENDIF.

  • Getting at POST data from a pl/sql procedure through Path Aliasing

    Hi.
    I have mod_plsql configured with "path alias" and "path alias procedure" so that the request ends up in my
    procedure and i have the remaining path in p_path. This is what I want.
    http://<domain>/<dad>/<myalias>/<p_path>
    My question is; is there a way at this point to get at POST data in the request? I haven't been able to find
    any way of doing this looking through the documentation. Is the body of the request lost at the gateway
    (mod_plsql) using path alias?
    If so, is there some other way to achieve something like !myproc(name_array [somearr], value_arr [somearr])
    where the first entry in the arrays is an eqvivalent to p_path?

    Billy  Verreynne  wrote:
    Øyle wrote:
    I have mod_plsql configured with "path alias" and "path alias procedure" so that the request ends up in my
    procedure and i have the remaining path in p_path. This is what I want.
    http://<domain>/<dad>/<myalias>/<p_path>
    My question is; is there a way at this point to get at POST data in the request? Do not understand the question as a POST and GET are simply two different methods that a web browser submits a URL and data. There is no "+path+" involved here.Thank you for answering. I think the confusion is because you disregard what I said about "path alias" and "path alias procedure".
    Those are configuration of the mod_plsql gateway so that any URI containing <myalias> above is directed to the procedure stated
    by "path alias procedure". The gateway also sends any remaining parts of the URI to this procedure as an varchar2 argument (p_path).
    My problem is that I see no way to get at any POST data as the signature of this procedure has to be this one varchar2, and I don't
    know any other way to get at the body of the request.
    >
    If so, is there some other way to achieve something like !myproc(name_array [somearr], value_arr [somearr])
    where the first entry in the arrays is an eqvivalent to p_path?If you want to know what the URL is, the full path used, then you need to look at the CGI (Command Gateway Interface) environment. The web server builds a list of CGI variables. These include the type of web server, the URL, the type of HTTP command (GET or POST), and so on.
    Within your PL/SQL web procedure, you can query these CGI variables. Have a look at the function OWA_UTIL.GET_CGI_ENV in the [Oracle® Database PL/SQL Packages and Types Reference|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/w_util.htm#i997269] guide.
    Take a look at CGI variables such as PATH_INFO, PATH_TRANSLATED, SCRIPT_NAME and so on.Yes, thank you, but my problem is a bit upside down. I do use the cgi environment to get the method and I have path as input, what I can't
    find is the body of the request. I might be approaching this entirely the wrong way. It might be a bit easyer to understand if I state that I'm
    trying to find a way to implement a RESTfull service in pl/sql.

  • Session Timeout and DAD Authentication

    My application uses the authentication scheme 'No authentication (using DAD)'. The users log in from an external program and the user IDs are captured in the variable remote_user. My authorization scheme checks that the user ID exists in a database table. All this seems to work fine.
    However, I need to implement a session timeout on the application. I've followed the steps described in the "Automatic Session Timeouts" utility in the Application Express Studio but when I tried to modify the authentication scheme by adding:
    return auth_pkg.check_timeout;
    to the Session Verify Function I got the following errors:
    No functional attributes may be set when page sentry function is '-DATABASE-'.
    and
    Session verification function may not be specified if page sentry function is specified.
    I'm new to Apex and I don't know where to go from here. Any advice please?
    Thanks
    Maria

    Maria,
    The usual way to do the authentication part is to use a custom page sentry function. Many examples have been posted on the forum based on the ntlm page sentry code. Search for those keywords here (ntml page sentry) and you should find it easily. Then you can modify it by adding the session timeout logic in that function.
    Scott

  • Creation of new batch while transfer posting

    Dear Experts,
    Please guide me to meet the following requirement:
    I am posting the Goods Receipt for the production order to the Quality stock by using indicator X in T Code MB31. The material is batch Managed and QM is not implemented.
    Now after the Quality Inspection this batch is posted to Un-restricted Stock with movement type 321. Here the requirement is to create a new batch whereas system is setting the original batch (batch in QI stock) as receiving batch. My requirement is to have a new batch number here either automatically (incremental for internal number range) or could be entered manually.
    But when I enter a new batch number the system throws an error message "Batch MATERIAL_NUMBER PLANT SLOC BATCH_NUM does not exist". Message no. M7042. The requirement is to post the stock to a new batch here.
    Experts, kindly help me clear my understanding as where I am going wrong. How to be able to create a new batch here. Also how to generate a new batch number automatically during the goods movement.
    Thanks & Regards,
    Rohit.

    Hi Rohit,
    Sometime back, I have copied the below information from this forum for ref. Just check the usefulness of this information for your requirement.
    You can further enquire about this with other gurus in this forum, before taking any decision.
    Configure Customer Exits for intern. batch number assignment
    You can use SAP enhancement SAPLV01Z for internal batch number assignment. This enhancement contains two function module exits that you can use to define number ranges or templates for batch numbers.
    u2022     EXIT_SAPLV01Z_001. You use this exit to replace the number range object and/or interval proposed by the system with your own number range object and/or interval.
    In addition, you can, for instance, stop the system from assigning an internal number depending on the material or plant. You can also use this exit to stop the dialog box from appearing.
    u2022     EXIT_SAPLV01Z_002. Using this exit, you can either change the number assigned by the system, or assign your own number.
    Note
    Both exits contain a communication structure with application data from the respective business transaction (plant or material type, for example). If you need further information, such as the time, the user name or the date, you must include them yourself in one of the exits.
    The system always checks whether the assigned batch number already exists in the system. If it does, it terminates the function without assigning a batch number.
    Example
    In function module exit EXIT_SAPLV01Z_001, the system uses the material type to determine number range interval XY. This number range is then used to determine number 0000100123 as the next batch number .
    In function module exit EXIT_SAPLV01Z_002, the final batch number 'ABCD100123' is determined from batch number 0000100123 and plant ABCD. The system suppresses the leading zeros.
    If you do not use a sequential counter for the batch number, you can skip internal number assignment in exit EXIT_SAPLV01Z_001 to specify your own batch number in exit EXIT_SAPLV01Z_002.
    Activities
    1. Implement the required enhancement.
    Either create a new project or use an existing one.
    2. Activate the project.
    Your enhancement works only after the project has been activated.
    Madhava

Maybe you are looking for

  • How can I return to the last selected item in a dialog box

    In OS 9 using Dreamweaver (for example) when I was adding images to a document, each time I added one the dialog box would return to the last selected image and I could just arrow down to the next in the list, add it (exiting the dialog box) and then

  • Network.http.max-persistent-connections-per-server keeps reverting to user set 4

    I didn't used to have this problem as far as I'm aware, but as of recently, I've noticed that if I try to download more than 4 of one thing at a time from the same site, it would fail. For instance, if I have up 5 web pages of streaming content, only

  • How to Schedule an ICM Script to Play a IVR Prompt

    Hi, My name is Abraham and I work with the voice support team that manages the voice infra of a National Bank Contact Center. Requirement : Schedule a script to play an holiday message prompt on a particular date from 12AM to 12PM.. Please guide me o

  • Transferring Ipad videos (home not purchased) to PC ?

    How do i upload my home videos from my ipad to my PC ( windows vista) ? When I transfer my photos from the ipad using Windows photo gallery they all show up but the videos dont or dont play. I asked in the Apple store and he said to use itunes to go

  • DMP TABLE IMPORT IN ORACLE 10G

    Dear All, i have an Oracle 8i DB in Windows 2000 server . I am export One table to x.dmp. I have an Oracle 10g Db in Windows 2000 server with Cluster option. One is data base server and 2 is O/s of Windows 2000 . So, How to import .dmp to 10 g db. I