Facing problem Using SYNC/ASYN in ID
Hi all,
In BPM i am using SYNC/ASYNC bridge for that Outbound Interface and BPM Sync Interface has the same structure is it mapping necessary for that intercaces.
In interface determination it is showing error in ID test configuration duplicate interfaces, when i loading the Interface mapping for the same.
In the Receiver determination i am sending the message based on the condition to the particular receive through different receivers from the Sync interface showing error.
Give me solution how should i do the Interface determination and receiver determination.
Please help me any one .
Thanks in advance,
Manohar.
You are falling for at least 2 Runtime.exec() traps so you need to read the 4 sections of [http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html|http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html] and implement ALL the recommendations.
Similar Messages
-
Facing problem in sync from itunes - windows 7 64bit
Hi, I've been using iphone 4 for more than a year , i updated to ios5.0.1 and had no issued in it , but later on started facing problem in syncing my phone with itunes since i started using windows 7- 64bit , then i thought i might need to upgrade my device , so i upgarded to 5.1.1 but still having same problem , whenever i connect my iphone to itunes and start sync , it takes a bit long for back up and when it comes to changes ,after saying 'changes to be apllied ' it gets stuck to 'Copying 1of 59 anything ( music, videos,apps ) ' and then it stops responding and i get an error message 'UNBLE TO COPY/SYNC DUE TO ITUNES TIMED OUT ' or something I'm unable to figure out whats the problem , i unistall itunes and then downlaoded new version 10.6.3 , still facing same problem , unable to sync anything but i have noticed one thing i'm having this issue since i started using windows 7 - 64bit , earlier there was no issued is 64bit spportable to itunes ??? plzzzzzzzzzzzzzzz help , Regards,Sweety sadanaios5.1.1 user
No problems about the further questions.
The term EHCI roughly means "USB 2.0 host controller". So pretty much any modern nVidia chipset will have one of those. So the issue ends up boiling down to whether or not you've got an nVidia chipset, I think.
I went searching through the HP Support forums, and I found a user-supplied FAQ that suggests that you do have an nVidia chipset. See Daniel's second post in this thread (the one on chipset drivers):
[Windows7 Upgrade Guide for dv6000/dv9000 models|http://h30434.www3.hp.com/t5/Operating-systems-and-software/Windows7-Upg rade-Guide-for-dv6000-dv9000-models/td-p/179816]
... but "suggests" isn't quite the same thing as "confirms".
I'm thinking it might be worth posting over at the HP Support forums and asking if you have one of the HP models that requires the update for Windows 7 described in the following post. (The update in question is actually the same as the Microsoft hotfix I linked you to earlier.)
[Driver update for Win7 USB issue on nVidia chipset systems now available|http://h30434.www3.hp.com/t5/Lockups-Freezes-Hangs/Driver-update-for- Win7-USB-issue-on-nVidia-chipset-systems-now/m-p/188193]
(Not trying to get rid of you here ... I just want to get you on the radar screens of people with a bit more specific knowledge about the chipset on your particular HP model. I figure the HP forums would be a useful place to go for that.) -
i am facing problem in sync of my contact from outlook ids and, showing error when i click in invite button on outlook contact
Hi and welcome to the Skype Community,
Can you please explain in a little bit more detail:
1) What you are trying to do?
2) Which steps you are performing?
3) Which step is failing for you because Skype is responding differently than you expected?
4) Which error message exactly you see?
5) Which Skype version you are using?
Follow the latest Skype Community News
↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓ -
is apple product going down hill it seems their updates are creating a lot of problem now the wifi connection is really ******* me off it doesnt connect or even if it does its very very slow i used to love using iphone but i think its time to move on to something else they have taken everyone for granted
Welcome to Apple Discussions, Mark.
I've never come across your first problem on any of the Apple notebooks I currently own (or have owned in the past). Then again, perhaps I'm not looking close enough.
Have you compared it with any other 12" PowerBook? If not, perhaps you might be able to try that at a local store with units on display.
Otherwise you might want to give AppleCare a call. Alternatively, if you have an Apple Store or Apple Authorised Service Provider near you (I don't know where you are located) then you can take it in to be checked.
As for your second problem (uneven illumination), that has been known to afflict other notebooks. My own 15" PB has had its screen replaced on two occasions because of this. Depending on the severity, you might be able to get it replaced. Mine became so bad that the screen was effectively unusable.
To be honest, here in the UK, I would actually try for a replacement PowerBook - if the problems were severe enough and also because your PB is still very new. However the consumer laws in your country (wherever that may be) might be very different to mine. -
SIR, my email account is [email protected] i am using firefox since last one year and enjoying it happily. but from last two month i have trouble in seeing my mails in firefox. but there is no problem in I.E.6. so please tell me what happend. either i had made any disturbance in firefox setting on my laptop or there is any other problem.
here i have to specify that i tried to open my friends email accounts also. but no email account is opening. i m using firefox version 4.forgot to mention my email account is through Cox communications (pop server) if this is important to know.
Thanks again! -
Problem using trinidad 2.0 and facelets
Hi everyone!!!
I am facing problem using Trinidad 2.0 components with facelets. I am using Tomcat 6.0 server , 1.6_20 jdk with jre6. I am using springsource tool suite as an IDE.
My problem is regarding usage of facelets with trinidad component library. I am trying to run *<tr:panelTabbed>* component of TRINIDAD 2.0 on *.jsp* as well as *.xhtml*. If I run my jsp , I am able to used panel tab fully like switching between two tabs. Same code I have added in my .xhtml page in the same project under *<ui:composition>* tags. I am successfully able show the component on the screen , but I am not able to switch between the two tabs. Here are the list of libs that have added to the project.
commons-beanutils-1.7.0.jar,commons-codec-1.3.jar,commons-collections-3.2.jar,commons-digester-1.8.jar,commons-discovery-0.4.jar,
commons-el.jar,commons-fileupload.jar,commons-logging-1.1.1.jar,jsf-facelets.jar,jstl.jar,myfaces-api-2.0.1.jar,myfaces-impl-2.0.1.jar,
trinidad-api-2.0.0-alpha-2.jar,trinidad-impl-2.0.0-alpha-2.jar
index.jsp
<%@taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%><html>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<head>
<title>Your first JSF Application</title>
</head>
<body bgcolor="white">
<f:view>
<tr:document>
<h:form>
<tr:panelTabbed position="above">
<tr:showDetailItem text="Account">
<tr:panelBox text="Account Information Details"
inlineStyle="width: 100%;">
<tr:panelList inlineStyle="width: 100px;">
<tr:panelHorizontalLayout inlineStyle="height:100px;">
<f:facet name="separator">
<tr:spacer width="100" height="100" />
</f:facet>
<tr:outputText value="Account Number" styleClass="AFFieldText" />
<tr:outputText value="Effective Date" styleClass="AFFieldText" />
<tr:outputText value="Expiration Date" styleClass="AFFieldText" />
</tr:panelHorizontalLayout>
<tr:panelHorizontalLayout inlineStyle="height:100px;">
<f:facet name="separator">
<tr:spacer width="100" height="100" />
</f:facet>
<tr:outputText value="#{accDet.accountNumber}"
styleClass="AFFieldText" />
<tr:outputText value="#{accDet.effectiveDate}"
styleClass="AFFieldText" />
<tr:outputText value="#{accDet.expirationDate}"
styleClass="AFFieldText" />
</tr:panelHorizontalLayout>
<tr:separator />
<tr:panelHorizontalLayout inlineStyle="height:100px;">
<f:facet name="separator">
<tr:spacer width="100" height="1" />
</f:facet>
<tr:outputText value="Address" styleClass="AFFieldText" />
<tr:outputText value="Fax" styleClass="AFFieldText" />
</tr:panelHorizontalLayout>
<tr:panelHorizontalLayout inlineStyle="height:100px;">
<f:facet name="separator">
<tr:spacer width="100" height="1" />
</f:facet>
<tr:outputText value="#{accDet.address}"
styleClass="AFFieldText" />
<tr:outputText value="#{accDet.fax}" styleClass="AFFieldText" />
</tr:panelHorizontalLayout>
</tr:panelList>
</tr:panelBox>
</tr:showDetailItem>
<tr:showDetailItem text="Insured">
<tr:panelHeader text="Header 2">
<tr:panelFormLayout>
<tr:inputText label="Text1" />
<tr:inputText label="Text2" />
<tr:inputText label="Text3" />
</tr:panelFormLayout>
</tr:panelHeader>
</tr:showDetailItem>
</tr:panelTabbed>
</h:form>
</tr:document>
</f:view>
</body>
</html>
guess.xhtml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:tr="http://myfaces.apache.org/trinidad"
xmlns:f="http://java.sun.com/jsf/core">
<body bgcolor="white">
<f:view>
<tr:document>
<h:form>
<tr:panelTabbed>
<tr:showDetailItem text="Tab 1"></tr:showDetailItem>
<tr:showDetailItem text="Tab 2"></tr:showDetailItem>
</tr:panelTabbed>
</h:form>
</tr:document>
</f:view>
</body>
</html>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>Demo_ProtoType</display-name>
<filter>
<filter-name>trinidad</filter-name>
<filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>trinidad</filter-name>
<servlet-name>faces</servlet-name>
</filter-mapping>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<listener>
<listener-class>
org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<context-param>
<param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
<param-value>org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.trinidad.FACELETS_VIEW_MAPPINGS</param-name>
<param-value>*.xhtml</param-value>
</context-param>
</web-app>
faces-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
version="1.2">
<application>
<default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
</application>
<managed-bean>
<managed-bean-name>accDet</managed-bean-name>
<managed-bean-class>com.csc.Account.AccountDetail</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
</faces-config>Following warning is coming on server start up
java.lang.ClassNotFoundException: org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)
PLEASE LET ME KNOW IF ANYONE NEED THE .WAR file .I can send it over mail. Please hrlp me out !!! I have literally tried everything.This is the only HOPEHi gimbal2 ,
thanks for your prompt response.
I deleted jsf-facelets.jar from the lib.
Also I removed <context-param>
<param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
<param-value>org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.trinidad.FACELETS_VIEW_MAPPINGS</param-name>
<param-value>*.xhtml</param-value>
</context-param>Now that error has gone .But I am still not able to switch between the tabs for .xhtml page but it is working fine for .jsp page.
For .xhtml page , on clicking on the tab, console is showing something like below
Aug 17, 2010 9:20:49 PM org.apache.myfaces.trinidad.component.UIXShowDetail broadcast
WARNING: Event org.apache.myfaces.trinidad.event.DisclosureEvent[phaseId=INVOKE_APPLICATION(5),component=CoreShowDetailItem[UINodeFacesBean, id=j_id957384125_39108532],expanded=true] was delivered to a showDetail already in that disclosure state. -
i'm using an iPhone 4 after upgrading to iOS 5 i'm getting an error 1635 now i'm facing problems syncing my contacts and facing many problems, i have restored my iPhone but still i'm getting the same error
Did you check your security software settings? eliminating conflicts from third-party security software.
-
Facing problem when using SYNC and ASYNC bridge in ID
Hi all,
In BPM i am using SYNC/ASYNC bridge for that Outbound Interface and BPM Sync Interface has the same structure is it mapping necessary for that intercaces.
In interface determination it is showing error duplicate interfaces in ID test configuration , when i loading the Interface mapping for the same.
In the Receiver determination i am sending the message based on the conditions to the particular receives through different receivers Business Systems from the Sync interface showing error.
Give me solution how should i do the Interface determination and receiver determination.
Please help me any one .
Thanks in advance,
Manohar.
Edited by: Manohar S on Feb 28, 2008 9:50 AMSorry for delay.
Tough question.
Oracle® Database High Availability Best Practices 11g Release 2 (11.2) E10803-01 August 2011
Under "5.1.8 Set LOG_BUFFER Initialization Parameter to a Minimum 8 MB"
States :
"If you are using Oracle Data Guard with asynchronous redo transport, you may need to increase the value of the
LOG_BUFFER parameter to avoid disk I/Os to online redo logs."
Nothing about "Synchronous".
I agree with you on Oracle Support Note 951152.1, its vague.
Additional links on the subject
This also seems to imply :
http://joordsblog.vandenoord.eu/2010/08/data-guard-optimizing-async-redo.html
So does this ( With ASYNC, increase log buffer size if necessary )
http://www.oracle.com/technetwork/database/features/availability/316925-175283.pdf
This one has a very nice Synchronous and Asynchronous compare.
http://www.datadisk.co.uk/html_docs/oracle_dg/architecture.htm
New Zealand, Someday I may have to travel there.
Best Regards
mseberg -
i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g
hi TimoHahn,
i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
Root cause of ServletException.
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
at java.util.ResourceBundle.getString(ResourceBundle.java:334)
at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) -
I am using Firefox 12.0. I did not have issue with hotmail, but I am facing problem this week after firefox upgrade. After entering login the page freeze. I am not able to continue.
I reviewed the thread. I am not using Foxit.
I reviewed hot mail forum. They suggest firefox upgrade causes this issue.
I tried after clearing my browser's cache and cookies. The situation remain same. Any idea?
What is the workaround?Firefox 3.6 needs the Java Second Generation Plugin which comes with newer versions than 1.6.0_03 - update Java, the latest version is 1.6.0_22
-
Facing problem during uploadation of Routing data using CA01-BDC - URGENT
Dear All,
When I am trying to upload Routing data using CA01 in the Table Control scenario, then I am facing problem as my last 2 records are not getting uploaded from my Test file.
For example, I am having 47 records in my Test File and after setting Default size parameters (to avoid screen resolution problem)
I have 15 table control line items data per page. The Page down logic ('=P+') is working fine, but my below BDC code failed to take
the remainder last 2 records from the Test File.
Analysis: When I am running my Call Transaction bdc in foreground, then the 1st page down occurs after 15th record, 2nd page down occurs after 29th record( as in Table Control 1st pages 15th record is coming on the Top of 2nd page). 3rd page down occurs after 43rd record
(as 2nd pages 29th record is coming on the top of 3rd page). In the 4th Table Control Page 43rd record of previous page is coming on top, and then its taking 44th & 45th records from the Test File and then it is triggering SAVE (=BU). Thus, our last 2 records
(i.e. 46th, 47th record) are not getting uploaded in the routing screen from our Test File.
If anybody has encountered this scenario previously, please help me URGENTLY in fixing the bugs here. Its VERY, VERY URGENT
FYI. For others 45 successful records already uploaded, all the screen fields values are coming properly in the routing screen, and here there is no issue.
Thanks very much
Thanks & Regards
Sudipta Project Lead
Volvo Client Location
I am pasting my BDC source code below:
REPORT ZRT1_UPLOAD_CA01_F
NO STANDARD PAGE HEADING
LINE-SIZE 255.
I N C L U D E S *
Include for Data Declarations
INCLUDE zrout_top.
Include for Forms
INCLUDE zrout_form.
INCLUDE zrout_include_f_ca01.
*AT SELECTION-SCREEN ON VALUE-REQUEST FOR <field>
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
Attaching F4 help with filename
PERFORM F1001_GET_F4.
S T A R T - O F - S E L E C T I O N *
START-OF-SELECTION.
Perform to read the input file
PERFORM f_read_file.
Perform to fill the BDC data
PERFORM f_fill_bdctab.
E N D - O F - S E L E C T I O N *
END-OF-SELECTION.
FREE: i_bdcdata,
i_messtab,
i_record.
x----
*& Include ZROUT_TOP *
D A T A B A S E T A B L E S *
TABLES: t100. "Messages
D A T A D E C L A R A T I O N S *
T A B L E T Y P E S *****************************
For input data
TYPES: BEGIN OF ty_record,
matnr(18), "Material Number
werks(4), "Plant
verwe(3), "Usage
statu(3), "Status
arbpl(8), "Work Center
steus(4), "Control Key
ltxa1(40), "Description of Operation
bmsch(13), "Base Quantity
meinh(3), "Unit of Measure
vgw01(11), "Machine
vge01(3), "Unit of measure of activity
END OF ty_record.
I N T E R N A L T A B L E S ***********************
Internal Table for input file name
DATA: i_file_tab TYPE STANDARD TABLE OF sdokpath INITIAL SIZE 0.
Internal Table for BDC Data
DATA: i_bdcdata TYPE STANDARD TABLE OF bdcdata INITIAL SIZE 0.
Internal Table for BDC Messages
DATA: i_messtab TYPE STANDARD TABLE OF bdcmsgcoll INITIAL SIZE 0.
Internal Table for Input file
DATA: i_record TYPE STANDARD TABLE OF ty_record INITIAL SIZE 0.
W O R K A R E A S *************************
Work Area for input file name
DATA: wa_file_tab LIKE sdokpath.
Work Area for BDC Data
DATA: wa_bdcdata LIKE bdcdata.
Work Area for BDC Messages
DATA: wa_messtab LIKE bdcmsgcoll.
Work Area for Input file
DATA: wa_record TYPE ty_record.
V A R I A B L E S ****************************
DATA: v_filename TYPE string,
v_fnam(40) TYPE c.
DATA: wa_opt TYPE ctu_params.
C O N S T A N T S ***************************
CONSTANTS: c_werks TYPE rc27m-werks VALUE 'tp',
c_steus TYPE plpod-steus VALUE 'PP01'.
*Selection Screen.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS:
Input file name
P_FILE TYPE rlgrap-filename OBLIGATORY. " DEFAULT 'C:\'.
SELECTION-SCREEN END OF BLOCK B1.
x----
*& Include ZROUT_FORM *
*& Form f_fill_bdctab
Form to fill the BDC Data
FORM f_fill_bdctab.
TABLES mapl. "Assignment of Task Lists to Materials
DATA: l_cnt_item(3) TYPE n VALUE 1. "Line item counter
DATA: first(3) TYPE n VALUE 16. "Line item counter
DATA: next(3) TYPE n . "Line item counter
DATA: lin(3) TYPE n . "Line item counter
DATA: l_v_bmsch(13), "Base qty
l_v_meinh(3), "Unit of Measure
l_v_vgw01(11), "Machine
l_v_vgw02(11), "Labour
l_v_vge01(3). "Unit of measure of activity
DATA l_v_nextline TYPE sy-tabix.
DATA wa_temp TYPE ty_record.
Initialize Counter
l_cnt_item = 1.
SORT i_record BY matnr.
LOOP AT i_record INTO wa_record.
AT NEW matnr.
REFRESH: i_bdcdata,
i_messtab.
SET PARAMETER ID 'PLN' FIELD space.
SET PARAMETER ID 'PAL' FIELD space.
PERFORM f_bdc_dynpro USING 'SAPLCPDI' '1010'.
PERFORM f_bdc_field USING 'BDC_OKCODE'
'/00'.
Material Number
PERFORM f_bdc_field USING 'RC27M-MATNR'
wa_record-matnr.
Plant
PERFORM f_bdc_field USING 'RC27M-WERKS'
c_werks.
PERFORM f_bdc_field USING 'RC271-PLNNR'
Check if routing already exits for the material
SELECT * FROM mapl
INTO mapl
WHERE matnr EQ wa_record-matnr
AND werks EQ c_werks
AND plnty EQ 'N'.
IF sy-subrc EQ 0.
PERFORM f_bdc_dynpro USING 'SAPLCPDI' '1200'.
PERFORM f_bdc_field USING 'BDC_OKCODE'
'=ANLG '.
ENDIF.
ENDSELECT.
perform f_bdc_dynpro USING 'SAPLCPDA' '1200'.
perform f_bdc_field USING 'BDC_OKCODE'
'=VOUE'.
Group Counter
perform f_bdc_field USING 'PLKOD-PLNAL'
Usage
PERFORM f_bdc_field USING 'PLKOD-VERWE'
'1'.
Status
PERFORM f_bdc_field USING 'PLKOD-STATU'
'4'.
ENDAT.
PERFORM f_bdc_dynpro USING 'SAPLCPDI' '1400'.
Check if page is full
IF l_cnt_item EQ '16'.
Page down
PERFORM f_bdc_field USING 'BDC_OKCODE'
'=P+'.
l_cnt_item = 1.
ELSE.
PERFORM f_bdc_field USING 'BDC_OKCODE'
'/00'.
ENDIF.
CLEAR v_fnam.
Populate item level details
Work Center
CONCATENATE 'PLPOD-ARBPL(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-arbpl.
Control Key
CONCATENATE 'PLPOD-STEUS(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
c_steus.
Description of Operation
CONCATENATE 'PLPOD-LTXA1(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-ltxa1.
Base Quantity
CONCATENATE 'PLPOD-BMSCH(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-bmsch.
Unit of Measure
CONCATENATE 'PLPOD-MEINH(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-meinh.
Machine
CONCATENATE 'PLPOD-VGW01(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-vgw01.
Labour
CONCATENATE 'PLPOD-VGW02(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-vgw02.
Unit of measure of activity
CONCATENATE 'PLPOD-VGE01(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-vge01.
l_cnt_item = l_cnt_item + 1.
CLEAR wa_record.
AT END OF matnr.
PERFORM f_bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM f_bdc_field USING 'BDC_OKCODE'
'=BU'.
wa_opt-DISMODE = 'A'.
wa_opt-DEFSIZE = 'X'.
wa_opt-UPDMODE = 'S'.
PERFORM f_bdc_transaction USING 'CA01'.
Initialize Counter
l_cnt_item = 1.
ENDAT.
ENDLOOP.
ENDFORM. " f_fill_bdctab
x----
*& Include ZROUT_INCLUDE_F_CA01 *
*& Form f_read_file
Form to read the file from presentation server
FORM f_read_file .
To get the file name
DATA l_v_file TYPE string.
l_v_file = P_FILE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = l_v_file
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = i_record
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
ENDFORM. " f_read_file
*& Form f_bdc_dynpro
Form to populate BDC Tab for new screen
-->fp_program Screen program name
-->fp_dynpro Screen Number
Start new screen *
FORM f_bdc_dynpro USING fp_program fp_dynpro.
CLEAR wa_bdcdata.
wa_bdcdata-program = fp_program.
wa_bdcdata-dynpro = fp_dynpro.
wa_bdcdata-dynbegin = 'X'.
APPEND wa_bdcdata TO i_bdcdata.
ENDFORM. "f_bdc_dynpro
*& Form f_bdc_field
Insert field *
FORM f_bdc_field USING fp_fnam fp_fval.
IF NOT fp_fval IS INITIAL.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = fp_fnam.
wa_bdcdata-fval = fp_fval.
APPEND wa_bdcdata TO i_bdcdata.
ENDIF.
ENDFORM. "f_bdc_field
*& Form f_bdc_transaction
Call transaction and error handling
-->fp_tcode Transaction code
FORM f_bdc_transaction USING fp_tcode.
DATA: l_mstring(480),
l_color TYPE i,
l_mode TYPE c.
REFRESH i_messtab.
CALL TRANSACTION fp_tcode USING i_bdcdata
OPTIONS FROM wa_opt
MESSAGES INTO i_messtab.
Messages during upload
LOOP AT i_messtab INTO wa_messtab.
CASE wa_messtab-msgtyp.
WHEN 'S'.
l_color = 5.
WHEN 'E'.
l_color = 6.
WHEN 'W'.
l_color = 3.
ENDCASE.
FORMAT COLOR = l_color.
SELECT SINGLE * FROM t100 WHERE sprsl = wa_messtab-msgspra
AND arbgb = wa_messtab-msgid
AND msgnr = wa_messtab-msgnr.
IF sy-subrc = 0.
l_mstring = t100-text.
IF l_mstring CS '&1'.
REPLACE '&1' WITH wa_messtab-msgv1 INTO l_mstring.
REPLACE '&2' WITH wa_messtab-msgv2 INTO l_mstring.
REPLACE '&3' WITH wa_messtab-msgv3 INTO l_mstring.
REPLACE '&4' WITH wa_messtab-msgv4 INTO l_mstring.
ELSE.
REPLACE '&' WITH wa_messtab-msgv1 INTO l_mstring.
REPLACE '&' WITH wa_messtab-msgv2 INTO l_mstring.
REPLACE '&' WITH wa_messtab-msgv3 INTO l_mstring.
REPLACE '&' WITH wa_messtab-msgv4 INTO l_mstring.
ENDIF.
CONDENSE l_mstring.
WRITE: / wa_messtab-msgtyp, l_mstring(250).
ELSE.
WRITE: / wa_messtab.
ENDIF.
FORMAT COLOR OFF.
ENDLOOP.
SKIP.
ENDFORM. " f_bdc_transaction
FORM F1001_GET_F4.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
PROGRAM_NAME = SY-REPID
DYNPRO_NUMBER = SY-DYNNR
FIELD_NAME = P_FILE
CHANGING
FILE_NAME = P_FILE
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
File is not selected
MESSAGE I000 WITH TEXT-M01.
ENDIF.
ENDFORM. " F1001_GET_F4Sudipta,
Would request you to post this to ABAP-Forum for Immediate response.
I had this problem, but the ABAP guy did something to correct this...it was more of screen resoultion difference between the recorded system and uploading system. Please try to use the same system which was used to record and try.
Regards,
Prasobh -
HT204266 I am facing problem to connect to the App Store using 3G and wi-fi
Hello
I am facing problem to connect to App Store from my iphone using 3G and wi-fi. It allows me to update the installed apps.The iTune Store is not available in certain countries
http://support.apple.com/kb/TS3599 -
Problems faced while using MicrosoftOfficeInterop
We are developing a windows program solution in which we programmatically access the Excel functionality and control the behaviour of the *.xlsx files.
We are using
Visual Studio 2012 Professsional,
Language C#
Namespace Microsoft.Office.Interop.Excel.
Functions being used are standard functions like
ExcelApp.Workbooks.Open(…….)
WorkBook.Save(..)
WorkBook.Close(..) etc.
To control behaviour of .xlsx files, We are also using events like
BeforeClose
BeforeSave
BeforePrint etc
On few systems (operating systems Windows 7 and above with Microsoft Office 2010 and above) we are facing problems. It gives exception with exception message as “HRESULT: 0x800AC472”. This exception is raised randomly (i.e. if it is raised while
using WorkBook.Save(..) but few seconds before this , same file is successfully saved at same machine and same path. OR if it is raised while using ExcelApp.Workbooks.Open(…….), the same was successful just before few miliseconds.)
We know one instance where it is expected to happen. If we are working on a machine where the office installed is a trial version (i.e. the Product Key id is not entered during installation), the above problem is known to happen. But it disappears immediately
after we feed the Product key. The Program behaves perfectly.
But on few machines where the windows is properly installed and the Office is also properly installed, the above mentioned problem is faced and we are not able to locate why the problem occurs.
Can you guide us to locate the problem and overcome the same?Hi Mukund,
The
Excel for Developers forum is a better place for Office development questions. Please feel free to open a new thread at there.
Thank you for your understanding.
Best Regards,
Franklin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Facing problem in loading table using IKM Oracle Slowly Changing Dimension
Hi,
I am facing problem in loading dimension table using IKM Oracle Slowly Changing Dimension
Following is the setup :-
SRC :- source_table (MSSQL)
Staging :- staging_table (MSSQL)
TRGT :- target_table (Oracle)
-------- source_table
group_id int
group_version_id int
name varchar (255)
description varchar (255)
comments varchar (2000)
ref_number varchar (255)
is_latest_version decimal (5)
is_deleted decimal (5)
--------- target_table
id number (38,0) - Mapped to <%=odiRef.getObjectName( "L" , "SEQ_NAME" , "D" )%>.nextval
- Executed on target
- defined the column as SK in model
group_id number (38,0) - defined the column as NK in model
group_version_id number (38,0) - defined the column as NK in model
name varchar (255) - undefined on the model description
description varchar (255) - Add row on change
comments varchar (2000) - Add row on change
ref_number varchar (255) - Add row on change
is_latest_version number (1,0) - Add row on change
is_deleted number (1,0) - Add row on change
start_datetime date - SYSDATE
- Executed on target
- Starting Timestamp
end_datetime date - NULL
- Executed on target
- End Timestamp
I am using following KM's:-
LKM SQL to SQL
IKM Oracle Slowly Changing Dimension
CKM SQL
it gives me the following error -
920:Invalid relational operatorHi,
Yes, this is a run-time error. Currently I am debugging it by checking SNP_SESS_TXT_LOG based on sess_no ID.
Now, I get the following error.
I just see the following in the operator:-
911 : 42000 : java.sql.BatchUpdateException: ORA-00911: invalid character
911 : 42000 : java.sql.SQLException: ORA-00911: invalid character
java.sql.BatchUpdateException: ORA-00911: invalid character
at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:342)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10720)
at com.sunopsis.sql.SnpsQuery.executeBatch(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
So, I do not get any idea of the exact step that is causing failure.
Is there any setting in the operator that I am missing on? -
Facing problem in using webutil functions
hi,
i have developer suite 10g(9.0.4),
i download web util 1.0.6, update all the required changes,
i also download the template, which shows the
but still i am facing problem in using any function,
when i am using get_system_property method then it return exception (06502) value or string error, and all the other functions return no_data_found exception
please help me!!!
with regards,
sidharthSidharth,
unfortunately your question doesn't provide enough details to help you out of this. Please provide the code that you use in the function call that causes the exception. If you have error messages to share, the better it is.
Frank
Maybe you are looking for
-
How can I delete event files from iMovie to save disk space?
I have been shooting a lot of HD video of my son's soccer games and am now realizing some of the problems with the newer iMovie 10. It appears to not allow for partial video deletion of videos in events (really too bad because previous versions of
-
IPod classic randomly restored on its own and now wont connect to itunes..
Hey guys So last week i sync'd my iPod Classic 80gb and everything worked fine. I've been away for the week and have used my iPod in a couple of different speakers/car transmitters/playstation etc and they have all worked fine. Then when I got home t
-
Regarding BADI implementation in Debugging
Hi, i have a doubt regarding BADI.There are multiple badi implementations for VA02 transaction. now i am processing the VA02 transaction. Can i know which implementation is processing for the transaction.
-
I would like to change my apple id to my current email
when updating or getting a new app my old email id is my user id id like my new email to be my id how do i change it?
-
HT4009 How to download an in-app purchase?
I just purchased an in-app level and it says it's been purchased but not downloaded. I tried going to itunes but still did not find a way to download it. Please tell me how to do so. I paid for it I don't want it to go to waste.My