Recording procedure of ME21N

Hi All, I am trying to write transfer data of purchase order from legasy system to SAP through BDC. Please help me how to record the TCode ME21N and modify the recorded code. please give the code details.
Thanks & Regards.

Hi ,
better to use BAPI to create Purchase Orders .
BAPI_PO_CREATE/BAPI_PO_CREATE1
Please see the documentation or search on this Forum for the sample Codes.
Regards
Prabhu Peram

Similar Messages

  • URGENTLY need help regarding to recording

    Hello all,
    I have a problem regarding to using the microphone on my ZEN NEEON GB.
    I use it to record my uni'versity lectures and now i'm missing almost all the lectures.
    The problem is that, when I start recording it shows the timer and everything seems working fine, I press the pause and hopefully it's finished but when i connect it to my PC nothing is recorded although a big file has been created sometimes about 20MB.
    I couldn't find any step-by-step recording procedure on the manual.
    I do appreciate your kind advise regarding this issue, as i'm missing my lectures.
    regards,

    I think you may be in for a bit of hard work and possible complications if you have no idea on how to set up a server.  It would be more realistic, especially for security purposes for an IT person who is knowledgeable in servers to set it up for the university - seriously!
    Anyways, I suppose it all depends on the type of server, is it a windows based server or will it be linux??
    I did a google search for 'configuring a server' and came up with these links:
    http://www.google.com.au/search?q=configuring+a+server&ie=utf-8&oe=utf-8&aq=t&rls=org.mozi lla:en-GB:official&client=firefox-a
    As you can see, lots of information, but it depends on the  type of server.
    Once the server is set up, you would have information on how to upload the site to the server (same as any webhost) and you use those details to enter into the Remote site window.
    I'm afraid I'm not familar with setting up servers, so that's the best help I can offer  :-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    Book: Ultimate CSS Reference
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap

  • Multiple Material Numbers to use one Info Record

    I have several material numbers that I have recently set up as Subcontracting special procurement. All of these numbers use one quote from our vendor. How do I assign multiple numbers to a single info record?
    Thanks for your assistance!!

    SAP knows 2 kind of subcontracting scenarios, a purchasing route and a production route.
    in the purchasing subcontract scenario you order the finished material with item category L, you can see the components in the purchase order and you consume the components when you post the goods receipt to  this purchase order.
    in the production route, you create production orders to "manufacture" the finished and to consume the components, the purchase order is only to procure the service. you do goods receipt and cosumption in reference to the production order, and you do a goods receipt for the service in reference to the purchase order.
    if the info record is without material number,then you cannot have a permanent  link to a material if you use the purchasing route.
    Usually SAP will propose the info record as source when you assign and process requisitions in ME57. I doupt that SAP will propose info records without material number for requisition with material number. so the only chance to assign such info record to a PO to get the price defaulted would be manual entry of info record number in ME21N (F4 search help is available)
    in the production subcontracting process you can enter the info record number in the recipe, so you can establish a permanent link in master data. So SAP exactly knows which info record price to pull for the service orders. and in this process you can enter one info record number in several recipes.

  • Can info record made mandatory for PO-Creation

    Hi folks,
    Requirement : PO should not be created if inforecord doesn't exist.
    How can this be acomplished ?
    Regards.

    Hi,
    Why you require to make the info record mandatory?
    Following may be some settings to be done -
    1) If you want to make info record mandatory (whether the conditions are valid or not), make the info record fied in ME21N as mandatory.
    2) If you want that the users should not be able to enter the price manually in the PO, then make the conditions PB00 / PBXX as automatic (not changeable manually). Enter those details in info record, from which the same will be picked in the PO & will be greyed out (not changeable manually). Here, you can bifurcate the roles of the buyers for PO creation & Info Record maintenance.
    Regards,
    Prashant

  • BDC recording (MIR7) using SM35

    Hi all,
    I used the BDC for recording actions on Transaction MIR7. After recording, I try to process again the recorded procedure. However, the error of subrc return 1001 and have the message " Field INVFO-ZFBDT . is not an input field " When I process the transaction, it  requires me to enter the field, but when I run that in the recorded mode, such error comes out. Can anyone suggest me a solution to solve this problem?
    Number           1
    Transaction      MIR7
    SY-SUBRC     1,001
    Messages                     Field INVFO-ZFBDT . is not an input field
    Regards,
    Mandy

    hey mandy,
    well i havent worked for recording on transaction mir7 so i wud not  be able to tell u about the fields nd all present there.
    but i wud suggest that u do the recording again on "shdb" and then try and pass all the mandatory values.
    take care
    reward if helpful in any way

  • Regarding Updating Unit of Measure using Recording

    Hi all,
    I have a requirement where I need to update the Unit of Measure values in the transaction MM02 using recording procedure.
    But I am getting problem with table control, if we have more than 11 values we need to use page down which is not working in recording.
    Can anyone please suggest me how to resolve this issue???
    Regards
    Haritha

    Hi Haritha,
    do like this(this example is just for your reference)
        IF lv_line > '11'.
          PERFORM bdc_dynpro      USING 'SAPLCOIH' '3000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=P+'.
          PERFORM bdc_dynpro      USING 'SAPLCOIH' '3000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=ENT1'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'RESBD-VORNR(02)'.
          lv_line = '02'.
        ENDIF.
    <b>Reward points for helpful answers</b>
    Satish

  • BDC Recording for ALV Grid in containers

    Hi All,
    I have to record for BDC on an ALV Grid (OOABAP). I am not able to record selection of rows in ALV grid.How do i select rows in the grid dynamically that is while recording.
    Thanks n Regards,
    Santosh Kotra.

    Usually it is not a good idea to do recording over a transaction which includes frontend gui controls, such as, tree controls and ALV controls, for this exact reason, among others.  Try to use a older version of the transactoin if possible or a BAPI.  For example, if you are trying to do a recording over say  ME21N, it is recommended to do the recording over the non-enjoy transaction,  ME21,  or simply use the BAPI.
    Regards,
    Rich Heilman

  • Loop to match a record

    Hi
    I have a one dimensional table.
    The records in the Table are
    ABC1234
    ABC123
    ABCD1234
    ABCD123
    I have a record that I have to check against the above table
    the record could be ABC1234556
    so I start checking ABCD1234556 --> no record found,
    so I substring it to ABCD123455 --> no record found,
    so I substring it to ABCD12345 --> no record found,
    so I substring it to ABCD1234 --> record found
    come out of the loop
    i want to make it a procedure that will help me loop thru the record
    procedure can take the record as a paramater

    The idea is that you start out by defining a result set of all your possible matches:
    WITH data AS (
    SELECT 'ABCD1234556' AS input
      FROM dual
    SELECT substr(input,1,level) match
      FROM data
    CONNECT BY level <= length(input);A
    AB
    ABC
    etc.
    ABCD1234556
    Then join that against your table
    WITH data AS (
    SELECT 'ABCD1234556' AS input
      FROM dual
    matches AS (
    SELECT substr(input,1,level) match
      FROM data
    CONNECT BY level <= length(input)
    SELECT t.your_column, length(t.your_column)
      FROM your_table  t,
           matches  m
    WHERE t.your_column = m.match;This way you are able to take advantage of an index on your_column. But now you only want the longest record, right? So you use the window function max/keep, specifying that you want the first record, order by length(m.match) descending.
    WITH data AS (
    SELECT 'ABCD1234556' AS input
      FROM dual
    matches AS (
    SELECT substr(input,1,level) match
      FROM data
    CONNECT BY level <= length(input)
    SELECT max(t.your_column) keep (dense_rank first order by length(m.match) desc)
      FROM your_table  t,
           matches  m
    WHERE t.your_column = m.match;

  • Urgent[BDC Recording]

    I need to write a program to execute the BDC.
    I need the Recording Procedure also
    T .code CN21.
    Need to create the Netwok.
    Network contains many Activites(Tab Ctrl) & 1 Activity contains Many Components ( Tab Ctrl).
    Any one help me to this Query

    Hi,
    Look at any record which is already there in the database using CS23 transaction code, and try to create the same record using the Transaction code CS21. then start the recording. Use the transaction code SHDB to do the recording,  Do the recording based on the record using CS23 transaction code, then SAVE the recording
    Regards
    Sudheer

  • Call transaction in test mode

    Dear Folks!
    Is there a way to do something like a call transaction in test mode?
    What I need is to check the data of the file and return a log of the errors that this file would give if executed in call transaction, before executing it for real in the production environment.
    Thanks in advance for any help.
    Kind Regards,
    Gilberto Li

    Hello Gilberto
    Yes, it <i>is possible</i> to run transaction in test mode using <b>eCATT</b>.
    Here is the procedure for transaction ME21N (please note that this transaction has a "CHECK" button to validate the input data):
    - First I created an eCATT testscript and chose pattern TCD (Record) with transaction ME21N.
    - Within the recorded transaction I only entered the vendor and then pushed the CHECK button (-> popup appears with all messages)
    - Next I cancelled the transaction without saving the purchase order and saved the recording within the testscript
    - Then I surrounded the TCD recording with a MESSAGE...ENDMESSAGE block:
    MESSAGE ( MSG_1 ).
      TCD ( ME21N , ME21N_1 ).
    ENDMESSAGE ( E_MSG_1 ).
    Now if you run the testscript you will see all the messages collected thus far within the recorded transaction in the<b> eCATT log</b>.
    I admit that this approach will not work for all transactions. However, it may be useful for testing many transactions.
    Regards
      Uwe

  • Error while creating delivery using ME2O

    Hi ,
    We are using ME2O to creat delivery for subcontracting . But I click on "Create delivery" button there is an error message coming.
    The error is as following:
    Global official numbering: Input parameter incomplete
    Message no. ICC_NUMBERING770
    If anyone has any solution for it could you please let me know.
    Thanks in advance.
    Sonali.

    Then make sure you have defined the LB in purchiasng for sub contract order
    Or Goto this document and check that you have did all the config
    External Subcontracting: Configuration Guide
    1     Purpose
    This configuration guide provides the information you need to set up the configuration of this building block manually.
    2     Preparation
    Before you start installing this building block, you must install prerequisite building blocks. For information on the prerequisite building blocks, see the Quick Guide for installing Chemicals (located on the DVD in BBLibraryDocumentationChem_Quick_Guide_EN_US.doc).
    3     Configuration
    3.1     Defining Shipping Data for Plant BP01
    Use
    The purpose of this activity is to maintain the shipping data for the supplying plant. (Shipping of the components)
    Here you maintain the customer number of the receiving plant. This customer number is used in SD shipping processing to identify the goods recipient (ship-to party) if provision has been made in Customizing for a stock transfer to be carried out with an SD delivery
    Procedure
    1.     Access the activity using one of the following navigation options:
    IMG Menu     Materials Management à Purchasing à Purchase Order à Set Up Stock Transport Order à Define Shipping Data for Plants
    Transaction Code     SPRO
    2.     On the Change View “Stock Transport Order”: Overview screen, select the production plant BP01 and choose Details.
    3.     On the Change View “Stock Transport Order”: Details screen, make the following entries:
    Field name     Description     User action and values     Comment
    Plant          BP01     
    Customer no. - plant               
    Sales organization          BP01     
    Distribution channel          03     Intercompany
    Division for intercompany billing          01     Product division 01
    Language key          EN     English
    4.     Save your settings.
    Result
    The shipping data for plant BP01 has been set.
    3.2     Defining Delivery Type for Subcontracting
    Use
    The purpose of this activity is to assign Delivery Type for Subcontracting. For the supply of the input materials to be provided to the vendor (subcontractor) with respect to subcontract purchase orders, you have the option of creating an SD delivery from the list of stocks for a subcontractor.
    In this step, you can specify a delivery type for the delivery of materials to be provided to the subcontractor.
    Procedure
    1.     Access the activity using one of the following navigation options:
    IMG Menu     Materials Management &#61664; Purchasing&#61664; Purchase Order &#61664; Set Up Subcontract Order
    Transaction Code     SPRO
    2.     On the Change View “Subcontracting Data: Delivery Type f. Provision of Material” screen choose New Entries (F5) and make the following entries:
    Field name     Description     User action and values     Comment
    Supplying plant          BP01     
    Del. type f. subcon.          LB     SAP Standard
    3.     Save your settings.
    Result
    The delivery type LB has been assigned.
    3.3     Assigning checking rule
    Use
    The purpose of this activity is to assign the checking rule B = SD-Delivery to the MRP-Group 0000. This rule defines the checking procedure to be used for the availability check.
    Procedure
    1.     Access the activity using one of the following navigation options:
    IMG Menu     Production à Material Requirements Planning  à MRP Groups à Carry out overall maintenance of MRP-Groups
    Transaction Code     SPRO
    2.     On the MRP-Group View choose Plant BP01 and MRP-Group 0000.
    3.     On the View choose the Button: Check.rule dep.reqmt screen make the following entries:
    Field name     Description     User action and values     Comment
    Checking rule          B     
    4.     Save your entries.
    Result
    The checking rule B will be used for the availability check for the components during creating the LB-PO.
    3.4     Defining item category determination in deliveries
    Use
    The purpose of this activity is to maintain the item determination for the delivery type LB and the Item category group VERP. (VERB is used in material master CH-4120)
    Procedure
    1.     Access the activity using one of the following navigation options:
    IMG Menu     Logistic execution à Shipping à Deliveries à Define Item Category Determination in Deliveries
    Transaction Code     0184
    2     On the Change View “Delivery item category determination”: Overview screen copy the entry LB/NORM to LB/VERP. (The item category LBN will be found)
    3     Save your settings.
    Result
    For materials with item category groups VERP you can create a delivery.
    3.5     Assigning Picking Locations
    Use
    The purpose of this activity is to assign the picking locations to the combinations of shipping point and storage condition for every plant.
    Procedure
    1.     Access the activity using one of the following navigation options:
    IMG Menu     Logistics Execution à Shipping à Picking  à Determine Picking Location  à Assign Picking Locations
    Transaction Code     SPRO
    2.     On the Picking location determination screen, make the following entries:
    Field name     Description     User action and values     Comment
    ShPt     Shipping Point     BP01     Shipping point BP01
    Plnt     Plant     BP01     
    SC     Shipping Condition     01     
    Sloc     Storage Location     0001     
    3.     Maintain another entry with the following values:
    Field name     Description     User action and values     Comment
    ShPt     Shipping Point     BP01     Shipping point BP01
    Plnt     Plant     BP01     
    SC     Shipping Condition     02     
    Sloc     Storage Location     0002     
    5.     Save your settings.
    Result
    Storage locations have been assigned.
    3.6     Searching Strategy for DL
    Use
    The purpose of this activity is to allocate the search procedure SD0001 to the order type DL.
    Procedure
    1.     Access the activity using one of the following navigation options:
    IMG Menu     Logistic General &#61664; Batch Management &#61664; Batch Determination and Batch Check &#61664; Batch Search Procedure Allocation and Check Activation &#61664; Allocate SD-Search Procedure/Activate Check
    Transaction Code     SPRO
    2.     Copy any entry for Sales Org. BP01, Distr. Channel 03 and Division 01.
    3.     Change the Sales Doc.Type to DL and save your entry.
    4.     Choose Save.
    Result
    The search strategy SD0001 has been assigned to the sales DL.
    3.7     Activating Automatic Batch Determination for Delivery Item Categories
    Use
    The purpose of this activity is to allocate the automatic batch determination for appropriate delivery item categories.
    Procedure
    1.     Access the activity using one of the following navigation options:
    IMG Menu     Logistics – General &#61614; Batch Management &#61614; Batch Determination and Batch Check &#61614; Activate Automatic Batch Determination in SD
    Transaction Code     SPRO
    2.     On the Choose Activity screen select Activate Automatic Batch Determination for Delivery Item Cat and choose Choose.
    3.     On the Change View “Automatic Batch Determination for Delivery Item Category” screen, make the following entries:
    ItCa     Description     AutBatchDt
    LBN     "Mat. Provided" Item     X
    4.     Choose Save.
    Result
    The automatic batch determination for delivery item categories has been activated for appropriate item categories.
    4     Master Data
    The following activities describe the master data required for this Building Block. The steps do not describe the transactions in detail but list the relevant transaction and the corresponding master data file. For more details on using the individual transactions refer to the Online Help in the system.
    4.1     Creating Customer C-9000 for Subcontract Vendor (S-9000)
    Procedure
    1.     Access the activity using one of the following navigation options:
    SAP Menu     Logistics &#61664; Sales and Distribution &#61664; Master Data &#61664; Business Partner &#61664; Customer &#61664; Create &#61664; Complete
    Transaction Code     XD01
    2.     Refer to the following file for details of the master data required: SMB15_SD_CUSTOMER_O034_J30_Q15.txt.
    4.2     Creating Info Record CH-6120/S-9000
    Procedure
    1.     Access the activity using one of the following navigation options:
    SAP Menu     Logistics &#61664; Materials Management &#61664; Purchasing &#61664; Master Data &#61664; Info Record &#61664; Create
    Transaction Code     ME11
    2.     Refer to the following file for details of the master data required: SMB99_ME11_O250_J01_Q15.TXT.
    4.3     Creating Output Condition Record
    Procedure
    1.     Access the activity using one of the following navigation options:
    SAP Menu     Logistics &#61664; Sales and Distribution &#61664; Master Data &#61664; Output &#61664; Shipping &#61664; Create
    Transaction Code     VV21
    2.     Refer to the following file for details of the master data required: SMB99_VV21_O229_J01_Q15.TXT.
    4.4     Creating Quality Info Record
    Use
    The purpose of this activity is to create the quality Info records for subcontracting.
    Procedure
    1.     Access the activity using one of the following navigation options:
    SAP Menu     Logistics à Quality Management à Quality Planning àLogistics Master Data  à Quality Info Record: Procurement à Create
    Transaction Code     QI01
    2.     Refer to the following file for details of the master data required: SMB18_QI01_O002_Q41_Q15.TXT.
    Result
    The Q-Info record has been created.
    4.5     Change material (add or replace values on Plant data/stor1 - Plant data/stor2.)
    Use
    The purpose of this activity is to add the storage condition to the appropriate material.
    Procedure
    1.     Access the activity using one of the following navigation options:
    SAP Menu     Logistics à Materials Management &#61664; Material Master &#61664; Material &#61664; Change &#61664; Immediately
    Transaction Code     MM02
    2.     Refer to the following file for details of the master data required: SMB10_MM02_O011_P02_Q15.TXT.
    Result
    The storage condition has been added to the material master.

  • Cenvat Clearing not coming in MIRO in case of Dealer Invoice

    Hi,
    This is a scenario of purchasing from dealer wherein the exact excise duty and VAT/CST is not known while creating a Purchase Order.
    I did the following steps
    Created PO with
    One item of 5 quantity @ 1000 INR (Total Base Value = 5000 INR)
    Assigned a tax code (V3) with Nil Excise and 5 % VAT Deductible
    Did Goods Receipt (with Capture Excise Invoice Only)
    Selected MRP Indicator
    In Excise Tab at Item Level
    Changed Base Value from 5000 to 4485 INR
    Put BED as 500, ECS as 10 and SEcess as 5 INR
    Posted the Excise Invoice in J1IEX, here the Cenvat Clearing Account was credited with 4485 INR
    Now while trying to do Invoice Verification in MIRO
    Again changed the base Value from 5000 to 4485 INR and selected the same Tax Code (V3) which was used in PO
    Now the system is not considering Cenvat Clearing Account (Excise Duty) and since Excise duty is not being taken into account, the VAT is being calculated on the basis of Base Value (4485  INR) only not on the Base Value + Excise Duty
    Please give me ideas to resolve this issue
    Thanks in advance

    These are the details about the Tax Code (V3) being used and its condition record
    Procedure          TAXINN     
    Tax Code          V3     
    Desciption          Excise Nil and VAT 5%     
    Excise Duty          JMOP     0
    Set Off          JMX1     100
    EduCess          JEC1     0
    EduCess Set Off     JEX1     100
    SEduCess          JSEP     0
    SEduCess Set Off     JHX1     100
    VAT (RM) Claimable     JVRD     5

  • PR To PO Convertion Directly

    Guru
    Is it Possible to convert directly PR to PO if yes then what is confiration step required to do. without using adopt procedure in ME21N
    Pl guide me
    Thanks
    Sudhir

    Hi,
            I would like to add one more thing. For the system to be able to generate PO automatically, a vendor should be set as the fixed vendor.
           Two things need to be set in source list:
    1) Set the fixed vendor indicator for one entry, to fix the vendor.
    2)For That particular entry the Source List Usage Indicator should be set to 1 (i.e. entry relevant for MRP).
    Apart from maintaining these two settings, the other steps need to be followed as mentioned in the previous post.
    Regards,
    Chiranjib.

  • Output Type ZNEU not working for PO document type ZNB

    Hi all,
    I have copied from standard the document type ZNB, and also the output type ZNEU, (from NB and NEU), I have made and checked all the setting on NACE (condition records, procedures, output types and sequence) everything is same as standard, I have also mantained in the "Fine-Tuned Control: Purchase Order" the indicators 1 and 2 (for new and change) for ZNEU, and mantained in MN05 the entry for ZNB Doc Type with VN media=1, date/Time=4  so for me these is the only setting needed but for some reason I am not getting the message automaticaly, but if I create manually the message while creating the PO then it works fine.
    For Doc type NB and Output type NEU the system gererates correcly the message so I don't know what could be happening here.
    The reason I created these copies (ZNB and ZNEU) it's because I have a different plant in a different company code which need to issue PO's and need a different number range and also different FORM (with the logo of the other plant/Company)
    Any ideas on how to correct this??
    Regards

    The problem was that in spanish, the function partner VN and CP are PR and PR so this was confusing and the records were crossing each other, thanks to every one

  • INSTR function in where clause

    Hi,
    I need to check whether the portion of passed comma separated value is there in one of table column values, if its present then i need to fetch that record from the same table.
    Example
    table1
    col1 col2
    01 john
    02 Raj
    and i am passing '02,04,06' as a input parameter value and based on this value, i need to check in a table and get some record.
    procedure p1 (v_string varchar2)
    is
    select col1, col2
    into a, b
    from table1
    where instr(v_string,........ -- Here i need apply the logic
    end;
    output
    02 Raj
    please help me with this logic
    rds,
    Naga

    Naga wrote:
    but how to make sure INSTR('002,04', col1) >0, no value should return for this...As I showed above, enclosed both variables (v_string and column name) with your separator character.
    Nicolas.

Maybe you are looking for

  • How can I connect my new 11" air by thunderbolt to my DVI-D monitor?

    How can I connect my new 11" air by thunderbolt to my DVI-D monitor? I have seen mini-display to dvi-d, but am unsure that this will work with thunderbolt port?

  • How to Remove Credit card info on iTunes?

    hi, i would like to know how to remove my credit card info. because I used a prepaid master card and now I owe money so I want to take the credit card off. and for some reason the "None" option isn't there any more. Thanks

  • Syncing issues with iPad 2

    Here is my setup: iPAD 2 (64gb, no 3G) Windows 7 PC Everytime I connect my iPAD via USB to iTunes, iTunes keeps claiming it can't sync with it.  Reinstalled iTunes twice, same result.  ITunes wants me to restore my iPad everytime.  On the times that

  • 160GB Classic Requires Multiple Syncs

    My iPod seems to require multiple syncs, and I haven't the foggiest as to why. Here's the lowdown: 1) I recently completed a mass re-encoding of my music collection. 2) I restored my iPod in iTunes (in OS X). 3) After the restore, it automatically st

  • Oracle over to the Unixes ?

    I gather that Oracle is stopping its Windoze stay and crossing over to the Unixes . IS this true ? Where does Oracle work better : on the Unixes or on M$ Windoze ? Regards, Shyam