I WANT TO CODE DEMO FOR THSESE REQUIREMENT

Pending Purchase Order Requirement Specification:  
Fields on selection screen (input screen) : Vendor Code From to , Period From to , Material Code from to.
Field in the output List : P.O. No, PO Date , Vendor Name , Vendor code, Material Code , Material Description , PO Qty, Qty received  , Balance Qty.
THANKS N REGARD
JATIN SINGHAL

Hi jatin,
For your requirement you have SD standard program available.if you go to transaction VF03 and give any billing document no. click"billing document at the top"=>issue output to=>screen..
you'll get a standard program print preview..
check the programs corresponding to it by system=> status=>program name..
u can copy that program and make alterations  necessary..
if u want to proceed with ur customized reports...
these standard programs will help u in finind the exact variables from where u wannt to pull out the data for PO no,POdate,Vendor No... etc
thanks
Jegadesh

Similar Messages

  • Send me a demo for these requirement

    Pending Purchase Order Requirement Specification:  
    Fields on selection screen (input screen) : Vendor Code From to , Period From to , Material Code from to.
    Field in the output List : P.O. No, PO Date , Vendor Name , Vendor code, Material Code , Material Description , PO Qty, Qty received  , Balance Qty.

    hi,
    refer to report t.code ME2L. SEE IF ITS FULFILLING YOUR REQUIREMENT.

  • Update book inventory with NEW company code assignment for the same site

    Hi gurus ,
    Our company have this business scenario:
    the site has run in Company Code A for several month with business of Material Management  function, then the site have to be changed to Company Code B for financial requirement .
    What we want is we change the CC assignment by OX18 for site master without changing the site number (creating a new site master ),except for the open purchasing or  sales document clearance , is there any way we can update the book inventory  with new profit center corresponding to the CC B ?
    Thanks in advance ,
    Ryan

    Actually we have made some discussion with SAP consultant about this requirement ,and they suggest the same thing ,but for many reasons ,we need to make it that way ,and we also made some test for this direct changing by OX18  for new CC assignment .
    All other questions are  under control now , for financial reason ,we need to update the book inventory to new CC assignment (new profit center after site-specific material master changed ) in some batch session or program ,any idea for this?

  • HT4623 I want to install an app that requires iOS5 and my iphone is 4.2.6 How do I Update my software for my iphone 4?

    I want to install an app that requires iOS 5 update. How do I update the software on my phone when I do not have the icon in settings for update software? Please help!

    Connect your iPhone to iTunes, and find Software Update in the main interface pane. It should prompt you to install iOS 5.1.1.

  • Please provide the abap code for this requirement

    note : if the below mentioned user exit is not suitable please find the suitable user exit and provide the code for this requirement.
    •     The User-exit MEFLD004 is only to be used at PO level (ME21N/ME22N).
    •     When PO is create or changed (ekko-ebeln) user exit MEFLD004 is triggered which check for the business requirement of the PO check for PO doc types (ekko-bsart) :z4,z6,z11,z12 from the table ekko and Account Assignment Category (knttp) is either N or K then stock process follows.  
    •     When an PO is cancelled, all entries will have to be reversed
    •     The Buffer table for the PO will have the following fields:
    Purchase order Number                     EKKO-EBELN
    Line item number of the PO               EKPO-EBELP
    Vendor Number                                  EKKO-LIFNR
    PO Quantity                                        EKPO-MENGE
    PO Nett Price                                     EKPO-NETPR
    Base Unit of Measure                  EKPO-LMEIN
    Account Assignment Category          EKPO-KNTTP
    PO Doc type                       EKPO-BSART     
    Plant                            EKPO-WERKS     
    Purchase Org                                  EKKO-EKORG
    Purchase Group                    EKKO-EKGRP     
    Company code                                EKPO-WAERS
    Item category                     EKPO-PSTYP
    PO Doc Date                      EKKO-BEDAT
    •     No duplications are allowed for any created, changed or cancelled purchase orders. If such a case occurs, the record will be updated with the latest update time stamp. This custom table will be keyed by purchase order number.

    Cross-post: http://forum.java.sun.com/thread.jspa?threadID=763485

  • I wanted to install windows for Mac and I had vista so I put I the disk and installed it then it  loses my  computer wen I turned it on it went straight to windows and it asked me to install it and put in the windows box code I found out I didn't have Ma.

    I wanted to install windows for Mac and I had vista so I put I the disk and installed  followed the steps it then it  closed my  computer wen I turned it on it went straight to windows and it asked me to install it and put in the windows box code I found out I didn't have it so I wanted to go back to Mac I shut it off and it just goes back to windows and asks me to put the box code how do I get rid of it and go back to Mac because no buttons work at the start and i can't take out the disk !! Help

    The two other posts are correct... so I'll just clarify.  What's happening right now is your system is trying to boot into Windows in order to finish the installation.  What you want to do is make it boot into OS X.  As mende1 indicated, with your system off, hold down the Option key and continue to hold it while you turn the system on.  You will eventually be presented with an option to select which partition you would like to boot from.  Choose OS X.  After you get into OS X, again, as mende1 indicated, change the Startup Disk to OS X.  What this will do is cause your system to automatically boot into OS X when you restart it instead of you having to use the Option key when booting each time.
    Relaunching BootCamp Assistant will allow you to remove your Windows installation and partition. 

  • I have snow leopard 10.6.8 and want to get on iCloud which requires Lion... should I buy Lion at $29.99 now and upgrade to Mountain Lion whne available (I can't see where it is available for download yet) and what is cost of upgrade to Mountain Lion?

    I have snow leopard 10.6.8 and want to get on iCloud which requires Lion... should I buy Lion at $29.99 now and upgrade to Mountain Lion when available (I can't see where it is available for download yet) and what is cost of upgrade to Mountain Lion?   Or should I simply wait for Mountain Lion?

    I would wait for Mountain Lion to be released. According to Apple, Mountain Lion will be released by end of July 2012.
    It will cost you only $19.99 to upgrade. You can find all the details at the following link...
         http://www.apple.com/osx/

  • Unable to find appropriate driver for my mcbook air using a ricoh aficio mp36501SP network printer.  had similar problem with another ricoh copier/printer, but was able to resolve that problem entering ip address.  this one wants job code

    unable to find appropriate driver for my mcbook air using a ricoh aficio mp36501SP network printer.  had similar problem with another ricoh copier/printer, but was able to resolve that problem entering ip address.  this one wants job code.  i don't believe mac allows for input on job code or printer code for permission to print

    I'm having similar problems with an HP OfficeJet 6500. One suggestion that improved the situation, but did not totally solve the problem, was to select "OfficeJet Pro L7700" for its drivers.
    One other suggestion is to turn off the printer, then simultaneously hold down the "#" and "9" keys and turn the printer back on. This hot key seems to reset the printer to factory defaults, allowing you to set things up anew.
    Finally, kvetch to HP. Their networking software clearly has problems in its relationship to OSX, but nobody on either side seems motivated to bring in a good therapist.

  • I am so confused. I am thinking about buying an iPhone 4S but I want to use those card things that you can put the code in for the phone is this possible? I'm not talking about the 50$ unlimited card just the regular 20$ cards that hold mins and texts...

    I am so confused. I am thinking about buying an iPhone 4S but I want to use those card things that you can put the code in for the phone is this possible? I'm not talking about the 50$ unlimited card just the regular 20$ cards that hold mins and texts... As long as it has the support for the service it's hooked up to?

    As far as I know there is no US cell carrier that allows pay as you go with an iPhone. You can purchase an unlocked iPhone 4S at an Apple Store and try it with a non-supported carrier.

  • Posting limit restriction ( UpTO 10000) for T Code FB60 - for specific GL

    Dear All,
    Posting limit restriction ( UpTO 10000) for T Code FB60 - for specific GL
    Is it Possibal ?
    Any other way to stop Posting Amt more than Rs 10000 ( Ten Thousand)
    In specific T Code FB60
    Required urgent Help,
    Your early reply / solution is expected
    Regards,
    S Kulkarni

    Hi,
    Just go to OB28, define a validation (if you do not use one already), define one step, define the prerequisites on BSEG level of the account and define the check.
    For example, you can use the validation for the following situation: You want to make sure that postings to the expense account "Telephone costs" can only be posted to the services cost center "Telephone". You can carry out the checks needed for this by using the validation.
    Activities
    If you want to define new validations, go through the following activities:
    1. Place the cursor on a line in which company code and callup point are entered (you can enter company code and validation callup point via Edit -> New entries).
    2. Afterwards select Environment -> Validation. You reach the first screen for maintaining a validation.
    3. Select Validation -> Create. Enter the required name. After pressing ENTER, you come to an overview screen of the validation activities belonging to the validation.
    4. Select Insert entry. On the next screen you can describe a new validation activity. You describe the check requirements and the actual check for this. The syntax to be used for this is described in the online help (F1 help) for the input fields for Requirements and Check. You can also define a message (warning or error message) which is sent if the check is not successful.
    If you want to change validations which already exist, proceed as follows:
    1. Place the cursor on an already existing entry and select Goto -> Validation.
    2. On the next screen select Validation -> Display or Validation -> Change. After pressing ENTER, you get to the overview screen of the validation activities belonging to the validation. If you select Insert entry, you can carry out changes if necessary.
    Regards,
    Eli

  • What are the different methods to find the user-exit for any requirement?

    Hi Everybody,
    What are the different methods to follow to find the user-exit for any requirement?
    Thanks & Regards,
    Nagaraju Maddi

    The following program search all the user exits involved with a T-code:
    Selection Text: P_TCODE: Transaction Code to Search
    Text Symbols: 001 - Enter the Transaction Code that you want to search through for a User Exit
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP® User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP® Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP® Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    * Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    * Find Repository Objects for transaction code
      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 = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
      * Find SAP® Modifications
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            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:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    * Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

  • Using transaction code KEAI for CO-PA to FI validation

    I wanted to see if anyone has experience using transaction code KEAI (Analysis of Value Flow FI-COPA).  I know there is also transaction code KEAT for SD to CO-PA to FI validation.  However for our needs KEAI seems a bit more user friendly.  I have not really found any documenation on KEAI online or in SAP help.  The program for this transaction code is RKE_RECONCILIATION_FI.  Does anyone know the key difference between KEAI and KEAT.  Any input you have would be appreciated.

    KEAI is analyzes all value flows to CO-PA as against KEAT which deals with Transfer of Billing Documents.
    The reconciliation covers all record types - A to I and Z (PA postings only)
    You can restrict the report for components like - billing, CO objects, FI Docs
    You can see the result by all documents, documents only with delta, documents only with delta to CO-PA
    You can display summarized report if required and expand.
    The output shows delta in detailed columns like - Account / Source Document / PA Value Field, FI Value, Document Value, PA Relevant Value, CO-PA Value, FI Doc. Delta, PA Doc Delta, Crcy.
    The report is collapsible - company code > account > Document > Value Field

  • I want complete code of mm01 using bapi's

    hi experts!
    my requirements is upload material master data using bapi....
    i want complete  code of mm01 ......i have no idea of bapi
    pls help me anybody...............................

    Dear Shilpa,
    Please go through the following link:
    https://www.sdn.sap.com/irj/sdn/wiki
    Tutorial, MM01 Upload using BAPI
    Author: Karthik Potharaju
    Submitted: 28.09.07
    *& Report ZKAR_MATMAS_BAPI
    *& This program demonstrates how easy it is to create Material master
    *& data using BAPI_MATERIAL_SAVEDATA
    *& The program also generates a report post-execution displaying errors
    *& as well as successful uploads
    *& Written by: Karthik Potharaju
    *& URL: http://allaboutsap.blogspot.com
    REPORT ZKAR_MATMAS_BAPI.
    TABLES
    FLAGS *
    DATA: F_STOP. " Flag used to stop processing
    DATA DECLARATIONS *
    DATA : V_EMPTY TYPE I, " No. of empty records
    V_TOTAL TYPE I. " Total no. of records.
    STRUCTURES & INTERNAL TABLES
    *--- BAPI structures
    DATA: BAPI_HEAD LIKE BAPIMATHEAD, " Header Segment with Control Information
    BAPI_MAKT LIKE BAPI_MAKT, " Material Description
    BAPI_MARA1 LIKE BAPI_MARA, " Client Data
    BAPI_MARAX LIKE BAPI_MARAX, " Checkbox Structure for BAPI_MARA
    BAPI_MARC1 LIKE BAPI_MARC, " Plant View
    BAPI_MARCX LIKE BAPI_MARCX, " Checkbox Structure for BAPI_MARC
    BAPI_MBEW1 LIKE BAPI_MBEW, " Accounting View
    BAPI_MBEWX LIKE BAPI_MBEWX, " Checkbox Structure for BAPI_MBEW
    BAPI_RETURN LIKE BAPIRET2. " Return Parameter
    *--- Internal table to hold excel file data
    DATA: IT_INTERN TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    *--- Internal table to hold Matetrial descriptions
    DATA: BEGIN OF IT_MAKT OCCURS 100.
    INCLUDE STRUCTURE BAPI_MAKT.
    DATA: END OF IT_MAKT.
    *--- Internal to hold the records in the text file
    DATA : BEGIN OF IT_DATA OCCURS 100,
    WERKS(4), " Plant
    MTART(4), " Material type
    MATNR(18), " Material number
    MATKL(9) , " Material group
    MBRSH(1), " Industry sector
    MEINS(3), " Base unit of measure
    GEWEI(3), " Weight Unit
    SPART(2), " Division
    EKGRP(3), " Purchasing group
    VPRSV(1), " Price control indicator
    STPRS(12), " Standard price
    PEINH(3), " Price unit
    SPRAS(2), " Language key
    MAKTX(40), " Material description
    END OF IT_DATA.
    SELECTION SCREEN. *
    SELECTION-SCREEN BEGIN OF BLOCK SCR1 WITH FRAME TITLE TEXT-111.
    PARAMETER : P_FILE TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT " Input File
    'C:Material_master.XLS'.
    PARAMETER : P_MAX(4) OBLIGATORY DEFAULT '100'. " no.of recs in a session
    PARAMETERS: P_HEADER TYPE I DEFAULT 0. " Header Lines
    PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
    P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
    P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
    P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
    SELECTION-SCREEN END OF BLOCK SCR1.
    AT SELECTION-SCREEN *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
    *--- Validating file
    PERFORM VALIDATE_FILE USING P_FILE.
    START-OF-SELECTION
    START-OF-SELECTION.
    *--- Perform to convert the Excel data into an internal table
    PERFORM CONVERT_XLS_ITAB.
    IF NOT IT_DATA[] IS INITIAL.
    *--- Perform to delete Header lines
    PERFORM DELETE_HEADER_EMPTY_RECS.
    ENDIF.
    END OF SELECTION. *
    END-OF-SELECTION.
    *--- Perform to upload Material Master data
    PERFORM UPLOAD_MATMAS.
    Form : validate_input_file
    Description : To provide F4 help for file if read from PC
    FORM VALIDATE_FILE USING F_FILE TYPE RLGRAP-FILENAME.
    CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    CHANGING
    FILE_NAME = F_FILE
    EXCEPTIONS
    MASK_TOO_LONG = 1
    OTHERS = 2.
    IF SY-SUBRC <> 0.
    MESSAGE S010(ZLKPL_MSGCLASS). " 'Error in getting filename'.
    ENDIF.
    ENDFORM. " validate_input_file
    *& Form CONVER_XLS_ITAB
    text
    FORM CONVERT_XLS_ITAB.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
    FILENAME = P_FILE
    I_BEGIN_COL = P_BEGCOL
    I_BEGIN_ROW = P_BEGROW
    I_END_COL = P_ENDCOL
    I_END_ROW = P_ENDROW
    TABLES
    INTERN = IT_INTERN.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *--- Perform to move the data into an internal data
    PERFORM MOVE_DATA.
    ENDFORM. " CONVERT_XLS_ITAB
    *& Form MOVE_DATA
    text
    FORM MOVE_DATA.
    DATA : LV_INDEX TYPE I.
    FIELD-SYMBOLS <FS>.
    *--- Sorting the internal table
    SORT IT_INTERN BY ROW COL.
    CLEAR IT_INTERN.
    LOOP AT IT_INTERN.
    MOVE IT_INTERN-COL TO LV_INDEX.
    *--- Assigning the each record to an internal table row
    ASSIGN COMPONENT LV_INDEX OF STRUCTURE IT_DATA TO <FS>.
    *--- Asigning the field value to a field symbol
    MOVE IT_INTERN-VALUE TO <FS>.
    AT END OF ROW.
    APPEND IT_DATA.
    CLEAR IT_DATA.
    ENDAT.
    ENDLOOP.
    ENDFORM. " MOVE_DATA
    *& Form DELETE_HEADER_EMPTY_RECS
    To delete the Header and empty records
    FORM DELETE_HEADER_EMPTY_RECS.
    DATA: LV_TABIX LIKE SY-TABIX.
    IF NOT P_HEADER IS INITIAL.
    LOOP AT IT_DATA.
    IF P_HEADER > 0 AND NOT IT_DATA IS INITIAL.
    DELETE IT_DATA FROM 1 TO P_HEADER.
    P_HEADER = 0.
    EXIT.
    ENDIF.
    ENDLOOP.
    ENDIF.
    CLEAR IT_DATA.
    *--- To delete the empty lines from internal table
    LOOP AT IT_DATA.
    LV_TABIX = SY-TABIX.
    IF IT_DATA IS INITIAL.
    V_EMPTY = V_EMPTY + 1.
    DELETE IT_DATA INDEX LV_TABIX..
    ENDIF.
    ENDLOOP.
    CLEAR IT_DATA.
    *--- Total no of recs in file
    DESCRIBE TABLE IT_DATA LINES V_TOTAL.
    IF V_TOTAL = 0.
    MESSAGE I013(ZLKPL_MSGCLASS). " No records in the file
    F_STOP = 'X'.
    STOP.
    ENDIF.
    ENDFORM. " DELETE_HEADER_EMPTY_RECS
    *& Form UPLOAD_MATMAS
    to upload Material Master data
    FORM UPLOAD_MATMAS .
    LOOP AT IT_DATA.
    Header
    BAPI_HEAD-MATERIAL = IT_DATA-MATNR.
    BAPI_HEAD-IND_SECTOR = IT_DATA-MBRSH.
    BAPI_HEAD-MATL_TYPE = IT_DATA-MTART.
    BAPI_HEAD-BASIC_VIEW = 'X'.
    BAPI_HEAD-PURCHASE_VIEW = 'X'.
    BAPI_HEAD-ACCOUNT_VIEW = 'X'.
    Material Description
    REFRESH IT_MAKT.
    IT_MAKT-LANGU = IT_DATA-SPRAS.
    IT_MAKT-MATL_DESC = IT_DATA-MAKTX.
    APPEND IT_MAKT.
    Client Data - Basic
    BAPI_MARA1-MATL_GROUP = IT_DATA-MATKL.
    BAPI_MARA1-BASE_UOM = IT_DATA-MEINS.
    BAPI_MARA1-UNIT_OF_WT = IT_DATA-GEWEI.
    BAPI_MARA1-DIVISION = IT_DATA-SPART.
    BAPI_MARAX-MATL_GROUP = 'X'.
    BAPI_MARAX-BASE_UOM = 'X'.
    BAPI_MARAX-UNIT_OF_WT = 'X'.
    BAPI_MARAX-DIVISION = 'X'.
    Plant - Purchasing
    BAPI_MARC1-PLANT = IT_DATA-WERKS.
    BAPI_MARC1-PUR_GROUP = IT_DATA-EKGRP.
    BAPI_MARCX-PLANT = IT_DATA-WERKS.
    BAPI_MARCX-PUR_GROUP = 'X'.
    Accounting
    BAPI_MBEW1-VAL_AREA = IT_DATA-WERKS.
    BAPI_MBEW1-PRICE_CTRL = IT_DATA-VPRSV.
    BAPI_MBEW1-STD_PRICE = IT_DATA-STPRS.
    BAPI_MBEW1-PRICE_UNIT = IT_DATA-PEINH.
    BAPI_MBEWX-VAL_AREA = IT_DATA-WERKS.
    BAPI_MBEWX-PRICE_CTRL = 'X'.
    BAPI_MBEWX-STD_PRICE = 'X'.
    BAPI_MBEWX-PRICE_UNIT = 'X'.
    *--- BAPI to create material
    call function 'BAPI_MATERIAL_SAVEDATA'
    exporting
    HEADDATA = BAPI_HEAD
    CLIENTDATA = BAPI_MARA1
    CLIENTDATAX = BAPI_MARAX
    PLANTDATA = BAPI_MARC1
    PLANTDATAX = BAPI_MARCX
    FORECASTPARAMETERS =
    FORECASTPARAMETERSX =
    PLANNINGDATA =
    PLANNINGDATAX =
    STORAGELOCATIONDATA =
    STORAGELOCATIONDATAX =
    VALUATIONDATA = BAPI_MBEW1
    VALUATIONDATAX = BAPI_MBEWX
    WAREHOUSENUMBERDATA =
    WAREHOUSENUMBERDATAX =
    SALESDATA = BAPI_MVKE1
    SALESDATAX = BAPI_MVKEX
    STORAGETYPEDATA =
    STORAGETYPEDATAX =
    IMPORTING
    RETURN = BAPI_RETURN
    TABLES
    MATERIALDESCRIPTION = IT_MAKT
    UNITSOFMEASURE =
    UNITSOFMEASUREX =
    INTERNATIONALARTNOS =
    MATERIALLONGTEXT =
    TAXCLASSIFICATIONS =
    RETURNMESSAGES =
    PRTDATA =
    PRTDATAX =
    EXTENSIONIN =
    EXTENSIONINX =
    IF BAPI_RETURN-TYPE = 'E'.
    WRITE:/ 'Error:' ,BAPI_RETURN-MESSAGE ,'for material:' ,it_data-matnr.
    ELSEIF BAPI_RETURN-TYPE = 'S'.
    WRITE: 'Successfully created material' ,it_data-matnr.
    ENDIF.
    ENDLOOP.
    ENDFORM. " UPLOAD_MATMAS
    Regards,
    Abir
    Don't forget to Reward Points  *

  • Functional specification required for Me57 requirement

    In SAP MM, Transaction ME57, I want to pull in the Common Inventory Quantity (Not Project or Sales Order Stock) of the Material which is maintained on the Purchase Requisition.
    And also in  the T code MB52 screen, the Inventory Quantity i want to bring it.  It will be ALL Common Inventory in the Plant (minus Storage Loc a001 for Plant a000).  Again, this should NOT pull in Project or Sales Order stock.  Only Common Inventory.
    I would like a rough functional specification draft ASAP. Pleas help.

    Hi prasanna,
                    we can get SAP idoc types in tcode we31.For every requirment there will be different message type.
    For example we want idoc type for account invoice receipt.
    First find out message type for that purpose which can be found in we81-ACC_INVOICE_RECEIPT.
    Get this message type and search in we82  where we can find message type and idoc type linkage.
    try this way.
    Reward if it is usful.
    Thanks,
    Srikanth.A

  • Want a code to check & install JRE automaticallly without user intervention

    hi
    I am trying to run an applet on a machine that is not having JRE on it.
    want a code that will check for such condition and install JRE automatically.
    If JRE is already present then it should check for required version and enable it also.
    please help in this regard.
    thanks in advance
    Santosh.

    The ability to detect the jre at the update level, as well as the ability to install a specific version are only present if the DT plugins are installed.
    These plugins only exist for windows and are only part of the 6u10 (1.6.0_10) versions of java.
    The javascript you show uses an undefined minimumVersion variable.
    also note, you cannot use the wildcard '1.5.0*' in the call to isWebStartInstalled (which takes minimumVersion arg)
    if fixed, this code would still not work as you want, since clients with 1.6.0 or later would sail straight thru and launch.
    I suggest replacing isWebStartInstalled() with deployJava.versionCheck('1.5.0*') .
    then on systems with the plugin installed, if no 1.5.0* version is installed, the latest 1.5.0_XX will be installed before launching the app.
    (assuming the app has also <j2se version=1.5/> or equiv.)
    on systems w/o plugins installed, the latest version of java will be installed, and it will be up to javaws auto download to get 1.5.0* version.
    this could still have problems, especially on platforms not supporting the plugins (non-windows) , since code keeps checking for '1.5.0*', and installing only latest, so you would want to wrap install with something to prevent repeated attempts to install:
    if (deployJava.versionCheck('1.6.0+') && !deployJava.isPluginInstalled()) {
    ---- don't do any install here - ---
    /Andy

Maybe you are looking for