E-Tester (Generic programs)
Hi All,
Can we write Generic Programs in e-Tester 8.20.0526 version without e-PI(e-Tester programming interface).
Please suggest us
Thanks in Advance
Hi,
try this : go to options- > Current Script menu
in the dialog box in the left side navigate to the Results.
I guess there u will fine some relevent options...
Similar Messages
-
Not able to generate bdocs in generic program
Hi Experts,
We made a generic program to change the status of leads(order) in SAP CRM 7.0 system.
It is working fine all leads status is changing but BDocs are not generated for that changes done by generic program.
Please guide us for solution to generate the BDocs .So that We can fetch data in deltaload in BW system.
Thanks & Regards,
Arpit.Arpit,
Please look at these two points.
Are BDocs to BW generated when you change status of leads manually on Web UI/GUI? If yes then it should get generated from program as well.
In you custom program, have you done direct table updates or used functions/methods that directly update status. Then BDocs will not get generated.
Cheers,
Niraj -
I want to write a program in LabView and create an execute but I want to be able to pass test results to test stand to find it the unit pass ar fail the test then save the data to a database. How would i go about it.
What's confusing is your statement that you want to do this "without display the test stand program". You can minimize the TestStand UI to the task bar but if you don't want TestStand to be running, how can TestStand evaluate the result. Explain a little more please.
In the message body of your post, you just say you want to create a LabVIEW exe and pass the results to TestStand. What I would recomend is that instead of an exe, you create a dll and use TestStand's DLL adapter to call it and return the results. TestStand will evaluate it and do the logging. -
hi all.
i want to clear one thing that.
i have defined graphical mapping in design.
i.f a file to bapi.
so i created a graphical mapping program and in that i just need to check no of records in body witn trailer and sum of individaul amounts in body with trailer info .
if they both match then i need to set BAPI flag in reciever side as Y Otherwise N.
so just created my mapping program and tested it with only one record in body.
in this case it is sucess but when i tested the mapping program by putting two records in body (by duplicate subtree option in design mapping) .
in this case even the checking matches the flag in reciver side i.e BAPI is set to N.
so i just nee d to conform what is the way for testing mapping program in design.
waiting for u r response.
bye.
regards.
seeta ram.Hi Ram,
your this way of testing msg mapping is okay.......just check the logic of your mapping and correct it, then you will get correct output in your this scenario.....
Thanks,
Rajeev Gupta -
Perform Test in program ZTEST.(USERXXIT)
Hi,
I am calling form/endform Test from program ZTEST in to userexit
FORM USEREXIT_MOVE_FIELD_TO_VBAK.
Perform Test in program ZTEST.
UPDATE TAVRVC SET NAME = V_MNO.
ENDFORM.
but while testing/creating(VA01) it leads to shortdump/syntax error.
the syntax errors r varialbels, which i declared V_MNO as variableV_NO type C in in ZTEST program.
HOW TO AVOID this syntax error, and how to declare variables in ZTEST prog.
Thanks.
Rao.It seem the variable V_MNO is declared in ZTEST program. So its scope is within that program only. If you want the value to be conveyed back to the user exit body, from which you are calling the program, use parameters for the FORM TEST with CHANGING clause. Also you would need to declare V_MNO in the user exit with the same type as that is declared in ZTEST.
I hope this is clear. -
Bounded int beed help making a test driver program
Bounded int here's my code i want to make a test drive program
getLowerBound that returns the lower bound for the object
getUpperBound that returns the upper bound for the object
getValue that returns the current value for the object
setValue that modifies the value for the object - if the value passed to the method is within the bounds then the value can be changed, however if the value is outside the legal range then the value should not be changed
public class BoundedInt{
private static final int intLowerBound = 3;
private static final int intUpperBound = 10;
private int value;
public BoundedInt() {
this.value = 3;
public void setValue (int tempValue) {
if(tempValue < intUpperBound && tempValue > intLowerBound) {
this.value = tempValue;
public int getValue () {
return value;
public int getLowerBound () {
return intLowerBound;
public int getUpperBound () {
return intUpperBound;
this is my test drive program (i dont know if i did it right) when i compile it it gives me this error am i doing some thing wrong or i may b missing some line of code ??
import java.util.*;
public class testdriver {
public static void main(String[] args) {
Scanner scan = new Scanner (System.in);
BoundedInt b = new BoundedInt(2);
System.out.println(b);
out put : testdriver.java:30: cannot find symbol
symbol : constructor BoundedInt(int)
location: class BoundedInt
BoundedInt b = new BoundedInt(2);1) When you post code, use the CODE button or [code] and [/code] tags to preserve formatting and make your code readable. Copy/paste from your original source in your editor, NOT from your post here, which has already lost all formatting. Most of us won't even bother reading your post otherwise.
2) What is your question. Don't say, "How do I make a test driver?" -
How to create, deploy and test JSP program in Netweaver developer studio?
Hi Experts,
I am trying to integrate a JSP program with SAP function module (RFC) via XI using Java proxy. I am using Netweaver Developer studio for Java programming.
Can somebody send me the steps or user guide on how to create, deploy and test JSP program in Netweaver developer studio?
I will be greatful to you.
Please help!
Thanks
GopalHi Gopal,
Which version of NetWeaver are you using?
Here the links for --
SAP NetWeaver CE 7.1
[Developing JSP Pages|http://help.sap.com/saphelp_nwce10/helpdata/en/f7/f7bc3d8af79633e10000000a11405a/frameset.htm]
[Deploying Applications|http://help.sap.com/saphelp_nwce10/helpdata/en/3c/52413e7bcd561ee10000000a114084/frameset.htm]
NetWeaver 7.0 (2004s) and 2004
[Developing JSP Pages|http://help.sap.com/saphelp_nw70/helpdata/en/f7/f7bc3d8af79633e10000000a11405a/frameset.htm]
[Deploying EARs|http://help.sap.com/saphelp_nw70/helpdata/en/f0/122abf61d4974eaea6b5d9c314cff1/frameset.htm]
Testing is very straightforward - just access the web application by its alias,
e.g. http://<host>:<post>/<context-root>/myJSP.jsp
HTH!
\-- Vladimir -
Error while testing Generic Data Source extraction
I've created generic data source for Texts and Attributes in R/3 based on VIEW (Z table)
I get error "Error 6 in function module RSS_PROGRAM_GENERATE" while trying to test the data sources through RSO2
I guess there can be a lot of reasons... Please name me anybody who knows them...
thanx in advanceHi,
Please Check the OSS note 328948 and it provides solution to same error what you have. Additionally you can have a look into this OSS note 705212 too.
Syntax error in the generated extraction program Symptom
You notice the error by one of the following symptoms:
The loading of transaction data from an R/3 system terminates with a syntax error in the generated extraction program. The monitor displays the error messages:
R3027 "Error & during the generation of the data transfer program"
RSM340 "Error in the source system"
The extraction within the extractor checker terminates with error message RJ028 "Error 6 in function module RSS_PROGRAM_GENERATE".The activation of transfer rules ends in BW with error message RG102 "Syntax error in GP$ERR$, row... (-> long text)" from the source system. Usually, the diagnosis in the long text of the error message is: "...could not be interpreted. Possible error causes: Incorrect notation or... "
Other terms
OLTP, extractor, data extraction, DataSource, Service API, SAPI,
R3 027, R3 27, RSM 340, RJ 028, RJ 28
Reason and Prerequisites
The error only occurs in the source system, if this contains Basis Release 3.1I and Service API (SAPI) 3.0C Support Package 6. SAPI 3.0C Support Package 6 is contained, for example, in PI 2003.1 Support Package 7 (see attached composite SAP note 673002).
Solution
To correct the problem you need service API 3.0C Support Package 7 in the affected source system. The attached composite SAP note 704971 explains in which software components service API 3.0C is contained, and what the corresponding Support Packages of these components are.
Alternatively, you can also copy the advance correction from the appendix.
Hope it helps.
Regards -
Generic program to SEND an email
Hello
Can you help with an ABAP program to sends an email AFTER the Process chain completes. I would like to informational email from process chain as soon as it completes.
Can you post an generic ABAP program that sends an email and please let me know the parameters that needs to be maintained..
Also, suggest me, if there is a GOOD another way to accomplish this task.
Thanks a lot for your help..Hi,
Genarally, you can create a message, by right click and create message then give email ids in Maintain Recipent list (Recipt type = via internet) and then give message that you want to send in Edit Document.
Check whether the email address is maintained in SU01 in address tab.
Configure SMTP server is set up properly ( SCOT). Ask basis team to do it.
There is also other option to send the mail through program, for this you need to trigger any event or you can insert this program at teh end of the process chain.
*& Report ZTEST_FM_MAIL
REPORT ztest_fm_mail.
DATA : is_doc_chng TYPE sodocchgi1,
it_objtxt TYPE STANDARD TABLE OF solisti1,
is_objtxt TYPE solisti1,
it_objpack TYPE STANDARD TABLE OF sopcklsti1,
is_objpack TYPE sopcklsti1,
it_objbin TYPE STANDARD TABLE OF solisti1,
is_objbin TYPE solisti1,
it_reclist TYPE STANDARD TABLE OF somlreci1,
is_reclist TYPE somlreci1,
w_lines_tx TYPE i.
Create Message Body
Title and Description
*is_doc_chng-obj_name = 'MAIL'.
is_doc_chng-obj_descr = 'Auto genareted Mail'.
main text
is_objtxt-line = 'This is an automatically generated mail. Please do not reply to it.'(028).
APPEND is_objtxt TO it_objtxt.
is_objtxt-line = space.
APPEND is_objtxt TO it_objtxt.
write packing list (main)
DESCRIBE TABLE it_objtxt LINES w_lines_tx.
READ TABLE it_objtxt INTO is_objtxt INDEX w_lines_tx.
is_doc_chng-doc_size = ( w_lines_tx - 1 ) * 255 + STRLEN( is_objtxt ).
CLEAR is_objpack-transf_bin.
is_objpack-head_start = 1.
is_objpack-head_num = 0.
is_objpack-body_start = 1.
is_objpack-body_num = w_lines_tx.
is_objpack-doc_type = 'RAW'.
APPEND is_objpack TO it_objpack.
is_reclist-receiver = 'your email id'.
is_reclist-rec_type = 'U'.
APPEND is_reclist TO it_reclist.
CLEAR is_reclist.
*This is for SAP system mail box
*is_reclist-receiver = 'your system login ID'.
*is_reclist-rec_type = 'B'.
*APPEND is_reclist TO it_reclist.
*CLEAR is_reclist.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = is_doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = it_objpack
contents_txt = it_objtxt
receivers = it_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks
Reddy -
Hi all,
I created Ztable and i created table maintenance generator and Tcode for Ztable .
Now my query is I want to create program for ztable to test the data.
plz provide me the program and unit test plan for ztable.its urgent.Hi,
Please check if this helps.
MODIFY s076 FROM TABLE i_final2.
IF sy-subrc = 0.
MESSAGE s900 WITH text-007."Data inserted into table S076
ENDIF.
ELSE.
MESSAGE s900 WITH text-012."Data not inserted into table S076
ENDIF.
You can display such messages in your program output screen after the datas are inserted into the ztable.
regards,
Priya. -
Testing abap program: creating checklist
Hello,
I am creating a checklist to test some abap programs. I dont have experience to create a checklist, with the right and objective questions. I need the checklist questions specific for abap programs.
Can you help me?Hi Rodrigo,
There are two steps of testing, one white box and the other is black box.
In Black box, our primary aim is whether the program is functionally correct.
like Input Validations, and Output correctness and its relevance to the inputs.
The Screen headings and texts etc.
The white box testing is to look into the code for checking the way the data is being fetched / processed etc. Therem may be a number of ways a logic can be coded, but there will be a good way to doing it optimally.
You should check for such optimal coding standards.
Regards,
ravi -
Master Data Creation - Generic Program
Hi Gurus,
I'm trying to find a way to avoid the usage of LSMW for customer and vendor master data creation; according with the specified account group, I read the table T007D (for the Customers) fields for Generic, Company and Sales Area Data, and then I made my own BDC_DATA code structure.
The problem is that I don't exactly know which position of the colums FAUSA, FAUSF and FAUSV corresponds to which Master Data Fields. Where do I find this Mapping? Is the mapping defined in the SAP ABAP code or there is an internal mapping table?
Thanks in advance for your answers.
Cheers,
Nuno A.The problem, indeed, is not the LSMW. I was wondering if it would be easy to develop that kind of tool using ABAP.
However, if it is possible to do that using the LSMW, I would try it. One question about the LSMW, how can I obtain the information of the tables T077D and TMOD*? Do I have to put ABAP code in the 5th LSMW step "Maintain Field Mapping and Conversion Rules"?
Thanks,
Nuno A. -
hi guys,
In my R3 system i can see below programs. attributes saying that its SAP created. whats this..is it generated program?
1-IF_GUI_DYNAMIC_DATA===========IU
2-%_CCMPWL
We are planning for migration OS and DB, and copy all addon programs there..do we need to execute any Load or Program for automatic generation of programs anywhere..pls advice..
Thanks
BaashaHi Bashaa,
There are some system generated programs such as programs generated for dynamic subroutine pool or may be ABAP Query .
If you are doing migration then you need NOT migrate this. If you migrate the root (user defined object/program) and then compile and generate all those objects in the new system , the system would again generate these programs themselves. Similar is the case with Function Modules generated for Smart forms.etc.
Hope this answers your query!!
cheers
KSQ -
Need 900mHz G3 iBook Hardware Test CD/Program
Greetings:
I'm coming up empty with my written requests to Apple and search on eBay for a 900mHz G3 iBook Hardware Test CD which didn't come with my eBay purchased iBook. Can anyone point me to any sources for one? I hope being a pre-owned Mac user doesn't make you any less an "legit" Mac user in Apple's eye. Be much appreciative!
James GreenidgeI would suggest that you _call Apple_ and ask for Legacy Hardware Support. Give them your serial number and ask if they have the system CD's that originally came with the iBook and, if so, how much they will charge to send them to you.
Good luck. -
How to use compaq test drive program
I have registered for compaq testdrive program and I got a user id and password. But I couldn't find any step-by-step instructions or any other help for the first time users. Cany any one help me using 9iAS on Tru64Unix?
Hi Naveen ,
Enhancement Spot are available.
Examples:
-End of Executable Program, Include, Function group, Dialog module
-Begin/End of Form routine / Function module / Method
-End of a structure
-End of Private/Protected/Public Section of a local class
If you want to create Implementation , You have to right click on yellow color line and gve Zxxx and save it in any
transport request under any dev class. Then you can write your own code and save it and activate it .
Later If you want to Transport it you need to transport this request.
Reqward if usefuil
Thanks
Jagadeesh.G
Maybe you are looking for
-
Help! Mac OS 9.2.1 wont install!
So I have been trying for about 3 almost 4 weeks now to install Mac OS 9.2.1 on my Power Macintosh 5200/75LC. So when I boot up and hold C down it gives me a message that says "Sorry, a system error occurred. error type 1010". So now I have another p
-
is there a way to import an iCal calendar into a website using iWeb? I've searched the support sites and have tinkered around with both programs but can't find out how to get my calendar on my website. Thanks for any help.
-
Error message in systems preferences
Hi. I attempted to open the users & groups preference pane and got this message: Preferences Error could not load users & groups preference pane Other preference panes open just fine. Signed in as owner of my own machine. has worked fine in the past.
-
right, everytime i run itunes, a box appears which says "windows is configuring itunes" it seems like it's installing it everytime i run it. after the configuration, itunes does run, but going through this proess everytime i want to run itunes is ann
-
ADF_FACES-60098:The Faces lifecycle exceptions receives untreated RENDER_
Anyone know why I get this error when doing a tree table, unfold out when the third node, the first two without any problems. to run my application module views the relationship of the nodes is fine but the error comes when I pass the ADF component a