Transit from AS400 to SAP
I'm sure I'm asking in the wrong area, but I have nothing to go on yet. I have just learned that a system I developed (PC-based, C++) that interfaces with an AS400, will soon be talking to SAP. I'm not exactly sure what that means and I have no idea what it entails. If anyone can point me in the right direction, to a good resource, that would be great. If there is a more appropriate forum, that is fine too. Anything at this point is great.
Thanks!
Right now, I'm downloading fairly simple tables from an AS400 / DB2 system. As I think I mentioned, I'm doing it through ODBC/SQL calls, and the connection is via ClientAccess.
As far as the SAP goes, unfortunately at this point all I know is it's happening. I don't know anything about the new system. But I will find out as soon as I can.
Thanks
Similar Messages
-
Call BAPI from AS400 (synchronous)
I am looking for a way to call an RFC (BAPI) from AS400 and receive results back from the function in the AS400 system.
Help required,
RegardsHi,
look at the below thread
Re: RFC Connection From SAP to Iseries server
Regards
Sudheer -
Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using
Hi Experts,
I've to Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using Business Objects with a new SALES ORDER DOCUMENT NUMBER referencing the older one.
I'll get all the required data with field in an excel file.
Does any standard transaction exist for it ? Or how to go ahead with it ?
Thanks and regards,
Jyoti ShankarHi
If you are checking for CREATE option then Sales Doc Type
For more Info goto SWO1 transaction -> BUS2032 --> DIsplay --> Execute --> There SELECT the method which you want to perform... There you can fine the MANDATORY parameters also....
Or in DISPLAY mode PLACE Cursor on the Required Method and CLick the PARAMETERS button on toolbar...
That will show the MANDATORY parameters...
Reward if helpful....
Message was edited by:
Enter the Dragon -
How to call COPY web service from sharepoint in SAP
Hello Experts,
I want to call COPY web service from SharePoint in SAP web dynpro / JAVA application.
However, when I try to connect to web service and download wsdl using http:// <hostname:port>/_vti_bin/copy.asmx?wsdl
it results in Unauthorized error and doesnt complete the setup. Detail error is :
Error occurred while downloading WSIL file. Error message: Deserializing xml stream http:// <hostname:port>/_vti_bin/copy.asmx?wsdl
failed.com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Invalid Response Code: (401) Unauthorized. The requested URL was:"Connect to
http:// <hostname:port>/_vti_bin/copy.asmx?wsdl , used user to connect: userid"
I am trying to connect with server user account. Any idea on what authorizations might be required or any help on the scenario .
-AbhijeetHere's an example on how to delete a list item, hopefully this helps
package com.jw.sharepoint.examples;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Properties;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import com.microsoft.sharepoint.webservices.CopySoap;
import com.microsoft.sharepoint.webservices.GetListItems;
import com.microsoft.sharepoint.webservices.GetListItemsResponse;
import com.microsoft.sharepoint.webservices.ListsSoap;
import com.microsoft.sharepoint.webservices.UpdateListItems.Updates;
import com.microsoft.sharepoint.webservices.UpdateListItemsResponse.UpdateListItemsResult;
public class SharePointDeleteListItemExample extends SharePointBaseExample {
private String delete = null;
private String deleteListItemQuery = null;
private String queryOptions = null;
private static final Log logger = LogFactory.getLog(SharePointUploadDocumentExample.class);
private static Properties properties = new Properties();
public Properties getProperties() {
return properties;
* @param args
public static void main(String[] args) {
logger.debug("main...");
SharePointDeleteListItemExample example = new SharePointDeleteListItemExample();
try {
example.initialize();
CopySoap cp = example.getCopySoap();
example.uploadDocument(cp, properties.getProperty("copy.sourceFile"));
ListsSoap ls = example.getListsSoap();
example.executeQueryAndDelete(ls);
} catch (Exception ex) {
logger.error("Error caught in main: ", ex);
public void executeQueryAndDelete(ListsSoap ls) throws Exception {
Date today = Calendar.getInstance().getTime();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
String formattedDate = simpleDateFormat.format(today);
String queryFormatted = String.format(deleteListItemQuery,formattedDate);
GetListItems.QueryOptions msQueryOptions = new GetListItems.QueryOptions();
GetListItems.Query msQuery = new GetListItems.Query();
msQuery.getContent().add(createSharePointCAMLNode(queryFormatted));
msQueryOptions.getContent().add(createSharePointCAMLNode(this.queryOptions));
GetListItemsResponse.GetListItemsResult result = ls.getListItems(
properties.getProperty("folder"), "", msQuery, null, "",
msQueryOptions, "");
writeResult(result.getContent().get(0), System.out);
Element element = (Element) result.getContent().get(0);
NodeList nl = element.getElementsByTagName("z:row");
for (int i = 0; i < nl.getLength(); i++) {
Node node = nl.item(i);
String id = node.getAttributes().getNamedItem("ows_ID").getNodeValue();
String fileRefRelativePath = node.getAttributes().getNamedItem("ows_FileRef").getNodeValue();
logger.debug("id: " + id);
logger.debug("fileRefRelativePath: " + fileRefRelativePath);
String fileRef = properties.getProperty("delete.FileRef.base") + fileRefRelativePath.split("#")[1];
logger.debug("fileRef: " + fileRef);
deleteListItem(ls, properties.getProperty("folder"), id, fileRef);
public void deleteListItem(ListsSoap ls, String listName, String listId, String fileRef) throws Exception {
String deleteFormatted = String.format(delete, listId, fileRef);
Updates u = new Updates();
u.getContent().add(createSharePointCAMLNode(deleteFormatted));
UpdateListItemsResult ret = ls.updateListItems(listName, u);
writeResult(ret.getContent().get(0), System.out);
public void initialize() throws Exception {
logger.info("initialize()...");
properties.load(getClass().getResourceAsStream("/SharePointDeleteListItemExample.properties"));
super.initialize();
this.delete = new String(readAll(new File(this.getClass().getResource("/Delete.xml").toURI())));
this.deleteListItemQuery = new String(readAll(new File(this.getClass().getResource("/DeleteListItemQuery.xml").toURI())));
this.queryOptions = new String(readAll(new File(this.getClass().getResource("/QueryOptions.xml").toURI())));
Brandon James SharePoint Developer/Administrator -
Connection from DP to SAP PI 7.11 via SOAP/https failed
Hello Guys,
we have a problem with connection from DP to SAP PI via SOAP/https.
DP send a request and get a timeout. timeout is 2 or 3 minutes.
DP and SAP PI authentificated with certificates.
Our Problems:
DP get now failure code
in commnication channel monitoring in RWB from SAP PI I see no entry, no error
in java default trace I see no error.
What could be the Problem? What must we configure for https communication via SOAP Adapter?
Which Log get me some information?
Thanks and regards
MartinHi Neetesh,
I have check all, but it resolved not my problem.
I will describe my scenario again:
scenario:
syncronous request from system A over DataPower ->SAP PI to SAP system.
communication DataPower to PI: SOAP over https
DataPower located in other network zone.
port is activated in firewall.
called URL from DataPower:
https://<host>:5<instance number>01/XISOAPAdapter/MessageServlet?
channel=:<business system>:<interface>
Problem:
authentication looks like ok. No error in ICM Trace, in default java
trace login from DataPower IP-adress ok.
but no message is to see in the communication channel.
no message in the adapter engine, no message in the integration engine
DataPower get a timeout. (Timeout 2 minutes)
we find no error, but also no message
What could be the error? And where find I some information in SAP PI.
Thanks and regards
Martin -
Upload data from Excel to Sap-Crm
Hi All,
I need to upload data from EXCEL to SAP-CRM system.The problem is in crm there is no ALSM_EXCEL_INTO_INTERNAL_TABLE or corresponding function modules exist.Using GUI_UPLOAD I can upload data from excel to CRM but the main problem with this is it supports only 255 chars for entire line, in my excel file it contains more than 255 chars.Please help me out.Try the following :
Class: CL_GUI_FRONTEND_SERVICES
Method: GUI_UPLOAD
Thanks
<b>Allot points if this helps!</b> -
Upload data from Excel into SAP CRM using webservices
Hi,
I want to upload the data from EXCEL into SAP CRM using a web service, can anyone say me the process and also how to map the excel and the source code structures.
Thanks,
Sanju.Try the following :
Class: CL_GUI_FRONTEND_SERVICES
Method: GUI_UPLOAD
Thanks
<b>Allot points if this helps!</b> -
How to upload data from excel to SAP using VB script or Macros
Hi Guys,
I want to make a macro enabled Excel sheet which i can use to upload huge data on SAP . I read some discussion but didnt get anything. Please help me with a step by step document.Hi,
Please refer below link.
Need help from Excel and SAP expert! [SOLVED]
http://visualbasic.ittoolbox.com/groups/technical-functional/vb-vba-l/call-transaction-in-sap-from-excel-vba-macro-and-download-alv-list-object-results-to-spreadsheet-3335996
Regards,
Rafi -
How to upload data from excel to SAP and options to be used
How to upload data from excel to SAP and options to be used
thank you,
Regards,
Jagrut Bharatkumar shuklaHi Jagrut,
You can use gui_upload.
chk the sample program mentioned below.
REPORT ZFTP .
DATA: BEGIN OF I_FILE OCCURS 0,
DATA(2000) TYPE C,
END OF I_FILE.
DATA: BEGIN OF I_FILE2 OCCURS 0,
DATA(2000) TYPE C,
END OF I_FILE2.
DATA: W_COUNT TYPE I.
PARAMETERS: P_FILEN TYPE STRING,
P_FILE2 TYPE STRING,
P_NUM(4) TYPE N..
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILEN.
PERFORM F_FILE_GET USING P_FILEN TEXT-G01.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE2.
PERFORM F_FILE_GET USING P_FILE2 TEXT-G01.
START-OF-SELECTION.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = P_FILEN
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE =
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
HEADER =
tables
data_tab = I_FILE
IF SY-SUBRC <> 0.
MESSAGE E024(Z1).
ENDIF.
LOOP AT I_FILE.
W_COUNT = W_COUNT + 1.
IF NOT W_COUNT > P_NUM.
MOVE I_FILE TO I_FILE2.
APPEND I_FILE2.
ENDIF.
ENDLOOP.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = P_FILE2
FILETYPE = 'ASC'
APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
tables
data_tab = I_FILE2
FIELDNAMES =
*& Form F_FILE_GET
text
-->P_P_FILEN text
-->P_TEXT_G01 text
FORM F_FILE_GET USING L_FILENA L_TEXT.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_FILENAME = ' '
DEF_PATH = ' '
MASK = ',.,*.TXT.'
MODE = 'O'
TITLE = L_TEXT
IMPORTING
FILENAME = L_FILENA
rc =
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Reward if helpful.
Regards,
Harini.S -
Migration from webmethods to SAP PI 7.1
Hi All,
I need some information on migrating webmethods to PI 7.1.
We have our interfaces currently working in webmethods which call webservices in SAP.Currently legacy systems call SAP webservices through webmethods which we would like to migrate to PI 7.1.
Could I get some information on how to proceed with this?
1.Could I get the overview
2.Can I import the same structure and mappings into SAP PI?
3.Do I need to recreate the mappings or use the same from webmethods ..if they are XSLT mappings?
4.Can I use the mapping transformation done in webmethods ?
Any thoughts would be of great help
Thanks,
C> I need some information on migrating webmethods to PI 7.1.
> We have our interfaces currently working in webmethods which call webservices in SAP.Currently legacy systems call SAP webservices through webmethods which we would like to migrate to PI 7.1.
>
> Could I get some information on how to proceed with this?
>
2 years back i worked on one migration project from WebMethods to SAP PI 7.1
> 1.Could I get the overview
> 2.Can I import the same structure and mappings into SAP PI?
> 3.Do I need to recreate the mappings or use the same from webmethods ..if they are XSLT mappings?
> 4.Can I use the mapping transformation done in webmethods ?
>
> Any thoughts would be of great help
1)Only XSLT Mapping program can be reused in PI7.1,most of the times without change, sometimes it required change when you have java functions in XSLT Mapping.
Adjust your XSLT mapping programs compatible to without using XML TOOL kit option in Operation mapping.
2) To understand the web methods flow , you should have some basic /medium level of knowledge , then you can easily understand the mapping logic implemented in Web Methods.
3) When you developing interface use Web methods for only mapping logic, donu2019t try to implement the same design what developed in Web Methods. Think PI prospective. The way web methods execute interface is differ compare to PI (execution process).
4)If any java services existing in current web method interfaces, you canu2019t use the same as java mapping program in PI,in web methods we can perform state full operation from java services in web methods. But in PI it is strictly avoided performing state full operation like retrieving the data/sending data to Data base using Java map.
5) If your client forcing you to use XSLT mappings then only use, else implement the same logic using GUI mapping in PI.
6) Connecting to SAP systems and non SAP system use Adapters in PI,it is very easy . Follow standard way of communication using PI ,donu2019t try to copy from Web METHODS.
Thanks and Regards,
Raja Sekhar -
Migrating Open Sales Order From Legacy System (SAP) To SAP System
Hi Experts,
I've to Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using Business Objects with a new SALES ORDER DOCUMENT NUMBER referencing the older one.
I'll get all the required data with field in an excel file.
Does any standard transaction exist for it ? Or how to go ahead with it ?
Thanks and regards,
Jyoti Shankarhi jyothi ,
there are lot of ways of doing it depending on data upload volume it will be decided .
1) thru abap bdc program which directly uses XL sheet data and creates SO using bapi/FMs.
2) using scat.functional consultant should be good enough to use this.
3)lsmw-laborious procedure but achievable.
reward if helps !!!!! -
Creating a Crystal Report from a non-SAP data base
I have the following scenario
server1\myDataBase
server1\SAP\sapDataBases
in sapDataBases I have about 30 company databases. I am trying to create a report, that gets informatino from a table/view/SP from server1\myDataBase, when I try to PREVIEW or SAVE such report on SAP Business One, I always get errors as
I understand that this eerror means taht I can't invoke the data from out of SAP; it needs to be inside SAP (at least the SP, incoking some other data bases and stuff..)
Some bodies have told me that it is beacuase I can only create a report from a table/view/sp that resides in the running/currently SAP company database. Is this right?
Also, If this is the case, this means that If I have an SP taht I use for a crystal report, and 30 companies, I have to create such SP in the 30 companies?
This is my software details:
SQL Server 2012
SAP Business One 9 PL 11
SAP BusinessObjects Crystal Reports 2013 Support Pack 2 version 14.1.2.1121
What I want to do is to create a non-SAP data base to create all the SPs/Views for reports, to centralize it, and the just create one reporte and do the 30-imports in each company database, without the need of creating such sps/views in each company-database. Is this possible?
ThanksMoved to Integration Kit forum.
The people in this forum will know more about the data structure than the CR Design forum which typically doesn't know much about the SAP Data sources Structure.
Don -
How to derive month/year from date in SAP BW 3.5 data flow
Hi
How we can derive cal year/month and fiscal month/year from date in SAP BW 3.5 data flow (we're using transfer and update rule)..
Thanks,
PKHi,
if you have any date filed in source side you can just map to any time char system will automatically convert to target objects.
please look at the screen shot for understanding. (not 3.x it is 7.x)
Thanks,
Phani. -
Invoking SOLMAN WS from a NON-SAP application
Hello All,
Has any one accessed the SAP SolMan web services from a non-sap application ? For my project, I need to talk to solman through its exposed operations as defined in the WSDL file
http://mycompany.com:8003/sap/bc/srt/rfc/sap/ict_service_desk_api?wsdl
When I invoke this WS through eclipse, after taking in the UID & PWD, it is returning appropriate values for:
RequestSystemGuid
RequestGuid
Getpossiblevalues
It fails for all other operations. For e.g. ListUnclosedIncidents returns and error called :
ErrorCode (unsignedByte): 13
Similary for the operation 'ReadCompleteIncident'
What is it that needs to be done to surmount this error ? Any pointers, suggestions ?
Thanks
KarthikHi, did you accomplish to solve your problem using the list unclosed incidents operation?
Best Regards
Nasoft -
Error while uploading mpp file from OPENPS to SAP PS
Hi,
I am trying to upload project .mpp file from OPENPS to SAP PS with following feild:
ID, Description, Task calander, Start Date, End Date, Object type
but at the time of uploading it showing error:
1: E CN194 The stauts could not be created while creating network.
2. E BS001 No status object is available for wbs #
3. E CN068 WBS element control area is not same as network control area.
Kindly sugguest me to resolve all these issue.
MukulHi,
Are you creating new project or updating existing project ? from error it seems to be you are trying to update the existing project you are trying assign the network to WBS which are not having same controlling area and user staus is active.
Please check your .mpp project data.
regards,
Maybe you are looking for
-
HT4623 How do I update my software on my iPad 1
Software updates
-
Selecting "Use Small Icons" in the Customize Toolbar window doesn't resolve the problem
-
ESB Services nor Default System not showing up in ESB console
We are running SOA Suite 10.1.3.1 and the services within the ESB console are not showing up immediately after logging into the console. I have verified that the credentials within the esb_paramater table are correct. We have also increased the amoun
-
ME3600-ME3800: service-instance & bridge-domain syntax
Hello, what is the best practice for the configuration of L3VPN on Cisco ME3XXX ? Old Syntax: interface GigabitEthernet0/1 switchport trunk allowed vlan none switchport mode trunk service instance 2 ethernet encapsulation dot1q 3 rewrite ingress
-
I uploaded a photo to my desk top as my screen saver and it was too big, when I tried to get back into iPhoto I couldnt, it wouldn't open, I closed it and tried again and it still will not open, can you help me?