Test Data Gerneration for  BAPI   "BAPI_PO_CREATE1"

Hi All,
We need to debug the   BAPI  "BAPI_PO_CREATE1"  in ECC(6.0) , since we need to test data we tried to use the Report
"FBGENDAT"  and we set the parametes FBGENDAT  to 'X' in the  SU01  also. but we are not able to get the test data in ECC for the  BAPI.
Can any one know what would be the problem
Regards
Channappa Sajjanar

Hi Channappa,
Please follow the steps described under the chapter FBGENDAT:
http://wiki.sdn.sap.com/wiki/display/SRM/Shoppingcarttransfer
and go through the steps of the note 539978 again.
Important that you:
- execute the report FBGENDAT with the parameter A or B, and fill the function name BAPI_PO_CREATE1 into the input field
- check if indeed you have set the FBGENDAT=X for the RFC user.
Regards,
Peter

Similar Messages

  • Test Data Required for Bapi's

    Hello All,
    I am a newbie to SAP. 
    I have been tasked with finding the test data for a few BAPi's but have been unable to do so on my own.
    I have tried using the respective transactions to find valid test data and have looked at all the imports, tables in the given bapi but have been unable to find the required data.
    I am working on ECC 6.0.
    I ask all the learned folk out here to please lend your expertise.
    The list of BAPI's are :-
    1. BAPI_FUNCLOC_GETLIST
    2. BAPI_CONTROL_RECEPIE_GET_LIST
    3. BAPI_PROCORDCONF_GET_HDR_PROP
    4. BAPI_PROCORD_GET_LIST
    Edited by: aashrith on Nov 13, 2011 5:03 PM

    I suspect that they want you to build some test data rather than find some.  And for what you need, there is a lot of master data required.  It may or may not be there already, but the task you have defined is not that simple as one or two posts would be required.  I would google "SAP PPPI test data" or something similar.  You will probably find simple lists of tasks to build a sample Control Recipe or Process Order.
    Regards,
    Mike

  • Test Data generator for oracle?

    Hi again,
    I found a long list of "Test data generators" for oracle by google.Is there anybody there to use some specific product and have nice experience? I have limited time to test them.
    -Your help will be so appreciated.

    The Oracle provided dbms_random package can be used to help generate test data.
    I have found that most test data generation programs are not that useful for generation data in an rdbms environment.
    HTH -- Mark D Powell --

  • Test data generator for Oracle database

    Hello.
    I'm a student of Computer Engeneering in Poland. I've recently written simple application that can help people to populate database with some simple test data (appliation works only on relational database).
    this is link to website: http://testdatagenerator.jak.pl/
    Requires: .NET Framework 2.0 and ODP.NET
    Every feedback is welcome!

    Yes, I know about it...
    In Firefox you can easily close the ad (in IE it's a little bit difficult).
    Here is direct link to installer (if someone has a problem to handle with ads ):
    http://metis.weia.po.opole.pl/~d51422/generatorOracle/setup_ml.exe
    (both EN and PL version)

  • How to create a data filter for BAPI used in a Distribution Model ?

    I am trying to create IDOC's for a QM inspection plan via message type QPMK in ECC 6.0. When creating the new message type in the Distribution Model, it forced me to use a BAPI (MasterInspectionChar) rather that just the message as I have done in the past. In order to ensure that only IDOC's related to a specific plant and material type get sent out, I was trying to create a filter.
    I am able to get into a 'Change Filter' dialog by double clicking 'No data filter set' under the node 'MasterInspectionChar.SaveReplica'. However, an attempt to highlight anything on this dialog and clicking button 'Create filter group' results in msg. 'Select node: Content-dependent parameter filtering'.
    Online help led me in a different direction, one thread led me to believe I needed to create a table entry for the filter in table TBD16 via BD81 for later attachment to the BAPI in the Distribution Model. Before this, I created two Z* ALE Object Type records for plant and material type in table TBD11 via BD95 for what I thought would provide a lookup back in BD81 for creation of a new filter record, but these objects are not found. Per the help, I am also unclear as to whether I would need to set up Receiver determination or Parameter filtering, nor where to make this step in the configuration happen?
    Can anyone point me back in the correct direction to get a data filter set up for this BAPI within the Distribution Model ?
    Thanks - Mike

    Just to clarify, what I am having trouble with is finding where exactly to plug in the name of the plant to be filtered? If using a message type such as MATMAS in a distribution model, it is very straight forward to navigate down from the 'Data filter active', and assign a value to whatever field you wish to filter via the 'List of Values'.  But in this example, message type QPMK required use of the BAPI MasterInspectionChar, and therefore the different method in creating the filter. 
    I cannot find similar functionality when navigating the BAPI related row, for MasterInspectionChar. The 'Change Filter' dialog popup displays a row for 'Container' and then 3 more rows containing 'BAPI structure...'.   Clicking the 'Attribute' checkbox on any of these rows sets 'Data filter active' as a node under the BAPI.  Double clicking the 'Data filter active' brings me back into the same dialog, and selecting any row with an attempt at this point to create a filter results in the 'Select node: content-dependent parameter filtering' warning.  Is this warning occuring because of missing configuration?
    Thanks - Mike

  • Transporting BAPi 's Test Data Directory(like Variants), How?

    Hi Experts,
    I hv created some Test Data Directory elements for BAPi, in DEV, so, now, I wanna to move them to TEST system!
    Pls. let me know,
    1 - How to get it done? Is there any SAP prog./Transaction/Menu path?
    Thank you,

    Hi,
    In DEV system:
    As usual, I entered some inputs in FM screen, then Saved-Floppy them, the system prompted me, to give some name, I hv given <b><i>my_s_cust_#_1000000</i></b> name. So, its stored in TEST DATA DIRECTORY. I hv been used it from   TEST DATA DIRECTORY for my trials.
    So, now, I wanna to move my_s_cust_#_1000000 to TEST system, How?
    Hope U got it!
    thanq.

  • Debuging mapping - error : Could not find test data for target operators ?

    Hello, Please help me.
    I use Oracle Warehouse Builder 10gR2.
    I created a cube with two dimensions.
    I debugged the mappings of these two dimensions then viewed their data after deployment.
    I tried to debug the mapping of the cube, and got the error: Could not find test data for all source and target operators.
    For source objects exist test data but for the target operator (cube_out) logically we do not need test data !!!! .
    But the error is here: Could not find test data for target operators. Why ??
    How to configure or explain to owb that the target operator do not have test data ????
    I need your help.
    thank you in advance.

    Sorry, I can not understand your approach ?
    I explain you in detail : I work in ROLAP.
    I have two dimensions : DIM_1 and DIM_2 linked with the cube (Fact_table).
    I have three mappings : MAP_DIM1, MAP_DIM2, MAP_CUBE.
    For the MAP_CUBE, I have source operator : VIEW_IN and Target operator : CUBE_OUT.
    I could see the data dimensions : DIM_1 and DIM_2 after debugging and Deployment in the OLAP schema.
    I tried debugged the mapping: MAP_CUBE so I got the error: Could not find test data for all source and target operators.*
    thank you for help.

  • How to creat Test Data Directory

    Hi Experts,
    I want to create a TEST DATA DIRECTORY for the following function module CLOI_CHANGES_UPL_31. How to create this?
    Actually now i have some process order numbers. Using this how to create the test data directory??
    Plz guide this.
    Point will be sure.
    Mohana

    Hi Mohana,
          Test data directory is similar to variants in reports.
          After executing the function module give some input and click the save button . It will prompt a name . Give the name and click enter. So this test data is saved in the test data directory.
       So that you need not not give the test input again and again. you can simply click the test dat directory and select your test data .
    Regards,
    Charumathi.B

  • Test data import

    Hi Friends,
    is there a way to install or import some test data in a new ECC 6.0 system, like material, customer etc?
    Or better, are test data available for this?
    It is no Ides installation.
    Thanks in advance
    Jimbob.

    Hi,
    What you can do is either do it via eCATT or the better option is get the data into BC-Sets or change requests and move into your system.
    Of course the condition is to get a system with such data - just try any of the IDES boxes and it should have.
    Regards, Dibya

  • Test Data Directory

    Hi All,
    I have a requirement in which I have to test some function modules using the standard SE37 test functionality.
    Below is my requirement
    1) The test data for the input parameters for these functions is present in flat files.
    2) I have to read the data in the flat files and load into the parameters and then update the test data directory for the function modules
    Is there any standard function modules that upload parameter data to Test data directory? There are some functions like SFCS_FA_PARAMETER_GET in package SEUJ. But I am not sure how to use them.
    If anyone has any idea on how to save the data to test directories, it will be of great help.
    Thanks,
    Anand

    Just <b>enter the values and press save</b>.It will ask for comments enter some name.
    When u execute teh FM next time u can take the values from the directory.
    Make sure that if u r making some changes in the FM then teh test data wont be available.
    reward if this helps.

  • How to get test data for BAPI_PO_CREATE?

    Hi friends,
    can anybody please tell me how to generate the test data  for BAPI_PO_CREATE?

    Hi swetha,
    Hi,
    You could test this scenario with using the Test Message option from RWB.
    Or else
    You could design the scenario to get the response from BAPI.
    i.e BAPI to XI to File or any other application that will be easily avaialble.
    But you need receiver system for testing.
    Refer the below link it may help you .
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    Regards
    Naveen.

  • SharePoint PPS 2013 Dashboard Designer error "Please check the data source for any unsaved changes and click on Test Data Source button"

    Hi,
    I am getting below error in SharePoint PPS 2013 Dashboard Designer. While create the Analysis Service by using "PROVIDER="MSOLAP";DATA SOURCE="http://testpivot2013:9090/Source%20Documents/TestSSource.xlsx"
    "An error occurred connecting to this data source. Please check the data source for any unsaved changes and click on Test Data Source button to confirm connection to the data source. "
    I have checked all the Sites and done all the steps also. But still getting the error.Its frustrating like anything. Everything is configured correctly but still getting this error.
    Thanks in advance.
    Poomani Sankaran

    Hi Poomani,
    Thanks for posting your issue,
    you must have to Install SQL Server 2012 ADOMD.Net  on your machine and find the browse the below mentioned URL to create SharePoint Dashboard with Analysis service step by step.
    http://www.c-sharpcorner.com/UploadFile/a9d961/create-an-analysis-service-data-source-connection-using-shar/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • How to generate test data for all the tables in oracle

    I am planning to use plsql to generate the test data in all the tables in schema, schema name is given as input parameters, min records in master table, min records in child table. data should be consistent in the columns which are used for constraints i.e. using same column value..
    planning to implement something like
    execute sp_schema_data_gen (schemaname, minrecinmstrtbl, minrecsforchildtable);
    schemaname = owner,
    minrecinmstrtbl= minimum records to insert into each parent table,
    minrecsforchildtable = minimum records to enter into each child table of a each master table;
    all_tables where owner= schemaname;
    all_tab_columns and all_constrains - where owner =schemaname;
    using dbms_random pkg.
    is anyone have better idea to do this.. is this functionality already there in oracle db?

    Ah, damorgan, data, test data, metadata and table-driven processes. Love the stuff!
    There are two approaches you can take with this. I'll mention both and then ask which
    one you think you would find most useful for your requirements.
    One approach I would call the generic bottom-up approach which is the one I think you
    are referring to.
    This system is a generic test data generator. It isn't designed to generate data for any
    particular existing table or application but is the general case solution.
    Building on damorgan's advice define the basic hierarchy: table collection, tables, data; so start at the data level.
    1. Identify/document the data types that you need to support. Start small (NUMBER, VARCHAR2, DATE) and add as you go along
    2. For each data type identify the functionality and attributes that you need. For instance for VARCHAR2
    a. min length - the minimum length to generate
    b. max length - the maximum length
    c. prefix - a prefix for the generated data; e.g. for an address field you might want a 'add1' prefix
    d. suffix - a suffix for the generated data; see prefix
    e. whether to generate NULLs
    3. For NUMBER you will probably want at least precision and scale but might want minimum and maximum values or even min/max precision,
    min/max scale.
    4. store the attribute combinations in Oracle tables
    5. build functionality for each data type that can create the range and type of data that you need. These functions should take parameters that can be used to control the attributes and the amount of data generated.
    6. At the table level you will need business rules that control how the different columns of the table relate to each other. For example, for ADDRESS information your business rule might be that ADDRESS1, CITY, STATE, ZIP are required and ADDRESS2 is optional.
    7. Add table-level processes, driven by the saved metadata, that can generate data at the record level by leveraging the data type functionality you have built previously.
    8. Then add the metadata, business rules and functionality to control the TABLE-TO-TABLE relationships; that is, the data model. You need the same DETPNO values in the SCOTT.EMP table that exist in the SCOTT.DEPT table.
    The second approach I have used more often. I would it call the top-down approach and I use
    it when test data is needed for an existing system. The main use case here is to avoid
    having to copy production data to QA, TEST or DEV environments.
    QA people want to test with data that they are familiar with: names, companies, code values.
    I've found they aren't often fond of random character strings for names of things.
    The second approach I use for mature systems where there is already plenty of data to choose from.
    It involves selecting subsets of data from each of the existing tables and saving that data in a
    set of test tables. This data can then be used for regression testing and for automated unit testing of
    existing functionality and functionality that is being developed.
    QA can use data they are already familiar with and can test the application (GUI?) interface on that
    data to see if they get the expected changes.
    For each table to be tested (e.g. DEPT) I create two test system tables. A BEFORE table and an EXPECTED table.
    1. DEPT_TEST_BEFORE
         This table has all EMP table columns and a TEST_CASE column.
         It holds EMP-image rows for each test case that show the row as it should look BEFORE the
         test for that test case is performed.
         CREATE TABLE DEPT_TEST_BEFORE
         TESTCASE NUMBER,
         DEPTNO NUMBER(2),
         DNAME VARCHAR2(14 BYTE),
         LOC VARCHAR2(13 BYTE)
    2. DEPT_TEST_EXPECTED
         This table also has all EMP table columns and a TEST_CASE column.
         It holds EMP-image rows for each test case that show the row as it should look AFTER the
         test for that test case is performed.
    Each of these tables are a mirror image of the actual application table with one new column
    added that contains a value representing the TESTCASE_NUMBER.
    To create test case #3 identify or create the DEPT records you want to use for test case #3.
    Insert these records into DEPT_TEST_BEFORE:
         INSERT INTO DEPT_TEST_BEFORE
         SELECT 3, D.* FROM DEPT D where DEPNO = 20
    Insert records for test case #3 into DEPT_TEST_EXPECTED that show the rows as they should
    look after test #3 is run. For example, if test #3 creates one new record add all the
    records fro the BEFORE data set and add a new one for the new record.
    When you want to run TESTCASE_ONE the process is basically (ignore for this illustration that
    there is a foreign key betwee DEPT and EMP):
    1. delete the records from SCOTT.DEPT that correspond to test case #3 DEPT records.
              DELETE FROM DEPT
              WHERE DEPTNO IN (SELECT DEPTNO FROM DEPT_TEST_BEFORE WHERE TESTCASE = 3);
    2. insert the test data set records for SCOTT.DEPT for test case #3.
              INSERT INTO DEPT
              SELECT DEPTNO, DNAME, LOC FROM DEPT_TEST_BEFORE WHERE TESTCASE = 3;
    3 perform the test.
    4. compare the actual results with the expected results.
         This is done by a function that compares the records in DEPT with the records
         in DEPT_TEST_EXPECTED for test #3.
         I usually store these results in yet another table or just report them out.
    5. Report out the differences.
    This second approach uses data the users (QA) are already familiar with, is scaleable and
    is easy to add new data that meets business requirements.
    It is also easy to automatically generate the necessary tables and test setup/breakdown
    using a table-driven metadata approach. Adding a new test table is as easy as calling
    a stored procedure; the procedure can generate the DDL or create the actual tables needed
    for the BEFORE and AFTER snapshots.
    The main disadvantage is that existing data will almost never cover the corner cases.
    But you can add data for these. By corner cases I mean data that defines the limits
    for a data type: a VARCHAR2(30) name field should have at least one test record that
    has a name that is 30 characters long.
    Which of these approaches makes the most sense for you?

  • Creating test data for a problem

    Hi,
    I've been using this forum for a few months and it has been extremely useful. The problem is that I actually have no idea how to create test data for a specific problem. I've tried googling but to no avail. I have had other users create test data for some of my problems using a 'WITH' statement but it would be great if someone could explain the logic behind it and how to approach a specific problem where in the query I use multiple tables.
    I know it's probably a stupid question and I'm relatively new to sql but it would help a lot if I understood the process.
    Banner:
    Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE 11.2.0.2.0 Production"
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production

    Look at the point 3 and 4. You can also follow other points too.
    Please consider the following when you post a question. This would help us help you better
    1. New features keep coming in every oracle version so please provide Your Oracle DB Version to get the best possible answer.
    You can use the following query and do a copy past of the output.
    select * from v$version 2. This forum has a very good Search Feature. Please use that before posting your question. Because for most of the questions
    that are asked the answer is already there.
    3. We dont know your DB structure or How your Data is. So you need to let us know. The best way would be to give some sample data like this.
    I have the following table called sales
    with sales
    as
          select 1 sales_id, 1 prod_id, 1001 inv_num, 120 qty from dual
          union all
          select 2 sales_id, 1 prod_id, 1002 inv_num, 25 qty from dual
    select *
      from sales 4. Rather than telling what you want in words its more easier when you give your expected output.
    For example in the above sales table, I want to know the total quantity and number of invoice for each product.
    The output should look like this
    Prod_id   sum_qty   count_inv
    1         145       2 5. When ever you get an error message post the entire error message. With the Error Number, The message and the Line number.
    6. Next thing is a very important thing to remember. Please post only well formatted code. Unformatted code is very hard to read.
    Your code format gets lost when you post it in the Oracle Forum. So in order to preserve it you need to
    use the {noformat}{noformat} tags.
    The usage of the tag is like this.
    <place your code here>\
    7. If you are posting a *Performance Related Question*. Please read
       {thread:id=501834} and {thread:id=863295}.
       Following those guide will be very helpful.
    8. Please keep in mind that this is a public forum. Here No question is URGENT.
       So use of words like *URGENT* or *ASAP* (As Soon As Possible) are considered to be rude.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to pass the condition vallues in bapi BAPI_PO_CREATE1 for items as well

    HI,
    where to pass the condition value table in bapi BAPI_PO_CREATE1 item level as well as header level
    Like Frieght charges,discounts, basic price ,VAT,CST etc.
    Is there any BAPI for GR tcode MIGO.
    Pl send along with simple examples .
    Your answeres will be rewarded.

    Pass the condition value to the following parameters.
      POCONDHEADER                 =
      POCONDHEADERX                =
      POCOND                       =
      POCONDX                      =
    For GR u case use the following BAPI.
    GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order
                         02 - MB31 - Goods Receipts for Prod Order
                         03 - MB1A - Goods Issue
                         04 - MB1B - Transfer Posting
                         05 - MB1C - Enter Other Goods Receipt
                         06 - MB11
    Domain: KZBEW - Movement Indicator
         Goods movement w/o reference
    B - Goods movement for purchase order
    F - Goods movement for production order
    L - Goods movement for delivery note
    K - Goods movement for kanban requirement (WM - internal only)
    O - Subsequent adjustment of "material-provided" consumption
    W - Subsequent adjustment of proportion/product unit material
             call function 'BAPI_GOODSMVT_CREATE'
               exporting
                   goodsmvt_header             = gmhead
                   goodsmvt_code               = gmcode
                 *   TESTRUN                     = ' '
              IMPORTING
                  goodsmvt_headret            = mthead
             *   MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
               tables
                 goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
                return                      = errmsg.

