Problem using logical port type "ABAP"
Hi, my problem is that I have to save a txt file with a certanly format who feeds from an IDOCs that is sended nowhere.
Instead of using a BADI the client wants that every time a PO is liberated an IDOC has to be triggered and it has to save that txt in a path, but that IDOC is not sended anywhere is just for saving the file. Dont ask why... they want to do this approach.
So I created a logical port of type ABAP, copy the function "OWN_FUNCTION" as a template and in my custom function I parse the IDOC and save the file... it works. My problem is that the IDOC is created when a PO is created but not triggered !!!
The IDOC is created with status 30 (ready to send).
What I need is that when the PO is saved the file has to be generated in the server but the function is not triggered. I try running the Program RSEOUT00 and the IDOC is not found (dont know why) the only way I can trigger the IDOC is via BD87.
Someone could help me, I dont know why the logical port type ABAP is not triggered. all my setting in WE20 is right.
Thx
The problem was in the WE20, the radio button was in mode 4 (collect IDOCs) instead of 2 (send inmediatly)
Similar Messages
-
Problems of logical port configuration
Currently we made the system X8A_100 as our integration server and we designed a service interface which can dispatch the request to a function module in A1S_100, then we generated its proxy (through the transaction code SPROXY) in the X8A_105 which act as the sender after we had finished some design and configuration work. It run successfully.
And then we expose the service interface as a web service, generated its proxy in the X8A_105, it also run successfully (didn't create any logical port). But after that, we generated a proxy of the same service interface in BBT_100, it failed and threw a exception 'GENERAL_ERROR Error during proxy processing (PART UNKNOWN (NULL) )' although we had create a default logical port of the proxy. When I create logic port of the proxy, I set the value of the URL in Call Parameters tabs 'http://pwdf2655:50050/sap/xi/engine?type=entry&version=3.0&Sender.Service=X8A_105&Interface=http%3A%2F%2Fsap.com%2Fxi%2Ftest%2Fabap%5ESayHello_ServiceInterface', I think the problem was caused by the wrong configuration of the logical port, could anyone please tell me how we can do the configuration correctly? Thanks a lot in advance.Hi,
This might help you
http://help.sap.com/saphelp_nw04/helpdata/en/9f/c487d701c7214db8ca7a741ba3c9d0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/f3/7d7b60d1e9744d9fe27b4438d9014d/frameset.htm
http://help.sap.com/saphelp_webas630/helpdata/en/ef/f9896cca8a8248a563050932b05322/content.htm
Regards
Agasthuri Doss -
Client proxy consuming web service provider using logical port issue
Hi All,
I have a proxy client having a logical port (configured using NWDS) to consume a web service in the provider system.
In the logical port, I have given target address, and logical port name. While moving this client proxy NWDI dev track to Q and prod,
how do I change this target address to point to Q and prod respectively. In other words, even though I am using Visual admin to configure the destination url for the logical port, to point to Q and prod, its still referring to the dev environment provider service after moving the proxy client to Q and prod. What is the suggested approach to take care of this issue
Thx
mikeHi Michael,
I can only help from that point of view that I believe this question belongs to the forum
Service-Oriented Architecture (SOA) and SAP
Please try to raise this question there.
Thanks and Regards,
Ervin -
Edit Customer Problem and Logical Port
Hi Experts,
ISSUE 1
In Web Service Administration, when I look at /iwcnt/actionitemvi_document service in details, I can see one Endpoint only, that is Binding_T_HTTP_A_HTTP.
In the Troubleshooting Guide, in section 5. No Workflow / Reports reach the SCL from backend system, there are mentioned two endpoints: Binding_T_HTTPS_A_HTTP and Binding_T_HTTP_A_HTTP - all other setting, I have, are the same on my server as mentioned in the troubleshooting guide. So why there is diffrence in binding on that particular service?
The other thing I noticed, is, that when looking closer on the logical port creation on backend system in the Behind the scene video, it mentions, that the Path Suffix include binding_t_http_a_http whereas in the Troubleshooting Guide it is showing binding_t_https_a_http - why this?
What is the right path suffix for the logical ports at the backend system?
ISSUE 2
When we edit a customer from SharePoint, we get the following error:
Error
An unexpedted error has occured
Correlation ID: ea04d908.xxxxxxxxxxxxxx
Looking closer at the correlation at SCL, everything seems to be green and no error is reported, but in the ULS Viewer, following info are displayed:
Microsoft.BusinessData.Runtime.BackendNullReturnException: LobSystem (External System) returned a null structure which is incompatible with the associated metadata.
at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.WrapAsEntities(IMethodInstance methodInstance, IEntity thisEntity, IParameter parameter, ITypeDescriptor entityInstanceRootTypeDescriptor, Object correspondingAdapterObject, IEntity targetEntity, ISystemUtility dataSystemUtility, ILobSystemInstance lobSystemInstance)
at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteInternal(IDataClass thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs, IFilterCollection filters)
at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.FindSpecific(IEntity thisEntity, Identity entityInstanceIdentity, String specificFinderName, ILobSystemInstance lobSystemInstance)
regards
TariqHi,
ISSUE 1:
This is very likely because SSL is not configured. First of all can you go to SOAMANAGER -> Business Scenario Configuration and deactivate and activate the DUET_ENTERPRISE_ALL. When activating check if you are getting errors for the Assertion profiles (my guess would be, that you are getting errors).
In this case check the SSL configuration from SMICM -> \[Menu] Goto -> Services
Here you should see an active service HTTPS. If that is not the case, check that the SSL certificate is created (STRUST) and make sure that the required profile parameters are set (see also Deployment Guide -> "To configure the use of SSL in the SCL host" on page 33 at http://www.service.sap.com/instguides -> Duet -> Duet Enterprise 1.0 -> Duet Enterprise SAP Deployment Guide)).
Regarding the backend configuration for the logical ports in LPCONFIG. Here it depends on how you have setup the configuration on the SCL. If you released the services with HTTPS then the URL in the backend has to be HTTPS binding, if you configured it via HTTP, then it has to be HTTP binding Did you perform the connection tests as described in the videos or in the checkpoint of the troubleshooting guide?
ISSUE 2:
Can you take a look also on the SAP side in SRTUTIL? Do you see any additional error information there? You might also want to check the errors from the log viewer /IWFND/VIEW_LOG
Regards,
Holger. -
I have a Mac OSX and I use Logic Express 9 on it. I also use an MBox 2 digidesign. Im having trouble connecting midi and getting it to work from my Roland Keyboard Midi, to the back of my Mbox 2 Midi. Its just not working at all. Does anyone know how to make Midi work with the Mbox 2 using Logic Express 9 on my OSX 10.6.8
Troubleshooting Wi-Fi issues in OS X
Wireless Connection Problems - Fix
Wireless Connection Problems - Fix (2)
Wireless Connection Problems - Fix (3)
Wireless Connection Problems - Fix (4)
Also try turning off Bluetooth -
the macbook air does not work with my belkin 7 port power hub, it is connected to the wall outlet
and i want to use my micorsoft 2000 wireless keyboard and mouse with the hub and two of my
external Buffalo 1TB hard drives and it does not work with any of those items, the hub
works with my macmini, and a Android TV box, no problem but
just this Macbook air that I just bought is not allowing the hub to work.
The devices plugged into the Macbook air work ok when directly into the computer?
I called APPle Care and they said no issues but I read on Amazon and GOOGLE others
are complaining about using Hub with the air not working but Apple care Senior advisor
says no issues so what can I do?
I will take it in to Apple to check the Computer out with this hub and see if it is the hub on another
mac air has the same issue or whatever,the macbook air does not work with my belkin 7 port power hub, it is connected to the wall outlet
and i want to use my micorsoft 2000 wireless keyboard and mouse with the hub and two of my
external Buffalo 1TB hard drives and it does not work with any of those items, the hub
works with my macmini, and a Android TV box, no problem but
just this Macbook air that I just bought is not allowing the hub to work.
The devices plugged into the Macbook air work ok when directly into the computer?
I called APPle Care and they said no issues but I read on Amazon and GOOGLE others
are complaining about using Hub with the air not working but Apple care Senior advisor
says no issues so what can I do?
I will take it in to Apple to check the Computer out with this hub and see if it is the hub on another
mac air has the same issue or whatever, -
!!!Problems Using Logic With Reason in Rewire Mode!!!
Hi, Maybe someone can help me...
I can´t Hear any sound coming out of Reason into logic!
This is what i did:
1- loaded logic
2- loaded reason (used the Redrum, L+R and connected to the 1 and 2 Audio OUT of reason)
3- selected a audio track in Logic Pro (audio Track 1)
4- Went to the Audio parameters window, and selected from the drop down list
Rewire>RW:Mix L
5- pressed play... and nothing!! no sound
i used reason in ableton live 5, and works fine,.. so i know it is not a reason problem
Hope someone can help me
Tks:)http://thelocalhost.googlepages.com/
Use method 2 to help you set up Reason and Logic.
Also you might want to upgrade from Reason 3.0 to 3.0.4.
good luck. -
Problem using self-referencing type parameter
I seem to be having trouble using a self-referencing type parameter (or what's the name for it ;)
Please consider this code:
class Test<T extends Test<T>> implements ITest<T> {
public T foo() {
// does not work?!
//return this;
@SuppressWarnings("unchecked")
T result = (T) this;
return result;
interface ITest<T extends ITest<T>> {
T foo();
}I need ITest.foo() to return T so that it would return the correct type when used in subinterfaces. I can see that Test.foo() must return T, so that is why I declared "T extends Test<T>".
Trouble is, why does "this", which also implements ITest<T>, not satisfy the requirement of returning T?This is a common question. The problem is a flawed assumption about the declaration of ITest.
The assumption is that:
interface ITest<T extends ITest<T>>means that any implementation of ITest must be parameterized by itself. This is not the case.
Consider the following
public class Test<T extends Test<T>> implements ITest<T> {
public static void main(String[] args){
Bar b = new Foo().foo();
public T foo() {
@SuppressWarnings("unchecked")
T result = (T) this;
return result;
class Foo extends Test<Bar> {
class Bar extends Test<Bar>{
interface ITest<T extends ITest<T>> {
}Compiles and then fails with a classcastexception.
Look again at ITest. The generic declaration requires that implementations are parameterized by self-parameterized instances of Test. That's different than saying the implementation itself is self-parameterized. The distinction is subtle but in the end you cannot declare classes that force sublcasses to be self-parameterized.
You can, however, declare methods that force their arguments to be self-parameterized. -
Problems Using Logic Express with Alesis Multimix 8
Hi,
Does anybody have any experience of using the Alesis Multimix 8 USB with Logic Express 7.0.1? As far as I can tell the software is set up OK. The problem is that there is an awful amount of noise present on both the input and the output (sounds like inordinatley loud dither). The problem is also present on Garageband and iTunes but not with Cubase LE (bundled in with the Multimix).
I have searched and searched the internet for drivers for the Multimix but with no luck. At the moment I am just using the "core audio" USB codec drivers that are built in as I seem to have no other option.
Does anybody have any suggestions before I go ahead and buy another external audio interface? (got my eye on the new Behringer F-CONTROL AUDIO FCA202)
Rev. G Rock
PS I am running OS X (10.3.9) on a G4 iBook (1.33 GHz, 1.25 GB RAM) and have done all the updates available for Logic Express 7.0(.1)
iBook G4 Mac OS X (10.3.9)OK I understand it's helpful to others to post solutions should you find them so here goes:
It would seem that the problem is with the built in CODEC used by OS X. You can update using the drivers available at http://www.usb-codec.com
I used the demo version to see if it solved the problem which it did. However you need to buy the software to get rid of the annoying beep every 30 secs on the demo version. well worth it to get my hardware working properly though.
Rev. G Rock -
Restrict selection screen when using logical Database(HR ABAP)
Hi,
I'm using <b>PNP</b> logical Database in my
report program. I want to restrict the deafult
selection screen.
Pls suggest me if knows.
Kind regards,
- Selvaif you don't use the NODE or TABLE statement pnp selection screen will not come.
other wise use screen number 900 which have fever fields and you can make the invisible using
loop at screen.
endloop.
Regards,
Wasim Ahmed -
Problem using Oracle Object Types and Arrays.
I'm currently trying to work with oracle object types in java and I'm running into some issues when trying to add an item to an array.
The basic idea is that I have a header object and a detail object (both only containing an ID and a description). Inside of my java code I'm trying to add a new detail line to the header that has been retrieved from the database.
Here's what I'm working with.
--Oracle Objects:
CREATE OR REPLACE TYPE dtl_obj AS OBJECT
detail_id INTEGER,
header_id INTEGER,
detail_desc VARCHAR2(300)
CREATE TYPE dtl_tab AS TABLE OF dtl_obj;
CREATE OR REPLACE TYPE hdr_obj AS OBJECT
header_id INTEGER,
src VARCHAR(30),
details dtl_tab
CREATE TYPE hdr_tab AS TABLE OF hdr_obj;
/--Java test methods
public static void main(String[] args) throws SQLException,
ClassNotFoundException
// Initialize the objects
Test t = new Test();
t.connect(); //Connects to the database
//The oracle connection will be accessible through t.conn
// Create the oracle call
String query = "{? = call get_header(?)}";
OracleCallableStatement cs = (OracleCallableStatement) t.conn.prepareCall(query);
cs.registerOutParameter(1, OracleTypes.ARRAY, "HDR_TAB"); //Register the out parameter and associate it with our oracle type
int[] hdrs = { 240 }; //we just want one for testing.
ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor(
"ARRAY_T", t.conn);
oracle.sql.ARRAY oHdrs = new ARRAY(descriptor, t.conn, hdrs);
cs.setARRAY(2, oHdrs); //Set the headers to retrieve
// Execute the query
cs.executeQuery();
try
ARRAY invArray = cs.getARRAY(1);
// Start the retrieval process
Class cls = Class.forName(Header.class.getName());
Map<String, Class<?>> map = t.conn.getTypeMap();
map.put(Header._SQL_NAME, cls);
Object[] invoices = (Object[]) invArray.getArray();
ArrayList<Header> invs = new ArrayList(
java.util.Arrays.asList(invoices));
if (invs != null)
for (Header inv : invs)
System.out.println(inv.getHeaderId() + " " + inv.getSrc());
t.addDetail(inv, "new line");
for (Detail dtl : inv.getDetails().getArray()) // Exception thrown here
// java.sql.SQLException: Fail to construct descriptor: Invalid arguments
// at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
// at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
// at oracle.jdbc.driver.DatabaseError.check_error(DatabaseError.java:861)
// at oracle.sql.StructDescriptor.createDescriptor(StructDescriptor.java:128)
// at oracle.jpub.runtime.MutableStruct.toDatum(MutableStruct.java:109)
// at com.pcr.tst.Detail.toDatum(Detail.java:40)
// at oracle.jpub.runtime.Util._convertToOracle(Util.java:151)
// at oracle.jpub.runtime.Util.convertToOracle(Util.java:138)
// at oracle.jpub.runtime.MutableArray.getDatumElement(MutableArray.java:1102)
// at oracle.jpub.runtime.MutableArray.getOracleArray(MutableArray.java:550)
// at oracle.jpub.runtime.MutableArray.getObjectArray(MutableArray.java:689)
// at oracle.jpub.runtime.MutableArray.getObjectArray(MutableArray.java:695)
// at com.pcr.tst.DetailTable.getArray(DetailTable.java:76)
// at com.pcr.tst.Test.main(Test.java:91)
System.out.println(dtl.getDetailDesc());
catch (Exception ex)
System.out.println("Error while retreiving header");
ex.printStackTrace();
public void addDetail(Header hdr, String desc) throws Exception
if (hdr == null)
throw new Exception("header not initialized");
// Convert the current list to an ArrayList so we can easily add to it.
ArrayList<Detail> dtlLst = new ArrayList<Detail>();
dtlLst.addAll(java.util.Arrays.asList(hdr.getDetails().getArray()));
// Create the new detail
Detail dtl = new Detail();
dtl.setDetailDesc(desc);
// add the new detail
dtlLst.add(dtl);
Detail[] ies = new Detail[dtlLst.size()];
ies = dtlLst.toArray(new Detail[0]);
DetailTable iet = new DetailTable(ies);
hdr.setDetails(iet);
}I know its the addDetail method causing the issue because if I comment out the t.addDetail(inv, "new line"); call it works fine.
Message was edited by:
pcristiniOracle® Database Object-Relational Developer's Guide
Also note that object relational database design is often less performant and scalable than relational. It is not very often used in production environments.
However, the object orientated programming feature that is provided with Oracle object feature set are used and can make development and interfaces a lot easier.
So in a nutshell. Say no to ref and nested table columns. Say yes to most of the other object features. IMO of course... -
Hi,
Can anyone there help me Please with the problem. I am trying to
communicate with the parallel port using my program which i have
attached to the message. I am running LabVIEW 7.0 Professional with
application builder. All the program does is reads and writes to the
three parallel port registers. It runs FINE!!! in my computer. But when
i built an executable (see attached) and tried running on a different
computer (with LabVIEW Runtime engine 7.0 installed) the program does
not read/write to the registers. The target PC had the parallel port in
SPP mode just like mine. I can't seem to understand whats going wrong?
Can anyone please help me if you know the right answer.
Thanks
Attachments:
Programs.zip 119 KBHi Guys,
I too have a problem using "Out Port.vi", but of a diferent kind. I use this VI to control the Parallel Port which in turn controls a small circuit. I use only two data pins, DP-2 and DP-4 for this purpouse. I use LV 7.1 Professional Development version in a Windows 2000 operating system. Now, my main problem is that my code runs fine (both is development and .exe forms) in my development computer, but when I try to run the .exe version in other computers (Windows XP operating system), it asks for a "protocol file" while starting (look at the attached picture).
Now, I really have no idea what kind of a protocol file it asks for and just click "ok" and proceed to work, the most interesting part is that the code works well as I expected. So, my only problem is that it asks for a protocl file which I want to avoid. As with the application building, I do all that is required like including the sub VIs (self developed), creating an installer, enabling the port access, and creating a proper .ini fine. I also use the Out Port.vi from the AccessHW library.
I have my doubts on two fronts,
1) With the version conflict, since my development computer runs with Windows 2000 and my target computers all run with Windows XP
2) With the Out Port.vi which further contains a small VI "Output Word to Port.vi" in it and that further contains Call Library Function Node, which might call soem external files, like what my problem is.(look at the attached picture)
I don't have answers to these questions and may be my problem is in different place, but I would like to hear from anyone who could give me a helping hand. I am in a situation where I could not disclose my code.
Thanks in advance,
mohan
Attachments:
protocol file.zip 153 KB -
hi ,
How many different Types of PORTs are there.
i know that there are tRFC,ABAP,and XML ..etc..But i want to know what is the purpose of each Port type..
points will be rewarded..
regards
muraliHI ,
Please find here withyou the purpose of these Port types.
File Interface -
>
Exchange of IDocs and status records via operating system files
Transactional RFC -
>
To set up the communication, a series of steps are required that you have to carry out in Customizing for ALE (Transaction SALE).
CPI-C ---> Link to R/2 System: Direct communication with an R/2 System (from version 5.0F onwards) is only possible using this port type.
The CPI-C protocol used by SAP is a modification of the original IBM CPI-C.
The CPI-C protocol combines the LU 6.2 commands to form a limited number of commands that can be easily used in programming (hence the name CPI-C = Common User Programming Interface - Communication). Communication takes place via a gateway which recognizes the SNA architecture and assigns the symbolic name of the target system to a logical unit in a sideinfo file.
Programming Interface (PI) ---> The IDoc is not exchanged with an external system but rather with a function module you have written. This means that any dispatch type can be used.
Use the function module to be called (for IDoc outbound processing) or the calling function module (for IDoc inbound processing). This function module can be programmed to contain the required processing. Only the interface is already defined.
XML -->
IDocs in XML format can be displayed immediately with the corresponding Internet browser. Electronic Commerce in particular uses XML, but classical EDI applications should also be XML compatible.
XML File & XML HTTP
http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7fe543d711d1893e0000e8323c4f/frameset.htm
Thanks
Swarup
Edited by: Swarup Sawant on May 26, 2008 10:22 AM -
Interface Type "ABAP Dictionary-Based Interface" not generating Interac
Hi All,
I am getting problem in ABAP Adobe interactive forms in ECC6.
I tried designing Adobe interactive form by 2 following ways:
1) in SFP -->> Interface Type -->"ABAP Dictionary-Based Interface"
2) in SFP -->> Interface Type -->"XML Schema-Based Interface"
When I designed with 1st way I am not getting Interactive form, I get only read
only form when executing ABAP webdynpro application.
But same form giving interactive form when calling ABAP program.
But when I designed with 2nd(XML) way I am getting Interactive form. In Webdynpro application.
In both case i have kept view property as enabled.
Please guide me, Is there any step which is mandatory for Adobe interactive forms when
we use (SFP -->> Interface Type -->"ABAP Dictionary-Based Interface"), with ABAP webdynpro application.
ThanksXML Schema-Based Interface
-
Create logical port via http dest on soamanager
Hi all
I want to create logical port type H which i defined on SM59 and i want to relate it to the logical port which i create on the soamanager .
in the past i do that via lpconfig and now i want to do so on soamamanger,
there is an idea how ?
Best Regards
NinaHI Gourav,
U write;
-> Supply details in configuration (Service name, Logical port name, WSDL address etc.)
when i create the LP i pop up with :
New Service Name: *
Logical Port Name: *
Logical Port is Default:
Configuration Type
New Service Name: *
Logical Port Name: * Logical Port is Default:
Configuration Type
WSDL Access User: *
WSDL Access User: *
i have no place to define the RFC destination that I create via SM 59
where i can define it?
Best Regards
Nina
Maybe you are looking for
-
Create a custom swatch textile pattern
Hi, Yet another noob. First off - is there anyway to edit the textile pattern swatches in AI? There is a pattern of lines I like but not in the right color. If not then I guess I need to create my own. What I want is a pattern of colored lines (pink
-
Is it possible to create a dynamic(with a select) check constraint?
create table a (col_to_be_coded_fora number); create table b (col_to_be_coded_forb number); create table c (col_name varchar2(20), col_code number, col_desc varchar2(20)); insert into c values ('col_to_be_coded_fora', 1, 'active'); insert into c valu
-
Hey Everyone, I must premise this discussion with the fact that I have been using Quark Xpress since version 3. I now own version 8 and have used version in between. Many moons ago, I ventured into Indesign v.1 and then v.2. I found the performance
-
Hi All, I want to create a URL which dynamically open ECC and I have found the following to work: http://serverhost:50000/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.bwc.Transaction?System=DEV&TCode=SE38&GuiType=WinGui&WinGui_Type
-
IPad calendar fails to synch with Mac mini
How can I fix a recent failure of iPad calendar to synch with Mac mini? iTunes no longer saks me about ocnflicts between the iPad and the computer.