MMBE transaction.

Hello Experts,
A big Hi to u all.
The problem that I am currently facing is that I cannot set a batch in the Purchase Order Creation(ME21N). Moreover, I would love to know what is the table where the Job number is loaded the moment it is created. Is there any table where the Job Number is a primary key?
How do we display any specific details in the Transaction MMBE?
Kindly help.
I would really appreciate.
Thanks in advance!
Warm regards,
Amrita Mitra.

Hi..
Check out the Code below to find the details of JOB in a program
Check the Code below.
The statements related to SPOOL Number are in BOLD
*& Report ZSPOOLTOPDF *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program must be run as a background job in-order for the write *
*& commands to create a Spool request rather than be displayed on *
*& screen *
REPORT zspooltopdf.
PARAMETER: p_email1 LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_sender LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_delspl AS CHECKBOX.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: w_recsize TYPE i.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
Write statement to represent report output. Spool request is created
if write statement is executed in background. This could also be an
ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
Alternative way could be to submit another program and store spool
id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
to sap-spool
spool parameters %_print
archive parameters %_print
without spool dynpro
and return.
Get spool id from program called above
IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
PERFORM process_email.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
ENDIF.
FORM obtain_spool_id *
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
<b>SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.</b> MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
FORM get_job_details *
FORM get_job_details.
Get current job details
<b>CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.</b>
ENDFORM.
FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
CHECK sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM.
FORM process_email *
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email USING p_email1.
perform send_email using p_email2.
ENDFORM.
FORM send_email *
--> p_email *
FORM send_email USING p_email.
CHECK NOT ( p_email IS INITIAL ).
REFRESH it_mess_bod.
Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
ENDFORM.
FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.

