Non GUI alternative to PB10 Transaction (infpotypes 22 and 24)
Hi guys,
This is a java foreigner in the ABAP land.
I hope I am asking the correct question.
This is the situation:
In order to send a "candidates resume" (curriculum) in to SAP, the ABAP developers made for me a RFC which uses the transaction PB10 (applicant master data).
The RFC when tested in the SAP GUI works fine.
I wrote a java client which calls the RFC, send the parameters and expect the results. This client uses JCO to access SAP.
But, from the java client the RFC works PARTIALLY,
it doesnt fill the education a qualifications (infotypes 22 and 24), and throws error message:
"Exception condition "CNTL_ERROR" raised"
It seem there is an GUI missed, but from JCO I cannot use GUI.
So, I need a non-GUI alternative transaction to the PB10, which writes the data in the infotype 22 and 24.
So, the question here is:
Does somebody knows a non-GUI alternative to the PB10 in order to write the infotypes 22 and 24??
Thanks in advance,
Luis
i do have a similar requirement ... from non sap system i am suppose to pass data which saves in table connected to pb10..can you send the RFC developed for your requirement.. it would be helpful for me..
thank you
Similar Messages
-
"Keith Patterson" <[email protected]> wrote:
<snip!>
... I would like to create several 'batch' Forte programs that perform
a select all from our tables at random intervals during our testing.
Has anyone done this sort of thing?? I'm not even sure how to start
building an app that I don't want any output from and any assistance
would be sincerely appreciated. You're going to be embarassed at how easy it is. At least, I was! ;-)
Assuming that you want is to kick a couple batch, detached, daemon, or
whatever processes to bang on your database, what you need to do is:
* Create a new project. Give this project, as contributors, all the
projects needed to get the functionality you want to test.
* In this new project, create a NON-GUI object with a method that
actually performs the test you want. Make this the initial
object/method for the project.
* Make distribution on this project.
* Run your project, applying the -fcons, -fnw, and/or -fterm qualifiers
as necessary.
If you want to force the action through the same Forte service objects
(rather than just copies of them), the above WILL NOT do what you want.
In theory you can get that with the above setup by putting the SOs in a
"reference partition" (I believe that's the term), but I have no actual
experience at that.
Alternatively, you could simply put a "test" button somewhere in your
app, that creates a new instance of the test object, and does a "start
task" on the relevant method. This is not, strictly speaking, a "batch"
run, but you also don't have to make distribution to do it.
Tom Wyant
E. I. DuPont de Nemours
Richmond, VA USAIf you upgrade to 1.5 it's a little easier, for instance reading a word and then an integer is this simple: Scanner s=Scanner.create(System.in);
String param= s.next();
int value=s.nextInt();For further information see
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html
http://java.sun.com/developer/technicalArticles/releases/j2se15/ -
Event handling in custom Non-GUI components
I have a class which needs to fire events to outside. These events maybe captured by several objects in outside world. How can I achieve this? In so many places I read, they always refer to AWT and Swing whereas my objects don't have any dependency to GUI.
I simply need to fire an event from an object, and capture that event from other objects by registering event handlers.
I have experience in .Net programming with Events and Delegates (function pointers), but cannot find something like that in Java. All it offers is various kinds of GUI related Listeners where I can't find a proper help resource using them in Non-GUI components.ravinsp wrote:
I have a class which needs to fire events to outside. These events maybe captured by several objects in outside world. How can I achieve this? In so many places I read, they always refer to AWT and Swing whereas my objects don't have any dependency to GUI.
I simply need to fire an event from an object, and capture that event from other objects by registering event handlers.
I have experience in .Net programming with Events and Delegates (function pointers), but cannot find something like that in Java. All it offers is various kinds of GUI related Listeners where I can't find a proper help resource using them in Non-GUI components.If you want to make your own Listener make your Listener. Create an event class that encapsulates the event as you want, create a listener interface that has a method like handleMyEvent(MyEvent me) and then add addMyEventListener, removeMyEventListener methods to your original class. Add a List<MyEvent> to your original class and add the listeners to it and then when events happen
MyEvent someEvent = new MyEvent();
for(MyEventListener mel : eventlisteners)
mel.handleMyEvent(someEvent); -
How to start TestStand ApplicationMgr in a NON-GUI C# modules
hello all,
We used to implement our test UI in C# windows form. We put ApplicationMgr ActiveX control on the form and the ApplicationMgr can be easily accessed and started.
Now we need to implement the UI in WPF and we have to seperate the UI and the Test Engine into different module so that the UI can call different type of Test Engines later. Therefore we have to implement the TestStand TestEngine module in a NON-GUI module. In this module we need to load a sequence file, run the sequnece file, collect test results and send back to UI to display.
To implement this module we have a lot of questions:
1. Is ApplicationMgr a must-have for our purpose of loading, running sequence and getting test results?
2. Can AppliactionMgr be created in a NON-GUI module?
3. Can we use
NationalInstruments.TestStand.Interop.UI.Applicati
onMgr myApplicationMgr = new NationalInstruments.TestStand.Interop.UI.ApplicationMgr();
myApplicationMgr.Start()
to create and start the ApplicationMgr? We have tried, but unfortunately it is not working. What did we miss?
4. Is the ActiveX control the only way to access the ApplicationMgr? For NON-GUI module, there must be a way that we didn't find yet. Anyone have help us point to a right direction? If some example code would be great!
Thank you very much!
Regards,The ApplicationMgr makes a lot of things simpler, so I highly recommend you use it even if you aren't displaying a UI with it. You can create the control on a hidden form as follows (assuming your thread is an STA thread):
System.Windows.Forms.Form hiddenForm = new System.Windows.Forms.Form();
NationalInstruments.TestStand.Interop.UI.Ax.AxApplicationMgr appMgr = new NationalInstruments.TestStand.Interop.UI.Ax.AxApplicationMgr();
((System.ComponentModel.ISupportInitialize)(appMgr)).BeginInit();
hiddenForm.Controls.Add(appMgr);
((System.ComponentModel.ISupportInitialize)(appMgr)).EndInit();
This way you can use the ApplicationMgr without showing anything to the user.
Hope this helps,
-Doug -
Oracle 11g client installation on Solaris in non GUI mode
Hi,
I want to know if there is a way i can install Oracle 11g client on Solaris 10 machine in non GUI mode (ie. i want to do it from a command based terminal)
Thanks
AnupHi Anup
You have two ways to install it
1) Client installation without response file
Please Refer to Doc ID 885643.1
2) With Response file
Refer to the document available in Document library
Document Oracle® Database Client Installation Guide
11g Release 2 (11.2) for Solaris Operating System
Note: from 11gR2 onwards you can create a response file from GUI also and then use it later on for silent installation.
Hope this is helpful for You
Regards
Sudhir
Edited by: user13090769 on Sep 1, 2010 10:55 AM
Edited by: user13090769 on Sep 1, 2010 10:56 AM -
Non transactional data source and ejb transaction
Inside an ejb method with trans-attribute = Required,
Do a bunch of things using a transactional data source and a bunch of things using
a non trasnactional data source.
Looks like the time spent doing the non-transactional data source related work
does not count for the transaction timeout defined for the ejb.
So, what happens here, the ejb transaction is suspended ( when I start using the
non transactional ds ) ?Hi,
"siddiqut" <[email protected]> wrote in message news:3fa7c79d$[email protected]..
Inside an ejb method with trans-attribute = Required,
Do a bunch of things using a transactional data source and a bunch of things using
a non trasnactional data source.
Looks like the time spent doing the non-transactional data source related work
does not count for the transaction timeout defined for the ejb.
So, what happens here, the ejb transaction is suspended ( when I start using the
non transactional ds ) ?The transaction is not suspended when you call something
which is not non-transactional.
Regards,
Slava Imeshev -
I was wondering how I would have to go about writing an event handling mechanism on something that is not GUI-based (non-AWT/SWING)!
Supposing one wanted to write an event listener that would tell them when a data structure is updated - e.g: in a typical producer-consumer model, where the consumer is to be notified of fresh entries whenever a producer writes integers to some data structure...
Does Java have classes/methods to handle such non-GUI-based 'events'? Is this a commonly found scenario in Java programming?
Thank you!What you're looking for is the Observer-interface. Check out http://java.sun.com/j2se/1.4/docs/api/java/util/Observer.html
and
http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html -
Hide back option from sap gui for windows in transaction iview
Dear experts,
sir i m using sap gui for windows in transaction iview in the enterprise portal is there any process to hide the back option or hide command window(in which we write transaction) from the transations iview from the portal not from the registry please help sir............Hello,
We have faced the same problem and after two days investigating we think it is imposible to hide back button, toolbar ... via wingui (sapgui for windows).
So, be careful with the end user that has access to this iview/role, because he will see the transaction menu also.
I hope this clarify you a bit more.
have a nice day. -
How to run an iPhone non-GUI application in background
Hi All,
While looking into the web fouond that only one application can be run at a time in iPhone. So is there any way or work around to run a non-GUI app in iPhone in Background.
This app will continuously query certain requests to iPhone regardign some internal iPhone events.
Thanks in advance.
Regards.
AmitNo.
-
Need help writing non-gui JMF program
I need to write a program that will convert a WAV file from a ULAW format to a GSM WAV file format. I first tried this with the Java Sound API and the WAV file format of GSM was not supported so I stumbled across JMF.
I can use the JMStudio and Export GUI programs that come with JMF to convert the wav file as needed. But now I'm trying to write a batch program (non-gui) to convert the file on the fly.
First, is this possible. Second, does anyone have any code samples of a batch java program using JMF in batch.
Thanks,
ScottNot exactly what I was looking for. After 2 days of beating my head against the wall this is what I got to work. Include the jmf.jar in my project. Here is my code.
import java.io.IOException;
import javax.media.DataSink;
import javax.media.Manager;
import javax.media.MediaLocator;
import javax.media.NoDataSourceException;
import javax.media.Processor;
import javax.media.control.TrackControl;
import javax.media.format.AudioFormat;
import javax.media.protocol.DataSource;
import javax.media.protocol.FileTypeDescriptor;
import jmapps.util.StateHelper;
public class TestAudio5 {
public static void main(String[] args) {
try {
Processor p = null;
StateHelper sh = null;
DataSource inSource = Manager.createDataSource(
new MediaLocator("file:c:\\ASSURANCE_THREE_MINUTE.wav"));
p = Manager.createProcessor(inSource);
sh = new StateHelper(p);
// Configure the processor
if (!sh.configure(10000)) {
System.out.println("can't configure");
System.exit(-1);
p.setContentDescriptor(new
FileTypeDescriptor(FileTypeDescriptor.WAVE));
//AudioFormat(java.lang.String encoding, double sampleRate, int sampleSizeInBits, int channels)
//AudioFormat(
// java.lang.String encoding,
// double sampleRate,
// int sampleSizeInBits,
// int channels,
// int endian,
// int signed,
// int frameSizeInBits,
// double frameRate,
// java.lang.Class dataType)
AudioFormat outputFormat = new javax.media.format.AudioFormat(
AudioFormat.GSM_MS,
8000.0,
0,
1,
0,
1,
520,
1625.0,
null);
System.out.println("outputFormat: " + outputFormat.toString());
TrackControl tc[] = p.getTrackControls();
for ( int i = 0; i < tc.length; i++ ) {
tc.setEnabled(true);
System.out.println("before format: " + tc[i].getFormat().toString());
tc[i].setFormat(outputFormat);
System.out.println("after format: " + tc[i].getFormat().toString());
if (!sh.realize(10000)) {
System.out.println("can't realize");
System.exit(-1);
// get the output of the processor
DataSource source = p.getDataOutput();
// create a File protocol MediaLocator with the location
// of the file to which bits are to be written
MediaLocator dest = new MediaLocator("file://c:\\test.wav");
// create a datasink to do the file writing & open the
// sink to make sure we can write to it.
DataSink filewriter = null;
filewriter = Manager.createDataSink(source, dest);
filewriter.open();
// now start the filewriter and processor
filewriter.start();
sh.playToEndOfMedia(5000);
sh.close();
filewriter.close();
} catch (NoDataSourceException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
System.out.println("done!");
System.exit(-1); -
Non Order Items in MIGO Transaction
Hi Experts,
From starting to till now my client maintaining Non Order Items through MIGO Transaction. Now he wants stop that process.
In MIGO Transaction he wants default gray mood the Non Order Items field. If that field is there in gray mood the users canu2019t do anything. Thatu2019s why he wants this process.
Please advise me how I can overwrite this problem,
Thanks in advance,
ChandhuNon ordered items are normally accepted with movement type 511.
You can block movement type 511 in configuration.
Go to OMJJ- Movement type 511- Allowed transactions-Here Remove T-codes MIGO,MB01,MB0A,MB11 etc.
Or Block that movement type through authorization.
Edited by: Piyush Mishra on Dec 10, 2010 1:40 PM -
Hello again world.
I see that to produce output in a non-GUI environment, one uses
System.out.println(output)
I can't seem to get the other side of the coin for input.
As usual, thanx in advance.If you upgrade to 1.5 it's a little easier, for instance reading a word and then an integer is this simple: Scanner s=Scanner.create(System.in);
String param= s.next();
int value=s.nextInt();For further information see
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html
http://java.sun.com/developer/technicalArticles/releases/j2se15/ -
Javafx for console (non-gui) applications?
Hi,
I am interested in using the JavaFX scripting language as a general purpose language to create console (non-gui) applications. But even running the following simple program seems to initiate some sort of GUI that quickly appears and disappears. Is there anyway to run a JavaFX script in "console-only" mode?
function run(args : String[]) {
println("hello")
}Thanks.Hi,
Yeah, that is pretty much exactly what I did.
I am running on Mac OS X 10.5.6, with Java 1.6.0_07 and JavaFX 1.1.0.
When I execute the program from Terminal, everything works, however a new application appears in the menu bar while the program is executing in the console. For example, if I add a java.lang.Thread.sleep(5000) invocation to the program mentioned earlier, you will see the application in the menu bar for 5 seconds. This is not the way a normal console-based java application typically works... there should be no application in the menu bar.
Thanks. -
Listen for keys in non-GUI app?
Is there a way for a non-gui application that runs in a dos-box to receive key strokes? i read about the CTRL-C shutdown hook, but i don't want to shutdown my app but just send them some key combination so that it print something to System.out. Is this possible?
You could try jcurses or a similar library...
http://sourceforge.net/projects/javacurses/ -
Using Xcode for non-gui C++
I originally posted this in the wrong place, and I was told to post in here.
I am learning standard c++ in school, and we're programming with Microsoft visual Studio on PCs. I wanted to work on my projects at home, but I don't know how to create and build non-gui C++ projects. Anyone know?we're programming with Microsoft visual Studio on PCs
If you want something like "Visual Studio" on Mac, then you can use the "Xcode" application in /Developer/Applications/. (I assume you have installed Xcode Tools, which is in your Leopard DVD).
Start Xcode, and select "New Project..." from the "File" menu. In the Assistant dialog, open "Command Line Utility" and select "C++ Tool". Enter the name of the project and where to save it, and push Finish. Double click on "main.cpp", edit it, save (cmd-S), and push "Build" or "Build and Run". Is this what you want?
Of course the project file is not comatible with Visual Studio, but you can copy the source files (*.cpp and *.h) to Windows PCs.
If you prefer to run C++ compiler from the command line (rather than to use Xcode application), then just open Terminal.app (in /Applications/Utilities/), cd to the directory where the source files are, and try typing "g++ xxxx.cpp".
Maybe you are looking for
-
Not allowing clearing of resetting of pre migration cleared document
HI all SAP Experts We have recently migrated to new GL . One entry for outstanding liabilty was posted in March 10 & same entry was cleared in Current year ( i.e April 10 - March 11) & cleared entry was again resetted in current year. However the sa
-
HP Envy 4500 won't print from computer
Hi, My HP Envy 4500 has been working perfectly for quite some time now. Unfortunately, it has stopped printing from my Dell laptop, running Windows7. It scans to the laptop just fine. It copies fine, and it prints from my iPhone fine. I have looked
-
Ora-01039 - Insuffficient priviliges - Tuning using Explain Plan
In a TEST instance, i am trying (as the APPS user) on a 9.2.0.5 DB (11.5.10.2) trying to run an explain plan on a query but keep getting the 'ora-01039 - Insuffficient privileges on underlying objects of view' error message. I have granted 'select an
-
How to pick(or consume) messages from Woblogic JMS Queue only when DB is UP
Hi, I have a requirement to pick(or consume) messages from Woblogic JMS Queue only when DB is UP. When DB is down, messages should remain in queue. When DB is up, messaged should be picked on scheduler basis. We are using SOA suite 11g(BPEL or mediat
-
Why is 100% Quality When Exporting to JPEG in LR 2.0 so Low?
I would like to export some pictures in LR 2.0 as high quality JPEGs so that I can upload in a Kodak website for printing. As background, I am processing with RAW files from a Nikon SLR in LR 2.0. Each raw file downloaded from the camera is approxim