Perform - syntax
Hi ,
Iam trying to write an extractor for open and closed items ie form BSAD and BSID .
So i have written the logic .when i tryed to modularise the code .the function module is not acteping the perform statment
Ie when i tryed to put the logic in to a perfoem its giving a syntax error like
"Field "E_T_DATA" is unknown. It is neither in one of the specified
tables nor defined by a "DATA" statement . . . . . . . . . . "
can you please provide me a solution for this .
Thanks ,
Sriram.
Hi ,
As you have asked for below i have attached the code .
PERFORM FETCH_BSID .
*PERFORM FETCH_BSAD TABLES E_T_DATA.
this are the two perform iam trying to create just to moduralize the code .it it showing an error like .E_T_DATA is not defined which is the final extract structure .
""Local Interface:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
*" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
*" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
*" VALUE(I_REMOTE_CALL) TYPE SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
*" TABLES
*" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
*" E_T_DATA TYPE ZBIAR_EXTRACTOR_AR1 OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
*& Function Module : Z01_FBIWI_AR_EXTRACTOR *
*& Title : Extractor Industrial - AR *
*& Programmer : TSHANKAR *
*& Date : 16/11/2007 *
*& Transaction : *
*& Description : This extractor fetches data fetches data from *
tables BSID ,BSAD, KNVP,Z02TOTC_AR_DOC_H for closed *
and open item and populate into final extract *
structure FOR CLOSED *
Modification Log: *
Date Author Corr. # Description *
mm/dd/yy SAPLOGONNAM xxxxxxxxxx Initial program development *
TSHANKAR Changes made to the application *
path *
**DATA DECLERATION
Maximum number of lines for DB table
STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
counter
S_COUNTER_DATAPAKID LIKE SY-TABIX,
Cursor
S_CURSOR TYPE CURSOR,
S_CURSOR1 TYPE CURSOR.
DATA : FLAG_BSID TYPE I VALUE 0.
Initialization mode (first call by SAPI) or data transfer mode
(following calls) ?
IF I_INITFLAG = SBIWA_C_FLAG_ON.
APPEND LINES OF I_T_SELECT TO S_S_IF-T_SELECT.
Fill parameter buffer for data extraction calls
S_S_IF-REQUNR = I_REQUNR.
S_S_IF-DSOURCE = I_DSOURCE.
S_S_IF-MAXSIZE = I_MAXSIZE.
Fill field list table for an optimized select statement
(in case that there is no 1:1 relation between InfoSource fields
and database table fields this may be far from beeing trivial)
APPEND LINES OF I_T_FIELDS TO S_S_IF-T_FIELDS.
ELSE. "Initialization mode or data extraction ?
Data transfer: First Call OPEN CURSOR + FETCH
Following Calls FETCH only
First data package -> OPEN CURSOR
IF S_COUNTER_DATAPAKID = 0.
Fill range tables BW will only pass down simple selection criteria
of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'BUKRS'.
MOVE-CORRESPONDING L_S_SELECT TO R_BUKRS.
APPEND R_BUKRS.
ENDLOOP.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'KUNNR'.
MOVE-CORRESPONDING L_S_SELECT TO R_KUNNR.
APPEND R_KUNNR.
ENDLOOP.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'GJAHR'.
MOVE-CORRESPONDING L_S_SELECT TO R_GJAHR.
APPEND R_GJAHR.
ENDLOOP.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'CPUDT'.
MOVE-CORRESPONDING L_S_SELECT TO R_CPUDT.
APPEND R_CPUDT.
ENDLOOP.
Determine number of database records to be read per FETCH statement
from input parameter I_MAXSIZE. If there is a one to one relation
between DataSource table lines and database entries, this is trivial.
In other cases, it may be impossible and some estimated value has to
be determined.
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT MANDT KUNNR WRBTR XREF3 BUKRS BELNR GJAHR BUZEI WAERS BLDAT
BUDAT BLART XBLNR SHKZG DMBTR GSBER ZFBDT ZLSCH ZUONR ZTERM
KIDNO XREF1 XREF2 SGTXT MABER HKONT PRCTR KOSTL AUFNR PROJK
VBUND
FROM BSID WHERE BUKRS IN R_BUKRS AND KUNNR IN R_KUNNR AND
GJAHR IN R_GJAHR AND
CPUDT IN R_CPUDT .
OPEN CURSOR WITH HOLD S_CURSOR1 FOR
SELECT MANDT KUNNR WRBTR XREF3 BUKRS BELNR GJAHR BUZEI WAERS BLDAT
BUDAT BLART XBLNR SHKZG DMBTR GSBER ZFBDT ZLSCH ZUONR ZTERM
KIDNO XREF1 XREF2 SGTXT MABER HKONT PRCTR KOSTL AUFNR PROJK
VBUND
FROM BSAD WHERE BUKRS IN R_BUKRS AND KUNNR IN R_KUNNR AND
GJAHR IN R_GJAHR AND
CPUDT IN R_CPUDT .
ENDIF. "First data package ?
Fetch records into interface table.
FETCH NEXT CURSOR S_CURSOR
APPENDING CORRESPONDING FIELDS
OF TABLE IT_BSID
PACKAGE SIZE S_S_IF-MAXSIZE.
FETCH NEXT CURSOR S_CURSOR1
APPENDING CORRESPONDING FIELDS
OF TABLE IT_BSAD
PACKAGE SIZE S_S_IF-MAXSIZE.
IF SY-SUBRC <> 0.
CLOSE CURSOR S_CURSOR.
RAISE NO_MORE_DATA.
ENDIF.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
ENDIF. "Initialization mode or data extraction ?
PERFORM FETCH_BSID .
*PERFORM FETCH_BSAD TABLES E_T_DATA.
*FORM FETCH_BSID TABLES P_E_T_DATA type ZBIAR_EXTRACTOR_AR2.
SORT IT_BSID BY KUNNR BUKRS GJAHR .
CHECK NOT IT_BSID[] IS INITIAL .
PERFORM FILL_Z02TOTC_AR_DOC_H.
PERFORM FILL_KNVP.
LOOP AT IT_BSID .
READ TABLE IT_Z02TOTC_AR_DOC_H WITH KEY BELNR = IT_BSID-BELNR
BUKRS = IT_BSID-BUKRS
GJAHR = IT_BSID-GJAHR
BUZEI = IT_BSID-BUZEI.
LOOP AT IT_Z02TOTC_AR_DOC_H FROM SY-TABIX.
IF SY-SUBRC IS INITIAL .
IF IT_Z02TOTC_AR_DOC_H-BELNR <> IT_BSID-BELNR
OR IT_Z02TOTC_AR_DOC_H-BUKRS <> IT_BSID-BUKRS
OR IT_Z02TOTC_AR_DOC_H-GJAHR <> IT_BSID-GJAHR.
OR IT_Z02TOTC_AR_DOC_H-BUZEI <> IT_BSID-BUZEI.
EXIT .
ENDIF .
READ TABLE IT_KNVP WITH KEY KUNNR = IT_BSID-KUNNR
VKORG = IT_BSID-BUKRS.
IF SY-SUBRC IS INITIAL.
MOVE-CORRESPONDING IT_KNVP TO E_T_DATA.
MOVE-CORRESPONDING IT_Z02TOTC_AR_DOC_H TO E_T_DATA.
MOVE-CORRESPONDING IT_BSID TO E_T_DATA.
APPEND E_T_DATA.
ENDIF .
ENDIF.
ENDLOOP .
ENDLOOP .
*FREE : IT_BSID ,IT_Z02TOTC_AR_DOC_H ,IT_KNVP.
*ENDFORM.
ENDFUNCTION. " End of Function Z01_FBIWI_AR_EXTRACTOR
**form for fetching cleared entries
*FORM FETCH_BSAD using P_E_T_DATA LIKE ZBIAR_EXTRACTOR_AR2
changing e_t_data type p_e_t_data.
SORT IT_BSAD BY KUNNR BUKRS GJAHR .
CHECK NOT IT_BSAD[] IS INITIAL .
PERFORM FILL_Z02TOTC_AR_DOC_H_BSAD.
PERFORM FILL_KNVP_BSAD.
LOOP AT IT_BSAD .
READ TABLE IT_Z02TOTC_AR_DOC_H_BSAD WITH KEY BELNR = IT_BSAD-BELNR
BUKRS = IT_BSAD-BUKRS
GJAHR = IT_BSAD-GJAHR
BUZEI = IT_BSAD-BUZEI.
LOOP AT IT_Z02TOTC_AR_DOC_H_BSAD FROM SY-TABIX.
IF SY-SUBRC IS INITIAL .
IF IT_Z02TOTC_AR_DOC_H_BSAD-BELNR <> IT_BSAD-BELNR
OR IT_Z02TOTC_AR_DOC_H_BSAD-BUKRS <> IT_BSAD-BUKRS
OR IT_Z02TOTC_AR_DOC_H_BSAD-GJAHR <> IT_BSAD-GJAHR.
OR IT_Z02TOTC_AR_DOC_H-BUZEI <> IT_BSID-BUZEI.
EXIT .
ENDIF .
READ TABLE IT_KNVP_BSAD WITH KEY KUNNR = IT_BSAD-KUNNR
VKORG = IT_BSAD-BUKRS.
IF SY-SUBRC IS INITIAL.
MOVE-CORRESPONDING IT_KNVP_BSAD TO P_E_T_DATA.
MOVE-CORRESPONDING IT_Z02TOTC_AR_DOC_H_BSAD TO P_E_T_DATA.
MOVE-CORRESPONDING IT_BSAD TO P_E_T_DATA.
APPEND P_E_T_DATA.
ENDIF .
ENDIF.
ENDLOOP .
ENDLOOP .
*FREE : IT_BSAD ,IT_Z02TOTC_AR_DOC_H ,IT_KNVP.
Similar Messages
-
Performance syntax loop at and read table
in the routine , for reading one line in a internal table , the syntaxe
loop at xxx where and read tabl exxx with key XXXX
has a great difference on performance or not?Loop at statement is used only for processing multiple records.Read table is used for reading a particluar record of an internal table.If you just need to check whether record exists in internal table, use can sort and use binary search with TRANSPORTING NO FIELDS addition. Also, try to use field symbols so that performance is increased.
-
Hi all,
I want to display user name using subroutines in script..my code is not working.. pls check and let me know the correct way.
/: PERFORM get_user IN PROGRAM ZTEST USING &UNAME&
/: ENDPERFORM.
/: &UNAME&.
REPORT ZTEST.
FORM GET_USER USING UNAME.
UNAME = SY-UNAME.
ENDFORM.
thanks
mallikaHi,
If FROM_OBJ is the form being called then it should look like:
FORM get_obj TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
Since you know the parameters you are passing, use that as an index to retrieve/update the corresponding value of the variable.
e..g READ TABLE in_tab Index 1.
Similarly use 'Modify' to update the value of the variable you are interested in out_tab.
I hope this helps,
Regards
Raju Chitale -
Syntax problem with BDC perform
Dear Friends,
small problem in BDC Perform syntax but I am not getting how to do this..
I have writen the code like this in my BDC byt its throughing the error...Here I want to do the validation on each and every field. I mean If that field values are empty i don't want to change the SAP field value.
my code is like this.
PERFORM dynpro USING:
'X' 'SAPLMGMM' '0080'.
IF NOT p_int_matl-werks IS INITIAL.
' ' 'RMMG1-WERKS' p_int_matl-werks.
ENDIF.
IF NOT p_int_matl-werks IS INITIAL.
' ' 'RMMG1-LGORT' p_int_matl-lgort.
ENDIF.
' ' 'BDC_OKCODE' '/00'.
pls give me exact code how to do this...
Thanks
SridharHi sridher,
1. this kind of syntax ie. IF will give error.
2. If ur requirement is : blank value should not be put in bdc,
3. then one way is to change / write the logic
inside the form itself.
4. ie. inside the routine/form DYNPRO.
5. So, it will be then general for all performs.
regards,
amit m. -
Sap script form perform statement
HI ALL ,
CAN ANYONE HELP ME WITH SAP-SCRIPT FORM AND PERFORM SYNTAX. THAT IS WHEN U NEED TO ADD A FIELD TO AN EXISTING SAPSCRIPT, BY USING AN EXTERNAL SUBROUTINE.
i NEED THE SYNTAX BOTH FOR PERFORM AND ENDPERFORM STATEMENT AND ALSO THE FORM STSEMENT. ANOTHER TRHING IS IF CAN LET ME KNOW HOW TO USE DEFINE STATEMENT IN SAPSCRIPT. WHATS ITS USE AND IS IT RELATED TO THE QUERY ABOVE.
else,
U PLZ LET ME KNOW ANY HELPFUL LINKS TO GO THROUGH.
THANLS IN ADVANCE,
ANUPMA.Hi anupma,
1. while calling subroutines from sapscripts,
there is a special technique,
which has got its own limitations.
2.
FORM abc
TABLES
in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
ENDFORM.
3. The perform in se38 program should be of the
above format only.
4. We cannot pass internal tables.
5. Rather we need to pass
VARIABLE NAME
VARIABLE VALUE
(see the structure of itcsy in se11)
6. In this form, we have to read
the internal table in_tab
to capture the variable name and its value.
7. Similary, to return the values,
we have to put one record (for each variable)
in out_tab.
regards,
amit m. -
Syntax check for tables and function modules
Hi,
I am writing a program that perform syntax check on object such as executable programs , function modules and tables.
Syntax check works fine for programs, but not for tables.
How can I perform syntax check on my tables or structures?
I get my data from the table TADIR. But I don't get my function modules from there. What is the table for this.
Thanks 4 ur replies.
Parvezhi
good
generally in sap while creating a table or structure we get the error and we solved them,but like reports during runtime it is not possible to check the syntax of a table or structure.
thanks
mrutyun^ -
Can we use SAMT to syntax check methods in global classes ?
Transaction SAMT can be used to perform syntax checks on programs but I can't see how to use it to check methods in global classes. Can anyone tell me how to do this ?
thanks,
Malcolm.I've figured out a way to do this.
You need to put the class name followed by '=====CP' into the program name......with enough ='s to make the name up to 32 characters. Bit fiddly but it can be done. -
Single quote in dynamic where condition
BAPI_STUDENT_IDENTIFIC_ADD has a field called IDENTIFICATIONNUMBER. This field is later used in a dynamic where condition and causes a short dump when it contains a single quote. I will change the program that calls the BAPI to check for single quotes, but is there anything else I need to check for to ensure a correct where condition?
Thanks,
DanHi Dan,
The best way to ensure correctness of syntax of a dynamic where condition is:
Run the program in debugging mode, Get the Query that is generated dynamically and write it to some other ABAP program and perform syntax check.
This will help you to remove all the syntax errors.
Regards,
Darshil -
Root.sh failing after installing grid 11g on Linux x86-64
Hi,
Am getting below error while executing root.sh after instalaltion of 11g grid for RAC.
[root@erprac2 ~]# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
syntax error at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1129, next token ???
Global symbol "$p" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1130.
Global symbol "$host" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1130.
Global symbol "$p" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1133.
Global symbol "$p" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1136.
Global symbol "$p" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1137.
Global symbol "$host" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1138.
Global symbol "@host_array" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1138.
Global symbol "$p" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1139.
Global symbol "$host" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1139.
Global symbol "$host" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1141.
Global symbol "$rtt" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1141.
Global symbol "$ip" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1141.
Global symbol "$p" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1141.
Global symbol "$host" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1142.
Global symbol "$ip" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1142.
Global symbol "$rtt" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1142.
Global symbol "$p" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1146.
Global symbol "$p" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1147.
Global symbol "$ret" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1148.
Global symbol "$duration" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1148.
Global symbol "$ip" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1148.
Global symbol "$p" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1148.
Global symbol "$host" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1148.
Global symbol "$host" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1149.
Global symbol "$ip" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1149.
Global symbol "$duration" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1149.
Global symbol "$ret" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1150.
Global symbol "$p" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1151.
Global symbol "$host" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1154.
Global symbol "$host" requires explicit package name at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 1154.
Compilation failed in require at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 286.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 286.
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failedHi Anil,
It says some library packages are missing .Did u check the cluster verify utility on all nodes in RAC? Its very mandatory. If not, Install all required packages on all nodes in a cluster and then try again.
Regards,
Pradeep V -
[SOLVED] Odd colours in vim/urxvt
So I'm using the base16 colourset in my Xresources and something really strange seems to be happening. The colours being used by vim to perform syntax highlighting are just wrong. As in, there are colours being used that aren't even specified in my Xresources file.
Periodically, like 1 out of 50 calls to vim they will look "correct".
$TERM is rxvt-unicode-256colors
Nothing to do with colours or colour schemes in my .vimrc.
Can anyone tell me what's going on here?
EDIT: I should add that the colours look strange for commands like ls as well.
Last edited by Vixus (2012-11-05 15:43:23)doug piston wrote:Well to my knowledge (Someone correct me if I am wrong), Vim doesn't look at your .Xresources by default. You can make it do such a thing but using the a colorscheme is still a better option. Just install the colorscheme, I do not see why you don't want to...
Sorry, I may not have explained clearly, but I did try and install the base16 colorscheme for vim, following all the steps that the author provided. However there were some steps involving running bash scripts that just didn't work, most likely why the colorscheme didn't work.
Thanoulis wrote:1) Vim always uses a colorscheme, even if not present in .vimrc. In that case it uses :colorscheme default.
This I did not know. Thanks for telling me. In that case I guess there are bugs in the base16 colourscheme for vim (as a lot of comments on the repository seem to suggest).
2) In Xresources, we define the terminal's color palette, not vim's colorscheme. My guess is that you use a different color palette for urxvt and xterm (hence the differences in vim colors)
I don't, since I only have one Xresources file that presumably applies to both terminal emulators.
3) The weird looks from your ssh session, is because in the host machine there is not a valid terminfo file. Usually its fixed by installing the same type of terminal emulator in both machines.
Ugh, really? I never thought that was necessary... can I fake this in any way? I don't have sudo access to any of the work machines I ssh into.
If you really like the base 16 colors in vim, try :colorscheme peachpuff (it's the one i use, and comes with vim).
Thanks, this worked a treat! -
Navigation to object is not supported
Hello all,
YTEST(Package) => Web Objects => BSP Application => YTEST_01 => Pages with Flow Logic => YTEST.HTM
=> Event Handler => OnInitializaion
Does not working Doulbe Click the any INCLUDE or Perform syntax.
Error message is "Navigation to object is not supported"
Message Number is "SO2_TOOL039"
SAP R/3 Enterprise
SAP_BASIS 620
SAP_ABA 620
SAP_APPL 470
help me on this request, will rerward points
/Best Regards
JacobBelow that source code...
event handler for data retrieval
*" INITIALIZATION
INCLUDE yplas_i005.
DATA : it_utype TYPE yplas_ty019.
UTYPE = c_doc_elec_bill.
APPEND c_doc_elec_bill TO it_utype. -
Dear all,
I have an INCLUDE, say the name is "Z_INCLUDE". I have included it in a program, say the program name is "Z_REPORT". When I perform syntax check in ABAP Editor, the following warning message appears for every single subroutine in Z_INCLUDE.
Include Z_INCLUDE
There should only be definitions in the TOP include (or nested includes within it). This means that any sort of implementations (CLASS... IMPLEMENTATION, FORM..., FUNCTION) is not meaningful.
01. What does the warning message mean?
02. How do I get rid of it?
Thank you in advance.
Regards,
Goh Tiam TjaiHi,
Warning messages W are processed according to the context in which they occur.
1)Messages Without Screens:-
In PBO context program continues processing after the MESSAGE statement otherwise, program terminates and control returns to point from which the program was called.
2)Messages on Screens:-
Warning messages are not possible in POH or POV processing.
PAI processing is terminated, and control returns to the current screen. All of the screen fields for which there is a FIELD or CHAIN statement are ready for input. The user must enter a new value. The system then restarts PAI processing for the screen using the new values.
3)Messages on Selection Screens:-
Selection screen processing terminates, and the selection screen is redisplayed.
4)Messages in Function Modules and Methods:-
Warning messages are ignored in this case.
Thanks,
Pramod -
How do I format text within a TextArea
Hello,
I would like to create a simple text editor that performs
syntax highlighting. In order to do so, I would need the ability to
set the style of individual pieces of text within a TextArea. Is
this possible? Do I need to subclass the TextArea (or perhaps the
Text control) to do this? Any pointers in the right direction would
be appreciated. Thanks!The issues around formatting text in the Flash Player are
numerous. There are several experts who have weighed in on this,
including .
Axel
Jensen who has made available a modification of the
RichTextEditor component. Additionally,
Jesse Warden has several older
articles in his blog on this issue. Finally, there is a
commercially available Flash/Flex text editor developed by Igor
(last name unknown to me), and found at:
http://www.flashtexteditor.com/.
Overall, the issue of accurately formatting text in
Flash/Flex has been an exercise in frustration, especially when
trying to implement htmlText and CSS. I am absolutely amazed that
Adobe's documentation for this very important aspect of web
development is either unavailable or deeply flawed, and on top of
that: How is the Acrobat Connect Buzzword application able to do so
much with text formatting, clearly within a Flex Framework, and yet
no concrete documentation of the techniques are available -
/SMB40/RVADOR01 in runtime giving unicode error
hi all
i am using /SMB40/RVADOR01 program for printing the smartform but in runtime it is giving not unicode compatible
when i performed syntax check in /SMB40/RVADOR01 program there it also giving unicode error
and in the program attributes unicode check is not selected
so i want to know can we change the standard /SMB40/RVADOR01 program to unicode compatible
if yes than how to do for a standard program
or i will copy this program and make a custom program which is unicode compatible
thanks in advancehi,
I think you might have done UCCHECK transaction on this or other program by now. If you have not, please see if it helps.
UCCHECK is for making programs Unicode comaptible.
Pls post your findings.
Regards,
Vivek. -
How to Establish communication between two R/3 systems.
Hi experts,
I have a requirement in which I have a group of programs on a R/3 system A.Now, I need to execute those programs on another R/3 system B.
For example,
I have developed a program which performs syntax check on all the existing programs in the sysytem A.
This program is developed on system A. but my requirement is that I should execute this program on system B and find all the syntactically incorrect programs on system B.
How do I achieve this
Please provide solutions.1. First of all set up the Rfc connection between System A and System B.
If you are calling the function module which is avlaible on Syetem A and calling in system B. In system A, go to SM59 opt for R\3 connection and give all the details in "Technical settings" and "logon & Security" tabs and test your connection. If you are returning any value Back to system A , make the same settings in system B.
2. While creating the Function module check the Radio-button "Remote-Enabled Module" in the attributes tab.
3. Call function <function-name> Destination <Destination-name>.
Maybe you are looking for
-
My 2009 Macbook Pro's Safari doesn't show the tool bar anymore. I can click on a diagonal arrow in the upper right corner that appears when I put my cursor there and the tool bar will show, but then it disappears again. Also, when I get an email an
-
Moving high resolution images from PSE6 to Premiere Elements 4
I am trying to take a pdf map (happens to be of the San Diego Zoo) and insert it into a Premiere Elements 4 (PE4) project to show where we went in the Zoo and then show our family pictures/video in that area So I bring the pdf map file into PSE6 and
-
Allow reader users to save pdf form with data
I want to create a form that an adobe reader user can open and save a copy as a pdf with the data in the form. I know that requires reader extensions - what i can't seem to figure out is if I already have this included and how to do it. I have LiveCy
-
Websites keep asking to add flash player???
Almost every time I visit a website I get the message that 'This website would like to install adobe flash player'. I have clicked to allow on several websites and download the latest version of flash player from the adobe site, but I am still gettin
-
Library/Logs/Ubiquity The Log continuously repeats __AOSAccountRefreshInfo <[email protected]> has invalid credentials [ERROR] cf03c39e8dc5 [14/09/22 01:34:21.266] 13573.main ubd_main:3055 null personid [ERROR] cf03c487771c [14/09/22 01: