How to create field with LEADING sign?
I have a request to create an output file that has any negative signs in a leading position. Example, value is 100.00- but we want it stored/displayed as -100.00. Anyone know if there is a FM (could not find one), etc. that does this? Thanks!
I don't know of any FMs that will do what you want.
There are, however, several ways of doing this using the WRITE command to transfer a number to a character field. This is all you really need, since you say you are filling a field of a structure you will be downloading to an external file.
1) You can try the <b>USING EDIT MASK <mask></b> additions to <b>WRITE</b>.
2) You can use <b>SHIFT <field> CIRCULAR RIGHT</b> to move any sign that exists to the beginning of a character field. This is all the formatting you need to give Excel a negative number it can parse. Other end user programs may require more work to remove the gap between the "-" and the digits of the number.
I've found (2) to be a better approach. Good luck!
Similar Messages
-
How to create Rules with Flex Field mapping in the bpm worklist
I Have created a flex field label and was able to map to the flex field attributes .
But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
Any pointers or suggestion is highly appreciated .Hi,
SE38 -> Enter program
Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
Now the selection screen will display with a button "Variant Attributes" at the top.
Click on that button.
In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
Now whenever you run the prgrm with this variant, date will be displayed by default.
Regards,
Subramanian -
How to create field catalog using field-symbols in normal alv report?
hi all,
how to create field catalog using field-symbols in normal alv report? i.e, using function modules...reuse_alv_list_display/grid_display?
regards,
jackHI
LIKE THIS
TYPE-POOLS : slis.
DATA : t_fieldcat TYPE slis_t_fieldcat_alv,
st_fieldcat TYPE slis_fieldcat_alv.
st_fieldcat-fieldname = 'STATUS'.
st_fieldcat-seltext_l = 'STATUS INDICATOR'.
st_fieldcat-outputlen = 17.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'VBELN'.
st_fieldcat-do_sum = ' '.
st_fieldcat-seltext_l = 'Sales Document No.'.
st_fieldcat-outputlen = 10.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'AUDAT'.
st_fieldcat-do_sum = ' '.
st_fieldcat-seltext_l = 'Document Date'.
st_fieldcat-outputlen = 10.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'VBTYP'.
st_fieldcat-do_sum = ' '.
st_fieldcat-seltext_l = 'Document Type'.
st_fieldcat-outputlen = 4.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'AUART'.
st_fieldcat-do_sum = ' '.
st_fieldcat-seltext_l = 'Category'.
st_fieldcat-outputlen = 1.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'AUGRU'.
st_fieldcat-do_sum = ' '.
st_fieldcat-seltext_l = 'Reason'.
st_fieldcat-outputlen = 3.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'NETWR'.
st_fieldcat-do_sum = 'X'.
st_fieldcat-seltext_l = 'Net Amount'.
st_fieldcat-outputlen = 15.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
st_fieldcat-fieldname = 'WAERK'.
st_fieldcat-do_sum = ' '.
st_fieldcat-seltext_l = 'Unit'.
st_fieldcat-outputlen = 5.
APPEND st_fieldcat TO t_fieldcat.
CLEAR st_fieldcat.
*sortinfo
st_sort-fieldname = 'AUART'.
st_sort-up = 'X'.
st_sort-subtot = 'X'.
APPEND st_sort TO t_sort.
CLEAR st_sort.
st_sort-fieldname = 'VBTYP'.
st_sort-up = 'X'.
st_sort-subtot = ' '.
APPEND st_sort TO t_sort.
CLEAR st_sort.
st_sort-fieldname = 'WAERK'.
st_sort-up = 'X'.
st_sort-subtot = 'X'.
APPEND st_sort TO t_sort.
CLEAR st_sort.
st_sort-fieldname = 'VBELN'.
st_sort-up = ' '.
st_sort-subtot = 'X'.
APPEND st_sort TO t_sort.
CLEAR st_sort.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = it_eventcat
EXCEPTIONS
list_type_wrong = 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.
IF grid = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = g_program
I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT =
it_fieldcat = t_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
it_sort = t_sort
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it_final
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.
REWARD IF USEFULL -
** Please help urgently ** Budget upload field with leading zeros
We need to load a characteristic that has leading zeros. For example 0000350. When saving down to CSV, we lose the leading zeros (0000) so that only 350 is loaded into BW. Saving the codes as 'text' in excel does not seem to help.
We cannot therefore see the name for any of these codes when refreshing the workbook in BW.
Could some please urgently tell us the correct method to save the file for loading into the BW infopackage, with all zeros intact ?
Regards, FrederickHi Frederick,
Just some additional thoughts,
assuming field A1 in Ecel contains 350 and you want to create a string with 8 digits, you could use formula '=text(A1;"00000000")' in an empty column and copy it back to column A. Then 00000350 should be provided in A1. This can be saved in a normal .csv file and be opened with a text editor (e.g. notepad) in order to check content.
If you don't want to manipulate Excel data, transformation to a field with leading zeros can be easily be processed with a routine in transfer rules.
Regards
Joe -
How to creat javadoc with userdefine methods
hi
how to creat javadocs with user define class && methods ....
we did like that
javadocs filename..
we are not geting my oun methods..
pls help me
regards
kedarHi,
javadoc creates documentation for packages, not for single files - and you have to comment out every class, method, fields in a special form using javadoc tags - an example
package MyPackage;
import java.util.Vector;
* This class is only an example, how to create javadocs for a package.
public class MyClass extends Object {
* an example for a public field holding a Vector
public Vector aVector = new Vector(3,3);
* Constructs a MyClass instance.
public MyClass() { super(); }
* Constructs a MyClass instance using the passed Vector in the {@link aVector} field.
* @param vec a Vector, that replaces the Vector in field {@link aVector}
public MyClass(Vector vec) { super(); aVector = vec; }
* gets the Vector in field {@link aVector}.
* @return a Vector, held in field {@link aVector}
public Vector getVector() { return aVector; }
}// end of classNow you can create your javadoc from the classpath with "javadoc MyPackage"
hope, this helps
greetings Marsian -
How to create messages with parameters In ADF model.
In ADF model, How to create messages with parameters?
To Create messages in message bundles with parameters, perform the steps as given below
Scenario: To Create a message as "Department Name XXXXXXX is already existing "
Step#1: For the given entity object “DepartmentEO”, Go to “overview” tab and click “Business Rules” finger tab.
Step#2: Select “Entity Validators” in the list & click “+” to add a new entity level validation rule.
Step#3: Now go to “Failure Handling” tab, and click the Magnifier Icon.
Step#4: Now in the “Display Value” field, enter the message with flower-braces as below.
Department Name {department_name} is already existing
Step#5: Also modify the Key & Description fields as needed. And click “Save and Select” button.
Step#6: Now go to “Token Message Expressions” section, double-click the Expression field corresponding to "department_name" & give the relevant Attribute names say "DepartmentName"
Step#7: Now click “OK”. -
How to create complaints with reference to ECC Billing document (CRM 7.0)
Hi experts!
I use ECC 6.0 and CRM 7.0.
I have to create CRM complaints (ZCLR - CLRP) with reference to ecc billing documents.
I read the following topics and help:
1. How to create complaints with referenceto ECC Billing document
2. Re: How can we transfer billing documents from SAP ERP to CRM 2007?
3. http://help.sap.com/saphelp_crm70/helpdata/en/46/029ba32e675c1ae10000000a1553f6/frameset.htm
Made these settings:
1. Define the Business object type
Goto SPRO>CRM>Transaction>Settings for Complaints>Integration>Trnsaction Referencing>Define Object types for Transaction reference
2. Assign Business Object Types to Transaction Types
Goto SPRO>CRM>Transaction>Settings for Complaints>Integration>Trnsaction Referencing>Assign Business Object Types to Transaction Types
3. Implement a BADI - CRM_COPY_BADI_EXTERN.Check Implementation CRM_COPY_BADI_BILLDO for more information on the coding for referencing the ECC Billing document.
Goto SPRO>CRM>Transaction>Settings for Complaints>Integration>Trnsaction Referencing>BAdI: Create Complaint with Reference to External Transaction.
but still do not know,
1) if I should pre-replicate billing documents into CRM ?
2) Or, the system uses the RFC to find these documents in ECC to create reference?
Please help me.
Best regards Kostya.
Edited by: Kostya Khveshchenik on Oct 20, 2010 2:09 PMnot resolved =(
Edited by: Kostya Khveshchenik on Nov 19, 2010 8:50 AM -
How to create Matrix with Group report layout in xml
Hi,
i would be glad if anyone could tell me How to create Matrix with Group report layout in xml?
Here i am attaching the required design doc
below is the code
select COST_CMPNTCLS_CODE,
-- crd.RESOURCES,
NOMINAL_COST,
cmm.COST_MTHD_CODE,
-- crd.COST_TYPE_ID,
gps.period_code
-- ORGANIZATION_ID
from CM_RSRC_DTL crd,
gmf_period_statuses gps,
CM_MTHD_MST cmm,
CR_RSRC_MST crm,
CM_CMPT_MST ccm
where gps.period_id = crd.PERIOD_ID
and crd.cost_type_id = cmm.cost_type_id
and crd.RESOURCES = crm.RESOURCES
and crm.COST_CMPNTCLS_ID = ccm.COST_CMPNTCLS_ID
and gps.period_code in (:p_period1, :p_period2, :p_period3)
group by COST_CMPNTCLS_CODE, cmm.COST_MTHD_CODE, gps.period_code,NOMINAL_COST
order by 1,2,3,4.
The o/p of the report shoud be as given below
Period-1 Period-2 Period-3 Period-4
COMPONENT
LABOUR - DIRECT
Actual 1 2 3 4
Actual Rate 10 10 10 10
Standard Rate
Var%
DEPRICIATION-DIRECT
Actual
Actual Rate
Standard Rate
Var%
OVERHEAD - DIRECT
Actual
Actual Rate
Standard Rate
Var%
LABOUR - IN DIRECT
Actual
Actual Rate
Standard Rate
Var%
Thanks in advanceYour friend is obviously not a reliable source of HTML
information.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Mr.Ghost" <[email protected]> wrote in
message
news:f060vi$npp$[email protected]..
> One of my friends advised me to develop my whole site on
the layout mode
> as its
> better than the standard as he says
> but I couldnot make an ordinary table with rows and
columns in th layout
> mode
> is there any one who can tell me how to?
> thanx alot
> -
How to create PDF with Form Builder (T-Code:SPF) and how to use it?
How to create PDF with Form Builder (T-Code:SPF) and how to use it? Is there anyone can show me some doc. or PA material ? << removed >> Thank you very much!!
Edited by: Rob Burbank on Nov 11, 2010 1:04 PMPDF forms also known as Adobe From or Interactive Forms.
Check this link -
Interactive Forms
REG:ADOBE FORM
Adobe forms
Regards,
Amit -
How to create folder with sub folder ?
How to create folder with sub folder ?
Hi,
Questions. 17 / 17 unresolved -> very bad reputation
but ok - let's help anyway ...
1. create everything in Screen Painter
2. set FromPane and ToPane property correct.
example:
Items in MainFolder: FromPane & ToPane: 1 to 3
Items in SubFolderA (From 2 To 2) - SubFolderB (From 3 To 3)
shouldn't be that difficult
in your Code set oForm.PaneLevel when the user clicks on the Folder
lg David -
RV120W- How to create new unique self-signed certificate?
Hello,
how to create new unique self-signed certificate on RV120W? I can create request for singning by external CA, but I cannot create new unique self-signed certificate itself. Any idea? Did I miss something? Many thanks!
AbudefSo basically RV120W does not support self-signed certificate? It only allows to generate private key and certificate signin request. There is no chance to replace default generic ssl/vpn certifice within router itself? Could you please give me an advice, how to sign that request by some "CA"? I mean no commercial CA, I need something free running under Windows os. Many thanks!
-
Hello everybody,
It's my first time using Java Card ^_^,I want to create a file and fill the fill with binary data.but i don't know how to create file with APDU commands,so I need help here.
I think that there must be a Manual of the JavaCard's OS in this world,can someone tell me where to download it??
Thanks.
the fllowing is my card:
Samsung S1
Model:TiEx-32J
EEPROM size:32k
Platform Version:OP 2.0.1
Card Manager Status:OP_READY
KMC:40~4F/No derivation
Message was edited by:
AllenHuangIf you look around the forum for a bit, you will see that there is no notion of file systems on JavaCards (lexdabear posted this information less than two hours ago :-)). To store files, you will have to write an applet to hold byte arrays of the required size and handle receiving and sending of these.
As for documentation, you should have a look at the GP (General Platform) specification at http://www.globalplatform.org/, which defines communication between smart cards and other devices, as well as Sun's own JavaCard pages (http://java.sun.com/products/javacard/), which contain several useful resources on JavaCards.
Message was edited by:
Lillesand -
How to create Vector with reference to Collection
hello experts,
can someone let me know how to create vector with reference to Collection interface.
Collection is an interface. and we cant create an instance of it. i'm not clear of what to pass in that constructor.
Vector v = new Vector (Collection c);
what are the possible objects of 'c'
post some example code please.
thanksEver heard of reading the javadocs?
"Collection is an interface. and we cant create an instance of it." - you don't understand interfaces, then.
// I certainly can create a Collection - here's one
Collection c = new ArrayList();
// Now I'll add some Strings to my Collection.
c.add("foo");
c.add("bar");
c.add("baz");
// Now I'll make a Vector out of it.
Vector v = new Vector(c);% -
How to create parameter with multiple selection in a query (SQ02) ?
Hi Exports
Do you know how to create parameter with multiple selection in a query (transaction SQ02)?
thanks.Hi
i know how to create user parameter at SQ02,
the question is how to create multiple selection parameter? -
How to create database with ASM
HI
How to create database with ASM?
I install vmware workstation on window XP .On virtual machine install Linux 5 enterprise (Oracle) install.
I install oracle DB software only. Also make 3 disk for ASM .
1 -- When I want to install oracle DB with ASM . In this process candidate disks not show . Why?
How I can see disks ..
so I simple install oracle DB software only.
2 -- Now I want to create database with ASM by DBCA .
What process I will follow ?
Please guide me
ThanksHi
Steps to create database with ASM.
1.Install oracle binary with active CRS(For single node installation CRS is activated when you run root.sh) .
2.Create disk without file ssytem.
3.Assign disk to raw .
4.Change owner and permission to raw devices.
5.Configure ASM manually or USing DBCA.
Manually ASM Configuration.
a.Create initialization parameter file and password file.
b.Mandatory parameter is "instance_type=asm" as per your need configure rest of parameter like db_cache_size,large_pool_size,processes,remote_login_passwordfile,shared_pool_size etc..
c.To discover disk configure "asm_diskstring=/dev/raw/raw*"
Using DBCA to configure ASM.
1.In storage type section choose ASM.It will ask for password of sysdba in 10g.
2.ASM configuration window will open -> here it create disk group -> it shows all available ASM candidate disk automatical -> choose normal redundancy,external redundancy or high redundancy.
ASM disk also can be conbfigured with ASMLIB .
If ASM disk is configured you can start asm instance in nomount state and query to v$asm_disk to see all candidate disk.V$asm_disk only shows disk which is configured in asm_diskstrings.
Hope this will help U,
Tinku
Maybe you are looking for
-
Where do I get ITunes Gift Card Code?
Where on gets Itunes Gift Card Or Itunes Code?
-
How to configure a forms 6i server
Hi I am trying to configure an oracle 6i server for a college project and need some help. I have the documentation but its very confusing and not beginner orientated! I am using windows XP. The forms server 6i,Apache and Jinitiator are installed in t
-
Iphone 4s problem with iOS 8.1.3
So my cousin updated my grandmother's iPhone 4s to iOS 8.1.3 and it was only saying "searching." With several hours of troubleshooting, I realized it had a 4g LTE card in it and this is a 3g phone. So I took out the card and it will now recognize t
-
Large circle beside mail folder
I suddenly cannot access some of my sent messages and sitting beside a sent sub-folder there is a large solid gray circle. It will not let me do anything and as you can see the triangle beside it is open. This mailbox will also not let me rebuild it
-
HT4600 AirPort Extreme solid amber. Stuck.
Anyone able to unbrick AirPort Extreme? It is less than 2 years old with 2TB drive. Suddenly stopped working and factory reset, holding reset down during power cycle, unplugging hard drive haven't helped. On power cycle, led is green at first, chang