Urgent !!! coding for report 9i
Hi evryone
I need oracle proffesional to solve my issue.
I have foloowing code Written Onn KEY-Print Trigger (form 6i):
DD_PARAMETER(LIST_ID, 'P_FIN_YEAR', TEXT_PARAMETER, :FIN_YEAR);
if :bic_cat_no = 3 then
ADD_PARAMETER(LIST_ID, 'P_maint_type', TEXT_PARAMETER, 'عادي');
elsif :bic_cat_no = 4 then
ADD_PARAMETER(LIST_ID, 'P_maint_type', TEXT_PARAMETER, 'ءءءءءءء');
end if;
And i have now i must use this format for 9i :
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no'
||' P_financial_year='||:GLOBAL.FIN_YEAR .....etc
My Question How i deal With if conditins and ADD_PARAMETER ?
if i use above code for 9i.....
Dear Balaji,
I think http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
link will be useful for you.
Regards,
Senthil .A. Perumal.
Similar Messages
-
Urgently required Crystal Reports 2008 FixPack_03 for SAP B1 8.8
Dear All,
I Urgently need Crystal Reports 2008 FixPack_03 for SAP B1 8.8. It is unavailable on the following link:
Crystal Reports 2008 Reference [original link is broken]
I have also searched it but unable to find it. If anyone has this, kindly share it.Hi Iqbal,
There is a service pack in the following link
https://www.sdn.sap.com/irj/sdn/businessone?rid=/webcontent/uuid/807d22cb-cb1d-2b10-8794-fb76d7feca88 [original link is broken]
There is a fix pack 03 included in the folder, I don't know if this is relevant.
Cheers -
Require coding for purchase requisation outstanding aging report
Hi Gurus,
I got a requirment to develop purchase requisation outstanding aging report.Please provide me the coding for purchase requisation outstanding aging report.
Points will be rewarded for every reply.
Regards ,
Sonali.Hi Sonali,
You need to use EBAN, EBKN Tables.
Regards,
Satish -
Pls provide coding for executing 3 reports at one click
Hi Friends,
Iam getting one issue ie... iam having 3 reports so now i want to run all the 3 reports i want to execute one ie.. by clicking Run i want to execute all the three reports at a time and i want to print the o/p in one file on desktop
So pls provide the coding for this
Thanks & Regards
Mohan ReddyHi,
Run those three reports one by one just for determining time delay between those execution starts.
Consider delays are 2 Sec and 3 Sec
i.e 1. between report A and report B,
2. between report B and report C.
Now delay execution start of the report A by
3 Sec using 'WAIT' statement and report B by
1 Sec using the same statement.
Try this.
Regards,
R.Nagarajan. -
Plz write coding for this .....alv report
to list all data from tables zfm_kfz and zfm_kmvrg i need alv program
list output is kfznr geraet kostentraeger bezeichnung tuvdatummmyyyy asudatummmyyyy kmstand histo reifen username
fileds in the zfm_kfz table is kfznr, geraet kostentraeger bezeichnung tuvdaummmyyyy asudatummmyyyy kmstand histo reifen username
fields in zfm_kmvrg is kfznr, kostentraeger kmstand
i n the selection screen beteen block use radio button is ALL FIRMLA -
( 4 characters).
this is the requirement somebody help me in this.
plz send coding in alv......Hello Narenda
The following coding shows the simplest form of an ALV list. The more advanced version would be to use a dynpro containing an ALV control (class CL_GUI_ALV_GRID).
REPORT zus_sdn_alv_sample.
TABLES: zfm_kfz.
TABLES: zfm_kmvrg.
DATA:
gt_list TYPE STANDARD TABLE OF zfm_alv_structure.
NOTE: Define in the dictionary a structure that contains all fields
required for your ALV list.
Selection-screen: begin of definition
parameters:
p_...
select-options:
s_...
Selection-screen: end of definition
START-OF-SELECTION.
Selection of the combined data from both tables into GT_LIST,
e.g. by using an INNER JOIN select
SELECT * FROM zfm_kfz...
INNER JOIN ...
INTO CORRESPONDING FIELDS OF TABLE gt_list
WHERE ...
Sorting as required
SORT gt_list BY ...
Now the simplest way to create an (non-interactive) ALV list
is to use function module REUSE_ALV_GRID_DISPLAY_LVC.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
I_CALLBACK_PROGRAM = ' '
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME = 'ZFM_ALV_STRUCTURE' "Name of DDIC structure
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT_LVC =
IT_FIELDCAT_LVC =
IT_EXCLUDING =
IT_SPECIAL_GROUPS_LVC =
IT_SORT_LVC =
IT_FILTER_LVC =
IT_HYPERLINK =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT_LVC =
IS_REPREP_ID_LVC =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IT_EXCEPT_QINFO_LVC =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = gt_list
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
The package SLIS is full of sample reports which explain various options of ALV list (and other controls). Look for reports beginning with BCALV_...
Also have a look at transaction SE83 (Reuse Library). You will find the transaction under SAP menu -> Tools -> ABAP Workbench -> Overview.
Regards
Uwe -
Blank template for report--Urgent!!
How to make or include blank template for report?
you can go to
Navigator > Applications > Shared Components > User Interface Templates
and create a unstructured template ,In that It's upto you what all you wish to add as a template .Create a blank template say
Template name = "Blank Template" and then while creating the report you can use the same "Blank Template" .I hope it helps. -
How to find import and local purchase order for report
Dear Friends,
Please help me in coding this report, =below is the functional requirement.
1. To find the list of Import or Local Purchase Orders(purchase orders to be procured from another country).
2.Once the import purchase order is selected .The report sould display the PO number ,Currency , Value , po Date , Planned recipt date ,
BUy from vendor , ship from vendor , Origin Country, Destination country, and Status of the PO.
I am clear about the PO number Currency ,value and po date but could not get how do i fetch the details like:--Planned recipt date ,
BUy from vendor , ship from vendor , Origin Country, Destination country, and Status .
Your help is greatly appreciated.Hi,
Buy from vendor is the real vendor who is supplying the items while Ship from vendor is the vendor who just arrange for the transport. This should be maintained in the pruchase order, just consult with your MM consultant to get where they are storing those details
Regards
Karthik D -
Hello all,
there is a standard report <b>RSVTPROT</b> which i need to convert into an ALV only for table <b>T000</b>.i am working on <b>release 4.7</b> in which <b>ALV display</b> is not possible but for <b>ECC6.0</b> SAP provided ALV option.but also i cannot copy paste the SAP code from ECC6.0 because they have implemented so many standard classes and other things which are out of my scope to define..
<b>did anybody does this kind of development if yes please hellllllllllppppppp......i am not able to do coding for it.......</b>
Divyahi chowdary ,
could you tell me the var. creation in detail and with which reference object i need to create ...
whether i need to take LM_DATE / 0DATE while creating variable...
and i kept this variables it in filter section, based on the LM_DATE Object.
i have tried both.. y'day when i take 0DATE it giving me some results...
But at the same time it is restricting the records..
i think it could be a problem with var.. properties?
need more inputs pls.
Regards,
VJ -
V.Urgent:Hyperion Interactive Reporting Role in WebAnalysis to BO XI R2
Hi All,
How Hyperion Interactive Reporting web analysis is better than BO XI R2 for reporting capabilities. Also how easy is it to use Hyperion Interactive Reporting Web Analysis for reporting.
This is very very urgent for me. Please share your inputs and thoughts.
Thanks alot in Advance.
Regards,
UpendraUpendra
Hyperion Interactive Reporting and web analysis is two different things in Hyperion
Hyperion Interacting Reporting features
Adcock Analysis
Drill-Up, Drill-down
Real time Data
Dynamic
Dashboards
Visual Analysis (Charts)
Pivot views of data
Open for all data base
web analysis works on essbase
but you can fetch data from RDBMS also by giving some extra inputs
I don't know about BO
Hope it will works
Thanks
Dhanjit G. -
Coding for selecting a specific data
i have a table with n records where email id is 1 field. In this table i have email id records.
i want logic and coding for the following
1. the mail id should be printed only once in the screen followed by its contents.
00 LPS19073_CRF-DESIGN_P1 LPS 000 - 22.03.2007 [email protected]
00 LPS19073_CRF-DESIGN_P5 LPS 000 - 01.04.2007 [email protected]
00 LPS19073_CRF-DESIGN_P7 LPS 000 - 22.03.2007 [email protected]
for next mai id it should be printed in the next line and its contents should be printed .
the putput should like this
[email protected]
00 LPS19073_CRF-DESIGN_P5 LPS 000 - 01.04.2007
00 LPS19073_CRF-DESIGN_P7 LPS 000 - 22.03.2007
[email protected]
00 LPS19073_CRF-DESIGN_P1 LPS 000 - 22.03.2007
plz help meChandrasekharan,
Check the below code.There we are passing the total internal table data at once in FM
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
object_hd_change = object_hd_change
object_type = 'RAW'
outbox_flag = 'X'
TABLES
objcont = object_content
receivers = rec_table
Instead of this put the internal table in LOOP . and assign the mail ID value to
rec_table-recextnam = '[email protected]'.
rec_table-adr_name = '[email protected]'.
So you will achieve your goal.Pls. see the below code.
Go through the below code.
REPORT zmbundal_email_out .
DATA BEGIN OF object_hd_change. "SAPoffice: object definition,
INCLUDE STRUCTURE sood1. "change attributes
DATA END OF object_hd_change.
DATA BEGIN OF object_content OCCURS 5. "SAPoffice: Single List with
INCLUDE STRUCTURE solisti1. "Column Length 255
DATA END OF object_content.
DATA BEGIN OF rec_table OCCURS 1. "SAPoffice: recipient with
INCLUDE STRUCTURE soos1. "attributes
DATA END OF rec_table.
Build email recipient table...........................................
CLEAR rec_table.
rec_table-sel = 'X'.
rec_table-recesc = 'B'.
rec_table-recesc = 'U'.
rec_table-recnam = 'U-'.
rec_table-recextnam = '[email protected]'.
rec_table-adr_name = '[email protected]'.
rec_table-sndex = 'X'.
rec_table-sndpri = '1'.
rec_table-mailstatus = 'E'.
rec_table-SNDSPO = 442355.
rec_table-SNDCP = 'X'.
COLLECT rec_table.
*.Email.content.........................................................
object_content = 'dannyboy baboy'. APPEND object_content.
object_content = 'dannyboy pogi'. APPEND object_content.
object_content = 'dannyboy fagg*t'. APPEND object_content.
*...Subject.Line........................................................
object_hd_change-objnam = 'Test email'.
object_hd_change-objdes = ' Email for Baboy'.
Send Email............................................................
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
object_hd_change = object_hd_change
object_type = 'RAW'
outbox_flag = 'X'
TABLES
objcont = object_content
receivers = rec_table
EXCEPTIONS
active_user_not_exist = 1
communication_failure = 2
component_not_available = 3
folder_not_exist = 4
folder_no_authorization = 5
forwarder_not_exist = 6
note_not_exist = 7
object_not_exist = 8
object_not_sent = 9
object_no_authorization = 10
object_type_not_exist = 11
operation_no_authorization = 12
owner_not_exist = 13
parameter_error = 14
substitute_not_active = 15
substitute_not_defined = 16
system_failure = 17
too_much_receivers = 18
user_not_exist = 19
originator_not_exist = 20
x_error = 21
OTHERS = 22.
*...SAPconnect..........................................................
SUBMIT rsconn01 "SAPconnect Start Send Process
WITH mode EQ '*'
WITH output EQ ''
TO SAP-SPOOL
DESTINATION 'LOCAL'
IMMEDIATELY ' '
KEEP IN SPOOL 'X'
WITHOUT SPOOL DYNPRO
AND RETURN.
Don't forget to reward if useful.... -
Coding for maintain the multip[le sessions
i have 1,00,000 records in a flat file how to maintain the multiple sessions
each session having 10000 records i want coding for how these multiple sessionssee the example program and the selection screen you can maintain how many records per session.
Report : ZMPPC015
Type : Data upload
Author : Seshu Maramreddy
Date : 05/26/2005
Transport : DV3K920025
Transaction: ??
Description: This ABAP/4 Program to Create Planned Independent
Requirement for SMI plants using MD61 Transaction.
It accepts tab-delimited spreadsheet input and
creates BDC sessions.
report zmppc015 no standard page heading
line-size 120
line-count 55
message-id zz.
Constants
constants : c_x type c value 'X'," Dynbegin
c_tcode type tstc-tcode value 'MD61'." Transaction Code
Variables
data : v_lines_in_xcel like sy-tabix,
l_tabix like sy-tabix,
v_trans_in_ssn type i,
v_ssnnr(4) type n," Counter
v_ssnname like apqi-groupid,
v_matnr(18) type c. " Material Number
Internal Tables
Internal table for file
data : begin of t_file occurs 0,
matnr(18) type c, " Material Number
berid(10) type c, " MRP Area
PLNMG01(17) type n, " Forecast Month -01
PLNMG02(17) type n, " Forecast Month -02
PLNMG03(17) type n, " Forecast Month -03
PLNMG04(17) type n, " Forecast Month -04
PLNMG05(17) type n, " Forecast Month -05
PLNMG06(17) type n, " Forecast Month -06
PLNMG07(17) type n, " Forecast Month -07
PLNMG08(17) type n, " Forecast Month -08
PLNMG09(17) type n, " Forecast Month -09
PLNMG10(17) type n, " Forecast Month -10
PLNMG11(17) type n, " Forecast Month -11
PLNMG12(17) type n, " Forecast Month -12
WERKS(4) TYPE C, " Plant
end of t_file.
Internal table for BDCDATA Structure
data : begin of itab_bdc_tab occurs 0.
include structure bdcdata.
data : end of itab_bdc_tab.
Selection-screen
selection-screen: skip 3.
selection-screen: begin of block id1 with frame.
parameters: p_name like rlgrap-filename
default 'C:\My Documents\InputFile.txt'
obligatory,
bdc session name prefix
p_bdcpfx(6) default 'ZPIRCT'
obligatory,
number for transction per BDC session
p_trnssn type i
default 2000 obligatory,
retain the BDC session after successfull execution
p_keep like apqi-qerase
default c_x,
user who will be executing BDC session
p_uname like apqi-userid
default sy-uname
obligatory.
selection-screen : skip 1.
Requirement type
parameters : p_bedae like t459u-bedae,
From Date
p_date like sy-datum default sy-datum obligatory.
selection-screen: end of block id1.
at selection-screen on value-request for p_name.
F4 value for Input file
perform filename_get.
main processing
start-of-selection.
To get the data from file to Internal table
perform getdata_fromfile.
loop at t_file.
hang on to xcel line num
l_tabix = sy-tabix.
if num-of-trnas-in-session = 0, create new BDC session
if v_trans_in_ssn is initial.
perform bdc_session_open.
endif.
begin new bdc script for rtg create trans
fill in bdc-data for prod.version maintenance screens
perform bdc_build_script.
insert the bdc script as a BDC transaction
perform bdc_submit_transaction.
keep track of how many BDC transactions were inserted in the BDC
session
add 1 to v_trans_in_ssn.
if the user-specified num of trans in BDC session is reached OR
if end of input file is reached, close the BDC session
if v_trans_in_ssn = p_trnssn or
l_tabix = v_lines_in_xcel.
perform bdc_session_close.
clear v_trans_in_ssn.
endif.
clear t_file.
endloop.
top-of-page.
call function 'Z_HEADER'
EXPORTING
FLEX_TEXT1 =
FLEX_TEXT2 =
FLEX_TEXT3 =
*& Form filename_get
F4 Value for input file
FORM filename_get.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_PATH = 'C:\Temp\ '
MASK = ',.,..'
MODE = 'O'
TITLE = 'Select File '(007)
IMPORTING
FILENAME = p_name
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " filename_get
*& Form getdata_fromfile
Upload the data from file to Internal table
FORM getdata_fromfile.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = p_name
FILETYPE = 'DAT'
TABLES
DATA_TAB = t_file
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10.
if sy-subrc eq 0.
sort t_file by matnr .
delete t_file where matnr = ''.
clear v_lines_in_xcel.
describe table t_file lines v_lines_in_xcel.
if v_lines_in_xcel is initial.
write: / 'No data in input file'.
stop.
endif.
else.
write:/ 'Error reading input file'.
stop.
endif.
ENDFORM. " getdata_fromfile
*& Form bdc_session_open
BDC_OPEN_GROUP
FORM bdc_session_open.
create bdc session name = prefix-from-selectn-screen + nnnn
add 1 to v_ssnnr.
concatenate p_bdcpfx v_ssnnr into v_ssnname.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
GROUP = v_ssnname
KEEP = p_keep
USER = p_uname
EXCEPTIONS
CLIENT_INVALID = 1
DESTINATION_INVALID = 2
GROUP_INVALID = 3
GROUP_IS_LOCKED = 4
HOLDDATE_INVALID = 5
INTERNAL_ERROR = 6
QUEUE_ERROR = 7
RUNNING = 8
SYSTEM_LOCK_ERROR = 9
USER_INVALID = 10
OTHERS = 11.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " bdc_session_open
*& Form bdc_build_script
BDC Script
FORM bdc_build_script.
Local Variables
DATA : l_frdat(8) type c, " From Date
l_todat(8) type c, " To Date
l_frdat1(4) type c, " Year
l_frdat2(2) type c, " Month
l_frdat3(2) type c, " Day
l_tdate like sy-datum, " Subtract date(1)
l_todat1(4) type c, " Year
l_todat2(2) type c, " Month
l_todat3(3) type c. " Day
Get the material number from tables ZMSMI_FERR_RAW,
ZMSMI_SNAP_RAW and ZMSMI_SIMP_RAW
perform get_matnr.
Screen 0100.
perform bdc_screen using 'SAPMM60X' '0100'.
perform bdc_field using 'BDC_OKCODE' '/EBDPT'.
perform bdc_field using 'AM60X-MATAW' 'X'.
perform bdc_field using 'AM60X-MATNR' T_FILE-MATNR.
perform bdc_field using 'AM60X-PRGRP' SPACE.
perform bdc_field using 'AM60X-PBDNR' SPACE.
perform bdc_field using 'RM60X-BERID' T_FILE-BERID.
perform bdc_field using 'AM60X-WERKS' SPACE.
perform bdc_field using 'RM60X-VERSB' '00'.
Converted the date as per MD61 Transaction.
From date
l_frdat1 = p_date+0(4).
l_frdat2 = p_date+4(2).
l_frdat3 = p_date+6(2).
concatenate l_frdat2 l_frdat3 l_frdat1 into l_frdat.
To Date
l_tdate = p_date - 1.
l_todat1 = l_tdate+0(4) + 1.
l_todat2 = l_tdate+4(2).
l_todat3 = l_tdate+6(2).
concatenate l_todat2 l_todat3 l_todat1 into l_todat.
perform bdc_field using 'RM60X-DATVE' l_frdat.
perform bdc_field using 'RM60X-DATBE' l_todat.
perform bdc_field using 'RM60X-ENTLU' 'M'.
Screen 0127
perform bdc_screen using 'SAPMM60X' '0127'.
perform bdc_field using 'BDC_OKCODE' '=WEIT'.
if p_bedae is initial.
perform bdc_field using 'T459U-BEDAE' space.
else.
perform bdc_field using 'T459U-BEDAE' P_BEDAE.
endif.
Screen 0100.
perform bdc_screen using 'SAPMM60X' '0100'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'AM60X-MATAW' 'X'.
perform bdc_field using 'AM60X-MATNR' T_FILE-MATNR.
perform bdc_field using 'AM60X-PRGRP' SPACE.
perform bdc_field using 'AM60X-PBDNR' SPACE.
perform bdc_field using 'RM60X-BERID' T_FILE-BERID.
perform bdc_field using 'AM60X-WERKS' SPACE.
perform bdc_field using 'RM60X-VERSB' '00'.
perform bdc_field using 'RM60X-DATVE' l_frdat.
perform bdc_field using 'RM60X-DATBE' l_todat.
perform bdc_field using 'RM60X-ENTLU' 'M'.
Screen 0200
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG01.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG02.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG03.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG04.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG05.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG06.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG07.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG08.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG09.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG10.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG11.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=SICH'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG12.
ENDFORM. " bdc_build_script
*& Form get_matnr
Get the material number from tables ZMSMI_FERR_RAW,
ZMSMI_SNAP_RAW and ZMSMI_SIMP_RAW
FORM get_matnr.
clear v_matnr.
case t_file-werks.
when '0101'.
select single cmatnr from zmsmi_simp_raw
into v_matnr where matnr = t_file-matnr.
if sy-subrc eq 0.
clear t_file-matnr.
t_file-matnr = v_matnr.
endif.
when '0103'.
select single cmatnr from zmsmi_ferr_raw
into v_matnr where matnr = t_file-matnr.
if sy-subrc eq 0.
clear t_file-matnr.
t_file-matnr = v_matnr.
endif.
when '0102' or '0110' or '0111' or '0112' or '0113'
or '0114' or '0115' or '0116' or '0117'.
select single cmatnr from zmsmi_snap_raw
into v_matnr where matnr = t_file-matnr.
if sy-subrc eq 0.
clear t_file-matnr.
t_file-matnr = v_matnr.
endif.
endcase.
ENDFORM. " get_matnr
*& Form bdc_screen
BDC Script for Screen fields
-->P_PROG Program name
-->P_SCRN Screen Number
FORM bdc_screen USING p_prog
p_scrn.
clear itab_bdc_tab.
itab_bdc_tab-program = p_prog.
itab_bdc_tab-dynpro = p_scrn.
itab_bdc_tab-dynbegin = c_x.
append itab_bdc_tab.
ENDFORM. " bdc_screen
*& Form bdc_field
BDC Script for Screen fileds
-->P_NAM Field name
-->P_VAL Field value
FORM bdc_field USING p_nam
p_val.
clear itab_bdc_tab.
itab_bdc_tab-fnam = p_nam.
itab_bdc_tab-fval = p_val.
append itab_bdc_tab.
ENDFORM. " bdc_screen
*& Form bdc_submit_transaction
BDC_INSERT Function Module
FORM bdc_submit_transaction.
Load BDC script as a trqansction in BDC session
call function 'BDC_INSERT'
EXPORTING
tcode = c_tcode
TABLES
dynprotab = itab_bdc_tab
EXCEPTIONS
internal_error = 01
not_open = 02
queue_error = 03
tcode_invalid = 04.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
refresh itab_bdc_tab.
ENDFORM. " bdc_submit_transaction
*& Form bdc_session_close
text
FORM bdc_session_close.
CALL FUNCTION 'BDC_CLOSE_GROUP'
EXCEPTIONS
NOT_OPEN = 1
QUEUE_ERROR = 2
OTHERS = 3
skip 2.
if sy-subrc ne 0.
write: / 'Error Closing BDC Session ' , 'RETURN CODE: ', sy-subrc.
else.
write : / 'Session created:', v_ssnname,
50 '# of transactions:', v_trans_in_ssn.
endif.
ENDFORM. " bdc_session_close
Reward Points if it is helpful
Thanks
Seshu -
How to set NLS character set for report 9i servlet output?
Hi,
I am running a Reports 9i report. My problem is that the output HTML file is UTF8 encoded while ALL my 9iASR2 registry setting are set to EEISO8859P2. When I issued the http://<host:port>/reports/rwservlet/showenv?server=servername command it returned that the NLS setting is UTF8.
Can somebody please help me, how to set this environment variable for the report servlet to EE..P1? Thank you in advance.
Regards,
Tamas SzecsyDmitry,
recently I got this from Oracle support. :-(. Currently when I set the Windows 2000 local and default local to Hungarian and the charset to EE..P2 then I get Central-European encoded charset. I think you will have to experience around to get correct result (if it is possible at all).
+++++++++++++++++++++++++++++++++++++++++++++++++++++
This is bug Number 2472932 NLS:RWSERVLET SETS INVALID CHARSET AT THE HTTP HEADER
marked as fixed in 9.0.2.2 . unfortunately this bug is not published so I will not be able to sent you the bug as a whole but here is problem description in bug:
iAS9.0.2.0.1 (Reports9.0.2.0.1) on Solaris2.8
Running rdf with rwservlet sends the invalid charset at the http header.
Say ias is up with LANG=C, http header for the rwservlet
is always sent as "iso-8859-1" regardless of rwserver's NLS_CHARACTERSET.
This is the TCP/IP packet for the GET /reports/rwservlet?report=xxx&....
HTTP/1.1 200 OK Date: Sat, 20 Jul 2002 01:15:37 GMT Cache-Cont
rol: private Content-Language: en Server: Oracle9iAS/9.0.2 Ora
cle HTTP Server Oracle9iAS-Web-Cache/9.0.2.0.0 (N) Content-Leng
th: 6908 Content-Type: text/html; charset=ISO-8859-1 Set-Cooki
In this example, to produce a html with other charset than
iso-8859-1,usually the outputted html has the charset information at
meta tag by setting "Before Report Value" property in rdf.
However charset in meta tag is less priority than http header, browser
such as IE6 or Netscape7 firstly displays the page in iso-8859-1.
Hence the characters other than iso8859p1 gets garbage.
To workaround it with IE6/NS7, set proper encoding manually.
('View'-'Encoding' for IE 'View'-'Character coding' for NS7 )
However, NS4.7 does not have workaround for it.
Besides, starting opmn in LANG=ja, the rwservlet's http header becomes
Shift_JIS!!. Thus rwserver seems to set the http header based on the
LANG on Solaris.
To fix these issues,
- The http header for rwservlet shold be based on the nls_characterset
for the rwserver.
This is no problem for reprots jsp run. -
Required sample coding for invoice billing for script
Hi,
Required sample coding for invoice billing for script in form and endform.
please help me its very urgent issue. thanks in advance.
thanks®ards
sirishHi Sirish,
these are some of the links where u can find ur solution plz check...
<u>
SAP SCRIPT
SAP SCRIPT
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=invoicebillingfor+script&adv=false&sortby=cm_rnd_rankvalue</u>
regards,
Sana M. -
Last Used status for Reports, Transactions, Tables ??
Dear all,
Kindly let me know how to find the last used status for
Reports, Transactions, Tables ??
This is very urgent, Please do the needful.
Waiting for the responses..
Cheers,
Virendra.Here the issue is same.
STAT transaction is asking for the time which is the main hurdle.
I am hanging around with STAT transaction but not finding
how to getover the time specification.
if i dont specify the time i takes by default the 2 or minutes back from the current time.
which is not useful for me at all.
My main requirement is that my seniors want to know what are all reports or transaction or tables which are not used at what last time ?
so if i have to specify the time wont be so useful for me.
And writing a report 'll not gain anything coz internal SAP report is take time as main parameter.
Regards,
Virendra. -
Strategies for report management?
Folks -- I'm a newbie to development, and to reports development, and to Crystal. So I know how thrilled y'all will be to work with me!
I am responsible for report development for a new HRIS system we're implementing. We have Crystal Reports (XI rel 2) and the "eval" 5-user version of Crystal Reports server that comes with it. Right now, I'm trying to use that for report distribution, though I'll probably have to learn Visual and move that way for more widespread distribution.
In the meantime, the onslaught of report requests is overwhelming me -- not only in terms of getting them done, but in terms of MANAGING them.
With Crystal Server, my files are saved to this weird directory structure (like c$\Program Files\Business Objects\BusinessObjects Enterprise 11.5\FileStore\Input\a_012\019\000\4876\crypticname.rpt).
I'm trying to find an easy yet logical way to manage the REQUESTS, DEVELOPMENT, and finalization of all of my reports (I will have, probably, 50-100 when all done, but they're constantly changing).
I tried keeping a "local" folder structure and then only moving them to the server when they're "finalized." This is proving difficult, because of the "urgent" change requests that come in (we're not in a highly-structured environment).
I would love to hear how others manage their reports inventory. Have you built a database (using what?)? Bought a product? I'm just coming up clueless on the best/easiest way to do this!
Thanks
MKHi Kent,
What a brave guy !
First off, you need to a simple, consistent, helpful way to deal with the users requests.
You need a report requirements sheet.
This sheet will contain things like:
-Purpose of report
-Report Title (...this is more important than you might think.
For instance, if it's and inventory report, you might want all in this group to start with "INV", like "INV_Fall_Summary", etc.
That way, they are all listed together in the folder, db, etc.)
...then table.field + filter like...
-Table.field > 5
-Table.filed between 2 and 8
...then, when someone wants a report, they fill out the requirements sheet and hand it to you. Also include a place for them to sign it. Most people are pretty cool, but occasionally your boss says "..they say that's not what they asked for..."
and you can say "...is this their signature ...?"
If they want a change, they fill out a change request.
Both the requirement sheet and change request make the user thing about what they are asking you for. What you DON'T want, is for someone to just drop by your desk and say "hey, can write me up a quick one on blah, blah..."...'cause, sure enough, they'll walk away and you'll be stuck just trying to remember a part of what they said...even worse, they won't remember it all either.
Happy Hunting,
The Panda
...then you need report standards like...
-Report Title: Arial 16 Bold
-Groups Headings : Arial 12 Bold
-etc
Maybe you are looking for
-
[SOLVED] iPhone not -completely- detected (ifuse doesn't work)
Hi All, After following the wiki ( https://wiki.archlinux.org/index.php/Iphone ) and looking for similar problems on the forum ( https://bbs.archlinux.org/viewtopic.php?id=133822 ), I still can not get my iPhone to be detected by ifuse, in order to b
-
Set up fixed vendor for PO help required -URGENT
Hi , can somebody walk me through the steps to step UP a fixed vendor. I need to create a po with fixed vendor throgh transaction me59. PLS HELP
-
Problem with numeric types in Abap Proxy
Hello, We are having problems with some abap proxy calls. When a numeric type is filled with 0 the node it´s automatically removed and no value it's recived in XI. The only way I have found to avoid this problem it's to define the field with type str
-
Hi EXperts, In my selection screen one radio button group with 3 buttons 1) report 2)download to PC 3)download to APPLICATION SERVER How to handle this situation. Points will be rewarded.
-
Correct Settlement Rule not extracted from R3
Hi Everyone, I hope someone can help with my issue: There are 2 settlement rules for a specific WBS in R3. Datasource: 0WBS_ELEMT_ATTR Settlement Rule 1: valid from Period 0 to Period 1 Year 2007, Settlement Rule 2: valid from Period 2 Year 2007 unti