Help reqd for smartform....to generate index
Hi all,
In my smartform,
I want to generate a serial number continuosly(like an index) for each item/material wise in my main window.
FYI-coding i've declared
CLEAR: PG_INDEX.
INDEX1 = INDEX1 + 1.
PG_INDEX = INDEX1.
&PG_INDEX&
no errors but im not getting the number in the output display.
Pls post ur replies with examples.
thanks & regards
sankar.
THANKS
Similar Messages
-
Help reqd for PO - Smartform....getting address to display the Street
Hi abappers,
i want to print the Delivery address with all name street& pincode...in my PO form...the name of the Delivery(as in PO:me23n) is available in the <b>MT001W</b> table (DB view)...but the corresponding fields for addresses are available in <b>ADRC</b> table....so far...im displaying the name field from MT001W...
how can i match the table fields thru primary key to join the two tables of MT001W and ADRC....
FYI (coding)
select name2 from MT001w into g_name2 where WERKS = g_xekpo-werks.
endselect.
if sy-subrc = 0.
*move g_name2 to g_add.
*endif.
select house_num1 street post_code1 from adrc into (g_house , g_street , g_pcode)
where name2 = g_name2 and langu = 'E'.
endselect.
endif.
it displaying the field text of g_name2 but not diplaying the field records from ADRC.....
Pls do the needful to solve my issue...
thanks & regards
sankarTHANKS A LOT TO ALL,
HAVE DONE IT THRU TABLE T001W.
REGARDS
SANKAR -
Help reqd for ABAP Materials(pdf/doc format)
Hi all,
I want to have the Basic ABAP material books,which is available in sites for free download....
Pls post ur replies with links.
thanks & regards
sankar.hello sudarshan
http://cma.zdnet.com/book/abap/index.htm
http://www.sapdevelopment.co.uk/
http://www.sap-img.com/
http://juliet.stfx.ca/people/fac/infosys/abap.htm
http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/d6/0db357494511d182b70000e829fbfe/frameset.htm
http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
http://www.sapgenie.com/abap/example_code.htm
http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
http://www.sap-img.com/abap-function.htm
http://www.sapgenie.com/abap/code/abap19.htm
http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
http://www.planetsap.com/Tips_and_Tricks.htm
http://help.sap.com/saphelp_40b/helpdata/ru/d6/0dc169494511d182b70000e829fbfe/applet.htm
http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm
http://www.henrikfrank.dk/abapexamples/index.html
http://sap.ittoolbox.com/documents/document.asp?i=752
http://members.aol.com/_ht_a/skarkada/sap/
http://sappoint.com/abap/
http://members.tripod.com/abap4/SAP_Functions.html
http://members.ozemail.com.au/~anmari/sap/index.html
http://www.planetsap.com/Userexit_List.htm
http://www.planetsap.com/Tips_and_Tricks.htm
http://www.kabai.com/abaps/q.htm
http://www.planetsap.com/Userexit_List.htm
http://help.sap.com/saphelp_bw21c/helpdata/en/c4/3a8090505211d189550000e829fbbd/frameset.htm
http://www.sapgenie.com/abap/bapi/example.htm
http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
http://www.sap-basis-abap.com/index.htm
http://help.sap.com/saphelp_40b/helpdata/en/fc/eb2c46358411d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/aa/aeb23789e95378e10000009b38f8cf/frameset.htm
http://www.geocities.com/ResearchTriangle/1635/system.html
http://www.sapdesignguild.org/resources/MiniSG/3_Managing/3_Functions_Table_Control.htm
http://help.sap.com/saphelp_45b/helpdata/en/d1/801bdf454211d189710000e8322d00/content.htm
http://www.sapfans.com/sapfans/repos/saprep.htm
http://www.planetsap.com/howdo_a.htm
http://help.sap.com/saphelp_util464/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
http://www.sapgenie.com/abap/smartforms_detail.htm
http://www.sap-img.com/abap.htm
http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2d67358411d1829f0000e829fbfe/content.htm
http://www.geocities.com/victorav15/sapr3/abap.html
http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
http://abap4.tripod.com/Other_Useful_Tips.html
http://help.sap.com/saphelp_45b/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
http://www.sap-basis-abap.com/sapmm.htm
http://sap.ittoolbox.com/nav/t.asp?t=303&p=448&h1=303&h2=322&h3=448
http://sapfans.com/
http://cma.zdnet.com/book/abap/ch03/ch03.htm
http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
http://sappoint.com/abap/
http://www.henrikfrank.dk/abapuk.html
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://www.sapgenie.com/abap/index.htm
http://www.sap-img.com/abap.htm
http://www.sapdevelopment.co.uk/tips/tipshome.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
http://sap.ittoolbox.com/nav/t.asp?t=322&p=322&h1=322
http://sap.ittoolbox.com/nav/t.asp?t=448&p=448&h1=448
http://www.thespot4sap.com/
http://www.kabai.com/abaps/q.htm
http://www.geocities.com/mpioud/Abap_programs.html
http://www.sapgenie.com/abap/tips_and_tricks.htm
http://www.sapassist.com/code/d.asp?whichpage=1&pagesize=10&i=10&a=c&o=&t=&q=&qt=
For FAQ
http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
http://www.sapgenie.com/faq/abap.htm
BAPI-step by step
http://www.sapgenie.com/abap/bapi/example.htm
Weblog for receive email and processing it through ABAP
/people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
For Logical database
http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
very useful
http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm
Useful link to websites
http://www.hernangn.com.ar/sap.htm
Useful for background
http://www.sappoint.com/basis/bckprsng.pdf
http://help.sap.com/saphelp_nw04/helpdata/en/6f/08703713bf277ee10000009b38f8cf/frameset.htm
http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbix_adapters.doc/doc/mysap4/sap4x41.htm
Table control in BDC
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
For posting weblog,
/people/sap.user72/blog/2005/06/28/sdn-weblogs-making-it-easier
Dynamic Internal table -weblog in sdn
/people/subramanian.venkateswaran2/blog/2004/11/19/dynamic-internal-table
Smartforms
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
ALV
http://www.geocities.com/mpioud/Abap_programs.html
Mail
http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
BOM Explosion
/people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap
BOM
http://help.sap.com/saphelp_erp2005/helpdata/en/ea/e9b7234c7211d189520000e829fbbd/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
http://www.sap-img.com/sap-sd/sales-bom-implementation.htm
http://www.sap-basis-abap.com/sappp007.htm
OLE
http://www.sapgenie.com/abap/ole.htm
http://help.sap.com/saphelp_46c/helpdata/en/59/ae3f2e488f11d189490000e829fbbd/frameset.htm
ALVGRID with refresh
http://www.geocities.com/mpioud/Z_DEMO_ALV_REFRESH_BUTTON.html
For language setting and decimal separator
/people/horst.keller/blog/2004/11/16/abap-geek-7-150-babylonian-confusion
Oracle queries
http://sqlzoo.net/
To format SQL
http://www.sqlinform.com/
SCOT settings
http://www.sap-img.com/basis/basis-faq.htm
Status Icon [ALV,Table Control,Tab Strip]
http://www.sapdesignguild.org/resources/MiniSG-old/from_develop/norm_status_icons.htm#positioning_4
ALV Group Heading
http://www.sap-img.com/fu037.htm
For multiMedia
/people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework
Uploading LOGO in SAP
http://www.sap-img.com/ts001.htm
LSMW
http://www.sap-img.com/sap-data-migration.htm
http://www.sapgenie.com/saptech/lsmw.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
Here are the two links which contains lots of PDFS:
http://www.easymarketplace.de/online-pdfs-q-s.php
http://www.consolut.de/saphelp/sap_online_help.html
ABAP is Advanced Business Application Programming language used in SAP.
For more details and learning goto sdn ABAP home page -
https://www.sdn.sap.com/irj/sdn/developerareas/abap
http://help.sap.com/saphelp_webas630/helpdata/en/6f/c7b041548011d192fd0000e829fbc6/frameset.htm
http://help.sap.com/saphelp_webas630/helpdata/en/ab/5c46f64c5911d192f30000e829fbc6/frameset.htm
This will give clear idea about ABAP. -
Help reqd for USER EXIT - VA01
Hi all,
i've the details of lists regarding the VA01 std enhancement assignment....but really i dont know which one'll be applicable for my USER Exit object....
My client requiremnet is...In VA01 or VA02
The enduser will be able to create/do the line items upto the line 4th (POSNR -004).means,we shuld restrict the line items as a maximum of 4 only and it has to throw an error if going for 5th line item and revert back to main .
which is the std enhancement/exit for this to declare in CMOD....the exact one
,i need.
If anyone has faced the same creiteria,then pls post ur comments here in detail,else if any knows the exit name,pls reply here on urgent basis.
my mail-id is [email protected]..for post ur comments thru mail.
thanks & regards
sankarTransaction Code - VA01 Create Sales Order
Exit Name Description
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
No of Exits: 15
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal -
Help reqd for printing the word text into two lines(AMOUNT in Rupees)
Hi all,
Im working for cheque printing and in the Amount in words column....im getting the text in a single line...as i've made it as in my script.
(im moving the rate in to amount thru FM "HR_IN_CHG_INR_WRDS"....
and it displaying into a single line....)
But in every bank cheque...we have only a limit space for the first line and balance words should come in to the next line....How to achieve this in my form print.(when im giving the cheque(laser print) inside the printer for print)...
*******FYI..
now im getting it as
RUPEES Ninety Seven Thousand Thirty seven and four paise only.(its going out in my cheque as it's coming in a single line,going beyond the words column)
the above one...i want to print it as two lines as like in normal cheque...
what condition i've to give and how to split the text or make it to continue in the second line....
Pls do the needful with any examples or any coding.....
help needed
thanks & regards
sankarhi Nehal,
the below one is my coding part........FYI
DATA AMT LIKE REGUD-WAERS.
data: words(120) type c,AMOUNT(120).
data: ant like PC207-betrg,t like reguh-vblnr,t1 type int4.
FORM WORDS TABLES intab
STRUCTURE itcsy outtab
STRUCTURE itcsy.
READ TABLE intab INDEX 1.
t = intab-value.
select single RWBTR from reguh into ant where vblnr eq t.
ant = ant * ( -1 ).
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM = ant
IMPORTING
AMT_IN_WORDS = words.
amount = words.
READ TABLE outtab INDEX 1.
MOVE WORDS TO outtab-value.
MODIFY outtab INDEX 1.
ENDFORM. "diff
with the above code,im getting the amount field in a single line and it goes out beyond the line specified.
How to split it as a length basis as u said....pls explain in detail...
thanks & regards
sankar -
Help reqd for Selection Screen Input paramter
Hi Friends,
I've developed a noraml ALV grid report which have Date selection option as input selection parameter. In that , I want to declare last month date as defualt value to date-low range. Whenever the Tcode is entered, it should show the date ranges with my default values as date-low is last month date and date-high is current system date (this one I've given as sy-datlo).
Please help me how to declare last month date to my low range field.
thanks & regards
sankar.Hi Suhas,
i think so there is no need to specify the sign and options.
SELECT-OPTIONS:so_dat for sy-datum.
INITIALIZATION.
so_dat-low = sy-datum.
so_dat-high = sy-datum.
append so_dat.
START-OF-SELECTION.
BREAK-POINT.
it assigns BT by default.
Sankar:Please provide your code -
Help reqd for a newbie on Oracle App Server 10g
I installed Oracle 10g Appserver. I have used Websphere, WebLogic and other App servers. But, Iam completely new to Oracle 10g App Server. Can you guys help me how to go about it to deploy an application on Oracle 10g App Server and if any pointers are there, they are very very helpful.
First of my problems, is that, it is asking me for "Enter your single sign-on username and password", when I give oc4jadmin/oc4jadmin, its giving "Incorrect username or password". Can someone give me a pointer to docs, if any to resolve these issues.
TIA.
Thanks a lot.
Prashanth Babu.Hi Hamdy,
Thanks for the quick response. I got the document on the deployment.
I have installed Oracle Application Server SOA suite 10.1.3.1.0 (for WindowsXP) on my machine. I did a "Basic Install" on this.
Iam not able to understand what to do with the problem of SSO.
Any inputs for the problem would be of great help. Thanks a ton for the same.
Regards,
Prashanth Babu. -
HI Friends,
Im working on MB_MIGO_BADI object for MType: 261.Here, im facing a problem to call a info msg with coding effect.i.e, I've to give a conditional message says that if the user tries to change the quantity (changing the existing/available in the field text of MIGO), then it'll give a window pop-up message or info msg like "Quantity should not be changed". Pls reply ur post how to fix this.
The fields are
1) cs_goitem-bwart " MType
2) cs_goitem-erfmg "Quantity
Note: A) It'll be applied only for MType:261.
B) Pls advise, Here, shall I declare the export and import memory id concept?
FYI
******Below is the coding part declared inside the method function.
method IF_EX_MB_MIGO_BADI~LINE_MODIFY.
if cs_goitem-bwart eq '261'.
*cs_goitem-erfmg is not initial and
*call function 'CUSTOMIZED_MESSAGE'
*exporting
Message i006(zmsg).
endif.
endmethod.
Above, it helps only showing the info msg while entering the mtype: 261.But i need to display it only if the cursor comes into Qty (ERFMG) field. Pls advise me how to fix with ur coding example.
mail me:[email protected]Posted newly since one of the issue got solved.
thanks -
Coding help reqd for BADI - looping strategy
Hi friends,
Pls help me to post some example codes for looping the table control data items.
i.e., Details available in table control item in MIGO.
Ex:
LINE Material text Qty
1 INGOT 5.0
1 INGOT 2.5
1 INGOT 10.0
1 FURNACE OIL 180.0
Pls help me,How to loop this table control items , so that i want to sum the consolidated qty by material wise.
the fileds are cs_goitem-matnr and cs_goitem-qty.
FYI, the cs_goitem is a structure of MIGO.(cant do it for looping)
Post ur comments with sample codes.
thanks & reagrds
sankar.
Edited by: sankar babu on Jan 2, 2008 10:14 AMHello Sankar.
You can write the code needed in the POST_DOCUMENT method of the BAdI where you have the IT_MSEG table, so that you can loop it and collect the qty you need.
For example:
data: ls_mseg type MSEG.
data: begin of i_coll_qty occurs 0,
matnr type matnr,
menge type menge_d,
end of i_coll_qty.
loop at it_mseg into ls_mseg where shkzg = 'S'.
i_coll_qty-matnr = ls_mseg-matnr.
i_coll_qty-menge = ls_mseg-menge.
collect i_coll_qty.
endloop.
Please reward if helpful.
Regards,
George -
Help reqd for finding TAXES & CONDITIONS FOR GIVEN PO IN SAP-SCRIPT
HI ALL,
Currently iam working on SAP-SCRIPT developing PO in that i displayed fields like EMATN TYPE EKPO-EMATN,( material no. )
TXZ01 TYPE EKPO-TXZ01, ( long text )
MEINS TYPE EKPO-MEINS, ( units )
MENGE TYPE EKPO-MENGE (quantity)
now i want to display taxes & conditions for given ematn no.( material no . ) so from which tables i should get the data how to display. plz help me.
thanks in advance.
Regards,
mahesh dudamHi !!
for this please study teh following extract :
All pricing values are maintained in the KONV table for the respective pricing condition . Extract these values from KONV table by passing EKKO-KNUMV values for the Purchase order number from the EKKO purchase order header table .
************************************************************************88
FORM GET_PRICING_DATA USING P_KNUMV.
SELECT * INTO TABLE I_KONV
FROM KONV
WHERE KNUMV = WA_EKKO-KNUMV.
IF SY-SUBRC = 0.
SORT I_KONV.
ENDIF.
ENDFORM. " GET_PRICING_DATA
*& Form get_tax_details
extract Tax item details.
-->P_EBELp for purchase order item.
FORM GET_TAX_DETAILS USING P_EBELP.
DATA : L_OCTROI LIKE KONV-KWERT,
L_BASE LIKE KONV-KWERT,
L_OTHERS LIKE KONV-KWERT,
L_DISCOUNT LIKE KONV-KWERT,
L_PFORWARD LIKE KONV-KWERT,
L_INSU LIKE KONV-KWERT,
L_NUM LIKE I_KONV-KUMZA VALUE 1,
L_DENO LIKE I_KONV-KUMNE VALUE 1,
L_KPEIN LIKE KONV-KPEIN VALUE 1,
L_FRT LIKE KONV-KWERT,
L_CHAR(15).
*-- getting numerator and denominator for base value.
READ TABLE I_KONV WITH KEY KSCHL = 'PBXX'.
IF SY-SUBRC = 0.
L_NUM = I_KONV-KUMZA.
L_DENO = I_KONV-KUMNE.
L_KPEIN = I_KONV-KPEIN.
ELSE.
READ TABLE I_KONV WITH KEY KSCHL = 'PB00'.
IF SY-SUBRC = 0.
L_NUM = I_KONV-KUMZA.
L_DENO = I_KONV-KUMNE.
L_KPEIN = I_KONV-KPEIN.
ELSE.
READ TABLE I_KONV WITH KEY KSCHL = 'P001'.
IF SY-SUBRC = 0.
L_NUM = I_KONV-KUMZA.
L_DENO = I_KONV-KUMNE.
L_KPEIN = I_KONV-KPEIN.
ELSE.
READ TABLE I_KONV WITH KEY KSCHL = 'P000'.
IF SY-SUBRC = 0.
L_NUM = I_KONV-KUMZA.
L_DENO = I_KONV-KUMNE.
L_KPEIN = I_KONV-KPEIN.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
CLEAR : V_OCTROI,V_OTHERS, V_DISCOUNT,V_PFORWARD,V_INSU,V_FTR.
LOOP AT I_KONV WHERE KPOSN = P_EBELP.
*-- Considering the numerator denominator and UOPricing
IF I_KONV-KPEIN = 0 .
I_KONV-KUMZA = 1. " Numerator
I_KONV-KUMNE = 1. " Denominator
I_KONV-KPEIN = 1. " Unit of pricing
ENDIF.
IF NOT I_KONV-KWERT IS INITIAL .
IF I_KONV-KRECH = 'C' AND I_KONV-KSCHL <> 'PB00'
AND I_KONV-KSCHL <> 'PBXX'.
I_KONV-KWERT = ( I_KONV-KWERT * I_KONV-KUMZA )
* L_KPEIN / ( I_KONV-KUMNE * I_KONV-KPEIN ).
ELSEif I_KONV-KRECH = 'C' AND I_KONV-KSCHL = 'PB00'
AND I_KONV-KSCHL = 'PBXX'.
I_KONV-KWERT = ( I_KONV-KWERT * L_NUM * L_KPEIN ).
/ ( L_DENO ).
elseif I_KONV-KRECH = 'A' AND I_KONV-KSCHL = 'PB00'
AND I_KONV-KSCHL = 'PBXX'.
I_KONV-KWERT = ( I_KONV-KWERT * L_NUM * L_KPEIN )
/ ( l_deno ).
ENDIF.
ENDIF.
CASE I_KONV-KSCHL.
*-- For base price
WHEN 'PB00'.
L_BASE = L_BASE + I_KONV-KWERT.
WHEN 'PBXX'.
L_BASE = L_BASE + I_KONV-KWERT.
WHEN 'P000'.
L_BASE = L_BASE + I_KONV-KWERT.
WHEN 'P001'.
L_BASE = L_BASE + I_KONV-KWERT.
*-- For octroi
WHEN 'JOCM'.
L_OCTROI = L_OCTROI + I_KONV-KWERT .
*-- For discount calculation
WHEN 'ZDT%'.
L_DISCOUNT = L_DISCOUNT + I_KONV-KWERT .
WHEN 'ZDN%'.
L_DISCOUNT = L_DISCOUNT + I_KONV-KWERT.
WHEN 'ZDTV'.
L_DISCOUNT = L_DISCOUNT + I_KONV-KWERT .
WHEN 'ZDNV'.
L_DISCOUNT = L_DISCOUNT + I_KONV-KWERT.
*--- For packing forwarding .
WHEN 'ZPNV'.
L_PFORWARD = L_PFORWARD + I_KONV-KWERT.
WHEN 'ZPN%'.
L_PFORWARD = L_PFORWARD + I_KONV-KWERT.
*--- For frieght .
WHEN 'ZFTV'.
L_FRT = L_FRT + I_KONV-KWERT.
WHEN 'ZFT%'.
L_FRT = L_FRT + I_KONV-KWERT.
WHEN 'ZFNQ'.
L_FRT = L_FRT + I_KONV-KWERT.
**-----for others
WHEN 'ZOTV'.
L_OTHERS = L_OTHERS + I_KONV-KWERT.
WHEN 'ZOT%'.
L_OTHERS = L_OTHERS + I_KONV-KWERT.
WHEN 'ZOTP'.
L_OTHERS = L_OTHERS + I_KONV-KWERT.
WHEN 'ZONV'.
L_OTHERS = L_OTHERS + I_KONV-KWERT.
WHEN 'ZON%'.
L_OTHERS = L_OTHERS + I_KONV-KWERT.
WHEN 'ZONP'.
L_OTHERS = L_OTHERS + I_KONV-KWERT.
*--- for insurance
WHEN 'ZINV'.
L_INSU = L_INSU + I_KONV-KWERT.
WHEN 'ZIN%'.
L_INSU = L_INSU + I_KONV-KWERT.
WHEN OTHERS.
CONTINUE.
ENDCASE.
CLEAR I_KONV.
ENDLOOP. -
Help reqd for GRN - Number for more than 3 digits...
Hi,
Working on GRN report...in that...if i give qty as 1,000.00(comma if comes)....the program getting dump while executing and says...
Unable to interpret "1,000" as a number.....
and it shows error on my code part
>>>>> var6 = lsmng.
Pls so the needful and solve my post....
FYI....
*******coding (part of the code)
tables:mseg,t001l.
DATA: diffany1 LIKE mseg-lsmng,
val(10) TYPE c,
MBLNR LIKE MSEG-MBLNR,
center like mseg-prctr,
lsmng(18) TYPE c, "like mseg-lsmng,
var4(15) TYPE c,
var5(15) TYPE c,
var6 like mseg-lsmng,
menge like mseg-menge.
menge(18) TYPE c,
var1(15) TYPE c,
var2(15) TYPE c,
var3 like mseg-erfmg. "like mseg-menge.
*data:i_t001L like t001L occurs 0 with header line,
DATA: lgobe LIKE T001L-LGOBE,
LGORT LIKE MSEG-LGORT.
data text(40).
FORM diff TABLES intab
STRUCTURE itcsy outtab
STRUCTURE itcsy.
READ TABLE intab INDEX 1.
lsmng = intab-value.
SPLIT lsmng AT '.' INTO var4 var5.
var6 = lsmng.
thanks & regards
sankarHi
What for you are writing the subrotuine using ITCSY structure?
To convert the commas into decimal like that?
Just use the command
SET COUNTRY 'IN' (or any countryname to which you wants to print/disply the qty/currency fields)
this will take care for that country settings
Ensure the user settings are according to that country and format.
Regards
Anji -
Help reqd for searching the web
Hi
The code which i have written to search the web
ctx_ddl.create_preference('my_url','URL_DATASTORE');
ctx_ddl.set_attribute('my_url','HTTP_PROXY','www-proxy.us.oracle.com');
ctx_ddl.set_attribute('my_url','NO_PROXY','us.oracle.com');
ctx_ddl.set_attribute('my_url','Timeout','300');
create table urls(id number primary key, docs varchar2(2000));
create index datastores_text on urls ( docs )
indextype is ctxsys.context parameters ( 'Datastore my_url' ); I made a small change in the table inserted like this
insert into urls values(111555,'http://www.oracle.com')
When i recreated the index I got the error like this
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
ORA-00600: internal error code, arguments: [kghfrf1], [0x0], [], [], [], [],
ORA-06512: at "CTXSYS.DRUE", line 157
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 176
When i checked the ctx_user_index_errors table i didnt get much info.
My qn. is
1. What is the problem is there any more setting should i use (using Oracle 9i AS)
1. And if i want search only in Html section of the domain where should set the path.
2. If i put a html section group and filter <h1>, will this be a problem in searching
documents.
Thanx
K P HariNot a direct answer to your problem I know, but I noticed you posted a few days ago asking whether there was a crawler available. I would suggest you check out Oracle UltraSearch to see if it will meet your needs better than creating an index like you are doing. I think you'll be pleasantly surprised at how easy the setup is!
-
Urgent: Help Reqd for outfile
Hi,
My Oracle version is 10g and I am using SQL Plus.
When I use command:
select * from emp into outfile 'e1.txt';
it gives me error:
ORA-00933: SQL command not properly ended
I have tried all the possible options but none work.
Please help me solve it,
thanks,
R.GOPALANselect * from emp into outfile 'e1.txt';
^
|
|
is not a command
a SELECT statement with an INTO clause is to be used with a PL/SQL. those what you see on the INTO clause are all variables that are declared in PL/SQL code. basically the correct syntax is
select [column,...] into [variable,...] from [table]
anyway where do you happen to get the idea that the OUTFILE is an oracle command? -
Urgent: Help reqd for designing layout
Hi,
I need some assistance is designing following scenario:
How to have a calculated column in the layout?
Consider a cost center group A having 3 cost centers rolled up under it. First amount is planned for group and then distributed either manually or using function to each of the 3 cost centers.
1. Now in the layout I want a column which shows % for each cost center of the total amount. Ex: if cost center group A = $300 and each cost center has $100 in it then for which cost center it should show 33.33%.
2. Also not if this % value is changed then figures should change accordingly. Ex: if for 1 cost center 33.33% is changed to 25% then now its amount should change to $75 and $25 should go to not assigned.
Note: there is no key figure in the cube which stores this % value. It is something which is required only during planning.
How can I achieve the above scenario?
Thank you,
samNow in the layout I want a column which shows % for each cost center of the total amount. Ex: if cost center group A = $300 and each cost center has $100 in it then for which cost center it should show 33.33%.
Define the key figure for the percentage and include in the layout as a display column; write a fox formula to derive the % and when you run the fox, the comparison colum will be displayed automatically.
For examaple:
= * .80.
If your percentage varies per cost centre, then define a variable of type numeric value and use VARV command to get the variable value.
Ravi Thothadri -
Help reqd for Custom Cell Renderer
Folks,
I have written a small custom defined cell renderer which displays
a list
When the first item is selected,the focus turns to red
When the 2nd item is selected,1 and 2 items turn to red.
(Obviously as I am setting the background to red)
I just need to change the color of the focus element only.
ie when i click the 1st element,focus changes to red.
when i click the 2nd element,only the 2nd element becomes red and not the 1st and 2nd element
Can any one please see the code I have written and suggest a change?
class FTRDListCellRenderer extends JLabel implements ListCellRenderer {
public FTRDListCellRenderer(){
private final JLabel label = new JLabel();
label.setOpaque(true);
public Component getListCellRendererComponent(
JList list, Object value,int index,
boolean isSelected, boolean cellHasFocus) {
label.setText(value.toString());
if(isSelected){
label.setBackground(isSelected ? Color.red : Color.yellow);
else{
return label;xpost
http://forum.java.sun.com/thread.jsp?forum=31&thread=490864&tstart=0&trange=15
Maybe you are looking for
-
Data from word tables to excel master spreadsheet
Hello, I'm looking to take data from my damage report forms that come in maybe 20 times a week. This data needs to goto a master excel spreadsheet. I've managed to find a macro that does this but it does not paste it into excel the way I require and
-
How to uninstall separate CC Apps
Hi folks.... Mac Utilities Adobe Installers Uninstall Does not show ALL apps. So how the heck can I uninstall individual CC apps not listed, like Scout CC PLEASE make this simple and straight forward. Adobe should work uninstall into the installer to
-
Steps to make FLEX SDK 3.0 build working for Linux
Take Windows Flex 3.0 SDK Copy to Linux system, go to folder Flex 3.0_SDK/b Look for file compc & mxmlc Change Dos to Unix files using command dos2unix dos2unix compc dos2unix mxmlc For compc : line - 47 java $VMARGS -jar "$FLEX_HOME/lib/comp
-
Hello. When I try to start the UOM manager I get following errormessage: "Please install xCat COM, version 4.054 or higher, that matches you xCat Server installation" Everything else in MDM is functioning. Wher do I find this xCat com. Regrads John-K
-
Hi, all - I'm new to the Forms Developer, so this might be very basic, but still is hard to find info on. After I develop a form in Windows, how do I compile it to run in Forms Server on Solaris? What is the compiler command to generate .fmx from .fm