Maybe you are looking for

  • Why did Apple change the color labels of folders in 10.9.2?

    What's the purpose of a dot when I can't even see them? THE IDEA is to highlight a folder so you can easily find it. I'm all for aesthetics but this is a change of practical design. It's annoying.

  • Content conversion in Sender JMS channel

    Hello All, My scenario is JMS to Proxy. SAP PI receives a flat file from JMS application. Can any one please help us on converting flat file to XML conversion within sender JMS adapter Thanks&Regards, Moorthy

  • Variable to increase filename

    In SignalExpress (great product!) we use the "save as next available filename" extensively, but sometimes (most of the time in our case) it would be useful to be able to adjust the number that SE uses to increase the filenamenumber, EG: if we save sa

  • HT3825 Sony Nex 5 Raw, 10.6.8 and iPhoto 09

    I am very frustrated.  According to this post, I should be able to use the Digital Camera Raw3.9 updater on 10.6.8. I have iPhoto 09.  It tells me I need 'iPhoto 9'.  iPhoto 11 (v 9) will not run on 10.6.8, but only on 10.7.  This doesn't make sense.

  • Camcorder connection problem

    I connected my Sony DCR-HC21 mini DV tape camcorder to my MacBook Pro with a USB cable and iMovie does not recognize it. Nothing happens. How do I import? Do I need a different cable?