Debug form with message control
Hello,
I' need debug a form (SE71) when a message is printed. For example, type message ZFRG, transaction ME42, i save the new message but not activing debug (before, i go to se71 and 'utilities' -> Activer Debug)
How can i do?,
thanks very much
Try to activate UPDATE DEBUGGING while saving through ME42.
Regards
Vinod
Similar Messages
-
Creation of Custom IDoc with Message control for sales Order
Hi all,
I am trying to create custom Outbound IDoc with message control.
I wrote the code in a function module and i want to register that function module. (as in inbound registration of function module as in BD51).I am not knowing if that registration is necessary for outbound Idoc, if so in which transacition?
Please list me the steps to create a custom IDoc for Message control.
Thanks in advance,
Regards,
John.Hi,
You need to use FM : MASTER_IDOC_DISTRIBUTE to create outbound idoc.fill the data in the tables EDIDC,EDIDD and generate the IDOC.
check this link:
Re: Master_IDoc_Distribute
and use transaction : WEDI for IDOC configurations.
here you will have all the transactions(step by step) to set the outbound IDOC configurations.
Regards
Appana -
IDOC Creation with message control
I have created an IDoc using standard FM ' MASTER_IDOC_DISTRIBUTE' (without message control) for my own table. Now, I want to create IDoc with message control to send data from SAP to SAP. Can anyone please tell me the steps to create IDoc for my own database table and program to be created.
Thanks in advance.Pankaj,
You can access the following link to understand Custom IDOC creation flow.
http://wiki.scn.sap.com/wiki/display/HOME/Step+by+Step+procedure+for+creation+of+IDOC
In The Process code FM, you can call Z-API to update your own database table & create a program to trigger & process the IDOCs.
Further, a report program can be created to trigger/monitor IDOCs.
Ravi -
I have a form with no database block. there is only one control block with a button
when a user presses the button I insert record into a table and then commit;
I am getting no changes to save message. how can I avoid that.
(setting record-status to query?) any other way?Change your design of logic. In the case insert and commit in procedure on the server side.
Try to play with :system.message_level.
Well, consider using the FORMS_DDL command, of course. -
Adding Controls dynamically in the Infopath/Web form with dynamic controls
Hello,
The client requirement is to create SharePoint solution for the below image. A web form/Info-path form will be created where user can enter the details and data will be submitted. I am looking for a solution to implement the requirements in SharePoint .
if not possible then using customizations and SQL server.
User can enter the Title , Overview in the form , which we can make Single line and multiple line of Text. The problem is with third , fourth and fifth fields.
1) In third field , i.e. Qualification Summary , User can add/delete , dynamic text boxes..This can be achieved I think using repeating tables/sections in Infopath...How data will be saved in SharePoint columns as it is not fixed that how many
columns user can enter , how columns(static) will be created in the list ??
2) For fourth field , user will select one or many Project description title n descriptions which are there in the system..User will not write anything just select..But how many project descriptions they can select , again its not fixed..How
we can manage it in SharePoint List OR any custom solution ?
3) For fifth field , user will select one or many Awards which are there in the system.User will not write anything just select..But how many awards they can select , again its not fixed..How we can manage it in SharePoint List OR any custom
solution ?
Vipul Jain>Lets say , the data for user selection is stored in two separate lists
secondary data connection is only for one list so you can get data from only single list by creating list connection. Later you can drag & drop that connection as repeating table or bind with any control so display in form. If you have mulitiple list
then you may use lookup column or would need to create two seperate data connection.
>Do you think its a right approach ?
multi selection listbox is helpful if requirement is select multiple records or filter records. You can almost achieve most of the requirement but still depends on business need. Ofcource some limitation is also there.
>I'm planning to propose a custom .net form
Of course custom form is always better than OOTB in some cases but i always prefer OOTB solution if my requirement is being achieved by it.
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Hi Guys,
I have a small problem. I wish to trigger an IDoc to my Vendor as soon as a Purchase Order is created in my system. I am using Message Control for it.
All the configuration for proposing the output type have been done and I am getting the desired output type shown in the "Messages" with correct recepient . But when the PO is saved and the Idoc is generated I find that the IDoc is sent to some other Logical System and not to the vendor.
I have created the partner profile for the Vendor with the outbound parameters.
Can anybody tell me what am I missing or could be wrong in my settings?
Regards,
Prakash PandeyDo you have a specific requirement?
For example, purchase order message control parameters will look like this,
Message type - Orders
application - EF
Message type - NEU
Process code ME10
For purchase order change,
Message type - ORDCHG
application - EF
Message type - NEU
Process code ME11
Change flag set -
C++ form with awt controls do not respond
I have created mfc project in visual studio c++ 6.0. Then I modified MainFrm.cpp.
Here in CMainFrame::OnShowWindow I initialize jvm, create WEmbeddedFrame and put Button in it. Is runs ok, but 2 problems:
1. I can't click button. Just as there is some panel over java gui and it catches all mouse and keyboard events.
2. java gui some times do not repaints itself, or repaints only part of it
The form was inspired by http://www.codeproject.com/KB/cpp/OOJNIUse.aspx (but I do not use OOJNI, as you can see).
There is a bug in WEmbeddedFrame, but it deals with swing, not awt: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4982522. To work around it I call addNotify() method.
Can someone help me with this code?
// MainFrm.cpp : implementation of the CMainFrame class
#include "stdafx.h"
#include "mfc.h"
#include <jni.h>
#include <string.h>
#include <jawt.h>
#include <jawt_md.h>
#include <comdef.h>
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMainFrame
IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)
BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)
ON_WM_CREATE()
ON_WM_SHOWWINDOW()
END_MESSAGE_MAP()
static UINT indicators[] =
ID_SEPARATOR, // status line indicator
ID_INDICATOR_CAPS,
ID_INDICATOR_NUM,
ID_INDICATOR_SCRL,
jobject obj_frame;
JNIEnv *env;
jclass class_JString;
// CMainFrame construction/destruction
CMainFrame::CMainFrame()
// TODO: add member initialization code here
CMainFrame::~CMainFrame()
//jvm->DestroyJavaVM();
TRACE0("JVM destroyed\n");
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
if (CFrameWnd::OnCreate(lpCreateStruct) == -1)
return -1;
if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP
| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndToolBar.LoadToolBar(IDR_MAINFRAME))
TRACE0("Failed to create toolbar\n");
return -1; // fail to create
if (!m_wndStatusBar.Create(this) ||
!m_wndStatusBar.SetIndicators(indicators,
sizeof(indicators)/sizeof(UINT)))
TRACE0("Failed to create status bar\n");
return -1; // fail to create
// TODO: Delete these three lines if you don't want the toolbar to be dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);
return 0;
void CMainFrame::OnShowWindow(BOOL bShow, UINT nStatus) {
CFrameWnd::OnShowWindow(bShow, nStatus);
//******************************** JAVA
JavaVM * jvm;
long status;
JavaVMOption options[2];
JavaVMInitArgs vm_args;
options[0].optionString = ".Djava.class.path=.;c:\\";
options[1].optionString = "-verbose:jni";
memset(&vm_args, 0, sizeof(vm_args));
vm_args.ignoreUnrecognized = true;
vm_args.version = JNI_VERSION_1_4;
vm_args.nOptions = 2;
vm_args.options = options;
status = JNI_CreateJavaVM(&jvm, (void**) &env, &vm_args);
if (status == JNI_ERR) {
return;
TRACE0("JVM created\n");
//class_JString = env->FindClass("foo/Test");
TRACE0("Class found\n");
//create frame
//jmethodID id_Test = env->GetMethodID(class_JString, "<init>", "(J)V");
TRACE0("Method found\n");
//obj_frame = env->NewObject(class_JString, id_Test, m_hWnd);
TRACE0("Object created\n");
jclass class_Button = env->FindClass("java/awt/Button");
TRACE0("Class Button found\n");
jclass class_WEmbeddedFrame = env->FindClass("sun/awt/windows/WEmbeddedFrame");
TRACE0("Class WEmbeddedFrame found\n");
jclass class_Container = env->FindClass("java/awt/Container");
TRACE0("Class Container found\n");
jmethodID b_const = env->GetMethodID(class_Button, "<init>", "(Ljava/lang/String;)V");
TRACE0("Constructor Button found\n");
jmethodID f_const = env->GetMethodID(class_WEmbeddedFrame, "<init>", "(J)V");
TRACE0("Constructor WEmbeddedFrame found\n");
jmethodID f_add = env->GetMethodID(class_Container, "add", "(Ljava/awt/Component;)Ljava/awt/Component;");
TRACE0("Method WEmbeddedFrame.add found\n");
jmethodID f_setSize = env->GetMethodID(class_WEmbeddedFrame, "setSize", "(II)V");
TRACE0("Method WEmbeddedFrame.setSize found\n");
jmethodID f_show = env->GetMethodID(class_WEmbeddedFrame, "show", "()V");
TRACE0("Method WEmbeddedFrame.show found\n");
jmethodID f_addNotify = env->GetMethodID(class_WEmbeddedFrame, "addNotify", "()V");
TRACE0("Method WEmbeddedFrame.addNotify found\n");
jobject button = env->NewObject(class_Button, b_const, env->NewStringUTF("qqq"));
TRACE0("Button created\n");
jobject frame = env->NewObject(class_WEmbeddedFrame, f_const, m_hWnd);
TRACE0("WEmbeddedFrame created\n");
env->CallVoidMethod(frame, f_addNotify);
TRACE0("Frame added Notify\n");
env->CallVoidMethod(frame, f_setSize, 100, 100);
TRACE0("WEmbeddedFrame setSize called\n");
env->CallVoidMethod(frame, f_add, button);
TRACE0("Button added\n");
env->CallVoidMethod(frame, f_show);
TRACE0("Frame shown\n");
//******************************** JAVA
ShowWindow(SW_NORMAL);
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return TRUE;
// CMainFrame diagnostics
#ifdef _DEBUG
void CMainFrame::AssertValid() const
CFrameWnd::AssertValid();
void CMainFrame::Dump(CDumpContext& dc) const
CFrameWnd::Dump(dc);
#endif //_DEBUG
// CMainFrame message handlersDon't post new questions on old threads.
...in C calling a Java Applet. And your program do it.How do you figure?
I seriously doubt that the fundamental problem here is a JNI problem versus just a java one. I would expect that the applet viewer either calls a Sun class or even a Java API class. Nothing more. Asking a carefully phrased question in one of the GUI forums might get the answer as well as getting the Sun source for any recent jdk and looking at the code for the applet viewer. -
COPA validation with message control
Dear All,
I would like to setup the system to prompt the error message if users not input PLANT in Profitability Segment when doing FB50.
The main problem is where to control the message. I tried "Define Validation" - OKC7, but I couldn't found a Application Area that contains
the Profit. Segment. Otherwise, this Validation function is good for message prompt.
I don't want to set "Maintain Characteristic Groups" for field Plant to be REQUIRED. As only one Company Code wants to have this control.
Where I can do it ?You can try to use FI validations via user exit. there you can judge whether the field plant is entered or not for specific company code and issue customer message correspondingly. Remember to use table CE4XXXX_ACCT for fields selection.
-
Outbound with and with out message control
hai All,
In Out bound process when to go with message control and when to go with direct(without message control)?
thanks in advance
PraveenHi,
There are two ways to trigger an outbound idoc, 1. thru message control
and 2. without a message control.
Message control comes into picture if the application document is controlled by a output type.
Suppose a purchase order is created, then to send the purchase order to vendor, with the help of output type, the idoc will be triggered. This output type along with message type will be configured in Partner profiles.
Without message control comes into picture if its a master data like Customer master r Material master. U can use BD10,BD11 etc.,
Regards
Kannaiah -
Ale/Idocs ..... what is the role of message control
Hi Guy s..
Can Any one.. tell me.. Importance of message control , Stand alone and change pointer s in Ale Idoc''' and where to use...Hi,
Message Control:
With Message Control is documents are output based on
certain conditions. In ALE scenarios this is basically used for transfer transaction data (fulfilling configuration settings defined in message control) from one system to another system.
Example: If you want to send purchase order IDocs from customer to vendor system using ALE. When saving of purchase order the IDocs should be triggered. Further the IDocs should only be sent when the purchasing document fulfils certain conditions - purchase document of a certain document type only needs to be sent. By output control we can configure the conditions and the timing (when the document should be triggered) and using ALE (as interfacing technology) we can send IDocs (containing application data fulfilling conditions) from one system to another system.
For More Info on Message Control,
/people/gajendra.bhakuni/blog/2007/03/13/message-control-output-control-for-ale
Change Pointers:
Change pointers are the mechanism through which you can send data to another SAP system or external system if there is a change happening to specific fields of master data.
Change Pointer (Master Data Distribution)
Purpose
If you want to distribute master data changes with the SMD tool (Shared Master Data), changes to the master data objects are flagged for distribution by change pointers ( ® Master Data Distribution).
The SMD tool is connected to the change document interface. If the master data changes are to be distributed, the application writes a change document. The contents of this are passed to the SMD tool. The tool writes change pointers, reads the application data and creates the master IDoc.
The master IDoc is then passed to the ALE layer, which sends it to all interested systems.
The change pointer tables (BDCP und BDCPS) should be as small as possible. Use as few change pointers as possible and delete change pointers which you no longer need.
do the following steps for Change pointers ::
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
go through this link which ll give you detail about the change pointer
http://www.angeli.biz/www5/cookbooks/workflow/workflow_30/docu.htm
http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm
http://help.sap.com/saphelp_470/helpdata/en/dc/eb683c00e8a646e10000000a11402f/frameset.htm
Regards,
Padmam. -
When connected to my new Ford Mondeo, my ipod nano can be controlled through user interface in car. This worksd most of the time, but after a while if I try to change the music or search, it comes up with message 'Loading Data'. I then have to pull out USB and reinseert, at which point it works again. Has anyone esle expereinced this/have a solution?
Does not matter if anyone else has this issue. You need to contact the Ford dealership. It's their product you are having problems with.
If you really want to know if anyone else has this issue, post on Ford's Mondeo message boards. It's where the Ford car owners hang out. -
How to make a jsf parameter form with a selectOneChoice and data control
I want to make a parameter form with a selectOneChoice and store this value in a backing bean, so I can use as a bind variable in query. I already made it happen without data control
Can someone show how to do it in adf data control. With the wizard it tries put the value
in a viewobject but I don't have base or destination viewobject. I can change the pagedef
so it works to fill the selectOneChoice but then I want to store the selected value in a session beab
here is solution with the application module and request / session bean, I don't
think it is the right solution
thanks edwin
jsf page
<af:selectOneChoice label="Desk" value="#{selectDesk.desk}"
id="DeskID"
binding="#{selectDesk.deskBinding}"
autoSubmit="true"
valueChangeListener="#{selectDesk.deskChangeListener}">
<f:selectItems value="#{selectDesk.deskSelectItems}"/>
</af:selectOneChoice>
Selektdesk backing bean
public SelectDesk(){
FacesContext facesContext = FacesContext.getCurrentInstance();
ValueBinding valueBinding = facesContext.getApplication().createValueBinding("#{userInfo}");
userInfo = (UserInfo) valueBinding.getValue(facesContext);
public List<SelectItem> getDeskSelectItems() {
if ( userInfo.getSelectItems() != null ) {
selectItems = userInfo.getSelectItems();
return selectItems;
if ( getBindings() != null ) {
userInfo.setBindings( getBindings());
else {
setBindings(userInfo.getBindings()) ;
if ( selectItems == null ) {
selectItems = new ArrayList<SelectItem>();
DCBindingContainer bc = getBindings();
SicmaService sicma = (SicmaService)bc.findDataControl("SicmaServiceDataControl").getDataProvider();
ViewObject desk = sicma.findViewObject("DeskSelectView1");
desk.executeQuery();
RowSet rows = desk.getRowSet();
while (rows.hasNext()) {
Row a = rows.next();
String DskId = a.getAttribute(0).toString();
String DskOms = a.getAttribute(1).toString();
selectItems.add( new SelectItem(DskId ,DskOms ));
rows.closeRowSet();
userInfo.setSelectItems(selectItems);
return selectItems;
faces-config.xml
<managed-bean>
<managed-bean-name>selectDesk</managed-bean-name>
<managed-bean-class>org.tennet.sicma.view.backing.SelectDesk</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>bindings</property-name>
<property-class>oracle.adf.model.binding.DCBindingContainer</property-class>
<value>#{bindings}</value>
</managed-property>
</managed-bean>The SRDemo has an example of a selectOneRadio bound to a parameter being used to pass to an ExecuteWithParams action (to automatically feed a view object's named bind variable. This is in the SRStaffSearch.jspx page.
Also, if you check out example # 72 from my blog:
http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#72
There is another example of using a selectOneListbox to do the same type of thing.
The steps involved in creating something like this are to:
(1) Define your named bind variables on your view object
(2) Drop the "ExecuteWithParams" action in the operations folder of that view object from the Data Control Palette to your page as a "Parameter Form"
(3) Drop the specific attribute (nested child of the "ExecuteWithParams" action from step (2) as whatever kind of selectOneXXXX control you want
(4) Delete the extra field on the form you don't want. -
Can anyone send about ALE-MESSAGE CONTROL with real time scenario?
hi friends,
i have doubt on ALE-MESSAGE CONTROL METHOD.
SO, anyone can explain with a real time example.
If have a chance please send with screenshots or with navigationsCheck out this blog:
Message Control (Output Control) for ALE
Raja -
Hi,
I have a form with a WebBrowser control. When I load a page, I am getting the following error popup:
Stop running this script?
A script on this page is causing your web browser to run slowly.
If it continues to run, your computer might become unresponsive.
How to suppress the above error? I tried using WebBrowser.ScriptErrorsSuppressed by setting it to true. But it didn't work for me.
Thanks in advance.
Thanks PrasadHi,
I have a form with a WebBrowser control. When I load a page, I am getting the following error popup:
Stop running this script?
A script on this page is causing your web browser to run slowly.
If it continues to run, your computer might become unresponsive.
How to suppress the above error? I tried using WebBrowser.ScriptErrorsSuppressed by setting it to true. But it didn't work for me.
Thanks in advance.
Thanks Prasad
Hello,
In addition, would you mind sharing us the version of your IE and the detailed html code of that page?
Regards,
Carl
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. -
Can I control a remote Mac with Messages?
My OS: Mountain Lion
I need to control a remote Mac. The remote Mac has Internet with WildBlue Excede (satellite). I am on a cable modem. Both Macs are hard-wired to modems. I have had no luck establishing a connection with Apple Remote Desktop. I remember a day when I was able to control a remote Mac with both Macs running iChat, albeit fuzzy and somewhat slow. Now, we have Messages. Can it be done with Messages? Is there a better way?
ThanksIf both machines are signed into iCloud with the same account, you should be able to do remote screen sharing. This is a lot easier if you have an Airport Extreme or a Time Capsule that lets you put your iCloud credentials in there.
I think with message you'd be able to remote screen control but the remote user would have to accept your request.
Maybe you are looking for
-
Are there any tools to provide hirarchical infos on TS Seqs?
Hi all, I have a rather large TS project within 3 different sequence files. Involves about 130 sequences and about 200 support VIs as well as some support DLLs. Recently I had to change the function prototype and the hirarchy of some of the DLLs. Thi
-
Forms demo for Oracle developer Suite 10.1.2.0.2
Hello people, I have tried to follow the instructions for the form demo and have installed Oracle devleoper sute 10.1.2.0.2. In the instructions it instructs you to edit the %ORACLE_HOME%\forms\j2ee\formsapp\formsweb\WEB-INF\web.xml where %ORACLE_HOM
-
This issue has probably been dealt with several times before in this forum, but I have a question about tabbed windows. I have Safari set to open new links as tabs. However it doesn't always work that way. Sometimes a link creates a whole new window.
-
Delete a single calendar on my ipad
On my iPad I am trying to delete a single calendar by following these steps ... 1. Select Calendar 2. at the bottom center select "Calendar" 3. In the box that opens select "Edit" in the upper left corner 4. After step #3 a box called "Edit Calendars
-
How to scale custom voltage readings
I am using a cDAQ 9172 and a c series module 9237 and I am getting wierd values for the pressure readings. I have checked this using a voltmeter and the voltmeter is giving me correct values. i.e. 0mV with no column of water on it and increasing mV r