Similar Messages

  • Getting Values of MMBE transaction

    Hello all,
         I need to get the Values of the MMBE transaction and use those values in my report for calculation. Can anybody suggest a way to execute the MMBE tranasaction from my report and get the values in a  table.
    Regards,
    Vijayakumar

    Vijay,
    Submit MMBE program in your zprogram by passing the values to the MMBE selection screen for ex
    SUBMIT MMBE Program WITH p_werks = p_werks
    EXPORTING LIST TO MEMORY AND RETURN.
    and then use
    LIST_FROM_MEMORY
    LIST_TO_ASCI
    LIST_FREE_MEMORY
    Or copy MMBE program as zmmbe and then use EXPORT IMPORT concept to get the final internal table values into your zprogram.
    K.Kiran.

  • On-order stock quantity from MMBE transaction

    Hi all,
    I am developing a Z report in which i want to get the ON-ORDER STOCK which is display in MMBE transaction. So i need the linkage for deriving the on-order stock , iam having material no, plant, storage location, batch . Or any table from which i can dereive the on-order stock
    Regards,
    Madhukar Shetty

    Hello Madhukar,
    As you are referring MMBE, I am not sure whether MSKA (Which is SO stock) is helpful. This could give you the stock and u can refer your VBELN there.
    I think you need MCHB or MCHA tables to see the stock from MMBE. These tables will give you a specific stock per company per batch in all storage location.
    Hope this will help you.
    Regards,
    Ravindra Sonar

  • Function Module to get the MMBE transaction Data

    Hi All,
    My requirement is to calculate the open stock of a given part number in all the plants. I was told that the MMBE transaction in SAP can give me the data. So, I was searching for a function module or Bapi which could get this data which I can call in my program. Can anyone help me out?? Thanks.

    Hi Mohan,
    You can try this code..with slight modifications.. (to work for all PLANTS)
    Regards,
    Raj
    FUNCTION ZMM_ISSUES_PER_YEAR_POWER.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(I_MATNR) LIKE  MARA-MATNR
    *"     REFERENCE(I_PLANT) LIKE  T001W-WERKS
    *"     REFERENCE(I_GJAHR) LIKE  MSEG-GJAHR
    *"  EXPORTING
    *"     REFERENCE(E_STK_OPBAL) LIKE  BSIM-MENGE
    *"     REFERENCE(E_STK_VAL) LIKE  BSIM-DMBTR
    DATA : V_STK_OPBAL LIKE BSIM-MENGE,
           V_STK_VAL   LIKE BSIM-DMBTR,
           V_GJAHR     LIKE MSEG-GJAHR.
    DATA : BEGIN OF IT_BSIM OCCURS 0,
              MATNR LIKE BSIM-MATNR,
              SHKZG LIKE BSIM-SHKZG,
              MENGE LIKE BSIM-MENGE,
              DMBTR LIKE BSIM-DMBTR,
           END OF IT_BSIM.
    TYPES: BEGIN OF ST_MSEG,
              MATNR LIKE MSEG-MATNR,
              SHKZG LIKE MSEG-SHKZG,
              MENGE LIKE MSEG-MENGE,
              DMBTR LIKE MSEG-DMBTR,
              BWART LIKE MSEG-BWART,
              LGORT LIKE MSEG-LGORT,
           END OF ST_MSEG.
    DATA : IT_MSEG  TYPE ST_MSEG OCCURS 0 WITH HEADER LINE,
           TMP_MSEG TYPE ST_MSEG OCCURS 0 WITH HEADER LINE.
    DATA : BEGIN OF IT_MBEW OCCURS 0,
              MATNR LIKE MBEW-MATNR,
              LBKUM LIKE MBEW-LBKUM,
              SALK3 LIKE MBEW-SALK3,
           END OF IT_MBEW.
    *V_KEYDT = I_KEYDT + 1.
    SELECT MATNR
           SHKZG
           SUM( MENGE )
           SUM( DMBTR )
      INTO TABLE IT_BSIM
      FROM BSIM
    WHERE MATNR EQ I_MATNR
       AND BWKEY EQ I_PLANT
       AND GJAHR EQ I_GJAHR
       AND BLART IN ('RE','WE','WA','PR')
    GROUP BY MATNR SHKZG.
    *SELECT MATNR
          SUM( LBKUM )
          SUM( SALK3 )
    INTO TABLE IT_MBEW
    FROM MBEW
    WHERE MATNR EQ I_MATNR
      AND BWKEY EQ I_PLANT
      AND VPRSV EQ 'V'
      AND BWTAR EQ ''
    GROUP BY MATNR VPRSV.
    SELECT A~MATNR
           A~SHKZG
           SUM( A~MENGE )
           SUM( A~DMBTR )
           A~BWART
           A~LGORT
      INTO TABLE IT_MSEG
      FROM MKPF AS B
      JOIN MSEG AS A
        ON BMBLNR EQ AMBLNR
       AND BMJAHR EQ AMJAHR
    WHERE A~MATNR EQ I_MATNR
       AND A~WERKS EQ I_PLANT
       AND A~KZBEW IN (' ','B')
       AND A~BWART NOT IN ('541','542','321','322','121')
       AND A~KZVBR NOT IN ('A')
       AND A~GJAHR EQ I_GJAHR
    GROUP BY AMATNR ASHKZG ABWART ALGORT.
    LOOP AT IT_MSEG WHERE BWART EQ '544' AND LGORT EQ ''.
       TMP_MSEG = IT_MSEG.
       APPEND TMP_MSEG.
    ENDLOOP.
    DELETE IT_MSEG WHERE ( BWART EQ '309' AND DMBTR EQ 0  ).
    DELETE IT_MSEG WHERE ( BWART NE '543' AND LGORT EQ '' ).
    LOOP AT TMP_MSEG.
       IT_MSEG = TMP_MSEG.
       APPEND IT_MSEG.
    ENDLOOP.
    *READ TABLE IT_MBEW WITH KEY MATNR = I_MATNR.
    *V_STK_OPBAL = IT_MBEW-LBKUM.
    *V_STK_VAL   = IT_MBEW-SALK3.
    LOOP AT IT_MSEG.
       IF IT_MSEG-SHKZG EQ 'H'.
          V_STK_OPBAL = V_STK_OPBAL  - IT_MSEG-MENGE.
          V_STK_VAL   = V_STK_VAL    - IT_MSEG-DMBTR.
      ELSE.
         V_STK_OPBAL = V_STK_OPBAL  + IT_MSEG-MENGE.
       ENDIF.
    ENDLOOP.
    LOOP AT IT_BSIM.
       IF IT_BSIM-SHKZG EQ 'H'.
         V_STK_OPBAL = V_STK_OPBAL  - IT_BSIM-MENGE.
         V_STK_VAL   = V_STK_VAL    - IT_BSIM-DMBTR.
      ELSE.
         V_STK_OPBAL = V_STK_OPBAL  + IT_BSIM-MENGE.
         V_STK_VAL   = V_STK_VAL    + IT_BSIM-DMBTR.
       ENDIF.
    ENDLOOP.
    E_STK_OPBAL = V_STK_OPBAL.
    E_STK_VAL   = V_STK_VAL.
    ENDFUNCTION.

  • Functionality for MMBE transaction

    hi,
    I need a functionality in which i need to simulate mmbe transaction with the plant and storage locations mentioned in selection parameters of a report program. All categories of stock are required except returns stock i.e. Unrestricted, Blocked, QI stock.
    I need to sum up all the stocks  i.e. Unrestricted, Blocked, QI stock except returns stock and pass it to a variable in report program.
    Is there any FM that exists that can return the value of all stocks or is there any other way I can implement this functionality.
    Please do help.

    Hi!
    You have to use 2 tables for this:
    - MARD - materal stock data
    - MBEW - material values
    And for the stock values you have to multiply the stock data with the values for each material.
    For historical data, you have to use the MBEW_EXTEND and MARD_EXTEND function modules also, because these function modules are correcting the historical values (previous month and previous year).
    Regards
    Tamá

  • Custom export in MMBE transaction

    Hi Experts,
    I have a requirement, I am replicating MMBE transaction, to add additional columns in the output and to add an export button for downloading ALV.
    What is the best approach to achieve this?
    Thanks,
    Anil

    Hi,
    You have to use following User Exits;
    MEREQ001 - Customers' Own Data in Purchase Requisition

  • Difference between CO09 and  MMBE Transactions

    Hi All,
    Please let me know difference between CO09 and  MMBE Transactions.
    FOr particular material and plant ,Quantity 1 is there as FGI  in MMBE screen but it is not there in CO09 for same material in the same plant.
    Regards
    Nidhi

    Dear Nidhi Srivastva      
    MMBE(Stock over view ) : By using this transaction code we can get the information pertinent to the particular material stock levels in the respective plant and storage locations.
    With the help of the detailed display we will know wether the material is in transit mode ,restricted ,unrestricted and so on........
    CO09(Avilability overview): With the help this we will know when the order was raised and the confirmed quantities.
    Apart from that we know about the  goods issues and goods recites of respective plant.
    Please let me know if you have any further clarifications
    Thanks&Regards
    Raghu.k

  • Add vendor name in MMBE transaction

    Hi all,
            In transaction MMBE, (Stock overview), I had a requirement where I need to display the storage location wise material movement. When I select the vendor in Display Variants, it is displaying the vendor number.  But instead of vendor number  or  along with the vendor number, I need to display the Vendor Name.
    For this, I think I need to write the enhancement. Actually Iam new to enhancements.  Can Anybody guide me how to approach in this regard.
    Thanking you,
    Murali Krishna T

    Hi
    Copy that Std report RM07DOCS  to Z report
    and fetch the name from LFA1 table and add to the final Internal table and display that field
    If you feel that the copying std is trouble some prepare your own report with the input fields and Output fields and display.
    Use the tables
    MKPF,MSEG, LFA1 and if needed PO tables EKKO,EKPO
    Reward points if useful
    Regards
    Anji

  • MMBE transaction fields for BATCH and ITS Quantity

    Hi Gurus,
               I am developing a report to get the details of material like Material code, Material type, Material Group, Material Group1, Special stock indicator, Special stock Numb, Batch and its quantity.
             Can any one suggest the table from where i cud fetch Special stock numb and its indicator , batch and relevant quantity of the material.
           My client is referring to standard transaction MMBE and wants me to get the details from there.
          I would like to take this opportunity to thank you in advance for your valuable suggestions.
    Thanking You,
    ZIa

    Hi,
    The following tables used for MMBE...Just identify your table & fields....
    TABLES: kna1,                     "Kundendaten auf MandEbene
            lfa1,                             "Lieferantendaten auf MandEb.
            lfm1,                             "Lief.daten auf EkOrgEb.
            tcurm,                            "Customizing (Bew.kreisebene)
            makt,                             "Material-Kurztexte
            mara,                             "Materialdaten auf MandEbene
            marav,                            "Materialdaten mit Kurztext
            marc,                             "Materialdaten auf Werksebene
            marcv,                            "Materialdaten auf Werksebene
            mard,                             "Materialdaten auf Lagerort
            marm,                             "Mengeneinheiten zum Material
            mchb,                             "Chargenbestaende
            mcha,                             "Chargen
            mch1,                             "Chargen
            mkol,                             "Lieferanten-Konsignation
                                              "Mehrwegtransportverpackungen
            msca,                             "K.Auftragsbest. beim Lief.
            mska,                             "Kundenauftragsbestand
            msku,                             "K.Lergut und K.Konsignation
            mslb,                             "Lieferantenbeistellung
            mspr,                             "Projektbestände
    *<<<    hier später weitere Bestandstabellen ergänzen
            ekbe,                             "enth. WE-Sperrbestand
            ekpo,                             "Bestellposition
            resb,                             "Reservierungsposition
            vbbe,                             "Bestände des Vertriebs
            t001,                             "Buchungskreistabelle
            t001l,                            "Lagertabelle
            t001w,                            "Werke
            t006a,                            "Zuo. externe - interne ME
            t134t,                            "Texte zur Materialart
            t148,                             "Sonderbestände
            t148k,                            "Sonderbestände Sicht MM_BD
            t136,                             "Bestandsfelder je Anz.Version
            t136a,                            "Bestandsfelder je Anz.Versio
            t136e,                            "max. Felder Einzelliste
            t136f,                            "max. Felder Grund/Aufrißliste
            t136v,                            "Anz.Version zur Einzelliste
            t157b,                            "Texte Bestandsfelder
            t320,                             "Lagernummer zu Werk/LgOrt
            t340d,                           "JH/13.05.98/4.0C
            rmmmb,                        "Hilfsfelder
            rmmme1,                      "Hilfsfelder für alt. MEs
            sscrfields.                      "Hilfsfeld Sel.bild SW/8.10.98

  • Function Module to get Reserved qty field in MMBE transaction

    Hi Frds,
    In my report i need to get a reserved qty from mmbe tcode.., tables or Function Module  . Pls help me

    Now i found these fm  BAPI_MATERIAL_STOCK_REQ_LIST
    working on it venkat
    Resb is not showing proper qty..........
    Issue has been solved myself..........so i m closing these thread.

  • Problem with call transaction MMBE

    Hello,
    I need to make a call to the transaction MMBE from within my Z program. This is the code that I have written for it:
    WHEN 'STOCKOVW'.
          SET PARAMETER ID 'MAT' FIELD line_rec-matnr.
          SET PARAMETER ID 'WRK' FIELD line_rec-werks.
          CALL TRANSACTION 'MMBE' and SKIP FIRST SCREEN.
    ENDCASE.
    When I try to branch to MMBE, I get the error "The material does not exist or is not activated'. Upon debugging I noticed that the material is not getting filled up in the MMBE screen. The data element corresponding to the screen field has the parameter ID MAT and line_rec-matnr has a valid value.
    Could someone please tell me what is going wrong here and how I can correct it?
    Thanks,
    Rugmani

    Hi Rugmani,
    <li> You used SET PARAMETER ID. There should be GET PARAMETER ID in MMBE transaction. The program for MMBE is RMMMBESTN. Use global search to find whether GET PARAMETER ID has been used in the program or not.
    <li>If you find *GET PARAMETER ID in MMBE, check whether ine_rec-matnr has value or not when SET PARAMETER ID 'MAT' FIELD line_rec-matnr. is executed.
    <li>I have searched for the same in ECC 6.0, I found GET PARAMETER ID in the include RMMMBENFF. Check the below one
    *&      Form  RETTE_SPA_GPA
    *     Parameter-ID's, die innerhalb des Prg's umgesetzt werden und auch
    *     auf dem Selektionsbildschirm ziehen, müssen vor dem Umsetzen
    *     gerettet und nach dem Aufruf der entspr. Umfeldfunktion wieder
    *     zurückgesetzt werden
    FORM rette_spa_gpa.
      GET PARAMETER ID 'MAT' FIELD matnr_spa_gpa.  "Material
      GET PARAMETER ID 'WRK' FIELD werks_spa_gpa.  "Werk
      GET PARAMETER ID 'LAG' FIELD lgort_spa_gpa.  "Lagerort
      GET PARAMETER ID 'LGN' FIELD lgnum_spa_gpa.  "Lagernummer note 620654
      GET PARAMETER ID 'CHA' FIELD charg_spa_gpa.  "Charge
    * JH/4.0A/30.10.97 Int. Meld. 3484704 (Anfang)
      GET PARAMETER ID 'EKO' FIELD ekorg_spa_gpa.  "Einkaufsorganisation
    * JH/4.0A/30.10.97 Int. Meld. 3484704 (Ende)
    * tga / note 198614 wrong MRP area from sl-level / start
      GET PARAMETER ID 'BERID' FIELD berid_spa_gpa.
    * tga / note 198614 wrong MRP area from sl-level / end
      GET PARAMETER ID 'KUN'   FIELD kun_spa_gpa.
    * tga / note 205042 wrong SPA/GPA for MB51 / end
    * tga / note 323951 wrong SPA/GPA for MB51 / start
      GET PARAMETER ID 'BES'   FIELD ebe_spa_gpa.
      GET PARAMETER ID 'AUN'   FIELD kda_spa_gpa.
    * tga / note 323951 wrong SPA/GPA for MB51 / end
    ENDFORM.                    " RETTE_SPA_GPA
    Thanks
    Venkat.O

  • MB5L shows value but MMBE and other transactions showing 0 value

    Hi Gurus,
    The issue i am having here is, i am having a Material XXXXX for the Plant YYYY. When i checked the stock for the material in MB5L, it is showing some KGs. But when i am checking the MMBE transaction, it shows 0 Value. Also when i checked the MBEW table it is showing the value, similarly on MSEG and MARC tables it shows 0 value. Now my concern here is
    1) What could be the reason for this?
    2) How we can make it sync the both the Tables?
    3) What happened to the history for this in MB51 and other transactions for this material?
    4) How should we approach this issue?
    Please advise and share your knowledge gurus. Thanks for your help in advance.
    Regards,
    Saakithyan

    Hi
    Check if Note 968812 - MM/FI Difference for material stocks is relevant for you
    Regards
    Eduardo

  • Runtime Error in MMBE- s yntax error occurred in program "SAPLMBBS " in inc

    Hi Gurus,
    Runtime Error in "MMBE" Transaction -
    The following syntax error occurred in program "SAPLMBBS " in include "LMBBSU07
    " in
    line 76:
    "The column name "MATNR" has two meanings . ."
    Any Input is Highly appreciated.
    Thanks and Regards,
    Selva

    Hi,
    This looks like an ABAP runtime error and the program concerned is a standard program. Please check the include and try debugging, suggest a breakpoint in line 76.
    Thanks

  • Issue in MD04 transaction with exception message 26

    Dear All,
    I am facing 2 issues:
    1) Even if the sales order line is confirmed and fulfilled, we are getting the stock for that material against the same sales order in the MMBE Transaction.
    2) For the above material present in those sales Order which are confirmed and fulfilled, We are getting the entries for that material in Transaction MD04 ( Stock requirement list of the material after we run the MRP for a particular materia) with the exception message 26.
    From our end, we have used the report sdrqcr21 which delete the wrong entries from "VBBE" so that MD04 will show incorrect entries but this approach is not helping us in the above situation.
    Regards,
    Rakesh

    Rakesh,
    This is one issue.  There is nothing wrong with the software, this is standard behavior. You have built or procured more stock than was required by the sales order.  The remaining unnecessary stock is now sitting in inventory, and is displayed in MD04 under the Sales order segment.  This stock can never be used again within SAP, unless someone re-opens the sales order or performs some transaction to remove the stock from being 'Sales order on hand' stock.
    Some companies will scrap this material, using their standard scrapping policies.  Others will transfer this un-usable E stock to general stock, if it can actually be reused.
    Rgds,
    DB49

  • Purpose  of "Reserved" field in Stock Overview(MMBE )

    Hello SAP Gurus,
    IF You run MMBE transaction , there is one Field called "RESERVED",
    Can anyone tell me the use of this Field??
    Regards
    MAYANK

    Hi Mayank,
    Reserved stock
    Sum of all quantities of a material that are reserved for withdrawal. Reserved stock is not available from the point of view of MRP, but for Inventory Management it still counts as unrestricted-use stock.
    So you dont have to move it from Unrestricted to Reserve. You can use it. As i said it shown u statistically how many quantities are there in reserve.
    And yes you can SALE Reserve stock also.
    You can use Link http://help.sap.com/erp2005_ehp_03/helpdata/EN/a5/63312643a211d189410000e829fbbd/frameset.htm For further reference.
    Reward Point if helpful.
    Thanks,
    Raja
    Edited by: Raja Singh Chhabeda on Jun 20, 2008 12:02 PM

Maybe you are looking for

  • MOVE REPLICATION DATABASE TO NEW SERVER

    WE HAVE A PRODUCTION DATABASE THAT WORK'S AS REPLICATION FROM 9 DATABASES, WE ARE GOING TO MOVE DATABASE TO NEW SERVER. AS DATABASE IS PRODUCTION, WE CAN NOT STOP SERVICES. WE THINK TO CREATE A NEW DATABASE ON NEW SERVER, IMPORT DATA FROM PROD. DATAB

  • ISight Not Working with OS X

    iSight is not detected and doesnt appear in the USB menue. Apple shop tells me that the OS must be reinstalled and they would need about a day to do so. Any ideas how I can make my MBA recognize its iSight (by the way .. the keyboard backlight doesnt

  • TS3989 Why don't my photos appear on iCloud?

    Why Don't my photos appear on iCloud?

  • Idea about handling app crashes

    Hi everyone: Just want to run this by you and see if maybe someone else implemented it. I was thinking of a way to automate submissions of my apps crashes and came up with a method that will register for global unhandled exceptions: //From applicatio

  • Using package to export & Import data

    Hi! Now i'm using exp imp utility to export & import data, but i don't want to everybody know password. My platform is windows 2000. I want know, there is a package to do this? thank!