cancel
Showing results for 
Search instead for 
Did you mean: 

structure ITCPO

Former Member
0 Kudos
1,489

hi,

Is there any structure called ITCPO. If so can some one please tell me the significance of it.

Accepted Solutions (1)

Accepted Solutions (1)

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Yes, there is. It is used in Sapscript print programs to load up output paramaters. It is used when call the OPEN_FORM function module in the print program. Here is the structure



TDPAGESLCT      TDPAGESLCT      CHAR     60     0Pages selected for printing                             
TDCOPIES        RSPOCOPIES      INT1      3     0Number of copies                                        
TDDEST          RSPOPNAME       CHAR      4     0Spool: Output device                                    
TDPRINTER       RSPOPTYPE       CHAR      8     0Spool: Device type name                                 
TDPREVIEW       TDPREVIEW       CHAR      1     0Print preview                                           
TDNOPREV        TDNOPREV        CHAR      1     0No print preview                                        
TDNOPRINT       TDNOPRINT       CHAR      1     0No printing from print preview                          
TDNEWID         SYPRNEW         CHAR      1     0Print parameters, new spool request                     
TDDATASET       RSPO0NAME       CHAR      6     0Spool request: Name                                     
TDSUFFIX1       RSPO1NAME       CHAR      4     0Spool request: Suffix 1                                 
TDSUFFIX2       RSPO2NAME       CHAR     12     0Spool request: Suffix 2                                 
TDIMMED         SYPRIMM         CHAR      1     0Print parameters, print immediately                     
TDDELETE        SYPRREL         CHAR      1     0Print parameters, delete after printing                 
TDLIFETIME      SYPEXPI         NUMC      1     0Print parameters, spool retention period                
TDSCHEDULE      SKSCHEDULE      CHAR      3     0Send time request                                       
TDSENDDATE      SKDATE          DATS      8     0Requested send date                                     
TDSENDTIME      SKTIME          TIMS      6     0Requested send time                                     
TDTELELAND      LAND1           CHAR      3     0Country key                                             
TDTELENUM       SKTELNR         CHAR     30     0Telecommunications partner                              
TDTITLE         TDTITLE         CHAR     50     0Title in dialog box                                     
TDTEST          TDTEST          CHAR      1     0Test form                                               
TDPROGRAM       TDPROGRAM       CHAR     40     0Program name                                            
TDSCRNPOS       TDSCRNPOS       NUMC     15     0Screen display position for OTF                         
TDCOVER         SYPRSAP         CHAR      1     0Print: SAP cover page                                   
TDCOVTITLE      SYPRTXT         CHAR     68     0Print parameters, text for cover page                   
TDRECEIVER      SYPRREC         CHAR     12     0Print parameters, recipient                             
TDDIVISION      SYPRABT         CHAR     12     0Print parameters, department on cover page              
TDAUTORITY      SYPRBER         CHAR     12     0Print: Authorization                                    
TDARMOD         SYARMOD         CHAR      1     0Print: Archiving mode                                   
TDIEXIT         TDIMMEXIT       CHAR      1     0Immediate exit after printing/faxing from print preview 
TDRDIDEV	RSPOPNAME	CHAR	4	0	Spool: Output device
TDNOARMCH	TDNOARMCH	CHAR	1	0	No changes by user in the archiving mode
TDFINAL         RSPOFINAL	CHAR	1	0	Spool request completed


Please don't forget to aware points for helpful posts. Thanks.

Regards,

Rich Heilman

Message was edited by: Rich Heilman

Former Member
0 Kudos

thanks rich ....

that was very helpful....

can u also please tell me like where i can see the list of all structures

Former Member
0 Kudos

Use transaction code SE11.

Svetlin

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Well, there are a lot of structures, but if you would like to look thru them, start by going to SE11, click the radiobutton for data element, hit F4, click search for structures.

Regards,

Rich Heilman

Former Member
0 Kudos

yeah SE11.

but is there any table which this structures data

Former Member
0 Kudos

thank you.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Stuctures do not contain data. They are merely an outline for some data. In programs, structures are used to define some certain data in memory. For example.

Here is a defintion of a structure in a program.

Data: begin of a_struct,
      matnr type mara-matnr,
      matkl type mara-matkl,
      maktx type makt-maktx,
      end of a_struct.

We could have defined this in the data dictionary, then we would have referenced it this way.


Data: begin of a_struct.
        include structure a_struct_DD.
Data: end of a_struct.

Now, we can make an internal table from our structure.


Data: begin of itab occurs 0.
        include structure a_struct_DD.
Data: end of itab.

Now we can fill this internal table during runtime.

Select mara~matnr mara~matkl makt~maktx
        into corresponding fields of table itab
               from mara
                    inner join makt
                       on mara~matnr = makt~matnr
                              where matkl = 'GROUP'
                                and spras = sy-langu.

Does this make sense?

Regards,

Rich Heilman

Answers (0)