Z BDC Field in the script
Hello Gurus,
We are working on Interactive script in the SAP CRM 7.0 and we are having a problem when a variable that comes from a non-standard BOL object is include in the script.
This BOL is not used in any view and it is just used to show additional information about the BP in the interactive script.
So we have the the BDC Field //CurrntCustomer/BuilZEncuestaCSConPeritoRel/NUM_SINIESTRO
In order to create the this BDC Field we have made a Z class as a sub-class of CL_BUIL_ABSTR and we redefined the READ method ( the class reads data from a Z table)
The attribute NUM_SINIESTRO is a field type NUMC(10) and when it is showed in the script it is in blank (0000000000) It does not show the real value.
At same time, we customized the corresponding enters in the view u2013 CRMV_OBJ_BUIL and u2013CRMV_MODEL_BUIL
Any help??
Thanks in advance.
Raquel
Yes you can undo the delegation at any point of time not to worry. It is just atable entry.
Go to swo1->Settings->Delegates
If you want to use a Custom Business object that is a delegate of a Standard Business Bo you can use it. You create a Virtual attribute in your custom Business Object. If you delegate the Custom bo with Standard BO. Whenever you refer to standard Business Object you will have this Custom attribute in your kitty. This will help in start Condition.
<b>Reward points if useful</b>
Similar Messages
-
Reg:How to add fields to the scripts in detail
How to add fields to the scripts in detail.
Plz give me one example help me out.Hi
add fields to the scripts by sending that field between two &s.
for example if u want to add lifnr of lfa1 table then pass field like this.
&wa_lfa1-lifnr&.here wa_lfa1 is work area for internal table it_lfa1.
if name1 then &wa_lfa1-name1&
in this way you can add fields to the script under any window.
i am sending one example program for scripts.
&--structure declaration--
TYPES:BEGIN OF ST_LFA1,
LIFNR TYPE LFA1-LIFNR,
NAME1 TYPE LFA1-NAME1,
LAND1 TYPE LFA1-LAND1,
ORT01 TYPE ORT01,
REGIO TYPE REGIO,
END OF ST_LFA1.
TYPES:BEGIN OF ST_EKKO,
EBELN TYPE EKKO-EBELN,
BUKRS TYPE EKKO-BUKRS,
AEDAT TYPE EKKO-AEDAT,
ERNAM TYPE EKKO-ERNAM,
BSTYP TYPE EKKO-BSTYP,
LIFNR TYPE EKKO-LIFNR,
END OF ST_EKKO.
TYPES:BEGIN OF ST_EKPO,
EBELN TYPE EKPO-EBELN,
EBELP TYPE EKPO-EBELP,
LOEKZ TYPE EKPO-LOEKZ,
AEDAT TYPE EKPO-AEDAT,
MATNR TYPE EKPO-MATNR,
NETWR TYPE EKPO-NETWR,
END OF ST_EKPO.
&--internal table,work area declaration--
DATA:WA_LFA1 TYPE ST_LFA1,
IT_LFA1 TYPE STANDARD TABLE OF ST_LFA1,
WA_EKKO TYPE ST_EKKO,
IT_EKKO TYPE STANDARD TABLE OF ST_EKKO,
WA_EKPO TYPE ST_EKPO,
IT_EKPO TYPE STANDARD TABLE OF ST_EKPO.
&--data declaration--
DATA:TOTAL TYPE EKPO-NETWR,
V_EBELN TYPE EKKO-EBELN.
data: v_item(20) type c.
&--parameter for purchase document number--
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS P_PURDOC LIKE V_EBELN.
SELECTION-SCREEN END OF BLOCK B1.
START-OF-SELECTION.
PERFORM GET_DATA_FROM_EKKO.
PERFORM GET_DATA_FROM_LFA1.
PERFORM GET_DATA_FROM_EKPO.
&--grand total--
LOOP AT IT_EKPO INTO WA_EKPO.
TOTAL = TOTAL + WA_EKPO-NETWR.
CLEAR WA_EKPO.
ENDLOOP.
&--open form--
CALL FUNCTION 'OPEN_FORM'
EXPORTING
DEVICE = 'PRINTER'
FORM = 'Z_50886_VENDOR'
LANGUAGE = SY-LANGU
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
CODEPAGE = 11
OTHERS = 12
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
&--write form for header details--
READ TABLE IT_EKKO INTO WA_EKKO INDEX 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'HEAD'
WINDOW = 'HEADER'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
&--write form for item details--
LOOP AT IT_EKPO INTO WA_EKPO.
concatenate wa_ekko-ebeln wa_ekpo-ebelp into v_item.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM'
WINDOW = 'MAIN'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDLOOP.
&--write form for vendor details--
READ TABLE IT_LFA1 INTO WA_LFA1 INDEX 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'VENDOR'
WINDOW = 'ADDRESS'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
&--write form for grand total--
CALL FUNCTION 'WRITE_FORM'
EXPORTING
WINDOW = 'TOTAL'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
&--close form--
CALL FUNCTION 'CLOSE_FORM'
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
CODEPAGE = 5
OTHERS = 6
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*& Form get_data_from_ekko
FORM GET_DATA_FROM_EKKO .
SELECT EBELN
BUKRS
AEDAT
ERNAM
BSTYP
LIFNR
FROM EKKO INTO TABLE IT_EKKO WHERE EBELN = P_PURDOC.
ENDFORM. " get_data_from_ekko
*& Form get_data_from_lfa1
FORM GET_DATA_FROM_LFA1 .
IF NOT IT_EKKO[] IS INITIAL.
SELECT LIFNR
NAME1
LAND1
ORT01
REGIO
FROM LFA1 INTO TABLE IT_LFA1 FOR ALL ENTRIES IN IT_EKKO WHERE
LIFNR = IT_EKKO-LIFNR.
ENDIF.
ENDFORM. " get_data_from_lfa1
*& Form get_data_from_ekpo
FORM GET_DATA_FROM_EKPO .
IF NOT IT_EKKO[] IS INITIAL.
SELECT EBELN
EBELP
LOEKZ
AEDAT
MATNR
NETWR
FROM EKPO INTO TABLE IT_EKPO
WHERE EBELN = P_PURDOC.
ENDIF.
ENDFORM. " get_data_from_ekpo -
How to fill fields in the script ..
Hai
I wanted to make sap script which have excise details .
It has total 17 fields .. the standard example is J_2i_rg1 is the standard sap form.
and program name is j_2irrg1 . my out put will also similar to this ..
my problem is how i have to fill all the filelds in custom script. and how to allign correctly .
Please let me know .... tell me step by step procedure
Thankyou.
Regards
HarshaHi,
Are you copying the driver program and SAP print form from the standard one. If you are just making your custom form and not the driver program then you can directly use the data which is fetched by program.
For fetching extra info which is standard prog is not fetching you can make use of PERFORM command. Follow below link:-
[Perform_in_Script|http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm]
Alignment is done through the proper use of TABS. Refer below link for Alignment issues:-
[SAP_SCRIPT|http://wiki.sdn.sap.com/wiki/display/ABAP/SAPscript]
Hope it helps.
Thanks,
Daya -
Can a today's date be added in a date field when the submit button is pressed?
I created a form with a submit button and the form is sent via email. Can the date when the form is submitted show up in a date field with the button is pressed?
Any help with this is much appreciated. Thanks.Hi,
there is a preSubmit event for form objects you can use.
Select your date field, open the script editor and add this script (language is FormCalc) into the preSubmit event.
$ = num2date(date(), "MM/DD/YYYY") -
Digitally Sign All Signature Fields in the Active Document
I have a script which will sign a single digital signature field by the field name.
I need to revise the script so it will sign multiple/all signature fields in the active document without having to put the field name in the script, as the field names will vary with each document.
Can anyone please advise how to modify the script to sign all fields in the active document regardless of the field name?
function myOtherTrustedFunction()
app.beginPriv();
// Get and login to security handler
var oSigHdlr = security.getHandler( "Adobe.PPKLite" );
oSigHdlr.login( "123","/c/Documents and Settings/name/Application Data/Adobe/Acrobat/10.0/Security/FirstNameLastName.pfx");
// Setup Signing Properties
var chk = this.getField("Checked");
if (chk != null) {
// Apply Signature and save back to original file
var bRtn = chk.signatureSign({oSig:oSigHdlr, bUI:false, oInfo:{password:"123"}});
app.endPriv();
Any assistance will be most appreciated.Thank you for your help, the script will now count only the signature fields which have not been signed.
I have added the second part of the script to then sign all of the blank signature fields.
The script is only signing one of the digital signature fields instead of all of the blank signature fields.
Can you please advise how I can modify the script to sign all of the blank signature fields?
var count = 0;
for (var i = 0; i < numFields; i++) {
// Get the current field object
f = getField(getNthFieldName(i));
// If it's a signature field and not already signed, increment counter
if (f.type === "signature" && !f.value) {
count++;
var myEngine = security.getHandler( "Adobe.PPKLite" );
myEngine.login( "123", c/Documents and Settings/name/Application Data/Adobe/Acrobat/10.0/Security/FirstNameLastName.pfx" );
// Sign the field
f.signatureSign( myEngine,{password: "123"}); -
Focus lost in Date Field when the property autosubmit="true" is added
Hi,
I am using jdeveloper version 11.1.2.0.0.
The issue I am facing is when I add the property autosubmit="true" for a date field and if I am selecting a date value using date picker, the focus is lost for the date field. But when I remove the property autosubmit="true" for the date field and if I am selecting a date value using date picker, the focus stays in the date field. This I tried in sample application with the default converter and validator. Anybody can help me with this issue?Hi,
there is a preSubmit event for form objects you can use.
Select your date field, open the script editor and add this script (language is FormCalc) into the preSubmit event.
$ = num2date(date(), "MM/DD/YYYY") -
Filling Activity fields from the Interactive Script WinClient
Hi Experts,
I am working with Interactive Scripting (CRMM_TM_SCRIPT) and I already defined my interactive script. I am also creating Activities after I finish with the Script in order to register a case. I am doing this by defining an Action Type CIC-AB which calls an Action Box in the Interaction Center WinClient. In the Action field I define the name of the Activity I want to call from the Action Box of the Interaction Center.
When the Agent receives a call, he navigates in the Interactive Script in order to clasify the case he is treating. At the end of the Script, the case needs to be register following the clasification made by the Agent, and thats why we are calling an Activity. The thing is that we dont want the Agent to fill again the information he just defined in the Script in the Activiy, so we want to fill certain fields of the Activiy I am calling with Information of the Interactive Script I used before, in order to save time to the Agent that Register the Case.
Can anyome shed some light on this issue?
Thanks to everyone.Alberto
You can create an activity.i.e., you can create an Order from the Interactive Script if you already created the Script structurethen follow the below steps
I think it would be helpful
Procedure:
T-Code: EWFC0
Path: SPROIMGCustomer Relationship ManagementCustomer Interaction CenterVisible ComponentsAction Box SettingsDefine Configuration Profile for Action Box.
1. Choose F4 help to select one of the Action Box profiles you have created and you want to adapt and choose change.
2. Mark the Action box Configuration and create a new Action Box Group by choosing Create transaction group.
Enter a group ID, description and icon for the new transaction group and choose Continue.
3. Mark the new transaction group and create a new Action Box transaction by choosing Create transaction.
4. Enter a transaction ID.
5. Enter a Transaction Definition section, select Workspace.
6. In the Transaction Definition section, select Workspace.
Two additional fields will appear.
7 Choose F4 in the Workspace field to select the Script.
8. Choose F4 in the profile field to select the Interactive Scripting profile that you created in the previous steps above.
9. Enter a Slot Name if desired.
10. Choose Continue.
You are automatically taken to the Maintain Data Flow screen .No data flow parameters need to be maintained for the Interactive Scripting workspace.
11. Choose Back.
12 Choose Save.
Note: Since Only Workspace of this type can be open at once, you will need to close the Automatically Created Interactive Scripting Workspace before launching the Interactive Scripting Action Box call.
Regards
Surendra -
How to get the handle of all text fields in the subforms, using script
Hi Friends,
I have around 20 fields in a subform, how can i get the names of all the fields using script.
I wish to enhance the following script where the field names are hard coded
thereby the script itself will get the names of the field names.
var f1 = this.parent.somExpression + ".TextField2" + ",";
var f2 = f1 + this.parent.somExpression + ".DropDownList1" + ",";
var f3 = f2 + this.parent.somExpression + ".NumericField1";
xfa.host.resetData(f3);
Any help will be greatly appreciated..
Thanks
JJHi Paul,
Thanks for your comments.
I achieved the clear contents by resetting, by taking input from your thoughts..
form1.sub1.sub2.sub3.table_1.addDelete_Top.addDelete.deleteRow::click - (JavaScript, client)
//Here is my code finally look like..
//row 1, table_1 are also subforms
for (var i=1;i<10;i++){
var myRow = this.resolveNode("table_1.row1[" + i + "]");
if(myRow.presence == "hidden"){
i = i-1;
var myRowDelete = this.resolveNode("table_1.row1[" + i + "]");
if(i!=0){
xfa.host.resetData(myRowDelete.somExpression);
myRowDelete.presence = "hidden";
break;
if(i==9){
xfa.host.resetData(myRow.somExpression);
myRow.presence = "hidden";
break;
Thanks
JJ -
Filling Activity fields in the Interactive Script in the IC WinClient
Hi Experts
My question is how to pass parameters between two workspaces. More specifically between the workspace of the Interactive Script WinClient and the workspace Activity.
The thing is that after i finish navigating in the script, i need to call an activity, which is working good. However what i want is to fill some fields of the activity i am calling with information coming from the script
Can anyone help me on this issue?.
ThanksHi Shwetha,
Lina is right SAP supports JRE 1.4.2, I also had similar problem however please see what version of JRE are you using. If you are using anything below JRE 1.4.2 you could probably upgrade to JRE 1.4.2. If you are using anything above JRE1.4.2 you may not be able to downgrade. In that case you could probabaly upgrade to 1.6.0. I could do all the functions in Interactive Script Editor with 1.6.0 except assigning Script to Script profile and you could do that alternatively through SPRO. One of my colleague had JRE 1.5 and was facing some issues. Secondly, Interactive Script Editor takes a while to populate therefore be a bit patient.
To know which version of Java is installed on your local machine Click on Tools -> Sun Java Console.
Regards,
Deepak -
I have mapped the fields on the selection-screen to the BDC on transaction
I have mapped the fields on the selection-screen to the BDC on transaction F110.
When I am selecting a particular any value in select-option on the selection screen, it is giving some default value and the value given by me,for example:
Payment methods:C
but in BDC recording for F110 Payment methods:IEQC when the programs is running in foreground mode.
how can I rectify it?This is because payment methods may be a table and what you see IEQC is actually, I for include, EQ for equal and C as your payment method. This is standard structure for ranges or select-options. You can use variable-low which will give you only C.
-
In BDCs, after adding one field to the screen, which one is the better proc
Hi,
My client requirement In BDCs, after recording the legacy data by using MM01, After some time adding one field to the screen, How can we record the for the new field.
If any one knows pls help me total process.
Warm regards,
Venkat.Identify the screen in which this new field is added and simply add one more line to add the bdc record for this field in that screen.
If the screen is also entirely new, then you have to identify the previous screen, the okcode to go to this new screen and finally the next screen and the okcode to go to the next screen along with the field BDC record.
I don't think it is necessary to redo all the recording as long as you can follow the existing code. -
<script type="text/javascript"><!--
function validateForm() {
with (document.drbrake) {
var alertMsg = "The following REQUIRED fields\nhave been left empty:\n";
if (fullname.value == "") alertMsg += "\nfullname";
if (emailcheck.value == "") alertMsg += "\nemailcheck";
if (telephone.value == "") alertMsg += "\ntelephone";
if (selectproduct.value == "") alertMsg += "\nselectproduct";
if (problem.value == "") alertMsg += "\nproblem";
if (alertMsg != "The following REQUIRED fields\nhave been left empty:\n") { alert(alertMsg);
return false;
} else {
return true;
// -->
</script>
<script language="JavaScript1.2">
//Advanced Email Check credit-
//By JavaScript Kit (http://www.javascriptkit.com)
//Over 200+ free scripts here!
var testresults
function checkemail(){
var str=document.validation.emailcheck.value
var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$ /i
if (filter.test(str))
testresults=true
else{
alert("Please input a valid email address!")
testresults=false
return (testresults)
</script>
<script>
function checkbae(){
if (document.layers||document.getElementById||document.all)
return checkemail()
else
return true
</script>I do see issues with the script, but do you realize that HTML5 has all this capability build in, so not a single bit of the code you posted is needed? Of course there may be a reason you are doing it the way you are, but I don't know what that reason would be.
In your forms, you can simply add "required" to an input field to make it required. And by making an email field the email type, it will automatically be validated for correctness. See below:
<input type='text' value='<?php echo last_name ?>' name='last_name' required />
<input type='email' value='<?php echo email ?>' name='email' required />
Assuming that your form is processed by PHP, you would then use further validation in PHP. But the HTML5 validation is just as good as javascript validation and easier to use.
With the HTML5 validation, all fields remain populated and the form cannot be submitted if anything fails validation. I added the value attribute to the input examples because normally, if the PHP validation fails, you want to re-populate the form with what is stored in the POST array. -
I want to display some fields using the BDC and i want to know thruogh whic
I want to display some fields using the BDC and i want to know thruogh which transaction these fields are displayed.Could you please help me out.
You can use JFreeChart which is a free and good tool to generate graphs in Java. It has samples and other guides which you can use to get started...
-
This is a fillable form on a website. We want people to complete the form, then click on the email button to send it to us. Prefer to have the "name" field populate in the "subject line" of the email, and also rename the form that same field name. Is that possible?
In the sample I used the below syntax to send an email..
event.target.submitForm({cURL:"mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF"});
The highlighted ones are local variables which will hold the value from the form fields.
If you want to get the Subject from Name field in the form, use some thing like this.
var strSubject = name.rawValue;
//and then pass the value to the code.
event.target.submitForm({cURL:"mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF"});
Hope this helps..
Thanks
Srini -
How to debug BDC , Dialog program and Script
Hi all,
Please let me know, how to debug BDC , Dialog program and Script
Thanks&Regards
Devi<b>SCRIPT DEBUGGING</b>
When we want to debug the SAPSCRIPT, we need to first activate the debugger, we have 2 ways to activate the Debugger.
1) Execute the program RSTXDBUG
2) Go to SE71, from the initial screen enter the form name and press Utilities --> Activate Debugger
When we are in the Debug screen,
3.1) F5 will be debug filed by field, that means if a single line is having 5 fields, if we press the F5 this will do field by field,
3.2) F6 will be line by line, that means when we press the F6, it will debug the line and it will go to the next line. F7 also do the same way
3.3) F8 will be very useful when we have any include statement in the SCRIPT, if any include is there and we press the F5 or F6 then this will go that Include (normally SO10 or any transaction text), then if we want line by line debugging then we can press the F5 or F6, or if you want to execute that in a single shot then press the F8, then the debugger will be executed that include and come back to the Script debugging.
Some times in the script, we may right lengthy lines, if we want to debug that whole line, we have an option called Left/Right, this we will find the Debug screen of the script, there is a Push button, we can make use this button to debug.
We can put the breakpoints in the SCRIPT DEBUGGER also, just press the BREAKPOINT Pushbutton from the debugging screen or press EDIT --> Breakpoint
If we want to debug the print program from the SCRIPT DEBUGGER, just press SHIFT+F7 or EDIT --> ABAP Debugging
If we want to see the Windows which are defined in the forms, just press the Go to --> Form --> Windows .if we want to see the pages go to --> Form --> pages. Here we have an option to see the page wise window also go to --> Form --> page Windows
If we want to see the paragraphs which are defined in that script, press go to --> Styles --> paragraphs.
If we want to see the Character formats which are defined in that script, press go to --> Styles --> Character Strings.
If we want to see the Page formats which are defined in that script, press go to --> OTF --> Page.
If we want to see the Elements which are used in the Script, then press go to --> Text Elements --> Form Elements.
If we want to see the commands which are used in the script, press go to --> Commands --> List
Finally, if we want to exit from the SCRIPT DEBUGING, simply press Debugger --> Exit
<b>DEBUG BDC</b>
ust go into debugging mode and do the BDC step by step, when it comes to the Call Transaction line, check the mode which will be 'N'....Now, overwrite this with 'A' and execute the BDC...It will run in All Screens Mode....
As suggested above the MODE 'A' will do the trick as it takes you to all screens.
Normally MODE N will be defaulted as it will be used for background processing,
Here is a simple tip,
This will be the call transaction part of the program,
CALL TRANSACTION 'IW32' USING BDCDATA MODE 'N'
MESSAGES INTO MESSTAB.
I would suggest you to make it like this,
DATA: V_MODE TYPE C VALUE 'N'.
*<In debug mode set V_MODE = 'A' for debugging>
CALL TRANSACTION 'IW32' USING BDCDATA MODE V_MODE
MESSAGES INTO MESSTAB.
This will be very useful because you just need to change the value of the V_MODE at runtime as A for debugging besides it has N which is the default to be used. (i.e. you need not change the code again and again).
This will be very useful when you have to debug some program in QA or PRD servers.
regards,
srinivas
<b>*reward for useful answers*</b>
Maybe you are looking for
-
How can I transfer my apps from one Itune to another ?
Hi, I got a G4 on witch My Iphone & I pod are sync. I've just bought MBP installed without tranfering accounts. My apps won't update asking the MacItune to update and I'd love to recycle my G4 ! anybodi has an idea? Thanks
-
Safari says "not connected to Internet" when launched
First off, I would like to say that these communities are so helpful in assisting me with my glitches. All the feedback and suggestions I receive always help resolved my problem. Since updating to 10.7.5, I've noticed that when never I startup up my
-
Preview.app going crash when trying find something over multiple files at a time
Hello! I have MacBook Pro 15 inches from the end of 2013 with Retina. I use preview.app to read and search over multiple files (PDF). I am getting crash of preview.app. How to repeat crash: - select several pdf files - click with two fingers - choose
-
Risk prone area in AR ,AP ,GL ,AA ,Banking and Controlling
Hi What are the risk prone area in AR ,AP ,GL ,AA ,Banking and Controlling in SAP Regards Praveen P C
-
Excel export in analysis for olap not working
Hello! I want to export from analysis for olap 1.1 to an excel file. First I clicked on the export button, then I chose the wanted compontents and clicked ok. But there happens nothting, but a new browser window opens and closes itself immediately. N