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

Similar Messages

  • How to export customer/vendor aging detailed transactions to excel ?

    hi all,
    How to export customer/vendor aging detailed transactions
    to MS-Excel ?
    After entering all selection creterias,report
    opens up with consolidated aging details
    for each customer,we need to double click a
    customer to get detailed break up of all transactions,
    Is it possible to export to ms excel for detailed transations break up of all customers/vendors ?
    In standard it is only possible to export detailed
    transactions break up for a customer/vendor ?
    Jeyakanthan

    Thanks,
    Eventhogh we don't need detailed aging report in print,
    we converted print preview into text file
    and then converted to excel format.
    Jeyakanthan

  • 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.

  • Customs export declaration not getting created

    Hello everyone .. i need help of your expertise
    I am creating billing document on R/3 and we have made it such that the F2 document flows onto GTS and creates a Customs export declaration
    The issue here is i have created the billing docs but i cannot find them on GTS.
    I checked the value of the goods is not equal to zero
    Checked the SM58 to see of any RFC log is there at the time of document creation and time .
    checked SLg1 on GTS to see if any log , but no log is there .
    It is basically an export order from EU country to a non EU country
    and i checked the billing doc and it is export relevant
    The document is flagged to go into GTS in document control settings on R/3
    Plant , company code and everything is mapped.
    It is an intercompany customer transaction.
    When i try to pull up the CULOEX by using the reference doc # from feeder system its saying no documents found
    in test environment the billing doc is flowing onto GTS and creating CULOEX succesfully.
    The sales order and delivery docs basically passed the compliance test and they are good.
    Can someone suggest me where else i need to go and look at .
    your help is very much appreciated.
    thanks
    Bharad

    Hi Bharad,
    Could you let us know the current status of the issue? If it is resolved could you pls share us how you have done it as it is the most occurring issue and leaves no clue too? If not resolved, Could you check whether the Badi /SAPSLL/IF_EX_CTRL_SD0C_R3 is activated in R/3 or not?
    Regards,
    Shiva

  • 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.

  • Custom export to text file

    Scott (Spendolini) and Carl:
    I put Scott's blog entry at http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html and Carl's example at http://htmldb.oracle.com/pls/otn/f?p=11933:69 together at http://htmldb.oracle.com/pls/otn/f?p=24317:117
    Basically, it generates a file with numbers from 1 to the number you put in that text field and offers to open/save the file. So far so good.
    But that Processing animated gif still hangs around after the file is opened or saved.
    Any way to make that go away? Or am I trying to combine 2 techniques that are not meant to be combined?!
    Thanks

    Hi Vikas,
    Or am I trying to combine 2 techniques that are not meant to be combined?!
    I fear that this is exactly the case here ;). I have tried various approaches but they all don't work.
    The point seems to be that whenever you call the custom export using a mime type (any other than what the browser is capable of handling internally) a helper application is launched.
    Unfortunately, you don't seem to be able to capture this event. The onUnload event won't be triggered since the current page is not removed.
    You're pretty much stuck since you are not able to detect when the save file dialog is called.
    From my point of view the only option would be to write the generated report into a CLOB,BLOB or temporary table, then do a redirect to a success page and another redirect to display the result.
    But this is quite cumbersome to implement.
    I guess this technique (showing a progress bar for a long running operation) is only useful in an AJAX app or when you show another html page.
    ~Dietmar.

  • Facing some problems in creating a custom tabs in CRMD_ORDER Transaction

    Hi Friends,
    I am facing some problems in creating a custom tabs in CRMD_ORDER Transaction code in Solution Manager of SAP.
    Actually my requirement is adding of two tabs(one is header & another is item tab) in the above Transaction, i was able to put one tab i.e header tab but i was not able to keep item tab. i found a badi CRM_CUSTOMER_I_BADI in which documentation was given & i processed in the same way.
    For information i used the Badi CRM_CUSTOMER_H_BADI for header tab which i was able to add the tab & all functions like change, save working Good.
    But i want how to add custom tab in which item details were to be attached.
    i was done with the necessary SPRO settings(or Tcode CRMV_SSV) & able to see the 2 tabs thats it, but the functionality save is not working for the second tab & not saving in table CRMD_CUSTOMER_I (in this table there is one CI include where we added our item fields).
    And also i had a doubt whether to use ALV or Table Control. And if possible can any one can sent me the screen design & the code for the above requirement in detail.
    can any one who have knoweldge in Solution Manager & in the above Badi implementation can give me a right solution which will help me a lot.
    Thanks a lot in advance.
    Thanks
    Ravi.
    can any one give the solution regarding to the above one.
    Edited by: ravikanth on Jul 23, 2008 8:13 AM

    Hello Priyanka,
    I have the same problem by using Service Ticket in SAP CRM 5.0.
    Did you already solved this issue? If so, can you please provide the solution!?
    How can I activate and check the transfer log?
    Thanks and regards
    Alex

  • Define event types in Customizing and restart the transaction.

    how to define event to restart the transaction in BADI
    I have given error message in badi. it is giving
    No SAP Event Management communication for events; no event types def
        Message no. /SAPTRX/ASC084
    Diagnosis
        You have not defined event types for the business process types.
        therefore not possible to communicate event data to SAP Event
        Management.
    System response
        The communication of event data is aborted.
    Procedure
        Define event types in Customizing and restart the transaction.

    Hi Kevin,
    What DataSource does your testalias refer to?
    - If it is a custom DataSource, you must have created this custom DataSource also.
    - If it is the default DataSource, you shouldn't have this problem in general...
    In either case, you can try deploying your DataSource and/or DataSource alias together with your application:
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/07d2eeea3e0485e10000000a155369/frameset.htm
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/c82cd460a42e96e10000000a155369/frameset.htm
    I hope that helps!
    Regards,
    Yordan

  • Premiere CS6 does not remember some settings when saving custom export presets.

    When I save a custom export preset in the export window, some settings are not remembered, and I need to change them every time again and again! The settings so far I found to not be saved are:
    Key frame every ... frames
    Limit data rate to ...

    Interesting...
    When I create and save an a H.264 QT preset
    using the Export Settings dialog from within Premiere,
    it does not save the key frame interval or max bitrate.
    However, when I create a H.264 QT preset from within
    Media Encoder and save... the missing settings are saved
    and can be recalled from within the Premiere Export Settings dialog.
    EDIT:
    Re-tested this a bit more, and now the kf interval & max bitrate are
    being saved with the presets created in Premiere Export Settings dialog.
    Odd... my first 2 tries didn't take?

  • How do you produce both Customs Export & Import documentation in an STO?

    Hello All -
    How do you produce both Customs Export & Import documentation in an STO scenario? For instance, if a company would like to create a STO in SAP to move materials from one plant to another and would like to produce both the Export & Import paperwork in GTS, what documents would be needed in R/3 to make this possible?
    Would the following be needed, or is there some other way?
    - STO
    - Outbound Delivery & F8 Invoice to generate the Customs Shipment in GTS for the Export documentation
    - Inbound Delivery to generate the Customs Declaration in GTS for the Import documentation

    Thanks Sameer -
    Yes, for the Import documentation, I think we will be declaring prior to Goods Receipt, so we will first use the Inbound delivery, and then the GR document later on once the materials have been received. (I believe you and I were talking about some of this in another thread actually.) Thank you for confirming this.
    As for the Note, I have also seen this - but thought that this was to more or less give visibility to the sending plant up-front at STO of what export licenses might be needed. (According to the note, currently they would only be able to check if licenses were needed at the outbound delivery, and not on the PO)
    Per the note: "Given a Stock Transport Purchase Order scenario: Plant A in Germany issues a STO PO against vendor plant US10 in the US. GTS looks at the PO in terms of importing from the US (departure country) coming into Plant A in Germany and performs compliance checks. Meanwhile, exporting plant US10 only has visibility at outbound delivery creation to see if am Export License is needed. Exporting plant US10 may want to know if they need a license to the country of destination, in this case Germany, at STO PO creation."
    However with the proper country-level export/import activation of the legal regulations, I believe that you can still have the STO check export-related licenses even though it is mapped to GTS as IMPORD. I have done some testing on this and it appears to work (you just need to ensure that you are activating the relevant countries for export/import properly in the legal regulation, and you can have both export & import documents check the same legal regulation and deliver the correct license determination). I was just wondering if you had any experience with this that was contrary to what I have found, or if there is something you think I am missing..
    Thanks

  • How to give link between 2 customized layout in f110 transactions.

    Hello Abapers,
    I am developing customized layout for f110 transaction.I have developed layour for cheques as zcheques and for payment advice,i have developed layout as zpayadvice.When i am running f110 transaction..it is giving output of cheques only,it is not giving payment advice report.when I am using standard prenumbered cheques form and it is diplaying my customized layout of payment advice(zpayadvice)..this is my porblem..Is there any interlink between customized layouts in f110 transaction.how can i solve this problem.
    This is very urgent for me.
    waiting for ur favourable replies.
    Regards
    Maruthi.

    The SelectOneChoice section is:
    <af:selectOneChoice value="#{bindings.ProcessId1.inputValue}"
    label="#{bindings.ProcessId1.label}"
    autoSubmit="true" id="ProcList"
    showRequired="true">
    <f:selectItems value="#{bindings.ProcessId1.items}"/>
    </af:selectOneChoice>
    and the binding list:
    <list StaticList="false" ListOperMode="0" IterBinding="NameViewIterator"
    ListIter="ProcessListIterator" id="ProcessId1" NullValueFlag="1"
    NullValueId="ProcessId1_null">
    <AttrNames>
    <Item Value="ProcessId"/>
    </AttrNames>
    <ListAttrNames>
    <Item Value="ProcessId"/>
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="ProcessName"/>
    </ListDisplayAttrNames>
    </list>
    Do I need to change the format of SelectOneChoice to add "for each"?
    Message was edited by:
    [email protected]

  • 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

  • BADi used for creating customer own data in transaction me52n

    Hi experts,
    please any one tell me what is the procedure for creating or changing. How to get access for customer own data in transaction me52n. How to get authorization checks.
    thank you,
    regards
    vijay krishna

    Hi
      check this link.
    Name of Badi used with transaction ME52N
    Thanks
    Viquar Iqbal

  • Adding new custom fields in SAP transaction - PSOBWORK?

    Hi,
    System - ECC 6.0
    I need to add some new custom fields in Contract Object(PSOBWORK). Can any one tell me what are the ways I can do this, and what is the best way to add custom fields in SAP transaction?
    I highly appreciate your help on this.
    Thanks.
    Rajesh

    Hi ,
            There are options like screen-exits ,badis
    the best option would be to find screen exits for the transaction and you code ur logic in the exit and create the screen with your requirement .

  • Adding new custom fields in SAP transaction?

    Hi,
    System - ECC 6.0
    I need to add some new custom fields in Contract Object(PSOBWORK). Can any one tell me what are the ways I can do this, and what is the best way to add custom fields in SAP transaction?
    I highly appreciate your help on this.
    Thanks.
    Rajesh

    Hi,
    Find the link below  which has step by step process of adding custom fields:
    goto site saptechnical-tutorials-ExitsBADIs-EEWB
    Hope this would be helpfull.
    Regards,
    Sharath

Maybe you are looking for

  • Removing Devices from my Verizon Account

    I am the account owner of a family share plan account. I have two devices I want to permanently remove from my plan. How do I do this? Do I have to call customer service directly or can I do it on my own?

  • Dynamic menu problem when chaning from english to arabic language

    Hi all,       am working on Dynamic Menu its working fine in English when i convert this same menu in Arabic its working fine but the sub menu has some margin...if we set the margin then again for 2nd main menus submenu  is not coming in order... www

  • Change GUI Language in Crystal Reports XI

    How can I change the GUI language of a installed Crystal Reports XI? At the installation, I have choosen "English" but now the GUI is in German. As I found out, the GUI language depends on the regional settings in Windows. I have "Switzerland" as the

  • How to use formula variable to calculate the days for a document.

    Hi expert. I have a question, I need to calculate how many days it cost for a document, therefore , it should be like this, cost days = clearing date - creation date.. how can I implement this calculated key figure by formula variable.. Here cost day

  • ANOTHER N97 INTERNET RADIO THREAD N97

    Hi I have now owned the nokia n97 for 2 months, in this time I have spent 1-2 hours per day trying to find a work around for internet radio so I can listen at work or in the car/ on foot. somebody tell  me I can not do this, I have spent so much time