Regarding Jdeveloper ---- Urgent
Hi All,
We got a project in iStore Customization....for that which version of Jdeveloper can i download ? and
How can i do iStore customization? Is there any documents are there ...plz tell it also ...
In Forums i am not able to find the iStore related forums,
plz suggest me as soon as possible
Best Regards
Sayyed
Try the OA Framework forum: OA Framework
You might want to do a search on that forum for previous answers to this question.
Similar Messages
-
Regarding RFC [ URGENT ]
Hello Experts
I am updating a table in SCM server with the data from R/3 tables. I am using RFC with destination.
I created an FM[RFC] in R/3
I created a program in SCM, in that i am calling that RFC.
I created a dummy RFC in SCM with the same paramters.
When i am executing the FM in R/3 i could able to fetch the data as output including some return value.
But when i am executing the program which is calling the RFC i am not getting the data.
But i am able to get the return value in R/3 FM[RFC]*
So i am sure that logical destination name is working
[ call 'FM' destination 'dest name' ].
My problem is i am not getting the data to the SCM server eventhogh i could able to get data in R/3 and I could able to connect to remote server.
*Guys Kindly let me know the solution for this it's a bit urgent
thanks in advance
PramodHi Pramod,
In the RFC function place the code as infinate loop. like
Data : x type c.
do.
if not x is initial.
exit.
endif.
enddo.
when you execute this the process will stop in this loop. Go to SM50 and select the process in debug mode. And in the debug mode you can change the value of x. then you can continue from that step in debug mode and you can trace.
Regards
Ganesh -
Required Info Regarding JDeveloper
Hi!
I'm new to JDeveloper. Is there any link regarding details description on JDeveloper - can you share it?
Regards.
Satyaki De.
Oops! I'm already in that forum....
Message was edited by:
Satyaki_DeJDeveloper information is at http://oracle.com/technology/jdev
-
Regarding report(urgent)
Hi experts,
i need to add some fields to output of the report.
here i am giving the fields required to add and giving the code below please build the code
, we need to add the following data in the report output.
> GR Document (RSEG-LFBNR)
> GR date (MKPF-BLDAT)
> Quantity (MSEG-ERFMG)
> Amount in LC(MSEG-DMBTR)
> GL Account (MSEG-SAKTO)
Logic in getting the record:
> for each invoice no(RESG-BELNR) of a PO Line(EKKO-EBELN,EKPO-EBELP), get GR no (RSEG-LFBNR) and doc. year(RSEG-LFGJA),
> select the matching record in MSEG using the GR no and year (RSEG-LFBNR = MKPF-MBLNR & RSEG-LFGJA=MKPF-MJAHR,
EKKO-EBELN=RSEG- EBELN,EKPO-EBELP=RSEG-EBELP)
> select the matching record in MKPF using the GR no and year (RSEG-LFBNR = MKPF-MBLNR & RSEG-LFGJA=MKPF-MJAHR)
here iam giving my code we have to add thos fields into this code:
TABLES: ekko, "Purchasing Document Header
ekpo, "Purchasing Document Item
rbkp. "Document Header: Invoice Receipt
Type-Pools
TYPE-POOLS : slis. " Has to be declared to use ALVs
To hold ALV field catgory data
DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat LIKE LINE OF it_fieldcat.
Internal tables declarations
Internal table to hold Report data
DATA: BEGIN OF it_output OCCURS 0,
dir_indir(9),
bukrs LIKE ekko-bukrs, "company code
ebeln LIKE ekko-ebeln, "Purchasing Document Number
ebelp LIKE ekpo-ebelp, "Item
aedat LIKE ekko-aedat, "Date on which the record was created
belnr LIKE rseg-belnr, "Accounting document number
bldat LIKE rbkp-bldat, "Document date in document
budat LIKE rbkp-budat, "Posting date in the document
wrbtr LIKE rseg-wrbtr, "Amount in document currency
curr LIKE t880-curr, "Price unit (Local Curr)
bednr LIKE ekpo-bednr, "Requirement tracking number
lifnr LIKE ekko-lifnr, "Vendor's account number
name1 LIKE lfa1-name1, "name1
name2(30), "preparer name
name3(30), "requester name
gjahr LIKE rseg-gjahr, "Fiscal year
ernam LIKE ekko-ernam, "Name of Person who Created the Object
kursf LIKE rbkp-kursf, "Exchange rate
shkzg LIKE rseg-shkzg, "Debit/credit indicator
banfn LIKE ekpo-banfn, "Purchase requisition number
bnfpo like eban-bnfpo,
knttp LIKE ekpo-knttp, "account assignment category
END OF it_output.
Selection Screen
SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_bukrs LIKE ekko-bukrs OBLIGATORY.
Parameters: P_knttp like ekpo-knttp as checkbox default 'X'.
SELECT-OPTIONS: s_invdat FOR rbkp-bldat, "Document date in document
s_vendor FOR ekko-lifnr, "Vendor's account number
s_purcdo FOR ekko-ebeln, "Purchasing Document no
s_credat FOR ekko-aedat OBLIGATORY,"create date
s_plant FOR ekpo-werks, "Plant
s_doctyp FOR ekko-bsart, "Purchasing document type
s_purorg FOR ekko-ekorg, "Purchasing organization
s_trcnum FOR ekpo-bednr, "Requirement tracking number
s_knttp FOR ekpo-knttp. "account assignment category
SELECTION-SCREEN: END OF BLOCK b1.
DATA: count TYPE i VALUE 0. " Used to count records
INITIALIZATION *
INITIALIZATION.
At Selection Screen
AT SELECTION-SCREEN.
Checking for the input values of selection screen fields.
PERFORM validate_params.
Start Of Selection
START-OF-SELECTION.
if p_knttp = 'X'.
PERFORM get_data.
else.
skip.
*message e021 with 'no output'.
endif.
PERFORM get_data.
End Of Selection
END-OF-SELECTION.
SUBROUTINE TO CALL THE FUNCTION MERGE TO ENSURE PROPER DISPLAY.
PERFORM merge_fieldcatalog.
PERFORM modify_fieldcat.
PERFORM alv_report.
FORM validate_params *
FORM validate_params.
Validate company code
SELECT SINGLE COUNT(*) FROM t001 WHERE bukrs = p_bukrs.
IF sy-subrc <> 0.
MESSAGE e021 WITH 'Please enter a valid Company code'.
ENDIF.
*Validate Vendor.
SELECT SINGLE COUNT(*) FROM lfa1 WHERE lifnr IN s_vendor.
CASE sy-subrc.
WHEN 0.
WHEN OTHERS.
MESSAGE e021 WITH 'Please enter a valid Vendor'.
ENDCASE.
*Validate PO doc type
SELECT SINGLE COUNT(*) FROM t161 WHERE bsart IN s_doctyp.
CASE sy-subrc.
WHEN 0.
WHEN OTHERS.
MESSAGE e021 WITH 'Please enter a valid PO Doc. Type'.
ENDCASE.
*Validate plant
SELECT SINGLE COUNT(*) FROM t001w WHERE werks IN s_plant.
CASE sy-subrc.
WHEN 0.
WHEN OTHERS.
MESSAGE e021 WITH 'Please enter a valid Plant. Type'.
ENDCASE.
*Validate Purch. Org
SELECT SINGLE COUNT(*) FROM t024e WHERE ekorg IN s_purorg.
CASE sy-subrc.
WHEN 0.
WHEN OTHERS.
MESSAGE e021 WITH 'Please enter a valid Purch. Org.'.
ENDCASE.
ENDFORM. " PERFORM VALIDATE_PARAMS.
FORM get_data *
FORM get_data.
DATA: l_persnumber LIKE usr21-persnumber.
Get PO data
SELECT a~bukrs a~ebeln b~ebelp a~aedat a~lifnr a~ernam
b~knttp b~bednr b~banfn
c~belnr c~wrbtr c~gjahr c~shkzg
d~bldat d~budat d~kursf
e~dir_indir
INTO CORRESPONDING FIELDS OF TABLE it_output
FROM ekko AS a
JOIN ekpo AS b ON b~ebeln = a~ebeln
JOIN rseg AS c ON c~ebeln = b~ebeln
AND c~ebelp = b~ebelp
AND c~bukrs = a~bukrs
JOIN rbkp AS d ON d~belnr = c~belnr
AND d~gjahr = c~gjahr
LEFT JOIN zpo_dirindir AS e ON e~knttp = b~knttp
WHERE a~bukrs = p_bukrs
AND a~lifnr IN s_vendor
AND a~ebeln IN s_purcdo
AND a~bsart IN s_doctyp
AND a~ekorg IN s_purorg
AND a~aedat IN s_credat
AND b~knttp IN s_knttp
AND b~werks IN s_plant
AND b~bednr IN s_trcnum.
LOOP AT it_output.
Get posting date, Doc. date & Curr. Key
IF it_output-kursf > 0.
it_output-wrbtr = it_output-wrbtr * it_output-kursf.
else.
if it_output-kursf < 0.
it_output-wrbtr = it_output-Wrbtr * ( 1 / it_output-kursf ).
it_output-wrbtr = abs( it_output-wrbtr ).
endif.
ENDIF.
get local currency
SELECT SINGLE waers INTO it_output-curr FROM t001
WHERE bukrs = it_output-bukrs.
Get vendor name.
SELECT SINGLE name1 FROM lfa1 INTO it_output-name1
WHERE lifnr = it_output-lifnr.
Get PO created person name
SELECT SINGLE persnumber INTO l_persnumber FROM usr21
WHERE bname = it_output-ernam.
IF sy-subrc = 0.
SELECT SINGLE name_text FROM adrp INTO it_output-name2
WHERE persnumber = l_persnumber.
ELSE.
it_output-name2 = it_output-ernam.
ENDIF.
Get get requested by from Unloading point in PO
else PR created by (If PR exists)
CASE it_output-dir_indir.
WHEN 'I'.
Take requested by from Unloading point.
SELECT SINGLE ablad INTO it_output-name3 FROM ekkn
WHERE ebeln = it_output-ebeln
AND ebelp = it_output-ebelp .
WHEN 'D'.
SELECT SINGLE ernam INTO it_output-name3 FROM eban
WHERE banfn = it_output-banfn
AND ebelp = it_output-ebelp.
IF sy-subrc <> 0.
MOVE it_output-ernam TO it_output-name3.
ENDIF.
SELECT SINGLE persnumber INTO l_persnumber FROM usr21
WHERE bname = it_output-name3.
IF sy-subrc = 0.
SELECT SINGLE name_text FROM adrp INTO it_output-name3
WHERE persnumber = l_persnumber.
ENDIF.
select single ernam into it_output-name3 from eban where
banfn = it_output-banfn and bnfpo = it_output-bnfpo.
move it_output-name3 to it_output-name3.
if sy-subrc = 0.
SELECT SINGLE PERSNUMBER INTO L_PERSNUMBER FROM USR21
WHERE BNAME = it_output-name3.
IF SY-SUBRC = 0.
SELECT SINGLE NAME_TEXT FROM ADRP INTO it_output-name3
WHERE PERSNUMBER = L_PERSNUMBER.
ELSE. it_output-name3 = it_output-name3.
endif.
else.
SELECT SINGLE PERSNUMBER INTO L_PERSNUMBER FROM USR21
WHERE BNAME = it_output-ernam.
IF SY-SUBRC = 0.
SELECT SINGLE NAME_TEXT FROM ADRP INTO it_output-name3
WHERE PERSNUMBER = L_PERSNUMBER.
ELSE.
it_output-name3 = it_output-ernam.
endif.
endif.
ENDCASE.
translate direction indicator to Indirect or Direct
CASE it_output-dir_indir.
WHEN 'I'. it_output-dir_indir = 'Indirect'.
WHEN 'D'. it_output-dir_indir = 'Direct'.
ENDCASE.
MODIFY it_output.
ENDLOOP.
ENDFORM.
FORM MERGE_FIELDCATALOG *
FORM merge_fieldcatalog.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-cprog
i_internal_tabname = 'IT_OUTPUT'
i_inclname = sy-cprog
CHANGING
ct_fieldcat = it_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
ENDFORM. " MERGE_FIELDCATALOG
FORM modify_fieldcat *
FORM modify_fieldcat.
DATA: wa_fieldcat TYPE slis_fieldcat_alv.
LOOP AT it_fieldcat INTO wa_fieldcat.
CASE wa_fieldcat-fieldname.
WHEN 'DIR_INDIR'.
wa_fieldcat-seltext_m = 'Direct/Indirect'.
WHEN 'NAME2'.
wa_fieldcat-seltext_m = 'PREPARER NAME'.
WHEN 'NAME3'.
wa_fieldcat-seltext_m = 'REQUESTER NAME'.
WHEN 'BEDNR'.
wa_fieldcat-seltext_m = 'SSP PO'.
WHEN 'AEDAT'.
wa_fieldcat-seltext_m = 'PO DOCUMENT DATE'.
WHEN 'BLDAT'.
wa_fieldcat-seltext_m = 'INVOICE DOCU DATE'.
WHEN 'BUDAT'.
wa_fieldcat-seltext_m = 'POSTAGE DATE'.
WHEN 'WRBTR'.
wa_fieldcat-seltext_m = 'LOCAL AMOUNT'.
wa_fieldcat-cfieldname = 'CURR'.
wa_fieldcat-ctabname = wa_fieldcat-tabname.
WHEN 'CURR'.
wa_fieldcat-seltext_m = 'LOCAL CURR'.
WHEN 'NAME1'.
wa_fieldcat-seltext_m = 'VENDOR NAME'.
ENDCASE.
MODIFY it_fieldcat FROM wa_fieldcat.
ENDLOOP.
ENDFORM.
FORM ALV_REPORT *
FORM alv_report.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
it_fieldcat = it_fieldcat[]
TABLES
t_outtab = it_output[].
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.Very sorry to say this Venu ...
This is a forum to ask doubts .. "Not get your work done for Free"
Kindly try to do it yourself first & then if you are stuck somewhere fell free to shout for help
Best regards,
Gaurav -
Regarding bapi ( urgent)
hi
w t is the difference b/w of BAPIMEPOHEADERX,BAPIMEPOHEADER
wr can i use this BAPIMEPOHEADERX,
Regards
Spandanahi spandana,
check this sample program.
*& Report ZMM_PO_CREATE1 *
REPORT ZMM_PO_CREATE1 .
data : POHEADER like BAPIMEPOHEADER occurs 0 with header line,
POHEADERX like BAPIMEPOHEADERX occurs 0 with header line,
POITEM like BAPIMEPOITEM occurs 0 with header line,
POITEMX like BAPIMEPOITEMX occurs 0 with header line,
POESLLC like BAPIESLLC occurs 0 with header line,
POACCOUNT like BAPIMEPOACCOUNT occurs 0 with header line,
POACCOUNTX like BAPIMEPOACCOUNTX occurs 0 with header line,
POCONDHEADER like BAPIMEPOCONDHEADER occurs 0 with header line,
POCONDHEADERX like BAPIMEPOCONDHEADERX occurs 0 with header line,
POCOND like BAPIMEPOCOND occurs 0 with header line,
RETURN like BAPIRET2 occurs 0 with header line.
data : po_no(10).
data : begin of it_head occurs 0,
ref(10),
bsart like ekko-bsart,
lifnr like ekko-lifnr,
ekorg like ekko-ekorg,
ekgrp like ekko-ekgrp,
bukrs like ekko-bukrs,
verkf like ekko-verkf,
telf1 like ekko-telf1,
ihrez like ekko-ihrez,
unsez like ekko-unsez,
kdatb(10),
kdate(10),
end of it_head.
data : begin of it_det occurs 0,
ref(10),
knttp like ekpo-knttp,
pstyp like ekpo-pstyp,
txz01 like ekpo-txz01,
matkl like ekpo-matkl,
werks like ekpo-werks,
afnam like ekpo-afnam,
ktext1 like esll-ktext1,
srvpos like esll-srvpos,
frmval1 like esll-frmval1,
frmval2 like esll-frmval2,
menge like esll-menge,
kostl like eskn-kostl,
sakto like eskn-sakto,
zzcode like eskn-zzcode,
kbetr like konv-kbetr,
end of it_det.
data : c_col1 TYPE i VALUE '0001',
c_col2 TYPE i VALUE '0002',
c_col3 TYPE i VALUE '0003',
c_col4 TYPE i VALUE '0004',
c_col5 TYPE i VALUE '0005',
c_col6 TYPE i VALUE '0006',
c_col7 TYPE i VALUE '0007',
c_col8 TYPE i VALUE '0008',
c_col9 TYPE i VALUE '0009',
c_col10 TYPE i VALUE '0010',
c_col11 TYPE i VALUE '0011',
c_col12 TYPE i VALUE '0012',
c_col13 TYPE i VALUE '0013',
c_col14 TYPE i VALUE '0014',
c_col15 TYPE i VALUE '0015',
c_col16 TYPE i VALUE '0016'.
data : v_currentrow type i,
v_currentrow1 type i.
data : itab_head like ALSMEX_TABLINE occurs 0 with header line,
itab_det like ALSMEX_TABLINE occurs 0 with header line.
data : file_head type RLGRAP-FILENAME,
file_item type RLGRAP-FILENAME.
file_head = 'C:\Documents and Settings\abap.fi\Desktop\head.xls'.
file_item = 'C:\Documents and Settings\abap.fi\Desktop\item.xls'.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = file_head
i_begin_col = 1
i_begin_row = 1
i_end_col = 12
i_end_row = 50
tables
intern = itab_head
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = file_item
i_begin_col = 1
i_begin_row = 1
i_end_col = 16
i_end_row = 50
tables
intern = itab_det
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF itab_head[] IS INITIAL.
WRITE:/ 'No Header Data Exists '.
STOP.
ELSE.
sort itab_head by row col.
read table itab_head index 1.
v_currentrow = itab_head-row.
loop at itab_head.
if itab_head-row ne v_currentrow.
APPEND it_head.
v_currentrow = itab_head-row.
ENDIF.
CASE itab_head-col.
WHEN c_col1.
it_head-ref = itab_head-value.
WHEN c_col2.
it_head-bsart = itab_head-value.
WHEN c_col3.
it_head-lifnr = itab_head-value.
WHEN c_col4.
it_head-ekorg = itab_head-value.
WHEN c_col5.
it_head-ekgrp = itab_head-value.
WHEN c_col6.
it_head-bukrs = itab_head-value.
WHEN c_col7.
it_head-verkf = itab_head-value.
WHEN c_col8.
it_head-telf1 = itab_head-value.
WHEN c_col9.
it_head-ihrez = itab_head-value.
WHEN c_col10.
it_head-unsez = itab_head-value.
WHEN c_col11.
it_head-kdatb = itab_head-value.
WHEN c_col12.
it_head-kdate = itab_head-value.
ENDCASE.
ENDLOOP.
APPEND it_head.
CLEAR it_head.
ENDIF.
IF itab_det[] IS INITIAL.
WRITE:/ 'No Item Data Exists '.
STOP.
ELSE.
sort itab_det by row col.
read table itab_det index 1.
v_currentrow1 = itab_det-row.
loop at itab_det.
if itab_det-row ne v_currentrow1.
APPEND it_det.
v_currentrow1 = itab_det-row.
ENDIF.
CASE itab_det-col.
WHEN c_col1.
it_det-ref = itab_det-value.
WHEN c_col2.
it_det-knttp = itab_det-value.
WHEN c_col3.
it_det-pstyp = itab_det-value.
WHEN c_col4.
it_det-txz01 = itab_det-value.
WHEN c_col5.
it_det-matkl = itab_det-value.
WHEN c_col6.
it_det-werks = itab_det-value.
WHEN c_col7.
it_det-afnam = itab_det-value.
WHEN c_col8.
it_det-srvpos = itab_det-value.
WHEN c_col9.
it_det-ktext1 = itab_det-value.
WHEN c_col10.
it_det-frmval1 = itab_det-value.
WHEN c_col11.
it_det-frmval2 = itab_det-value.
WHEN c_col12.
it_det-menge = itab_det-value.
WHEN c_col13.
it_det-kostl = itab_det-value.
WHEN c_col14.
it_det-sakto = itab_det-value.
WHEN c_col15.
it_det-zzcode = itab_det-value.
WHEN c_col16.
it_det-kbetr = itab_det-value.
ENDCASE.
ENDLOOP.
APPEND it_det.
CLEAR it_det.
ENDIF.
loop at it_head.
poheader-doc_type = it_head-bsart.
poheader-vendor = it_head-lifnr.
poheader-purch_org = it_head-ekorg.
poheader-pur_group = it_head-ekgrp.
poheader-comp_code = it_head-bukrs.
poheader-sales_pers = it_head-verkf.
poheader-telephone = it_head-telf1.
poheader-REF_1 = it_head-ihrez.
poheader-OUR_REF = it_head-unsez.
poheader-VPER_START = it_head-kdatb.
poheader-VPER_END = it_head-kdate.
loop at it_det where ref = it_head-ref.
poitem-acctasscat = it_det-knttp.
poitem-item_cat = it_det-pstyp.
poitem-short_text = it_det-txz01.
poitem-matl_group = it_det-matkl.
poitem-plant = it_det-werks.
poitem-PREQ_NAME = it_det-afnam.
POESLLC-SERVICE = it_det-srvpos.
POESLLC-SHORT_TEXT = it_det-ktext1.
POESLLC-FORM_VAL1 = it_det-frmval1.
POESLLC-FORM_VAL2 = it_det-frmval2.
POESLLC-QUANTITY = it_det-menge.
POACCOUNT-COSTCENTER = it_det-kostl.
POACCOUNT-GL_ACCOUNT = it_det-sakto.
POCONDHEADER-COND_TYPE = 'R000'.
POCONDHEADER-COND_VALUE = it_det-kbetr.
endloop.
endloop.
poheaderx-doc_type = 'X'.
poheaderx-vendor = 'X'.
poheaderx-purch_org = 'X'.
poheaderx-pur_group = 'X'.
poheaderx-comp_code = 'X'.
poheaderx-sales_pers = 'X'.
poheaderx-telephone = 'X'.
poheaderx-REF_1 = 'X'.
poheaderx-OUR_REF = 'X'.
poheaderx-VPER_START = 'X'.
poheaderx-VPER_END = 'X'.
poitemx-acctasscat = 'X'.
poitemx-item_cat = 'X'.
poitemx-short_text = 'X'.
poitemx-matl_group = 'X'.
poitemx-plant = 'X'.
poitemx-PREQ_NAME = 'X'.
*POESLLCx-SHORT_TEXT = 'X'.
POACCOUNTx-COSTCENTER = 'X'.
POACCOUNTx-GL_ACCOUNT = 'X'.
POCONDHEADER-cond_type = 'X'.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = poheader
POHEADERX = poheaderx
POADDRVENDOR =
TESTRUN =
MEMORY_UNCOMPLETE =
MEMORY_COMPLETE =
POEXPIMPHEADER =
POEXPIMPHEADERX =
VERSIONS =
NO_MESSAGING =
NO_MESSAGE_REQ =
NO_AUTHORITY =
NO_PRICE_FROM_PO =
IMPORTING
EXPPURCHASEORDER = po_no
EXPHEADER =
EXPPOEXPIMPHEADER =
TABLES
RETURN = return
POITEM = poitem
POITEMX = poitemx
POADDRDELIVERY =
POSCHEDULE =
POSCHEDULEX =
POACCOUNT = poaccount
POACCOUNTPROFITSEGMENT =
POACCOUNTX = poaccountx
POCONDHEADER = pocondheader
POCONDHEADERX = pocondheaderx
POCOND =
POCONDX =
POLIMITS =
POCONTRACTLIMITS =
POSERVICES = poesllc
POSRVACCESSVALUES =
POSERVICESTEXT =
EXTENSIONIN =
EXTENSIONOUT =
POEXPIMPITEM =
POEXPIMPITEMX =
POTEXTHEADER =
POTEXTITEM =
ALLVERSIONS =
POPARTNER =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
if sy-subrc = 0.
loop at return.
write return-MESSAGE_V1.
write po_no.
endloop.
endif.
reward points if hlpful. -
[b]JDev Team: Problem regarding JDeveloper's UIEditor[/b]
Hiii,
I am using Jdeveloper 903 production release.When I develop a Swing Form using the UIEditor of JDeveloper, the code normally gets added to the jbInit() method of the source file. the code which is getting generated is something like :
public class SwingForm extends JPanel
XYLayout xYLayout1 = new XYLayout();
JCheckBox jCheckBox1 = new JCheckBox();
JTextField jTextField1 = new JTextField();
public SwingForm()
try
jbInit();
catch(Exception e)
e.printStackTrace();
private void jbInit() throws Exception
this.setLayout(xYLayout1);
jCheckBox1.setText("jCheckBox1");
jTextField1.setText("jTextField1");
this.add(jTextField1, new XYConstraints(170, 165, 59, 20));
this.add(jCheckBox1, new XYConstraints(160, 55, 82, 24));
But for the sake of modularity I want to rearrage the code something like this :
public class SwingForm extends JPanel
XYLayout xYLayout1 = new XYLayout();
JCheckBox jCheckBox1 = new JCheckBox();
JTextField jTextField1 = new JTextField();
public SwingForm()
try
jbInit();
catch(Exception e)
e.printStackTrace();
private void jbInit() throws Exception
this.setLayout(xYLayout1);
setProperties();
this.add(jTextField1, new XYConstraints(170, 165, 59, 20));
this.add(jCheckBox1, new XYConstraints(160, 55, 82, 24));
private void setProperties()
jCheckBox1.setText("jCheckBox1");
jTextField1.setText("jTextField1");
But if I rearrange the code like this, the properties which I am setting inside the method setProperties() doesn't get reflected on the UIEditor. I want to know, can I set the properties inside a different method or not? If not, is there a workaround for that?
Thanks in advance
HemantHi,
No, you may not set the properties inside of a method other than jbInit. There is no workaround.
JDeveloper is not an interpreted environment. Thus, no runtime state is present during UI editing, meaning that no instance of your class is present upon which to invoke the other method. Similarly, conditional logic can not be executed. The UI Editor explicitly searches for the jbInit method and attempts to use simple reflection, to the best of its ability, to perform property sets on the member objects. Note that the member objects may be instantiated and used with reflection since they are instances of compiled classes, whereas the 'this' object is not yet compiled since you are still editing it -
Regarding Varrays (Urgent)
Dear Experts,
Please tell me how to store emp_name in varray.
and I need to pass that varray to another procedure.
so please send code .All forum volunteers are assisting with other issues right now, your request has been logged and will be answered some time within the next six months.
If this is an urgent request please contact your support representative or engage qualified qualified consultants. -
Clarification Regarding Jdeveloper
Hi guys
Iam new to jDeveloper. I would like to clarify which database versions can be used with jDev 9.0.3 to covert pl/sql's to Webservices.
thanks in advance
venkatI've done it with both the 8i and 9i versions of the database.
I haven't tried working with version 7 but it might work if you have the correct JDBC classes. -
Installing New Font in Jdeveloper(urgent)
how can install a new font in jdeveloper and also in java i need for printing labels for our application, if could help, i would appreicate it.
thanks
email:[email protected]Jeff:
Trying to index PDF files to be uploaded to IBM Content Manager OnDemand. I work for a utility that now keeps a digital copy of customer bills, stored as PDFs. We are moving to mid range servers to isolate for performance spikes, without service degradation. But the font files in the bills need to be recpognized by the PDF Indexer (licensed) part of the IBM product.
So these font files need to be found by this ADOBE integrated product. Use o fthe resource files should save us about 93% of the storage that will otherwise be necessary.
L J Wagner -
Help Needed Regarding Messaging URGENT
hello everyone, i am new to this discussion ...can any one help me? i want a nokia handset with the message memory of 20 thousand sms.... because i recieve lots of messages and i dont want to delete them.. kindly help me out...
thanks
regards
UNIMANKeeping so many messages is going to cause a phone to be very slow and potentially unstable whilst using the messaging app.
The only nokia's that have a chance of doing it are recent smartphones like the N82, N95, N78, N79, N85, N96, E51, E63, E66, E71 & E90. You will need to set the phone to store the messages on a memory card, not the phone memory.
The only limitation I can see is that you are limited to 999 for the number of sent messages that you can keep. Received is unlimited if you have a lot of free space from what i've seen.
The most sensible option would be to transfer your messages to a PC for permanent storage & archiving. -
Hi ,
Iam using Jdeveloper to build web applications whenever i commit any changes and run the application it is shooting the "error deployment server failed and further it wont allow me to run any applications ...how to eliminate this one please any one to guide me ?Hi Micheal
here are the followinfg details of the problem iam facing
i created the following package with procedure and published it
create or replace package webpkg
as
procedure webpub(p1 number,p2 number,p3 OUT number);
end;
create or replace package body webpkg
as
procedure webpub(p1 number,p2 number,p3 OUT number)
as
begin
if p2<p1 then
p4:='P2<P1 ....Its not acceptable Saleem';
dbms_output.put_line('ERROR P2 Less Than P1 Not Acceptable');
elsif
p2=p1 then
p4:='P2=P1 ....Its not acceptable Saleem';
dbms_output.put_line('ERROR P2 Equal To P1 Not Acceptable');
elsif
p2>p1 then
p4:='P2>P1 ....Its acceptable Saleem';
dbms_output.put_line('OK P2 Greater Than P1 Acceptable');
p3:=p1+p2;
else
dbms_output.put_line('Enter the data appropriately ');
end if;
end;
end;
i compiled it ...its absolutely working fine then i published it
the following is the wsdl details ......
<definitions name="webpkg"
targetNamespace="http://jdk.webpkg.webpub/webpkg.wsdl">
−
<documentation>
WSDL for Service: webpkg, generated by Oracle WSDL toolkit (version: 1.1)
</documentation>
−
<types>
−
<schema targetNamespace="http://jdk.webpkg.webpub/webpkg.xsd">
−
<complexType name="jdk_webpkg_webpub_webpkgUser_webpub_Out">
−
<all>
<element name="p3Out" type="xsd:decimal"/>
</all>
</complexType>
</schema>
</types>
−
<message name="webpubInput">
<part name="param0" type="xsd:decimal"/>
<part name="param1" type="xsd:decimal"/>
</message>
−
<message name="webpubOutput">
<part name="return" type="xsd1:jdk_webpkg_webpub_webpkgUser_webpub_Out"/>
</message>
−
<portType name="webpkgPortType">
−
<operation name="webpub">
<input message="tns:webpubInput"/>
<output message="tns:webpubOutput"/>
</operation>
</portType>
−
<binding name="webpkgBinding" type="tns:webpkgPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
−
<operation name="webpub">
<soap:operation soapAction="urn:jdk-webpkg-webpub-webpkg/webpub"/>
−
<input>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:jdk-webpkg-webpub-webpkg"/>
</input>
−
<output>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:jdk-webpkg-webpub-webpkg"/>
</output>
</operation>
</binding>
−
<service name="webpkg">
−
<port name="webpkgPort" binding="tns:webpkgBinding">
<soap:address location="http://172.16.121.66:8888/proc/webpkg"/>
</port>
</service>
</definitions
Iam getting the output in the following form ......
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:webpubResponse xmlns:ns1="http://jdk.webpkg.webpub/webpkg.wsdl"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<return xmlns:ns2="http://jdk.webpkg.webpub/webpkg.xsd"
xsi:type="ns2:jdk_webpkg_webpub_webpkgUser_webpub_Out">
<p3Out xsi:type="xsd:decimal">30</p3Out>
</return>
</ns1:webpubResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Then i wrote a pl/sql function to get the output parameter p3
CREATE OR REPLACE FUNCTION ws_test(value1 in number,value2 in number)
RETURN sys.xmltype as
env VARCHAR2(32767);
http_req utl_http.req;
http_resp utl_http.resp;
resp sys.xmltype;
in_xml sys.xmltype;
url
varchar2(2000):='http://172.16.121.66:8888/proc/webpkg';
BEGIN
-- generate_envelope(req, env);
env:='<?xml version = "1.0" encoding = "UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="urn:jdk-webpkg-webpub-webpkg"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<env:Header/>
<env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<ns:webpub>
<param0 xsi:type="xsd:decimal">value1</param0>
<param1 xsi:type="xsd:decimal">value2</param1>
</ns:webpub>
</env:Body>
</env:Envelope>';
-- show_envelope(env);
http_req := utl_http.begin_request(url, 'POST','HTTP/1.1');
utl_http.set_body_charset(http_req, 'UTF-8');
utl_http.set_header(http_req, 'Content-Type', 'text/xml');
utl_http.set_header(http_req, 'Content-Length', length(env));
utl_http.set_header(http_req, 'SOAPAction',
'http://172.16.121.66:8888/proc/webpkg/webpub');
utl_http.write_text(http_req, env);
http_resp := utl_http.get_response(http_req);
utl_http.read_text(http_resp, env);
utl_http.end_response(http_resp);
in_xml := sys.xmltype.createxml(env);
resp := xmltype.createxml(env);
RETURN in_xml;
END;
but iam gettting the following error......
SQL> select ws_test(10,20) from dual;
WS_TEST(10,20)
<?xml version="1.0" encoding="US-ASCII"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
lns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org
/2001/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>For input string: "valu"
[java.lang.NumberFormatExc
eption]</faultstring>
<faultactor>/proc/webpkg</faultactor>
</SOAP-ENV:Fault>
WS_TEST(10,20)
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Looking at my WSDL and envelopes can u write the appropriate function which consumes the published package and get me the p3 out put parameter of my procedure please its my humble request -
Help needed regarding JDeveloper and ADF
Hi All,
I am new to ADF customization in JDeveloper. Can any of the experts here, guide me how to start and get myself expertise in ADF. Actually i have been doing some experiments like creating trains,connecting to DB etc., from few days back. But the main thing is i could'nt able to figure out the usage of each and every component. So try to help me.
Thanks in advance.Hi,
check
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html - All samples
http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e12419/toc.htm - new tag Doc 11.1.1.5
http://download.oracle.com/docs/cd/E18196_01/11.1.2.0.0/main_11.1.2.0.0.html - new sample 11.1.2.0 -
Regarding BAPI_CUSTOMER_CREATEFROMDATA1 Urgent Issue
Hi all,
I am using BAPI_CUSTOMER_CREATEFROMDATA1 to create customers from the portal.
I have given a reference customer in the PI_COPYREFERENCE structure along with sales area information.
But the BAPI gives an error message like no tax records exist for the reference customer.
I am working in UAE, and here we dont have tax. So we dont maintain tax records anywhere.
How to overcome this issue?
Can anyone help me out?
Thanks alot
ShobinHi
Pls go thru this code. hope it will sove ur issue.
Reward if help.
FUNCTION z_bapi_customer_create.
""Interface local:
*" IMPORTING
*" VALUE(I_KNA1) LIKE KNA1 STRUCTURE KNA1 OPTIONAL
*" VALUE(I_KNB1) LIKE KNB1 STRUCTURE KNB1 OPTIONAL
*" VALUE(I_KNVV) LIKE KNVV STRUCTURE KNVV OPTIONAL
*" EXPORTING
*" VALUE(E_KUNNR) LIKE KNA1-KUNNR
*" REFERENCE(O_KNA1) LIKE KNA1 STRUCTURE KNA1
*" REFERENCE(RETURN) LIKE BAPIRETURN1 STRUCTURE BAPIRETURN1
*" TABLES
*" T_XKNVI STRUCTURE FKNVI OPTIONAL
*" T_XKNB5 STRUCTURE FKNB5 OPTIONAL
-(1) initial routines -
data declaration: fields, items, tables:
DATA: subrc LIKE sy-subrc,
credit_control_flag LIKE bapikna108-x_flag value 'X',
postflag LIKE wdl_flag-xflag.
(ii) reset exporting data and sy-subrc
CLEAR: return,
sy-subrc.
(iii) fill temporary interface data i_bapikna1_0x, i_bapikna10x
(in the following: importing data unchanged, work only with
temporary interface data)
(iv) reset data of function kernel
CLEAR: i_kna1,
i_knb1,
i_knvv.
REFRESH:
t_xknbk,
t_xknvi,
t_xknvk,
t_xknvp,
t_xknb5.
-(2) work routines -
call "check function"
(ii) fill exporting data of "kernel function"
(iii) call "kernel function" post synchron (postflag = X)
i_kna1-land1 = 'BR'.
i_kna1-name1 = 'Nome'.
i_kna1-ort01 = 'Abaetetuba'.
i_kna1-pstlz = '099999999'.
i_kna1-regio = 'PA'.
i_kna1-sortl = 'Conceito'.
i_kna1-stras = 'Rua'.
i_kna1-mcod1 = 'Nome'.
i_kna1-mcod2 = 'Abaetetuba'.
i_kna1-mcod3 = 'Sr.'.
i_kna1-brsch = '01'.
i_kna1-ktokd = '0021'.
i_kna1-spras = 'P'.
i_kna1-stcd2 = '999'.
i_kna1-lzone = 'AC00000001'.
i_kna1-stkzn = 'X'.
i_kna1-txjcd = 'NN'.
i_kna1-duefl = 'X'.
i_kna1-civve = 'X'.
i_kna1-brsch = 'AG05'.
i_kna1-anred = 'Sr.'.
i_knvv-vkorg = 'MY01'.
i_knvv-vtweg = 'Z5'.
i_knvv-spart = 'Z7'.
i_knvv-versg = '1'.
i_knvv-kalks = '1'.
i_knvv-kdgrp = '02'.
i_knvv-bzirk = 'CLIE'.
i_knvv-pltyp = '02'.
i_knvv-awahr = '100'.
i_knvv-antlf = '9'.
i_knvv-kzazu = 'X'.
i_knvv-vsbed = '01'.
i_knvv-perfk = '01'.
i_knvv-waers = 'BRL'.
i_knvv-ktgrd = '01'.
i_knvv-vwerk = 'MY01'.
i_knvv-vkgrp = 'LDA'.
i_knvv-vkbur = 'MSOY'.
i_knvv-kurst = '001S'.
i_knvv-kabss = '0001'.
i_knvv-kkber = 'SE01'.
i_knb1-bukrs = '4169'.
i_knb1-akont = '0011411000'.
i_knb1-akont = '9999999999'.
i_knb1-zwels = 'C'.
i_knb1-zterm = '7001'.
i_knb1-vzskz = '02'.
i_knb1-fdgrv = 'C1'.
i_knb1-xzver = 'X'.
i_knb1-knrze = '0000935002'.
t_xknvi-aland = 'BR'.
t_xknvi-tatyp = 'IBRX'.
t_xknvi-taxkd = '1'.
APPEND t_xknvi.
t_xknb5-bukrs = i_knb1-bukrs.
t_xknb5-mahna = '0001'.
append t_xknb5.
postflag = 'X'.
CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
EXPORTING
i_kna1 = i_kna1
i_knb1 = i_knb1
i_knvv = i_knvv
I_BAPIADDR1 =
I_BAPIADDR2 =
I_MAINTAIN_ADDRESS_BY_KNA1 = ' '
pi_postflag = postflag
IMPORTING
e_kunnr = e_kunnr
o_kna1 = o_kna1
TABLES
T_XKNAS =
T_XKNBK =
T_XKNB5 = t_xknb5
T_XKNEX =
T_XKNVA =
T_XKNVD =
t_xknvi = t_xknvi
T_XKNVK =
T_XKNVL =
T_XKNVP =
T_XKNZA =
EXCEPTIONS
client_error = 1
kna1_incomplete = 2
knb1_incomplete = 3
knb5_incomplete = 4
knvv_incomplete = 5
kunnr_not_unique = 6
sales_area_not_unique = 7
sales_area_not_valid = 8
insert_update_conflict = 9
number_assignment_error = 10
number_not_in_range = 11
number_range_not_extern = 12
number_range_not_intern = 13
account_group_not_valid = 14
parnr_invalid = 15
bank_address_invalid = 16
tax_data_not_valid = 17
no_authority = 18
company_code_not_unique = 19
dunning_data_not_valid = 20
knb1_reference_invalid = 21
cam_error = 22
OTHERS = 23
(iv) insert the credit control data
IF credit_control_flag = 'X'
AND sy-subrc = 0.
CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_KNKA_K'
EXPORTING
PI_REF_CUSTOMER = E_KUNNR
PI_CUSTOMER = E_KUNNR
EXCEPTIONS
KNKA_INSERT_ERROR = 23
KNKK_INSERT_ERROR = 24.
CALL FUNCTION 'CREDITCONTROL_INSERT_DEFAULT' IN UPDATE TASK
EXPORTING
kunnr = e_kunnr
kkber = i_knvv-kkber
knrze = i_knb1-knrze.
ENDIF.
(v) return-value "kernel function"
(1) reset data of function kernel
CLEAR: i_kna1,
i_knb1,
i_knvv.
I_BAPIADDR1_01,
I_BAPIADDR2_01.
(2) error-handling
return value sy-subrc, only in case sy-subrc = 0
the exporting data customer_number (customerno)
will be changed
subrc = sy-subrc.
CLEAR sy-subrc.
-(3) set return values and leave the function -
customerno (key-field of BO KNA1), pe_customer, return
PERFORM returnsubrc_1
USING subrc
e_kunnr
CHANGING e_kunnr
return.
IF subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.
ENDFUNCTION. -
Regarding impdp(urgent)
Hi all,
can anyone tell appox how long will it take to import a table of 3433459 rows...
because i have started impdp b4 2 hours ...and it is still running .......Hi all,
can anyone tell appox how long will it take to import
a table of 3433459 rows...
because i have started impdp b4 2 hours ...and it is
still running .......Well that really depends. I guess no one can give that magic number of how long it should take.
At least you can monitor the progress and see how many rows already got in. Do a select count on target table for example.
Maybe it's good idea to do an estimate next time for such job. Use impdp ESTIMATE parameter.
3.5 million is not huge number for Oracle, you need to find out which step the import is at. eg. importing data, build index or collect stats. -
Please Help Regarding ME21 (Urgent)
Hello Members,
I am facing a weird problem.when My
functional person tries to create SERVICE ORDER FROM
transaction ME21 by copying line reference ,account
assignment comes wrong in the subsequent screen means
it takes only particular G/L Account Number instead of
taking the G/L account number from which my functional
person has copied data for new SO.When i tried to
debug the problem I found one function module in ME21
<b>"MS_ACCOUNT_ASSIGNMENT_PACKAGE</b>" is not working
correctly,everything is fine before this function
module call,but after this module only G/L account
changes dramatically,can any one tell me what could be
the problem Anyone has faced such problem previously.
Please give me solution as soon as possible.Hi
I don't know very well Service Order, but check the FM MS_GET_SERVICE and/or MS_READ_LIMITS they read the table ESLL and ESUH where they found out the Cost Element (field KSTAR).
Anyway check the data of Account View 1 (field Valuation Class) of your material, the g/l account should be depend on this data.
Max
Maybe you are looking for
-
Having trouble fading in with masks on a still
Hi, I'm working on a project and i need some help. I created a still in Motion and added some masks on to the left and right ends of it to give it a feathery effect, however when i brought it in to FCP and applied the fade in effect it would cause th
-
What do I need to do to take full advantage of a 802.11ac Airport?
Do I need to purchase any separate cable? Gigabite ethernet cables? WAN vs Lan cables? Will I need to better Modem? What is the best Modem to get? Will I need to upgrade my standard internet service?
-
I have to implement Dataguard or Physical Standby for a RAC primary node. Kindly share any docs or urls if you have; TIA Phani krishna.
-
The Letterbox FX doesn't work as god as before
Did anybody know why they change the parameters of some FXs like the Letterbox? I used this fx in a project I worked on. After update FCPX the parameter for push the picture down doesn't exists anymore so my project actually is damaged. What can I do
-
What do you do when your computer dies?
My iPod mini music library was linked to a laptop that is now deceased. Now I appear stuck in the position of not being able to add songs to my iPod. How can I synchronize the iTunes library on my new laptop with the library on my old iPod? Put anoth