on 2019 Jun 14 4:01 PM
How do you make use of a structure defined in your TDC within a CBTA script?
I follow the instructions in the Test Suite - How-to Guide 2018, section 3.2.3.1 How to define a TDC. Example 2 on page 30 details creating a TDC with a data structure. The example involves running transaction VA01 and wanting to fill in the material and quantity on multiple rows of the table. All of this works a documented.
The problem is when I add the TDC to my test configuration and run the Test Data Assignment Wizard. The last screen allows you to map CBTA parameters to TDC fields. When I try to map a parameter for one cell on the VA01 screen to the TDC structure I get an error.
Any ideas or suggestions? I assume this can be done since SAP documented adding a structure to a TDC for CBTA. But they don't, as far as I can find, documented how to use this in CBTA.
Request clarification before answering.
Hi Rick,
Did you find any solution to your question? Even I am facing the same issue. If you find any, please comment here
Regards
Janakiram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rick,
Currently as I understand there is no option to handle structured parameter within CBTA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Aj,
Thanks for responding. The error I get mapping in the Test Data Assignment Wizard is "Structured TDC parameter I_STRUCTURE doesn't fit to unstructured TC parameter TABLECELL_MATERIAL_0. Message No. ECATT_TDW057"
I am doing exactly what you said could not be done... mapping a unstructured CBTA parameter to the TDC structure.
All I am doing is following the example in the Test Suite - How-to Guide 2018. Section 3 is specifically about automated tests. Section 3.2.3.1 is about defining a TDC. Example one is the easy example of mapping CBTA parameters to single fields defined in the TDC. Example 2 is "Define a complex TDC with data for multiple line items in VA01 “Create Sales Order”. I am simply trying to replicate the example SAP started here. I want to create one variant that will fill in multiple entries in a table such as VA01 with multiple material and quantity entries. If you can use a structure in TDC then why did SAP document exactly that?
So if you can't map an unstructured CBTA parameter to a structured TDC parameter then how do you create a structured parameter in CBTA?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Can you please specify the error you are experiencing. Do you mean assigning the structure parameter of TDC to the non structure parameter of CBTA ? If that's the case then you cannot map structure parameter.
If its mapping mapping of parameters of TDC to CBTA then you have many options like mapping manually one to one or based on data type etc. This should be quite simple process.
Thanks,
Aj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
30 | |
10 | |
8 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.