Is it possible to make a call to an Infotype from an ABAP program?
Dear friends,
I created a new infotype 9*** using transaction pm01 and it works fine. What i need to do is to make a call to this infotype from an abap program without going through transaction pa30. Is it possible to do that? Thank you in advance.
Sincerely,
hajar
Hi,
The HR_MASTERDATA_DIALOG might need some tweaking.. we use a custom Program on the lines of SAP's
'perform rp_infotyp(sapfp50g)' that is more user friendly.. let me know if u need more info..
Good Luck,
Suresh Datti
Similar Messages
-
How to call a BW Query from an ABAP program?
How to call a BW Query from an ABAP program?
hi
check this link
/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i
/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-ii
/people/durairaj.athavanraja/blog/2005/12/05/execute-bw-query-using-abap-part-iii
hope this helps
cheers -
Calling a Web Service from an Abap Program
Hi Everyone,
I have been put to task to write an RFC that has web service calls within it. My question is if anyone has a coding examples, and or best practices when calling a web service, like connections, event handling, asynchronous, synchronous, return values, xml, acknowledgements.
Thanks a lot,
SteveBSP a Developer's Journal Part XIV - Consuming WebServices with ABAP
Calling WebServices from ABAP via HTTPS
Consuming Web Service from ABAP by Durairaj Athavan Raja
Search on SDN wiki, and you will find above mentioned links. -
can i use internet in my ipad 3g ios 5.1 through my iphone sim also possible to make voice calls
and i can't fine any access pint name changing option in ipad plz help meYou might be able to use your iPhone sim. FaceTime calls are only possible over wifi or you can get something like the Skype For iPad app from the store if you want to make video calls over 3G - but you can't do 'normal' phone calls with the iPad.
-
Portege R600 - Is it possible to make a call with the SIM?
Hi,
I wonder if its possible to use the Wireless connection manager 5 and to make or receive a call?Hi,
I see that nobody answered so i will try to explain what i meant -
Is it possible to make audio call with the Wireless Manager by the GSM modem module?
I succeed to send SMS and to connect to HSPA data services but i dont find any reason why i can not connect to the GSM and make a call.
I have Portege R600 model PPR61E-01C00NG3
I even succeed to use the GPS that probably installed in the GSM/HSPA modem (wireless manager 5).
If anyone can explain how and if it possible to make a call please send your reply ... i wnat to use the laptop with BT instead of cell phone ....
Thanks
Yan -
Is it possible to make international calls without...
Is it possible to make international calls without an unlimited plan? If so, what are the skype credit rates for US to UK calls? And do I need to do anything special to set up this ability?
Hi,
http://www.skype.com/intl/en/prices/payg-rates/?currency=USD#cc=GB
http://www.skype.com/intl/en/prices/payg-rates/connection-fees/?currency=USD#cc=GB
Hth
On ne regarde pas l'avenir dans un rétroviseur !
IMac Intel Core i3 3.2 GHz - RAM 12 GB - OS 10.10.3
Skype 7.8.391
Logitech usb headset or Jabra 250 bt -
Call / make a NACE-Message from an ABAP Program
Hi all,
Does anyone knows how to call / make a NACE-Message from an ABAP Program?
Is there a possibility to call a functionmodul with the needed basic informations (doc. number, sales-org etc.) which will start the NACE Message Procedure?
Reason:
We have make IDOCs for order confirmation, delivery and billing - and make the NACE ALE/EDI Messages.
But we have the problem that we are using Z-Reports for Mass-Printing the documents. So we have no active NACE Messages for printing and we want to send the IDOCs at the moment when we print out the docs.
It's not possible, to change the business procedures and/or using SAP standard mass print prg. because this is too complicated (we think at the moment).
Regards,
DanielHi,
Use this function module.
CHECK xscreen = space.
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = syst-msgid
msg_nr = syst-msgno
msg_ty = syst-msgty
msg_v1 = syst-msgv1
msg_v2 = syst-msgv2
msg_v3 = syst-msgv3
msg_v4 = syst-msgv4
EXCEPTIONS
OTHERS = 1.
Regards,
Nisrin. -
How To Call a Broadcasting Template within an ABAP program
I was wondering if anyone knew how to call the Broadcast template via an ABAP program so it will execute? The scenario that I have is we are doing validations via BW. We put the data (for conversion reasons) through validation rules and then load a data target. From this, there are 2 situations that could occur:
1) There are errors
2) There are not any errors
If #1 is true, then I would like to execute the Query Broadcasting Template that I have created. If #2 is true, then I would like to execute another process via the ABAP program. In the past, I was successful using exception reporting via reporting agent, since I was able to call that program but the report did not look good at all. Please let me know if there is a program that I could call in order to execute this broadcast that I have set up.
Best Regards,
TimHello,
although this is an old threat, but do you have any hints on how to dynamically change the template when broadcasting?
kind regards
Murat -
Cannot call ANY stored functions from my Java program
My problem is that I cannot call ANY stored procedure from my Java
program. Here is the code for one of my stored procedures which runs
very well in PL/SQL:
PL/SQL code:
CREATE OR REPLACE PACKAGE types AS
TYPE cursorType IS REF CURSOR;
END;
CREATE OR REPLACE FUNCTION list_recs (id IN NUMBER)
RETURN types.cursorType IS tracks_cursor types.cursorType;
BEGIN
OPEN tracks_cursor FOR
SELECT * FROM accounts1
WHERE id = row_number;
RETURN tracks_cursor;
END;
variable c refcursor
exec :c := list_recs(11)
SQL> print c
COLUMN1 A1 ROW_NUMBER
rec_11 jacob 11
rec_12 jacob 11
rec_13 jacob 11
rec_14 jacob 11
rec_15 jacob 11
Here is my Java code:
import java.sql.*;
import java.io.*;
import oracle.jdbc.driver.*;
class list_recs
public static void main(String args[]) throws SQLException,
IOException
String query;
CallableStatement cstmt = null;
ResultSet cursor;
// input parameters for the stored function
String user_name = "jacob";
// user name and password
String user = "jnikom";
String pass = "jnikom";
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
try { Class.forName ("oracle.jdbc.driver.OracleDriver"); }
catch (ClassNotFoundException e)
{ System.out.println("Could not load driver"); }
Connection conn =
DriverManager.getConnection (
"jdbc:oracle:thin:@10.52.0.25:1521:bosdev",user,pass);
try
String sql = "{ ? = call list_recs(?) }";
cstmt = conn.prepareCall(sql);
// Use OracleTypes.CURSOR as the OUT parameter type
cstmt.registerOutParameter(1, OracleTypes.CURSOR);
String id = "11";
cstmt.setInt(2, Integer.parseInt(id));
// Execute the function and get the return object from the call
cstmt.executeQuery();
ResultSet rset = (ResultSet) cstmt.getObject(1);
while (rset.next())
System.out.print(rset.getString(1) + " ");
System.out.print(rset.getString(2) + " ");
System.out.println(rset.getString(3) + " ");
catch (SQLException e)
System.out.println("Could not call stored function");
e.printStackTrace();
return;
finally
cstmt.close();
conn.close();
System.out.println("Stored function was called");
Here is how I run it, using Win2K and Oracle9 on Solaris:
C:\Jacob\Work\Java\Test\Vaultus\Oracle9i\FunctionReturnsResultset>java
list_recs
Could not call stored function
java.sql.SQLException: ORA-00600: internal error code, arguments:
[ttcgcshnd-1], [0], [], [], [], [], [], []
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:889)
at
oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java:490)
at
oracle.jdbc.driver.OracleStatement.getCursorValue(OracleStatement.java:2661)
at
oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:4189)
at
oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:4123)
at
oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:541)
at list_recs.main(list_recs.java:42)
C:\Jacob\Work\Java\Test\Vaultus\Oracle9i\FunctionReturnsResultset>
Any help is greatly appreciated,
Jacob NikomThank you for your suggestion.
I tried it, but got the same result. I think the difference in the syntax is due to the Oracle versus SQL92 standard
conformance. Your statament is the Oracle version and mine is the SQL92. I think both statements are acceptable
by the Oracle.
Regards,
Jacob Nikom -
Urgent!! How to call a custom transaction or an ABAP program in BSP?
Urgent!! How to call a custom transaction or an ABAP program in BSP?
We are pretty new on BSP. Would be very appreciated if any expert here give us the detailed steps on how to build up the application to just call a custom transaction (e.g., t-code: ztest) or an ABAP program. Would we have to create a button or event handler to do that? And the detailed steps?
Thanks in advance and we will definately give you reward points!hi Durairaj,
During the time to wait for your answer, we copied Bernd's code from your last link, but when activating it, get the 1st error msg:
Field "CLIENT" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA" statement."DATA" statement. The error shows up here:
<td>
<htmlb:inputField id = "client"
value = "<%= client %>" />
</td>
Then we added Client to the page attribute and define it as type String, then get another error:
The field "EVENT" is unknown, but there is a field with the similar name "EVENT_ID"."EVENT_ID". This error shows up at the beginning in the Event Handler:
OnInputProcessing:
code
event handler for checking and processing user input and
for defining navigation
event handler for data retrieval
event = cl_htmlb_manager=>get_event( runtime->server->request ).
IF event->name = 'button' AND event->event_type = 'click'.
button_event ?= event.
How to resolve this unknown Event error, need to define in Page Attribute tab? but with what type?
Actually we only want to run an ABAP4 program in BSP, the code is complicated, could you show us an easy way of doing this in BSP? -
Calling a Java Subpackage from a C program.... fails
I am having alittle bit of trouble calling a java subpackage from my C program. I can call a package ok but not a subpackage.
My directory path is c:\com\phoenix_systems_inc
My CLASSPATH=.;c:\com;
In the c:\com\phoenix_systems_inc directory is my FundsgClient.class
The fundsgClient.java has a package declaration of
package com.phoenix_systems_inc;
within the fundsgClient.java is class:
public synchronized static String setValue (String str) {
String a = "You passed: " + str;
return a;
======================================
in my C program I have
options[0].optionString = "-Djava.class.path=c:\\com\\";
cls = env->FindClass("/phoenix_systems_inc/com.phoenix_systems_inc.FundsgClient");
I think that I am over declaring the path in FindClass.nope;; that is what I had initially;
My CLASSPATH is CLASSPATH=.;c:\com;
==================================C program code
memset (&vm_args, 0, sizeof(vm_args));
vm_args.version=JNI_VERSION_1_2;
vm_args.options = options;
vm_args.nOptions = 1;
options[0].optionString = "-Djava.class.path=c:\\com";
vm_args.ignoreUnrecognized = TRUE;
res = JNI_CreateJavaVM(&jvm,(void**)&env,&vm_args);
if (res < 0)
fprintf(stderr, "Can't create Java VM\n");
return 0;
cls = env->FindClass("com/phoenix_systems_inc/FundsgClient");
===== is the java class code ==========
package com.phoenix_systems_inc;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;
import gnu.cajo.invoke.Remote;
import gnu.cajo.utils.extra.Xfile;
* Fundsg RMI Client
* @author agesite
* @version 1.0
public class FundsgClient {
static {
PropertyConfigurator.configure("FundsLog.properties");
// Log4j logger
private static Logger log = Logger.getLogger("PhoenixClient");
// Get RMI Server Hostname
private static final String host = PhoenixClientProperties.getInstance().
getProperty("PhoenixRMIServer");
private static String port = "1198";
* request
* @param requestStr Request String
* @return String Response String
* @throws Exception
public synchronized static String request (String requestStr) throws Exception {
// Serialized object
RequestObject requestObj = new RequestObject();
requestObj.setRequest(requestStr);
if (log.isDebugEnabled()) {
log.debug("Client Request: " + requestStr);
System.out.println("//" + host + ":" + port + "/fundsgServer");
Object object = Remote.getItem("//" + host + ":" + port + "/fundsgServer");
String response = (String) Remote.invoke(object, "nativeFundsg", requestObj.getRequest());
if (log.isDebugEnabled()) {
log.debug("Server Response: " + response);
return response;
* xferFile
* @param sourceFile
* @param destFile
* @throws Exception
public synchronized static void xferFile (String sourceFile, String destFile) throws Exception {
try {
Object xf = Remote.getItem("//" + host + ":" + port + "/xfileFunds");
// remoteInvoke = true means transfer can be performed from
// server to client and vice versa
Xfile.remoteInvoke = true;
Xfile.fetch(xf, sourceFile, destFile);
} catch (Exception e) {
if (log.isDebugEnabled()) {
log.debug("Xfile.fetch exception: " + e);
public synchronized static String setValue (String str) {
String a = "You passed: " + str;
return a;
} -
How to call j2me emulator instance from a java program?
hi,
how to call j2me emulator instance from a java program?
i tried public void startApp(){
try{
platformRequest("tel:+5550000");
}catch(Exception e){
e.printStackTrace();
from a j2me midlet itself,
but it gave illegal access exception.
do i need any hardware phone connected to my pc?
please help.http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
import java.util.*;
public class OpenExplorer{
public static void main(String args[]){
new OpenExplorer();
public OpenExplorer(){
try{
String command = "explorer C:";
// or String command = "cmd /c explorer C:";
Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec(command);
int exitVal = process.waitFor();
System.out.println("Exit Value: " + exitVal);
} catch(Exception e){
e.printStackTrace();
} -
I've long wanted to switch to the Iphone but I sometimes need to go to some locations where AT&T nor verizon nor sprint have cell signals and the only way to make a call is by tethering to the wifi connection. This is possible with my tmobile phone but havent succeeded when trying to use an iphone. Is there a way to make this work?
You need a special phone which allows wifi calling.
The iPhone does not have this option.
You can get a micro-cell device, which plugs into your network internet and is basically a mini cell phone tower. It will work with regular cell phones (includiing iPhone).
-> http://www.att.com/shop/wireless/devices/3gmicrocell.jsp?fbid=bElECBNX0nA -
How to call a business graphics from a SAPGUI program?
Dear experts,
I'm new to WebDynpro for ABAP. I was able to create a working WebDynpro application that shows a simple bar-chart. Nice. What I would like to realize is a bar chart as a pop-up when I click a button on an ALV table element. This ALV table is in the SAPGUI and not WebDynpro (and it shouldn't be). I searched a lot but only found people that talk of 100% WebDynpro applications. So I wonder if a hybrid is possible like embedding the graphics in a control container on a SAPGUI screen or such. I need to somehow submit the required data for the chart from the calling program.
Is this feasible or do I need to go for the GFW that SAP has marked as obsolete?
Thanks!Hi,
You can create a transaction for WDA application and call that transaction on click of button ( but you cannot show it as popup) : You can check this for reference: How to pass data to Web Dynpro ABAP from ABAP - Part 2
You can use CL_GFW classes to display graphs or cl_gui_chart_engine.. ref: Creating charts in Simple ABAP Programs - Code Gallery - SCN Wiki
Hope this helps u,
Regards,
Kiran -
Calling a local Webservice from ECC ABAP - Am I on the right track?
Hi all
In my NW2004s landscape I have an ECC system (ABAP 6.40, Java not configured/linked) and an XI system (6.40). My requirement is to call a Webservice (WS) from the ECC system.
I've converted an existing Java class (that contains 3 methods) to a webservice (WS) using NWDS. This WS has then been deployed to the XI system as it is the only one with a JAVA system. I'm able to view and test the WS methods using the Web Service Navigator on the XI system. The wsdl for the WS that was generated has the following format "http://<server>:<port>/<webservice name>/<configuration name>?wsdl (No .asmx extension as per most of the examples on SDN...not sure if this matters).
My understanding is that I should be able to create a client proxy in my ECC system (via Enterprise Services in SE80) using this wsdl and I can also configure a logical port throught txn LPCONFIG. I should then be able to utilise ABAP to call this webservice?
I've found the blog "/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap detailing this (for a 6.40 system)... but when I attempt the program I get a soap 111 error code Unallowed RFC-XML Tag(SOAP_EINVALDOC).
Am I on the right track? Is it possible to call the Webservice from ECC ABAP?
There are no dumps for me to analyse and I've also tried putting on RFC trace with no success.
Could it be that the WS is not correctly formed even though it works fine when tested from the WS Navigator on the XI system?
Thanking you in advance.
MalickClive Pennington wrote:
Thank you Eugene, your answer is most helpful. I supose I just wanted to do everything myself really. If when I have made my little movies, my animations and collated all my words and pictures I have problems assembling the documents then I can always get a professional to haul it together for me but I want to put in the donkey work first. I know it is a lot of money for the software but now the pain is giving way a little I'm really quite enjoying myself.
The planning which you have mentioned in your reply is of imense value I will start to do that immidiately, also the constant testing through Digital editions.
All this is really helpful and I thank you for you reply. I have made a brave attempt at some elementary annimation and posted them on youtube for testing, the urls are here if there is any interest. Basic and time consuming but I can do this much faster now.
http://tinyurl.com/348wjxg
http://tinyurl.com/2wzuhql
http://tinyurl.com/3yzjunk
Thanks again............ Clive
What comes through to me from your videos is that you know your material (of course, no pun intended) and that you have a clear sense of how to present it for clear communication to, and understanding by, your audience. Without this core, no amount of professional-level visual effects will achieve your goal, a great training program.
Regards,
Peter
Peter Gold
KnowHow ProServices
Maybe you are looking for
-
The slideshow feature in iphoto 9.5.1 not working properly
The slideshow feature in iphoto 9.5.1,does not start at the first slide no matter what I do
-
Connecting to Linksys WAP4400N w/ WPA
I'm not an Apple expert by any means so forgive my ignorance. Dealing with a PowerMac G5. It sees the WAP and asks for the WPA password. However, it never connects and gets an IP address. I have 4 Windows XP laptops connecting to the same wireless ne
-
I am using iphone 3gs can it be support with icloud ?
in november 2010 i buy mobileme ID so now it became free, and i am using iphone 3gs now it is showing not applicable with this device, so, what can i do now, my current ios is 4.3.3..
-
Safari 4.1.3 is crashing my mac with system 10.4.11 on launch
Help! My mac, with os 10.4.11 can't start safari all of the sudden. the ball just goes around, then stops, then goes and my computer cranks away and then it freezes and i have to restart. when i log in under a test account safari starts up there. i'v
-
How can I download Firefox and get it working?
Hi, I just bought a Macbook Pro yesterday. It's a 13 inch early 2011 and has Mac OSX Lion 10.7. I just downloaded firefox from mozilla. It mentioned Firefox 8.0 for Mac OSX. Now the file (firefox 8.0.dmg) is sitting in my application section and when