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.
Similar Messages
-
Regarding IMPDP command in oracle10g 10.2.0.4.0
Hi
I am trying importing the dump file into my local system database.
While i try to issue impdp scott/owb directory=test_dir dumpfile=mca.dmp logfile=impdpmca.log
i am getting following errors and window is getting closed.
ORA-39002 Invalid operation
ORA-39070-Unable to open file
ORA-29283-Invalid file operation
ORA-06512-at "SYS.UTL_FILE"
ORA-29283 Invalid File Operation
can any one help me here ...
Regards
RajeshRajesh,
Do you have permission to open file in that directory as an oracle user? It's say unable to open file, so verify directory permission. ANd if possible, please post your exact code enclosed between tag \ to preserve formatting.
\Your code
\Regards -
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 -
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. -
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. -
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
SayyedTry the OA Framework forum: OA Framework
You might want to do a search on that forum for previous answers to this question. -
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. -
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. -
Error while using impdp - urgent
Hi Folks,
Im getting the following error im using impdb :-
sdp1:/oracle/oracle8/Saumya/CBS3.5/DAT6.0/dumps> ontent=data_only logfile=comcel_dev_pcat.log TABLE_EXISTS_ACTION=APPEND <
Import: Release 10.2.0.3.0 - 64bit Production on Thursday, 09 September, 2010 17:44:13
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Master table "COMCEL_DEV"."SYS_IMPORT_FULL_03" successfully loaded/unloaded
Starting "COMCEL_DEV"."SYS_IMPORT_FULL_03": userid=comcel_dev/********@ngteller_pcat directory=comcel_import dumpfile=pcat_May0510.dmp REMAP_SCHEMA=cbs_owner:comcel_dev content=data_only logfile=comcel_dev_pcat.log TABLE_EXISTS_ACTION=APPEND
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
ORA-31693: Table data object "COMCEL_DEV"."RESELLER_VERSION_CHG_LOG" failed to load/unload and is being skipped due to error:
ORA-00001: unique constraint (COMCEL_DEV.RESVER_CHG_PK) violated
ORA-31693: Table data object "COMCEL_DEV"."OFFER_USSD_RESPONSE" failed to load/unload and is being skipped due to error:
ORA-00001: unique constraint (COMCEL_DEV.OFFER_USSD_RESPONSE_PK) violated
ORA-31693: Table data object "COMCEL_DEV"."BILL_CYCLE" failed to load/unload and is being skipped due to error:
ORA-00001: unique constraint (COMCEL_DEV.BILL_CYCLE_PK) violated
ORA-31693: Table data object "COMCEL_DEV"."BILL_EXPRESSION_REF" failed to load/unload and is being skipped due to error:
ORA-00001: unique constraint (COMCEL_DEV.BILL_EXPRESSION_REF_XETAG_KEY) violated
ORA-39014: One or more workers have prematurely exited.
ORA-39029: worker 1 with process name "DW01" prematurely terminated
ORA-31671: Worker process DW01 had an unhandled exception.
ORA-00600: internal error code, arguments: [qerxtAgentOpen_911], [126], [124], [], [], [], [], []
ORA-06512: at "SYS.KUPW$WORKER", line 1345
ORA-06512: at line 2
The memory status is
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/oradata6_lv 104857600 27294132 74% 459192 7% /oradata6
Anybody can let me know the reasons for it ??Hi,
you are hitting bug 4383811. Find more detail on Metalink/Oracle support under document id 4383811.8. The bug is solved in 10.2.0.3.
Herald ten Dam
http://htendam.wordpress.com -
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 -
Regarding servlet(urgent)
hello to all
i recently installd the J2EE SDK to my system, and try to run a very small sevlet program. but as i start compilation i got so much error, these error is only because of "can not read servlet pakage", i have import it when i wrote code.
i tried it to compile it everywhere (lib/bin/outside the folder). i chang the class path and path also. please give me reply to solve this problem
varun seth
09945051989You need to add the j2ee.jar in the classpath. Specify it explicitly while compiling
javac -cp "<whatever>;<j2ee lib dir>\j2ee.jar" *.java -
Regarding cluster (urgent)
hi ,
i m generating cluster for an employee.
at that time it generates 63fa wage type.
i want know why and which condition this wagetype generates
plz help me as possibleHi,
Let us know the mentioned 63fa WT number is correct. WT starts from numerical is Custom WT, So, you have to mention from which model WT, you have copied. Based on the characteristics of model WT, we can suggest you the solution.
Good Luck
Om -
Urgent Help Regarding Using Sound Files
Hello,
Using Java is it possible to
a) represent a .WAV file in WAVE FORM Format (Graph) output.i.e to represent a
audio file pictorially.
b) Spilit a .WAV file into n small pieces or portions.
Please guide me in this regard.Its Urgent
ThankzHello,
Using Java is it possible to
a) represent a .WAV file in WAVE FORM Format (Graph)
output.i.e to represent a
audio file pictorially.Open the AudioInputStream, read the AudioFormat, then read the frames one at a time and plot the data.
Here's some code that plays a wave file using the AudioInputStream. Java Sound, see reply 2. this shows how to open the file and get the format, it just plays it, but is able to plays it, but it does read frames. This should provide a start for you.
b) Spilit a .WAV file into n small pieces or portions.Yes, see the classes in package javax.sound.sampled.
>
>
Please guide me in this regard.Its UrgentDon't mark your posts as urgent, don't cross post.
ThankzYou're welcome, hope this helps -
Very Very Urgent Issue: Restricted Key Figure does not return any data
Hi all,
Please help me solving this urgent issue.
created customer exit variable on characterstics version and also
other customer exit variable on Value type.
I coded that in variable exit. Problem is when I include these in
restrickted keyfigure My query does not return me any data.
But if I remove from restrickted key firgure and put it as normal
charaterstics I see the variable is getting populated.
Also in RSRT the SQl generated when these are included in RKF is not
correct.
I debugged and know they are getting populated. As when included in RKF
I can also see the values of customer exit variables from information
tab.
I also know that there is data in cube for those restrictions.
I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
Thanks
SAP BW
**Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any dataHi,
Everyone out there this is very urgent. If someone can help me solving this problem.
We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
I posted one oss notes also regarding this issue. But got no reply from SAP.
So, Please help me solving this issue.
Thanks
SAP BW
Maybe you are looking for
-
X-Fi ExtremeMusic driver found on every other reboot of the sys
Hi everyone, I just got my ExtremeMusic card along with a whole new computer by using E6600 + DS3 + 2GB RAM. But I had a problem: system can only recognize the driver on every other reboot. For example: on the odd # of the reboot, the system can dete
-
Wont accept Payment details in Istore
Hello, I just got an ipod touch for Xmas yesterday. I want to download some free apps from the Istore. When i register it just wont accept my payment information. Its 100% correct and i have now inserted the info 10 times. Im quite frustrated. Why wo
-
_SMSTSCurrentActionName place the TS step name into another variable when fails
Hello, Testing a Task Sequence that detects step error and generates a VB script which echos failure or success. Want to capture the _SMSTSCurrentActionName when it fails and places into a user defined variable that can be called an displayed in the
-
Trouble with wireless bridge......
I am having extreme difficulty setting up Cisco Aironet 1310 series devices. here is an overview: We have our main network with an ip scheme of 10.1.1.0/24 on one side and an office across the street that is on 10.1.2.0/24. I want to connect these 2
-
MP3 Player doesn't work on my computer anym
Gooday, after i have cleared my computer, my mp3 player, ( jukebox zen extra, 30 gb.) doesn't work anymore on my computer. As soon as i turn on my player, my mouse doesn't work anymore and my player doesn't work either. Some ideas? I have new drivers