How to handle this kind of text
Hello,
Please help me in this regard...
see tyeh following text...In this observe48th character. It should be replaced by s.
Above is an example...like that for A to Z it should repalce with that respective character.
Thanks fo ryour cooperation.
APPLERR H'4301 H'FA03 H'254C na Zagreb TC4 rijeen je cleaning procedurom, te je i kroz CSR odgovoreno da trap korekcija N01TCADG-0052 u bloku UPDC vie nije potrebna, te se moe izbaciti (AP143).
Uspjeno su zavrene HR17/CN-A3 FOA-e na tranzitnom nivou, te slijedi roll-out u dva termina 12/13.04 i 19/20.04. ETK je na sastanku isporucio SW, te ALEX i mini PLEX za sve objekte.
AP147. Poslati finalnu dokumentaciju za uvodenje paketa (implementacijsku instrukciju i sve popratne datoteke).
Hi,
welcome to sbo forum!
For your question 1, it will depend if you will only have 1 route for all of your deliveries.If your point of origin is always point a then destination is point B w/ price of $0.50,then you are right with your process... but if you will have to expand and move into different places, i think it will best for you to create a UDT for your pricing.
in summary:
1.create UDT pricing(with origin,destination and price)
2.Create UDF in row level of Sales order(U_origin,_U_destination)
3.) create FMs for your Sales order Origin and destination based on UDT Pricing table.
4.) create automatic fms for your price( based on origin and destination selection).
for question 2, all your repairs and maintenance will pass through AP invoice( either by item or service). in our country we normally use Ap service,since a truck has normally several types of spare parts. This figures will will surely add up to the number of item master data record in your system ,since you will need create a unique item for each and every item available.
-To monitor all your expenses, you will need to create a UDF in the header of PO, GRPO or AP invoice, place your plate number here. so that when you extract your reports, you will easily identify your expenses per truck.
in summary:
1.create UDF for header of PO,GRPO or AP( Udf_Plate number) you can set valid values for you udf or by FMS with default values.
2.Create Udf for lines of PO,GRPO or ap(UDF_spare part type) --note: if you will use the Item type document for repairs and maintenance then i guess you dont need to add UDF_spare parts.
Hope i was able to help you.
Regards,
Darius Gragasin
Similar Messages
-
How to handle this kind of scenario in SBO
Hello, I am new to SAP Business One. I would like to know how to handle Transporation Company scenario below in SBO.
QUESTION 1: A transportation company has 30 truck. The company receives orders from the customer and use the trucks to deliver the goods from Point A to Point B everyday. The cost for delivery is $0.50 per-KG.
The way I handle above:
1. In ITEM MASTER DATA:
Create a new item > Item Type: Labor > Description: Delivery from Point A to Point B > and determine the delivery price is $0.50.
2. Use the item created in no 1 above when creating Sales order/Invoice.
If the weight is 5000kg then simply put QTY 5000 in Sales Order with the price of $0.50/KG, which has been set in Item Master Data.
Is the above method correct or there is better way to handle?
QUESTION 2: TRACKING EACH TRUCK EXPENSES BY ITS LICENSE PLATE:
Each truck has Spare Parts expense (e.g. bulbs, oil, battery, tires etc) that the company would like to track.
The company purchased the spare parts from suppliers and keep it in the warehouse. When a truck needs to replace its spare parts, the company will issue the parts and record it under that truck's license number as that truck's expense.
The goal is SBO must be able to provide detail monthly expense report for each truck when inquired by its license plate. I prefer NOT to manually input "directly" in Journal Entry to prevent error.
Thanks.Hi,
welcome to sbo forum!
For your question 1, it will depend if you will only have 1 route for all of your deliveries.If your point of origin is always point a then destination is point B w/ price of $0.50,then you are right with your process... but if you will have to expand and move into different places, i think it will best for you to create a UDT for your pricing.
in summary:
1.create UDT pricing(with origin,destination and price)
2.Create UDF in row level of Sales order(U_origin,_U_destination)
3.) create FMs for your Sales order Origin and destination based on UDT Pricing table.
4.) create automatic fms for your price( based on origin and destination selection).
for question 2, all your repairs and maintenance will pass through AP invoice( either by item or service). in our country we normally use Ap service,since a truck has normally several types of spare parts. This figures will will surely add up to the number of item master data record in your system ,since you will need create a unique item for each and every item available.
-To monitor all your expenses, you will need to create a UDF in the header of PO, GRPO or AP invoice, place your plate number here. so that when you extract your reports, you will easily identify your expenses per truck.
in summary:
1.create UDF for header of PO,GRPO or AP( Udf_Plate number) you can set valid values for you udf or by FMS with default values.
2.Create Udf for lines of PO,GRPO or ap(UDF_spare part type) --note: if you will use the Item type document for repairs and maintenance then i guess you dont need to add UDF_spare parts.
Hope i was able to help you.
Regards,
Darius Gragasin -
How to realize this kind of ALV(with two headerlines)?
Dear all:
could anyony provide some advice on how to realize this kind of ALV?
|--|--
field2
|--|||--
field11 | field12 | field21 | field212 |
|--|||--
wait your kindly adviceI had similar kind of requirement. Have a look at below code. It will help you. You can execute it. You can see the report output which contains two header lines.
REPORT ztestvib MESSAGE-ID zz LINE-SIZE 50.
TYPE-POOLS: slis.
DATA: x_fieldcat TYPE slis_fieldcat_alv,
it_fieldcat TYPE slis_t_fieldcat_alv,
l_layout TYPE slis_layout_alv,
x_events TYPE slis_alv_event,
it_events TYPE slis_t_event.
DATA: BEGIN OF itab OCCURS 0,
vbeln LIKE vbak-vbeln,
posnr LIKE vbap-posnr,
male TYPE i,
female TYPE i,
END OF itab.
SELECT vbeln
posnr
FROM vbap
UP TO 20 ROWS
INTO TABLE itab.
x_fieldcat-fieldname = 'VBELN'.
x_fieldcat-seltext_l = 'VBELN'.
x_fieldcat-tabname = 'ITAB'.
x_fieldcat-col_pos = 1.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
x_fieldcat-fieldname = 'POSNR'.
x_fieldcat-seltext_l = 'POSNR'.
x_fieldcat-tabname = 'ITAB'.
x_fieldcat-col_pos = 2.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
x_fieldcat-fieldname = 'MALE'.
x_fieldcat-seltext_l = 'MALE'.
x_fieldcat-tabname = 'ITAB'.
x_fieldcat-col_pos = 3.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
x_fieldcat-fieldname = 'FEMALE'.
x_fieldcat-seltext_l = 'FEMALE'.
x_fieldcat-tabname = 'ITAB'.
x_fieldcat-col_pos = 3.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
x_events-name = slis_ev_top_of_page.
x_events-form = 'TOP_OF_PAGE'.
APPEND x_events TO it_events.
CLEAR x_events .
l_layout-no_colhead = 'X'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = l_layout
it_fieldcat = it_fieldcat
it_events = it_events
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*& Form top_of_page
text
FORM top_of_page.
*-To display the headers for main list
FORMAT COLOR COL_HEADING.
WRITE: / sy-uline(103).
WRITE: / sy-vline,
(8) ' ' ,
sy-vline,
(8) ' ' ,
sy-vline,
(19) '***'(015) CENTERED,
sy-vline.
WRITE: / sy-vline,
(8) 'VBELN'(013) ,
sy-vline,
(8) 'POSNR'(014) ,
sy-vline,
(8) 'MALE'(016) ,
sy-vline,
(8) 'FMALE'(017) ,
sy-vline.
FORMAT COLOR OFF.
ENDFORM. "top_of_page
The header lines are as below:
VBELN POSNR MALE FMALE
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers -
"You can download past purchases on this computer with just one Apple ID every 90 days. This computer can be used with a different Apple ID in 63 days." How to handle this situation
https://discussions.apple.com/message/16567363#16567363
From the More Like This section on the right -
My cube size is go on increasing essbase how to handle this ?
ex:day 1 my cube size is 60 gb.after 2 days it go 80 gb.how to handle this in essbase
May be you can try to do a restructure of the Cube. But it will take more time and and when this restructure is being performed no one will be able to access the cube.
All the pag files will reduce to less files once its done.
We have around 170 pag files and after restructure they have reduced to 130 pag files. You do not need to change any data inside the cube to do this.
The process to do from F to H and back from H to F.
Restructure to H drive
Create the directories on the H drive if they do not exist. (not sure if this is necessary)
Go to properties of the cube (storage tab) and remove the F drive, and add H drive
Do a stop and start of the database
Go back to properties and insure the H drive is there
Right click on the cube and confirm the H drive is there
Then go to cube and do a restructure
Restructure back to F drive
Go to properties of the cube (storage tab) and remove H drive and add F drive
Do a stop and start of the database
Go back to properties and insure F drive is there
Then go to cube, right click and do a restructure back to F.
Regards,
Naveen -
How to parse this kind of XML documents and store in a relational tables
Can u guys help me out ,..how to parse these kind of XML documents..like under PR there Sr,CreationDate and DoBID.. Again under Sr...there are LD, CID,TID, RID and so on.....
so how to parse this kind of data..how to create the structure of the table....pls help me out..
<nk8:PR>
<nk8:Sr>
<nk8:LD>---------</nk8:LID>
<nk8:CID>---------</nk8:CID>
<nk8:TID>---------</nk8:TID>
<nk8:RID>---------</nk8:RID>
<nk8:CC>OnError</nk8:CC>
<nk8:AID>---------</nk8:AID>
</nk8:Sr>
<nk8:CreationDateTime>2002-07-01</nk8:CreationDateTime>
<nk8:DOBID>---------</nk8:DOBID>
</nk8:PR>
<ssm:ER>
<ssm:PN>---------</ssm:PN>
<ssm:SN>---------</ssm:SN>
<ssm:SCt>---------</ssm:SC>
<ssm:IA>
<ssm:NT>---------</ssm:NT>
<nk8:LID>---------</nk8:LID>
<nk8:CID>---------</nk8:CID>
<ssm:AN>---------</ssm:AN>
</ssm:A>
</ssm:ER>
</nk8:PR>First, your XML document is not well formatted. Once you're done with that you can extract the values and store it in a table column.
sql> WITH xml_table AS
2 (SELECT XMLTYPE(
3 '
4 <nk8:PR xmlns:nk8="http://www.w3.org">
5 <nk8:Sr>
6 <nk8:LID>LID Value</nk8:LID>
7 <nk8:CID>CID Value</nk8:CID>
8 <nk8:TID>TID Value</nk8:TID>
9 <nk8:RID>RID Value</nk8:RID>
10 <nk8:CC>OnError</nk8:CC>
11 <nk8:AID>---------</nk8:AID>
12 </nk8:Sr>
13 </nk8:PR>') XMLCOL FROM DUAL)
14 SELECT extractvalue(t.column_value,'//nk8:LID','xmlns:nk8="http://www.w3.org"') "LID",
15 extractvalue(t.column_value,'//nk8:CID','xmlns:nk8="http://www.w3.org"') "CID",
16 extractvalue(t.column_value,'//nk8:RID','xmlns:nk8="http://www.w3.org"') "RID",
17 extractvalue(t.column_value,'//nk8:CC','xmlns:nk8="http://www.w3.org"') "CC"
18 FROM xml_table, table(xmlsequence(extract(xmlcol,'/nk8:PR/nk8:Sr','xmlns:nk8="http://www.w3.org"'))) t;
LID CID RID CC
LID Value CID Value RID Value OnError -
How to get this kind number?
I have a float number,e.g myfloat=123.34???. When the first "?">=5,
myfloat=123.35,or myfloat=123.34.Can anyone tell me how to get this kind number.
Thanks in advance.In fact, not very clear of your problem.
Supposing you want to get fix position's value after ".",
you could firsly convert it to a string,
then position "." ,use subString() to get the value.
compare it, reconvert it back. -
How to handle this type of output?
Hey everyone,
I'm looking for a way handling this report for my own job.
a table having the following attributes exists.
Create table Test (
Public_Date varchar2(10),
City varchar2(10),
cnt number(3))
some records of this table are listed below:
Pubdate City cnt
2005 a 10
2005 b 13
2006 a 21
2006 b 3
2006 c 2
2007 d 10
2007 a 8
2007 c 7
2008 b 9
2008 c 1
Query with the following output could be readily produced using group by clause.
Year Sum
2005 23
2006 36
2007 15
2008 10
But the question is that How I can lead to the following output.
(I want to merge some records into one record in the output, in this example
sum of all years after 2005 is my interest not each year individually come before)
Year(s) Sum
2005 23
2006 36
"after 2006" 25
Could everyone help me how to handle this?Year Sum
2005 23
2006 36
2007 15
2008 10Isnt' the above result wrong based on your input data?
SQL> select public_date, sum(cnt) from test group by public_date;
PUBLIC_DAT SUM(CNT)
2005 23
2008 10
2007 25
2006 26
SQL>Here's the one you are looking for.....
SQL> select decode(public_date, 2005, public_date, 2006, public_date, 'Above 2006') pb_date,
2 sum(cnt)
3 from test
4 group by decode(public_date, 2005, public_date, 2006, public_date, 'Above 2006') ;
PB_DATE SUM(CNT)
2005 23
Above 2006 35
2006 26
SQL> -
How to handle this scenario in selection screen?
hi friends...i have 2 radio-buttons (2 parameter fields below each) in one group..the need when one radio button is checked, i need two parameter fields below it to be input enabled and the other to be disabled, if another radio button is checked, then the former two will be disabled and the other two parameter fields to be input enabled..no problems with this..i have written this functionality in at selection-screen output..i want to make each 1 parameter in the two groups to be mandatory..as using obligatory gives problems during at selection-screen output event, i want to achieve this functionality in some other event...i have tried the same in At selection screen on para_1 and at selection screen on para_2 fields, but am not able to achieve the desired functionality..by default the first radio button is checked, if the user wants to click the second radio button, At selection screen on para_1 event gets triggered and it throws the error msg. for the first one & vice versa...can't handle this in start-of-selection event also, as it gives the error msg. in a blank new screen..how to achieve it??
i have checked quite a few SDN threads, but doesn't answer my question
regards,
Sathish RHi,
I think you cannot proceed with obligatory statement as it will be triggered before theselection screen events.
You may check the code below.
PARAMETERS: r1 RADIOBUTTON GROUP rad1 USER-COMMAND abc.
PARAMETERS p1(5). ( maintained as obligatory)
PARAMETERS p2(5).
PARAMETERS r2 RADIOBUTTON GROUP rad1.
PARAMETERS p3(5). ( maintained as obligatory)
PARAMETERS p4(5).
INITIALIZATION.
r1 = 'X'.
AT SELECTION-SCREEN OUTPUT.
IF r1 = 'X'.
LOOP AT SCREEN.
IF screen-name = 'P4'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSEIF r2 = 'X'.
LOOP AT SCREEN.
IF screen-name = 'P2'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
AT SELECTION-SCREEN .
IF p1 IS INITIAL AND sy-ucomm NE 'ABC'.
MESSAGE 'Enter the obligatory value' TYPE 'S' DISPLAY LIKE 'E'.
ENDIF.
IF p3 IS INITIAL AND sy-ucomm NE 'ABC'.
MESSAGE 'Enter the obligatory value' TYPE 'S' DISPLAY LIKE 'E'.
ENDIF.
Hope this will help you.
Regards,
Smart Varghese -
How to handle this payment scenario in SAP
Hello Gurus,
Can anyone please help me with how we make this payment in SAP. Customer A is the alternate payer for Customer B. We gave customer B a credit memo. When customer A is making payments, customer A wants to use the credit memo assigned to customer B as a part of the total payment. How does this scenario be handled in SAP
Thanks in advanceHi,
You can use the Head office and Branch relationship then this should work . All the invoices/Credit memos get updated in the branch office and head office for reporting and at the time of receipt it can be made at the headoffice level
K.R -
Don't know how to handle this relationship
I am a college student and am having a hard time wrapping my head around the database I have to work with for a project. The project entails implementing an auto parts application. I have not encountered a relationship like this before. I have linked to a document I made to describe the table. It can be found here: http://91.121.116.152/graph.pdf. There are basically 4 tables in the database. There is 1 table for all the automakers. (MAKER). Then, there are many tables in the form of APL___ where ___ is a column for the MAKER Table. The APL tables contain all the different models and links to the different parts. The column RLINK references RADCRX which contains 16 different columns. Each set of 4 columns contains part numbers that link to a RAD___ (where ___ is a 3 letter abbr for a vendor).
I've done my best to explain it in English, but I think the document may help. Naturally the assignment is to find parts for a specified car. My problem is how do I do this as effciently as possible? I don't know how to handle a relationship where column name points to a table name, not a column in the table. It could be done with a very long join such as
SELECT * FROM RADMOD, RADCRX WHERE RADCRX.MOD1=RADMOD.P_NUMBER
or so on for each column in RADCRX. This doesn't seem right. I thought about doing joins on the tables, but I don't know how to do it. The DB as about 20K records. Does anyone have any insight?Try the ff solution if it works:
1.)Create a union view for APL_ _ _
create or replace view v_APL_ALL as
select a.*,'CHE' m_code from APLCHE a
union all
select b.*,'TOY' m_code from APLTOY b
union all
select b.*,'HON' m_code from APLHON b
union all
select c.*,'MIT' m_code from APLMIT c
2.)Create a view for v_APL_ALL and MAKER
create or replace view v_APL_ALL_MAKER as
select a.*,b.M_NUMBER,b.MAKER
from v_APL_ALL a,MAKER b
where a.m_code=b.m_code
3.)Create view for RAD_ _ _
create or replace view v_RAD_ALL as
select a.*,'ARS' VENDOR_CODE from RADARS a
union all
select b.*,'MOD' VENDOR_CODE from RADMOD b
union all
select c.*,'BEH' VENDOR_CODE from RADBEH c
union all
select c.*,'DAN' VENDOR_CODE from RADDAN c
4.) Create a view for v_RAD_ALL and VENDOR
create or replace view v_RAD_ALL_VENDOR as
select a.*,b.M_NUMBER,b.MAKER
from v_RAD_ALL a,VENDOR b
where a.VENDOR_CODE=b.VENDOR_CODE
You can now join them & query it.
Regards,
Benjie -
How to make this kind of mouseover?? URGENT!!
Please PROFESSIONAL help me T^T
URGENT for this T^T
http://superjunior.smtown.com/
I want to know how to make that kind of mouseover ^^
Hope PROFESSIONAL can teach me ^^
http://starimg.smtown.com/superjunior/version04/site/images/main_navi.swfHi, I don't know what program you are using, but perhaps the Flash forum would be helpful. This is the Flash Player forum . You could also check the other Adobe Forums that would be for your Adobe program.
Thanks,
eidnolb -
hi,
i know we can reach
aComponentSample["sampleControl" + i + ""].visible = false;
aComponentSample is a component and contains lot of controls. for example; sampleControl1, sampleControl2.. and so we can reach them via parameters (like i) with this ["sampleControl" + i + ""]. usage.
i am wondering how can i handle this in resultEvent? how can i give the child nodes (parameterA) via parameter?
event.parameterA[0].parameterB[0].parameterC[0]
thank you for your time. have a good day.hi again, i think i could not express clearly.
i have a web service operation result handler, and this operation back in "object" format.
thats the handler
private function getFullWeatherValues_Handler(e:ResultEvent):void
var obj:Object = e.result[0].regions[3].cityValues[5].temperature; (it returns integer)
i can get the exactly temperature which i want but i don't want to writethose "result[0]" or "regions[3]" or "cityValues[5]" and even temperature.
i want to write a function to reach a value ( for example temperature) which gived as parameter and i will give all other "result[0]" or "regions[3]" or "cityValues[5]" as parameter to. my question is how can i handle it?
thank you for your answer, any advice will be great. -
Servername and virtual host name is the same - how to handle this
Hi,
I set up a server with the hostname yxzwiki.org
In the Server app under Websites this domain points to /Sites
In this /Sites directory is all my content (several Wikis) and also the phpmyadmin.
What is the issue now?
I want this xyzwiki.org not only as the hostname but as a virtual host as well.
So I have the following entry in the corresponding conf file.
<VirtualHost *:80>
ServerName xyzwiki.org
ServerAdmin [email protected]
DocumentRoot "/Sites/xyzwiki/xyzenwiki"
DirectoryIndex index.html index.php
How can I handle this?
xyzwiki.org shows the content of /Sites/xyzwiki/xyzenwiki but I cannot e.g. get access to http://xyzwiki.org/phpmyadmin
Any ideas?
Thanks
TristanI guess I have talk more about this issue that people got the chance to help
xyz.org is the host name of our server.
The intention of this server is to run a wiki via mediawiki.
When we first set up the server we planned to have three language versions and the corresponding wikis were found on the server under
en.xyz.org for the English version
de.xyz.org for the German and
es.xyz.org for the Spanish version
But then we decided ONLY to concentrate on the English version and so prefix en became deprecated and we only want the domain xyz.org that shows the English Wiki.
The English wiki is on our server under /Sites/xyz-wiki/xyz-enwiki
In the Server.app I defined /Sites as the server website and I have a virtual host for xyz.org AS WELL that defines /Sites/tangowiki/tangoenwiki.
This seems to overrule the entry in the server.app as xyz.org shows the content of /Sites/xyz-wiki/xyz-enwiki
As I have other "services" as well under /Sites, e.g. phpmyadmin it is not possible for me with xyz.org/phpmyadmin to get to this service.
So what I am looking for is a trick that I can keep the /Sites directory as the main directory for xyz.org. I was thinking of a symlink for the index.php from /Sites/xyz-wiki/xyz-enwiki and to remove the virtual host entry but this does not work. Any other ideas.
Cheers
Tristan -
How to perform this kind of requirement
Hi Experts,
User wants a report to track customer attitute history and also the change indicator. I created a DSO and set a key figure to record the customer attitude (key are customer ID and system date). use number 1,2,3,4,5 instead of five different kinds of attitude in DSO. In query, I create two restrict key figures and use user input two date variable to restrict the value of that key figure. current issue is that the value display in report is as number 1,2,3,4,5. user can't get the description as five kinds of attitude. Could you please give some comment and solution about this kind of requirement. Thanks.
Br, DelveHi,
"Attitude" has to be present in the DSO/Cube. It could be a Data field in DSO but it has to be a dimension in the Cube. Only then you will be able to pull it in the query.
Being in dimension, every new value of the attitude will create a new record in the cube. So for 5 different days you will get 5 records. Then in query if you drag this dimension, it will show you 5 different attitudes as per date.
You can choose to display only the latest attitude by restricting this field in the query to the last date in the date range.
Regards,
Nishant.
Maybe you are looking for
-
Is there a method to check that a double is not null
Hi all, I am trying to verify that a user has entered a double value when my system asks for the price of an item. I have tried doing if (price == null) throw new Exception ().. but that gives me a compiler error saying that null cannot be applied to
-
Help! Cannot extract Font
Hi All, I am using Aperture to produce a book - hopefully. When I preview the book as a Pdf and open in Reader I get the error message: Cannot extract the embedded font 'CNGKIY+AGaramondPro-Regular'. Some characters may not display or print correctly
-
Cant find my purchased movie in my libary
downloaded the movie godfather,taken,scarface from my ipad and i cannot find them in my library. Do not want to repurchase these items due to the fact i already paid. Thank you
-
Hi, I'm new to this community... and I'm desperate to find out the solution to my problem. My magic mouse and sometimes the trackpad on MacBook Pro dosn't work occationally. Noticed usually when it's stated up or woke from sleep mode. It's strange t
-
Hi experts, What is six singma analysis mentioned in xMII training books? Is it SPC Chart? Under quality action block there are SPC/SQC Chart and SPC/SQC analysis, what's the difference between them? Thanks, Tony.