Sign position

Hi to all,
I'm looking for a way to solve a problem concerning the sign position. I'm having a data file with signs at the end of the number.
If I import data with a rule file I'm getting the following error:
+\\ Invalid number in data column+
+2010;06;ENT_00_NKONBE1;;FCT0NKONFUN;030;W;G;1353.567-+
1353.567- ist the wrong data column. If I change it by manual to -1353.567 the data import works fine.
Does anyone have a solution where the rule file excepts a sign at the end of a number?
Thanks in advance
Uli

Bit lengthy but try below [I have already tested it] : --
You will need 2 sets of load rules
1. First load rule: To load numbers with "-" at the end.
1. Create a new column at the end using Text "*"using "Field Edit" in "Data source properties"
2. Create a new column by joining your data column and newly created column. This column should have data like 1353.567-* or 1353.567*, depending upon whether there is "-" at the end.
3. Create a new column by using "Create using join" for column in step 2. Only select the column in step 2. This new column will have same data as in step 2. This column should have data like 1353.567-* or 1353.567*, depending upon whether there is "-" at the end.
4. Set "-" as prefix to the column in step 2, using "Field Properties"
5. You should have 3 new columns at this time. One with "*", one with 1353.567-* or 1353.567*, and one with -1353.567-* or -1353.567*
6. In the column with -1353.567-* or -1353.567*, replace "-*" with blank using "Field Properties". The data in this column will be changed to -1353.567 or -1353.567*
7. Set columns with "*", the original data value and 1353.567-* or 1353.567* to ignore during data load using "Field Properties"
8. In the column with 1353.567-* or 1353.567*, which you set to ignore during data load, put "Select Record" condition. Put the condition as Select only records which "contain" "-*" string.
9. Save the load rule and load records which have - at the beginning.
Now, you can load records which don't have "-" at the end and let the ones with "-" at the end to error out
Else, use above process, but don't use step 4 and in step 8, instead of selecting records which contain "-*", Reject them.
Let me know if it helps.
Cheers
RS

Similar Messages

  • Change of sign while extracting data using Open hub

    Hello All,
    We are extracting data from Info cube to a file in the application server using Open hub.
    While extracting data, if there is any negative value for the key figure, negative sign is appending on the right side of the value(Eg: "123.67-"), which is the standard behaviour but I want the sign to be on the left side of the value (Eg: "-123.67") while extracting to the file at application server.
    Could any one please let me know if there is any setting to do this change ?
    Thanks in advance

    Hi,
    Changing the SIGN position from one side of the NUMBER to the other side can happen in following ways.
    1) After the file is place in the application server. Deploy a OS SCRIPT file (for .csv) for obtaining the required changes to the required COLUMN [Basis team will have more idea on this]
    2)This is time consuming idea. well deploy a routine at the Open hub -Infospoke level.
    Regards

  • Urgent help required: Query regarding LC Variables

    Hi All
    Sometime earlier I was working on a performance issue raised by a customer. It was shell script that was taking almost 8-9 hrs to complete. During my research I came across a fact that there were some variables which were not set, the LC variables were impacting the sort funnel operations because of which the script was taking a long time to execute.
    I asked them to export the following commands, after which the program went on smoothly and finished in a couple of mins:
    export LC_COLLATE=en_US.ISO8859-1
    export LC_MESSAGES=C
    export LC_MONETARY=en_US.ISO8859-1
    export LC_MONETARY=en_US.ISO8859-1
    export HZ=100
    export LC_CTYPE=en_US.ISO8859-1
    export LANG=en_US.UTF-8
    Later I did recover that setting the LC_COLLATE to C, is not helping and the program was again taking a lot of time. Few questions that I want to ask are:
    1. Can someone please tell me, what each of these variable mean and how these values make a difference.
    2. When I exported LC_COLLATE=en_US.ISO8859-1, it worked fine, but when i tried with the defalut value LC_COLLATE=C, then why the program didnt work.
    As this issue is still going on, hence I would request All to provide their valuable inputs and let me know as much as possible.
    Appreciate your help in this regard.
    Thanks
    Amit
    Hi All
    A new development in this regard. The customer has send us a screen shot in which they were trying to export the locale variable using the commands which I have pasted above. I can see in the screen shot that while exporting LC_COLLATE and LC_TYPE, they get a message that ""ksh: export: couldn't set locale correctly"".
    Request everyone to please give their inputs as it's a bit urgent.
    Thanks for all the help in advance.
    Thanks
    Amit
    Some help required please...
    Edited by: amitsinhaengg on Jul 22, 2009 2:03 AM
    Edited by: amitsinhaengg on Jul 22, 2009 2:06 AM

    LC_CTYPE
    Controls the behavior of character handling functions.
    LC_TIME
    Specifies date and time formats, including month names, days of the week, and common full and abbreviated representations.
    LC_MONETARY
    Specifies monetary formats, including the currency symbol for the locale, thousands separator, sign position, the number of fractional digits, and so forth.
    LC_NUMERIC
    Specifies the decimal delimiter (or radix character), the thousands separator, and the grouping.
    LC_COLLATE
    Specifies a collation order and regular expression definition for the locale.
    LC_MESSAGES
    Specifies the language in which the localized messages are written, and affirmative and negative responses of the locale (yes and no strings and expressions).
    You can use command
    # locale -k LC_CTYPE
    to see more detail about each type.

  • Suggest a TABLE CONTAINING THESE FIELDS

    E1MBXYJ : Create Goods Movement from Non-SAP System: Item++
    Segment definition E2MBXYJ001 Released since Release 620 , Segment length: 0476
    <b>For the following fields. Tell me a table which contains  a majority or all of the below fields</b>.
    PARGB : Trading partner's business area
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 001, Offset : 0063. external length : 000004
    PARBU : Clearing company code
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 002, Offset : 0067. external length : 000004
    CLASS : Class number
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 003, Offset : 0071. external length : 000018
    UMCLA : Class number
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 004, Offset : 0089. external length : 000018
    XCLAS : Checkbox
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 005, Offset : 0107. external length : 000001
    UMXCL : Checkbox
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 006, Offset : 0108. external length : 000001
    XNIBU : Checkbox
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 007, Offset : 0109. external length : 000001
    BDTER : Requirement Date for the Component
    internal data type : DATS
    Internal length : 000008 characters
    Position in segment : 008, Offset : 0110. external length : 000008
    TBBEL : Article doc. no. of transfer requirement to be cancelled
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 009, Offset : 0118. external length : 000010
    TBBPO : Article doc. item of transf.reqmnt item to be cancelled
    internal data type : NUMC
    Internal length : 000004 characters
    Position in segment : 010, Offset : 0128. external length : 000004
    TBBJR : Article doc. year of transfer requirement to be cancelled
    internal data type : NUMC
    Internal length : 000004 characters
    Position in segment : 011, Offset : 0132. external length : 000004
    OBJNR : Object number
    internal data type : CHAR
    Internal length : 000022 characters
    Position in segment : 012, Offset : 0136. external length : 000022
    AUTYP : Order category
    internal data type : NUMC
    Internal length : 000002 characters
    Position in segment : 013, Offset : 0158. external length : 000002
    QPLOA : Inspection Lot on Which the Usage Decision is Based
    internal data type : NUMC
    Internal length : 000012 characters
    Position in segment : 014, Offset : 0160. external length : 000012
    TBPKZ : Indicator: No Transfer Requirement Created
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 015, Offset : 0172. external length : 000001
    TAFKZ : Indicator: do not cal up automatic TO creation
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 016, Offset : 0173. external length : 000001
    KZEAR_OLD : Final Issue for This Reservation
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 017, Offset : 0174. external length : 000001
    RSART : Record type
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 018, Offset : 0175. external length : 000001
    PPRCTR : Partner Profit Center
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 019, Offset : 0176. external length : 000010
    XMEVO : Propose quantities
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 020, Offset : 0186. external length : 000001
    UMLGT : Storage Type
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 021, Offset : 0187. external length : 000003
    UMLGP : Storage Bin
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 022, Offset : 0190. external length : 000010
    MENGE : Quantity
    internal data type : QUAN
    Internal length : 000013 characters
    000003 decimal places, without sign
    Position in segment : 023, Offset : 0200. external length : 000015
    MEINS : Base Unit of Measure
    internal data type : UNIT
    Internal length : 000003 characters
    Position in segment : 024, Offset : 0215. external length : 000003
    FKBER : Functional Area
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 025, Offset : 0218. external length : 000004
    MHDAT : SLED/Best-Before Date or Date of Production
    internal data type : DATS
    Internal length : 000008 characters
    Position in segment : 026, Offset : 0222. external length : 000008
    BSSKZ : Special movement indicator for warehouse management
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 027, Offset : 0230. external length : 000001
    EXIDV : External Handling Unit Identification
    internal data type : CHAR
    Internal length : 000020 characters
    Position in segment : 028, Offset : 0231. external length : 000020
    BERKZ : Material Staging Indicator for Production Supply
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 029, Offset : 0251. external length : 000001
    PRVBE : Supply Area
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 030, Offset : 0252. external length : 000010
    KZECH : Determination of batch entry in the production/process order
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 031, Offset : 0262. external length : 000001
    UPTYP : Subitem Category, Purchasing Document
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 032, Offset : 0263. external length : 000001
    REFIX : Field defined as in SY-TABIX
    internal data type : INT4
    Internal length : 000010 characters
    Position in segment : 033, Offset : 0264. external length : 000011
    VLIEF_AVIS : Delivery
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 034, Offset : 0275. external length : 000010
    VBELP_AVIS : Delivery Item
    internal data type : NUMC
    Internal length : 000006 characters
    Position in segment : 035, Offset : 0285. external length : 000006
    XWAIT : Checkbox
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 036, Offset : 0291. external length : 000001
    XNOEQ : Checkbox
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 037, Offset : 0292. external length : 000001
    ILINR : IDoc line item number
    internal data type : NUMC
    Internal length : 000006 characters
    Position in segment : 038, Offset : 0293. external length : 000006
    VOLUM : Volume
    internal data type : QUAN
    Internal length : 000015 characters
    000003 decimal places, without sign
    Position in segment : 039, Offset : 0299. external length : 000017
    VOLEH : Volume unit
    internal data type : UNIT
    Internal length : 000003 characters
    Position in segment : 040, Offset : 0316. external length : 000003
    ANZL1 : Number of Storage Units to be Placed Into Storage
    internal data type : DEC
    Internal length : 000003 characters
    No decimal places, without sign
    Position in segment : 041, Offset : 0319. external length : 000004
    ANZL2 : Number of Storage Units to be Placed Into Storage
    internal data type : DEC
    Internal length : 000003 characters
    No decimal places, without sign
    Position in segment : 042, Offset : 0323. external length : 000004
    LMEN1 : Quantity per Storage Unit to be Placed into Stock in Alt.UoM
    internal data type : QUAN
    Internal length : 000013 characters
    000003 decimal places, without sign
    Position in segment : 043, Offset : 0327. external length : 000015
    LMEN2 : Quantity per Storage Unit to be Placed into Stock in Alt.UoM
    internal data type : QUAN
    Internal length : 000013 characters
    000003 decimal places, without sign
    Position in segment : 044, Offset : 0342. external length : 000015
    LETY1 : Storage Unit Type
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 045, Offset : 0357. external length : 000003
    LETY2 : Storage Unit Type
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 046, Offset : 0360. external length : 000003
    KZKUB : Indicator: Do not create posting change notice
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 047, Offset : 0363. external length : 000001
    UBTYP : Storage Type
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 048, Offset : 0364. external length : 000003
    UBLGP : Storage Bin
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 049, Offset : 0367. external length : 000010
    MBLNR : Number of Article Document
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 050, Offset : 0377. external length : 000010
    MBLPO : Item in Article Document
    internal data type : NUMC
    Internal length : 000004 characters
    Position in segment : 051, Offset : 0387. external length : 000004
    MJAHR : Article Document Year
    internal data type : NUMC
    Internal length : 000004 characters
    Position in segment : 052, Offset : 0391. external length : 000004
    URZEI : Original line in article document
    internal data type : NUMC
    Internal length : 000004 characters
    Position in segment : 053, Offset : 0395. external length : 000004
    GEBER : Fund
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 054, Offset : 0399. external length : 000010
    FISTL : Funds Center
    internal data type : CHAR
    Internal length : 000016 characters
    Position in segment : 055, Offset : 0409. external length : 000016
    KZBWS : Valuation of Special Stock
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 056, Offset : 0425. external length : 000001
    KDAUF_SD : Sales Order Number
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 057, Offset : 0426. external length : 000010
    KDPOS_SD : Item Number in Sales Order
    internal data type : NUMC
    Internal length : 000006 characters
    Position in segment : 058, Offset : 0436. external length : 000006
    XRERE : Reservation reading is mandatory
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 059, Offset : 0442. external length : 000001
    XSTOR : Reverse posting indicator
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 060, Offset : 0443. external length : 000001
    BRGEW : Gross weight
    internal data type : QUAN
    Internal length : 000015 characters
    000003 decimal places, without sign
    Position in segment : 061, Offset : 0444. external length : 000017
    GEWEI : Weight Unit
    internal data type : UNIT
    Internal length : 000003 characters
    Position in segment : 062, Offset : 0461. external length : 000003
    WM_KZBEW : Movement Indicator
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 063, Offset : 0464. external length : 000001
    WENUM : Goods Receipt Number
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 064, Offset : 0465. external length : 000010
    GEBEH : Lot Container
    internal data type : UNIT
    Internal length : 000003 characters
    Position in segment : 065, Offset : 0475. external length : 000003
    ANZGEB : QM - No. of Containers
    internal data type : QUAN
    Internal length : 000006 characters
    000003 decimal places, without sign
    Position in segment : 066, Offset : 0478. external length : 000009
    KANBA : Kanban Indicator
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 067, Offset : 0487. external length : 000001
    BSTMG : Goods receipt quantity in order unit
    internal data type : QUAN
    Internal length : 000013 characters
    000003 decimal places, without sign
    Position in segment : 068, Offset : 0488. external length : 000015
    FUNC_AREA_LONG : Functional Area
    internal data type : CHAR
    Internal length : 000016 characters
    Position in segment : 069, Offset : 0503. external length : 000016
    GRANT_NBR : Grant
    internal data type : CHAR
    Internal length : 000020 characters
    Position in segment : 070, Offset : 0519. external length : 000020

    Hello Raja,
    Related to goods receipt, the following are the main tables.
    MSEG - Material document information
    MKPF - Material document header
    EKBE - Purchasing documnet history
    Hope this helps.
    Regards
    Arif Mansuri

  • Suggest a TABLE CONTAINING THESE IDOC segment FIELDS

    E1MBXYJ : Create Goods Movement from Non-SAP System: Item++
    Segment definition E2MBXYJ001 Released since Release 620 , Segment length: 0476
    For the following fields. Tell me a table which contains a majority or all of the below fields.
    PARGB : Trading partner's business area
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 001, Offset : 0063. external length : 000004
    PARBU : Clearing company code
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 002, Offset : 0067. external length : 000004
    CLASS : Class number
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 003, Offset : 0071. external length : 000018
    UMCLA : Class number
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 004, Offset : 0089. external length : 000018
    XCLAS : Checkbox
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 005, Offset : 0107. external length : 000001
    UMXCL : Checkbox
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 006, Offset : 0108. external length : 000001
    XNIBU : Checkbox
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 007, Offset : 0109. external length : 000001
    BDTER : Requirement Date for the Component
    internal data type : DATS
    Internal length : 000008 characters
    Position in segment : 008, Offset : 0110. external length : 000008
    TBBEL : Article doc. no. of transfer requirement to be cancelled
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 009, Offset : 0118. external length : 000010
    TBBPO : Article doc. item of transf.reqmnt item to be cancelled
    internal data type : NUMC
    Internal length : 000004 characters
    Position in segment : 010, Offset : 0128. external length : 000004
    TBBJR : Article doc. year of transfer requirement to be cancelled
    internal data type : NUMC
    Internal length : 000004 characters
    Position in segment : 011, Offset : 0132. external length : 000004
    OBJNR : Object number
    internal data type : CHAR
    Internal length : 000022 characters
    Position in segment : 012, Offset : 0136. external length : 000022
    AUTYP : Order category
    internal data type : NUMC
    Internal length : 000002 characters
    Position in segment : 013, Offset : 0158. external length : 000002
    QPLOA : Inspection Lot on Which the Usage Decision is Based
    internal data type : NUMC
    Internal length : 000012 characters
    Position in segment : 014, Offset : 0160. external length : 000012
    TBPKZ : Indicator: No Transfer Requirement Created
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 015, Offset : 0172. external length : 000001
    TAFKZ : Indicator: do not cal up automatic TO creation
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 016, Offset : 0173. external length : 000001
    KZEAR_OLD : Final Issue for This Reservation
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 017, Offset : 0174. external length : 000001
    RSART : Record type
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 018, Offset : 0175. external length : 000001
    PPRCTR : Partner Profit Center
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 019, Offset : 0176. external length : 000010
    XMEVO : Propose quantities
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 020, Offset : 0186. external length : 000001
    UMLGT : Storage Type
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 021, Offset : 0187. external length : 000003
    UMLGP : Storage Bin
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 022, Offset : 0190. external length : 000010
    MENGE : Quantity
    internal data type : QUAN
    Internal length : 000013 characters
    000003 decimal places, without sign
    Position in segment : 023, Offset : 0200. external length : 000015
    MEINS : Base Unit of Measure
    internal data type : UNIT
    Internal length : 000003 characters
    Position in segment : 024, Offset : 0215. external length : 000003
    FKBER : Functional Area
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 025, Offset : 0218. external length : 000004
    MHDAT : SLED/Best-Before Date or Date of Production
    internal data type : DATS
    Internal length : 000008 characters
    Position in segment : 026, Offset : 0222. external length : 000008
    BSSKZ : Special movement indicator for warehouse management
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 027, Offset : 0230. external length : 000001
    EXIDV : External Handling Unit Identification
    internal data type : CHAR
    Internal length : 000020 characters
    Position in segment : 028, Offset : 0231. external length : 000020
    BERKZ : Material Staging Indicator for Production Supply
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 029, Offset : 0251. external length : 000001
    PRVBE : Supply Area
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 030, Offset : 0252. external length : 000010
    KZECH : Determination of batch entry in the production/process order
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 031, Offset : 0262. external length : 000001
    UPTYP : Subitem Category, Purchasing Document
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 032, Offset : 0263. external length : 000001
    REFIX : Field defined as in SY-TABIX
    internal data type : INT4
    Internal length : 000010 characters
    Position in segment : 033, Offset : 0264. external length : 000011
    VLIEF_AVIS : Delivery
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 034, Offset : 0275. external length : 000010
    VBELP_AVIS : Delivery Item
    internal data type : NUMC
    Internal length : 000006 characters
    Position in segment : 035, Offset : 0285. external length : 000006
    XWAIT : Checkbox
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 036, Offset : 0291. external length : 000001
    XNOEQ : Checkbox
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 037, Offset : 0292. external length : 000001
    ILINR : IDoc line item number
    internal data type : NUMC
    Internal length : 000006 characters
    Position in segment : 038, Offset : 0293. external length : 000006
    VOLUM : Volume
    internal data type : QUAN
    Internal length : 000015 characters
    000003 decimal places, without sign
    Position in segment : 039, Offset : 0299. external length : 000017
    VOLEH : Volume unit
    internal data type : UNIT
    Internal length : 000003 characters
    Position in segment : 040, Offset : 0316. external length : 000003
    ANZL1 : Number of Storage Units to be Placed Into Storage
    internal data type : DEC
    Internal length : 000003 characters
    No decimal places, without sign
    Position in segment : 041, Offset : 0319. external length : 000004
    ANZL2 : Number of Storage Units to be Placed Into Storage
    internal data type : DEC
    Internal length : 000003 characters
    No decimal places, without sign
    Position in segment : 042, Offset : 0323. external length : 000004
    LMEN1 : Quantity per Storage Unit to be Placed into Stock in Alt.UoM
    internal data type : QUAN
    Internal length : 000013 characters
    000003 decimal places, without sign
    Position in segment : 043, Offset : 0327. external length : 000015
    LMEN2 : Quantity per Storage Unit to be Placed into Stock in Alt.UoM
    internal data type : QUAN
    Internal length : 000013 characters
    000003 decimal places, without sign
    Position in segment : 044, Offset : 0342. external length : 000015
    LETY1 : Storage Unit Type
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 045, Offset : 0357. external length : 000003
    LETY2 : Storage Unit Type
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 046, Offset : 0360. external length : 000003
    KZKUB : Indicator: Do not create posting change notice
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 047, Offset : 0363. external length : 000001
    UBTYP : Storage Type
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 048, Offset : 0364. external length : 000003
    UBLGP : Storage Bin
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 049, Offset : 0367. external length : 000010
    MBLNR : Number of Article Document
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 050, Offset : 0377. external length : 000010
    MBLPO : Item in Article Document
    internal data type : NUMC
    Internal length : 000004 characters
    Position in segment : 051, Offset : 0387. external length : 000004
    MJAHR : Article Document Year
    internal data type : NUMC
    Internal length : 000004 characters
    Position in segment : 052, Offset : 0391. external length : 000004
    URZEI : Original line in article document
    internal data type : NUMC
    Internal length : 000004 characters
    Position in segment : 053, Offset : 0395. external length : 000004
    GEBER : Fund
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 054, Offset : 0399. external length : 000010
    FISTL : Funds Center
    internal data type : CHAR
    Internal length : 000016 characters
    Position in segment : 055, Offset : 0409. external length : 000016
    KZBWS : Valuation of Special Stock
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 056, Offset : 0425. external length : 000001
    KDAUF_SD : Sales Order Number
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 057, Offset : 0426. external length : 000010
    KDPOS_SD : Item Number in Sales Order
    internal data type : NUMC
    Internal length : 000006 characters
    Position in segment : 058, Offset : 0436. external length : 000006
    XRERE : Reservation reading is mandatory
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 059, Offset : 0442. external length : 000001
    XSTOR : Reverse posting indicator
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 060, Offset : 0443. external length : 000001
    BRGEW : Gross weight
    internal data type : QUAN
    Internal length : 000015 characters
    000003 decimal places, without sign
    Position in segment : 061, Offset : 0444. external length : 000017
    GEWEI : Weight Unit
    internal data type : UNIT
    Internal length : 000003 characters
    Position in segment : 062, Offset : 0461. external length : 000003
    WM_KZBEW : Movement Indicator
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 063, Offset : 0464. external length : 000001
    WENUM : Goods Receipt Number
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 064, Offset : 0465. external length : 000010
    GEBEH : Lot Container
    internal data type : UNIT
    Internal length : 000003 characters
    Position in segment : 065, Offset : 0475. external length : 000003
    ANZGEB : QM - No. of Containers
    internal data type : QUAN
    Internal length : 000006 characters
    000003 decimal places, without sign
    Position in segment : 066, Offset : 0478. external length : 000009
    KANBA : Kanban Indicator
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 067, Offset : 0487. external length : 000001
    BSTMG : Goods receipt quantity in order unit
    internal data type : QUAN
    Internal length : 000013 characters
    000003 decimal places, without sign
    Position in segment : 068, Offset : 0488. external length : 000015
    FUNC_AREA_LONG : Functional Area
    internal data type : CHAR
    Internal length : 000016 characters
    Position in segment : 069, Offset : 0503. external length : 000016
    GRANT_NBR : Grant
    internal data type : CHAR
    Internal length : 000020 characters
    Position in segment : 070, Offset : 0519. external length : 000020

    see the tables MSEG, MKPF.
    REgards,
    Ravi

  • Please help me debug this code!

    HELP! I can't figure out where I'm going wrong. Thank you.
    import java.lang.Math.*;
    import java.io.*;
    public class Feature_Recognizer {
         Vertices vertices;   /* storage bin for vertices*/
         Edges edges;         /* storage bin for edges*/
         Faces faces;         /* storage bin for faces*/
         /*** Reads file and stores data into vertices, edges, and faces bins ***/
         void readFile(String file)
              BufferedReader inputFile = null; /*start reading the input file*/
              String[] info;
              String temp;
              /*need to fix io exceptions in java.lang
               * They need to be caught or declared to be thrown*/
              try{
                   inputFile = new BufferedReader(new FileReader(file));
              catch (FileNotFoundException e){
                   System.out.println("File named"+file+"does not exist");
                   return;
              catch (IOException e){
                   System.out.println("IO Exception.  Error reading from:"+file);
                   return;
                  /*begin reading in data array, set into vertices/edges/faces*/                         
                   inputFile.readLine();                                   /* will skip comments in input files*/
                   temp = inputFile.readLine();                            /* store number of vertices*/
                   vertices = new Vertices(Integer.parseInt(temp.trim())); /* initialize the vertices based on data array*/
                   inputFile.readLine();                                   /* will skip comments in input files*/
                   /* store vertices*/
                   int i=0;
                   while(i++<vertices.total)
                        temp = inputFile.readLine();
                        info = temp.split(" ");
                        vertices.addVertex(Double.parseDouble(info[0]),Double.parseDouble(info[1]),Double.parseDouble(info[2]));
                   inputFile.readLine();                             /* will skip comments in input files*/
                   temp = inputFile.readLine();                      /* store number of edges*/
                   edges = new Edges(Integer.parseInt(temp.trim())); /* initialize the edges based on the data array*/
                   inputFile.readLine();                             /* will skip comments in input files*/
                   /* store edges*/
                   int i1=0;
                   while(i1++<edges.total)
                        temp = inputFile.readLine();
                        info = temp.split(" ");
                        edges.addEdge(vertices.getVertex(Integer.parseInt(info[0])),
                             vertices.getVertex(Integer.parseInt(info[1])),
                             Integer.parseInt(info[2]));
                   inputFile.readLine();                             /* will skip comments in input files*/
                   temp = inputFile.readLine();                      /* store number of faces*/
                   faces = new Faces(Integer.parseInt(temp.trim())); /* initialize faces based on the data array*/
                   inputFile.readLine();                             /* will skip comments in input files*/
                   /* store faces*/
                   int i2=0;
                   while(i2++<faces.total)
                        /* input # of edges*/
                        temp = inputFile.readLine();
                        faces.addFace(Integer.parseInt(temp.trim()));
                        /* input faces*/
                        temp = inputFile.readLine();
                        info = temp.split(" ");
                        int j=0;
                        while(j++<faces.getFace(i2).Edge_Totals)
                             if(Integer.parseInt(info[j]) < 0)
                                  faces.getFace(i2).edges.addEdge(edges.getEdge(Math.abs(Integer.parseInt(info[j]))),true);
                             else
                                  faces.getFace(i2).edges.addEdge(edges.getEdge(Math.abs(Integer.parseInt(info[j]))),false);
                        /* input normal vector*/
                        temp = inputFile.readLine();
                        info = temp.split(" ");
                        int j1=0;
                        while(j1++<3)
                             faces.getFace(i2).normal[j1] = Integer.parseInt(info[j1]);
                   /***possibly place another IO exception in here
                   catch (IOException e){
                   System.out.println("IO Exception");
                   return;
         /*** State Classes: edge, face, vertex ***/
         /* Nested Edge object class*/
         class Edge{
                   int identity,           /* identity of edge*/
                        type;               /* concave or convex?*/
                   Vertices vertices;      /* vertices that make up the edge*/
                   Faces faces;            /* faces corresponding to the edge*/
                   double length;          /* length of edge*/
                   /* Edge class constructor*/
                   Edge(int IDENTITY, Vertex A, Vertex B, int TYPE)
                        identity = IDENTITY;
                        vertices = new Vertices(2);
                        vertices.addVertex(A);
                        vertices.addVertex(B);
                        type = TYPE;
                        faces = new Faces(2);
                   /* Length_Calculator will compute the length of edge*/
                 void Length_Calculator()
                        length = Math.pow( (vertices.getVertex(2).x - vertices.getVertex(1).x)*(vertices.getVertex(2).x - vertices.getVertex(1).x)
                                 + (vertices.getVertex(2).y - vertices.getVertex(1).y)*(vertices.getVertex(2).y - vertices.getVertex(1).y)
                                  + (vertices.getVertex(2).z - vertices.getVertex(1).z)*(vertices.getVertex(2).z - vertices.getVertex(1).z)
                                 , .5 );
                   /* getFaces finds the faces which are related to the edge
                   (returns the runtime class of an object)*/
                 void getFaces()
                        int i=1;
                        while( i++ <=Feature_Recognizer.this.faces.total){
                             int j=1;
                             while(     j++<=Feature_Recognizer.this.faces.getFace(i).Edge_Totals){
                                  if(identity == Feature_Recognizer.this.faces.getFace(i).edges.getEdge(j).identity){
                                       faces.addFace(Feature_Recognizer.this.faces.getFace(i));
         /* Edges object class (Edge bin)nested Edges Class*/
         class Edges
                   int index,       /* current index in array*/
                        total;       /* total number of edges*/
                   Edge[] edges;    /* actual edges bin*/
                   boolean[] sign;  /* positive or negative (for face object)*/
                   /* Edges class constructor*/
                   Edges(int Edge_Totals)
                        index = 0;
                        total = Edge_Totals;
                        edges = new Edge[Edge_Totals];
                        sign = new boolean[Edge_Totals];
                   /* method to add an already existing Edge object*/
                   void addEdge(Edge e)
                        edges[index++] = e;
                   /* method to an already existing Edge object*/
                   /* and state if it is negative or positive (for faces only)*/
                   void addEdge(Edge e, boolean isNegative)
                        sign[index] = isNegative;
                        edges[index++] = e;
                   /* method to create and add an Edge object*/
                   void addEdge(Vertex a, Vertex b, int type)
                        edges[index++] = new Edge(index,a,b,type);
                   /* returns the Edge corresponding to its identity*/
                   Edge getEdge(int identity)
                        return edges[identity-1];
                   /* finds the lengths and faces of each Edge in the bin*/
                   void Edge_Stats()
                        int i=0;
                        while(i++<total){
                             edges.Length_Calculator();
                             edges[i].getFaces();
         /* Face object class nested face class*/
         class Face
                   int identity, /* edge identity*/
                        Edge_Totals; /* number of edges that make up the face*/
                   Edges edges; /* edges that make up the face*/
                   int[] normal; /* the vector of the normal to the face*/
                   /* Face class constructor*/
                   Face(int IDENTITY, int numE)
                        identity = IDENTITY;
                        Edge_Totals = numE;
                        edges = new Edges(numE);
                        normal = new int[3];
         /* Faces object class (Face bin)nested faces class*/
         class Faces
                   int index, /* current index in array*/
                        total; /* total number of Faces*/
                   Face[] faces; /* actual faces bin*/
                   /* Faces class constructor*/
                   Faces(int numFaces)
                        index = 0;
                        total = numFaces;
                        faces = new Face[numFaces];
                   /* method to sum an already existing Face object*/
                   void addFace(Face f)
                        faces[index++] = f;
                   /* method to create and sum a Face object*/
                   void addFace(int numE)
                        faces[index++] = new Face(index,numE);
                   /* returns the Face corresponding to its identity*/
                   Face getFace(int identity)
                        return faces[identity-1];
         /* Vertex object class nested vertex class*/
         class Vertex
                   int identity; /* vertex identity*/
                   double x,y,z; /* coordinates*/
                   /* Vertex class constructor*/
                   Vertex(int IDENTITY, double X, double Y, double Z)
                        identity = IDENTITY;
                        x = X;
                        y = Y;
                        z = Z;
              /* Vertices object class (Vertex bin)nested vertices bin*/
         class Vertices
                   int index, /* current index in array*/
                        total; /* total number of vertices*/
                   Vertex[] points; /* actual Vertex bin*/
                   /* Vertices class constructor*/
                   Vertices(int numVertices)
                        index = 0;
                        total = numVertices;
                        points = new Vertex[numVertices];
                   /* method to add an already existing Vertex object*/
                   void addVertex(Vertex v)
                        points[index++] = v;
                   /* method to create and add a Vertex object*/
                   void addVertex(double x, double y, double z)
                        points[index++] = new Vertex(index,x,y,z);
                   /* returns the Vertex corresponding to it's identity*/
                   Vertex getVertex(int identity)
                        return points[identity-1];
    /* displays each edge's type based on data array and the corresponding faces to that edge*/
         void printEdges_Found(){
              String shape;
              System.out.println("Edge\tType\tFaces");
              int i=0;
              while(i++<edges.total){
                   if(edges.getEdge(i).type == 0)
                        shape = "Concave";
                   if(edges.getEdge(i).type == 1)
                        shape = "Convex";
                   else
                        println("Input file must have 0 or 1 for shape type");
                   System.out.println(i + "\t" + shape + "\t" + edges.getEdge(i).faces.getFace(1).identity
                                       + ", " + edges.getEdge(i).faces.getFace(2).identity + "\t");
              System.out.println();
         /* VRML output file maker*/
         void VRML_Output(String file)
              PrintStream outputFile = null;
                   outputFile = new PrintStream(new FileOutputStream(file));
              outputFile.println("#VRML V2.0 utf8");
              outputFile.println("\tShape{");
              outputFile.println("\t\tgeometry IndexedFaceSet{");
              outputFile.println("\t\t\tcoord Coordinate{");
              outputFile.print("\t\t\t\tpoint[  ");
              int i=0;
              while(i++<vertices.total){
                   if(i > 0)
                        if(i%4 == 0) {
                             outputFile.println("\n");
                             outputFile.print("\t\t\t\t\t");
                   outputFile.print(vertices.getVertex(i+1).x + " " + vertices.getVertex(i+1).y
                                       + " " + vertices.getVertex(i+1).z);
                   if(i != vertices.total-1)
                        outputFile.print(",");
              outputFile.println("]");
              outputFile.println("\t\t\t}");
              outputFile.print("\t\t\tcoordIndex[");
              int i3=1;
              while(i3++<=faces.total){
                   int j2=0;
                   while(j2++<faces.getFace(i3).edges.total){
                        if(faces.getFace(i3).edges.sign[j2])
                             outputFile.print(faces.getFace(i3).edges.getEdge(j2+1).vertices.getVertex(1).identity-1 + ", ");
                        else
                             outputFile.print(faces.getFace(i3).edges.getEdge(j2+1).vertices.getVertex(2).identity-1 + ", ");
                   outputFile.println("-1");
                   if(i != faces.total)
                        outputFile.print("\t\t\t\t ");
              outputFile.println("\t\t\t]");
              outputFile.println("\t\t}");
              outputFile.println("\t}");
              outputFile.close();
         /*** feature recognition step:***/
         /* finds the slots*/
         void Slot_Finder()
              int i=1;
                   while(i++<=edges.total){
                   double L=0.0, W=0.0, H=0.0;
                   if(edges.getEdge(i).type == 0) {
                        int vertexID = edges.getEdge(i).vertices.getVertex(1).identity;
                        int j=1;
                        while(j++<=edges.total)
                             if(vertexID == edges.getEdge(j).vertices.getVertex(1).identity || vertexID == edges.getEdge(j).vertices.getVertex(2).identity){
                                  if(edges.getEdge(j).vertices.getVertex(1).z - edges.getEdge(j).vertices.getVertex(2).z != 0)
                                       H = edges.getEdge(j).length;
                                  else
                                       if(edges.getEdge(j).length > L){
                                            W = L;
                                            L = edges.getEdge(j).length;
                                       else
                                            W = edges.getEdge(j).length;
                        System.out.println("A slot was found at edge #" + i + " with length " + L + ", width " + W + " and height " + H);
         /* finds the bases*/
         void Base_Finder()
              int i=1;
              while(i++<=faces.total)
                   if(faces.getFace(i).normal[2] == -1)
                        double L, W;
                        if (faces.getFace(i).edges.getEdge(1).length >= faces.getFace(i).edges.getEdge(2).length )
                             L = faces.getFace(i).edges.getEdge(1).length; W = faces.getFace(i).edges.getEdge(2).length;
                        else
                             L = faces.getFace(i).edges.getEdge(2).length; W = faces.getFace(i).edges.getEdge(1).length;
                        System.out.println("A base was found at face #" + i + " with length " + L + " and width " + W);
    /* finds the ribs*/
         void Rib_Finder()
              int i=1;
              while(i++<=faces.total){
                   if(faces.getFace(i).normal[2] == 1) {
                        double L, W;
                        if ( faces.getFace(i).edges.getEdge(1).length >= faces.getFace(i).edges.getEdge(2).length ){
                             L = faces.getFace(i).edges.getEdge(1).length; W = faces.getFace(i).edges.getEdge(2).length;
                        else {
                             L = faces.getFace(i).edges.getEdge(2).length; W = faces.getFace(i).edges.getEdge(1).length;
                        if(W < 1.5 && faces.getFace(i).edges.getEdge(1).type == 1 && faces.getFace(i).edges.getEdge(2).type == 1)
                             System.out.println("A rib was found at face #" + i + " with length " + L + " and width " + W);
         /*** main program***/
         public static void main(String[] args) {
                   Feature_Recognizer a = new Feature_Recognizer();
                   a.readFile(args[0]);
                   a.edges.Edge_Stats();
                   a.Edges_Found();
                   a.VRML_Output(args[1]);
                   a.Slot_Finder();
                   a.Base_Finder();
                   a.Rib_Finder();
         }/*main ends here*/

    Try formatting your code better. Or use an auto formatter.
    You have too many '}' before this statement delete one.
    There is no such package as java.lang.Math
    You have about 4 more bugs to fix to get it to compile.
    Nearly there.

  • Control break statements in Scripts

    Hi All
    Please help me.
    What are the control break statements are possible in SAP Scripts for Main Window.
    Regards
    Praveen

    This gives over view of almost all control commands.
    ADDRESS               Formatting of addresses
    BOTTOM, ENDBOTTOM     Define footer text in a window
    BOX, POSITION, SIZE   Boxes, lines and shading
    CASE, ENDCASE         Case distinction
    DEFINE                Value assignment to text symbols
    HEX, ENDHEX           Hexadecimal values
    IF, ENDIF             Conditional text output
    INCLUDE               Include other texts
    NEW-PAGE              Explicit forms feed
    NEW-WINDOW            Next window MAIN
    PRINT-CONTROL         Insert print control character
    PROTECT, ENDPROTECT   Protect from page break
    RESET                 Initialize outline paragraphs
    SET COUNTRY           Country-specific formatting
    SET DATE MASK         Formatting of date fields
    SET SIGN              Position of +/- sign
    SET TIME MASK         Formatting of time fields
    STYLE                 Change style
    SUMMING               Summing variables
    TOP                   Set header text in window MAIN

  • IDOC - segment Qualifier

    Dear all,
    Do you know the transaction or an document which give the link between the Qualifier segment of an segment IDOC and the SAP field ?
    for example : IDOC ORDERS05
    segment E1EDK03
    qualifier 002 : wished delivery date in VA01
    segment E1EDK02
    qualifier 050 : Delivery Order in segment description but correspond to PO number in VA01
    I search to fill in the field PO Date but I don't find the qualifer segment.
    Could you please help me ?
    thanks
    Véronique

    Hi friends,
      i thing your problem will solve.
    E1EDK01 : IDoc: Document header general data
    Segment definition E2EDK01005 Released since Release 45B , Segment length: 0357
    ACTION : Action code for the whole EDI message
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 001, Offset : 0063. external length : 000003
    KZABS : Flag: order acknowledgment required
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 002, Offset : 0066. external length : 000001
    CURCY : Currency
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 003, Offset : 0067. external length : 000003
    HWAER : EDI local currency
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 004, Offset : 0070. external length : 000003
    WKURS : Exchange rate
    internal data type : CHAR
    Internal length : 000012 characters
    Position in segment : 005, Offset : 0073. external length : 000012
    ZTERM : Terms of payment key
    internal data type : CHAR
    Internal length : 000017 characters
    Position in segment : 006, Offset : 0085. external length : 000017
    KUNDEUINR : VAT Registration Number
    internal data type : CHAR
    Internal length : 000020 characters
    Position in segment : 007, Offset : 0102. external length : 000020
    EIGENUINR : VAT Registration Number
    internal data type : CHAR
    Internal length : 000020 characters
    Position in segment : 008, Offset : 0122. external length : 000020
    BSART : Document type
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 009, Offset : 0142. external length : 000004
    BELNR : IDOC document number
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 010, Offset : 0146. external length : 000035
    NTGEW : Net weight
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 011, Offset : 0181. external length : 000018
    BRGEW : Net weight
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 012, Offset : 0199. external length : 000018
    GEWEI : Weight unit
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 013, Offset : 0217. external length : 000003
    FKART_RL : Invoice list type
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 014, Offset : 0220. external length : 000004
    ABLAD : Unloading Point
    internal data type : CHAR
    Internal length : 000025 characters
    Position in segment : 015, Offset : 0224. external length : 000025
    BSTZD : Purchase order number supplement
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 016, Offset : 0249. external length : 000004
    VSART : Shipping Conditions
    internal data type : CHAR
    Internal length : 000002 characters
    Position in segment : 017, Offset : 0253. external length : 000002
    VSART_BEZ : Description of the Shipping Type
    internal data type : CHAR
    Internal length : 000020 characters
    Position in segment : 018, Offset : 0255. external length : 000020
    RECIPNT_NO : Number of recipient (for control via the ALE model)
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 019, Offset : 0275. external length : 000010
    KZAZU : Order Combination Indicator
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 020, Offset : 0285. external length : 000001
    AUTLF : Complete delivery defined for each sales order?
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 021, Offset : 0286. external length : 000001
    AUGRU : Order reason (reason for the business transaction)
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 022, Offset : 0287. external length : 000003
    AUGRU_BEZ : Description
    internal data type : CHAR
    Internal length : 000040 characters
    Position in segment : 023, Offset : 0290. external length : 000040
    ABRVW : Usage Indicator
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 024, Offset : 0330. external length : 000003
    ABRVW_BEZ : Description
    internal data type : CHAR
    Internal length : 000020 characters
    Position in segment : 025, Offset : 0333. external length : 000020
    FKTYP : Billing category
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 026, Offset : 0353. external length : 000001
    LIFSK : Delivery block (document header)
    internal data type : CHAR
    Internal length : 000002 characters
    Position in segment : 027, Offset : 0354. external length : 000002
    LIFSK_BEZ : Description
    internal data type : CHAR
    Internal length : 000020 characters
    Position in segment : 028, Offset : 0356. external length : 000020
    EMPST : Receiving point
    internal data type : CHAR
    Internal length : 000025 characters
    Position in segment : 029, Offset : 0376. external length : 000025
    ABTNR : Department number
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 030, Offset : 0401. external length : 000004
    DELCO : Agreed delivery time
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 031, Offset : 0405. external length : 000003
    WKURS_M : Indirectly quoted exchange rate in an IDoc segment
    internal data type : CHAR
    Internal length : 000012 characters
    Position in segment : 032, Offset : 0408. external length : 000012
    E1EDK14 : IDoc: Document Header Organizational Data
    Segment definition E2EDK14 Released since Release 30A , Segment length: 0038
    QUALF : IDOC qualifer organization
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 001, Offset : 0063. external length : 000003
    ORGID : IDOC organization
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 002, Offset : 0066. external length : 000035
    E1EDK03 : IDoc: Document header date segment
    Segment definition E2EDK03 Released since Release 30A , Segment length: 0017
    IDDAT : Qualifier for IDOC date segment
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 001, Offset : 0063. external length : 000003
    DATUM : IDOC: Date
    internal data type : CHAR
    Internal length : 000008 characters
    Position in segment : 002, Offset : 0066. external length : 000008
    UZEIT : IDOC: Time
    internal data type : CHAR
    Internal length : 000006 characters
    Position in segment : 003, Offset : 0074. external length : 000006
    E1EDK04 : IDoc: Document header taxes
    Segment definition E2EDK04001 Released since Release 40B , Segment length: 0107
    MWSKZ : VAT indicator
    internal data type : CHAR
    Internal length : 000007 characters
    Position in segment : 001, Offset : 0063. external length : 000007
    MSATZ : VAT rate
    internal data type : CHAR
    Internal length : 000017 characters
    Position in segment : 002, Offset : 0070. external length : 000017
    MWSBT : Value added tax amount
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 003, Offset : 0087. external length : 000018
    TXJCD : Tax Jurisdiction
    internal data type : CHAR
    Internal length : 000015 characters
    Position in segment : 004, Offset : 0105. external length : 000015
    KTEXT : Text Field
    internal data type : CHAR
    Internal length : 000050 characters
    Position in segment : 005, Offset : 0120. external length : 000050
    E1EDK05 : IDoc: Document header conditions
    Segment definition E2EDK05001 Released since Release 40A , Segment length: 0185
    ALCKZ : Surcharge or discount indicator
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 001, Offset : 0063. external length : 000003
    KSCHL : Condition type (coded)
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 002, Offset : 0066. external length : 000004
    KOTXT : Condition text
    internal data type : CHAR
    Internal length : 000080 characters
    Position in segment : 003, Offset : 0070. external length : 000080
    BETRG : Fixed surcharge/discount on total gross
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 004, Offset : 0150. external length : 000018
    KPERC : Condition percentage rate
    internal data type : CHAR
    Internal length : 000008 characters
    Position in segment : 005, Offset : 0168. external length : 000008
    KRATE : Condition record per unit
    internal data type : CHAR
    Internal length : 000015 characters
    Position in segment : 006, Offset : 0176. external length : 000015
    UPRBS : Price unit
    internal data type : CHAR
    Internal length : 000009 characters
    Position in segment : 007, Offset : 0191. external length : 000009
    MEAUN : Unit of measurement
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 008, Offset : 0200. external length : 000003
    KOBTR : IDoc condition end amount
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 009, Offset : 0203. external length : 000018
    MWSKZ : VAT indicator
    internal data type : CHAR
    Internal length : 000007 characters
    Position in segment : 010, Offset : 0221. external length : 000007
    MSATZ : VAT rate
    internal data type : CHAR
    Internal length : 000017 characters
    Position in segment : 011, Offset : 0228. external length : 000017
    KOEIN : Currency
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 012, Offset : 0245. external length : 000003
    E1EDKA1 : IDoc: Document Header Partner Information
    Segment definition E2EDKA1003 Released since Release 45A , Segment length: 0995
    PARVW : Partner function (e.g. sold-to party, ship-to party, ...)
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 001, Offset : 0063. external length : 000003
    PARTN : Partner number
    internal data type : CHAR
    Internal length : 000017 characters
    Position in segment : 002, Offset : 0066. external length : 000017
    LIFNR : Vendor number at customer location
    internal data type : CHAR
    Internal length : 000017 characters
    Position in segment : 003, Offset : 0083. external length : 000017
    NAME1 : Name 1
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 004, Offset : 0100. external length : 000035
    NAME2 : Name 2
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 005, Offset : 0135. external length : 000035
    NAME3 : Name 3
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 006, Offset : 0170. external length : 000035
    NAME4 : Name 4
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 007, Offset : 0205. external length : 000035
    STRAS : Street and house number 1
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 008, Offset : 0240. external length : 000035
    STRS2 : Street and house number 2
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 009, Offset : 0275. external length : 000035
    PFACH : PO Box
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 010, Offset : 0310. external length : 000035
    ORT01 : City
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 011, Offset : 0345. external length : 000035
    COUNC : County code
    internal data type : CHAR
    Internal length : 000009 characters
    Position in segment : 012, Offset : 0380. external length : 000009
    PSTLZ : Postal code
    internal data type : CHAR
    Internal length : 000009 characters
    Position in segment : 013, Offset : 0389. external length : 000009
    PSTL2 : P.O. Box postal code
    internal data type : CHAR
    Internal length : 000009 characters
    Position in segment : 014, Offset : 0398. external length : 000009
    LAND1 : Country Key
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 015, Offset : 0407. external length : 000003
    ABLAD : Unloading Point
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 016, Offset : 0410. external length : 000035
    PERNR : Contact person's personnel number
    internal data type : CHAR
    Internal length : 000030 characters
    Position in segment : 017, Offset : 0445. external length : 000030
    PARNR : Contact person's number (not personnel number)
    internal data type : CHAR
    Internal length : 000030 characters
    Position in segment : 018, Offset : 0475. external length : 000030
    TELF1 : 1st telephone number of contact person
    internal data type : CHAR
    Internal length : 000025 characters
    Position in segment : 019, Offset : 0505. external length : 000025
    TELF2 : 2nd telephone number of contact person
    internal data type : CHAR
    Internal length : 000025 characters
    Position in segment : 020, Offset : 0530. external length : 000025
    TELBX : Telebox number
    internal data type : CHAR
    Internal length : 000025 characters
    Position in segment : 021, Offset : 0555. external length : 000025
    TELFX : Fax number
    internal data type : CHAR
    Internal length : 000025 characters
    Position in segment : 022, Offset : 0580. external length : 000025
    TELTX : Teletex number
    internal data type : CHAR
    Internal length : 000025 characters
    Position in segment : 023, Offset : 0605. external length : 000025
    TELX1 : Telex number
    internal data type : CHAR
    Internal length : 000025 characters
    Position in segment : 024, Offset : 0630. external length : 000025
    SPRAS : Language key
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 025, Offset : 0655. external length : 000001
    ANRED : Form of Address
    internal data type : CHAR
    Internal length : 000015 characters
    Position in segment : 026, Offset : 0656. external length : 000015
    ORT02 : District
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 027, Offset : 0671. external length : 000035
    HAUSN : House number
    internal data type : CHAR
    Internal length : 000006 characters
    Position in segment : 028, Offset : 0706. external length : 000006
    STOCK : Floor
    internal data type : CHAR
    Internal length : 000006 characters
    Position in segment : 029, Offset : 0712. external length : 000006
    REGIO : Region
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 030, Offset : 0718. external length : 000003
    PARGE : Partner's gender
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 031, Offset : 0721. external length : 000001
    ISOAL : Country ISO code
    internal data type : CHAR
    Internal length : 000002 characters
    Position in segment : 032, Offset : 0722. external length : 000002
    ISONU : Country ISO code
    internal data type : CHAR
    Internal length : 000002 characters
    Position in segment : 033, Offset : 0724. external length : 000002
    FCODE : Company key (France)
    internal data type : CHAR
    Internal length : 000020 characters
    Position in segment : 034, Offset : 0726. external length : 000020
    IHREZ : Your reference (Partner)
    internal data type : CHAR
    Internal length : 000030 characters
    Position in segment : 035, Offset : 0746. external length : 000030
    BNAME : IDoc user name
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 036, Offset : 0776. external length : 000035
    PAORG : IDOC organization code
    internal data type : CHAR
    Internal length : 000030 characters
    Position in segment : 037, Offset : 0811. external length : 000030
    ORGTX : IDoc organization code text
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 038, Offset : 0841. external length : 000035
    PAGRU : IDoc group code
    internal data type : CHAR
    Internal length : 000030 characters
    Position in segment : 039, Offset : 0876. external length : 000030
    KNREF : Customer description of partner (plant, storage location)
    internal data type : CHAR
    Internal length : 000030 characters
    Position in segment : 040, Offset : 0906. external length : 000030
    ILNNR : Character field, length 70
    internal data type : CHAR
    Internal length : 000070 characters
    Position in segment : 041, Offset : 0936. external length : 000070
    PFORT : PO Box city
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 042, Offset : 1006. external length : 000035
    SPRAS_ISO : Language according to ISO 639
    internal data type : CHAR
    Internal length : 000002 characters
    Position in segment : 043, Offset : 1041. external length : 000002
    TITLE : Title
    internal data type : CHAR
    Internal length : 000015 characters
    Position in segment : 044, Offset : 1043. external length : 000015
    E1EDKA3 : IDoc: Document Header Partner Information Additional Data
    Segment definition E2EDKA3 Released since Release 30D , Segment length: 0073
    QUALP : IDOC Partner identification (e.g.Dun&Bradstreet number)
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 001, Offset : 0063. external length : 000003
    STDPN : Character field, length 70
    internal data type : CHAR
    Internal length : 000070 characters
    Position in segment : 002, Offset : 0066. external length : 000070
    E1EDK02 : IDoc: Document header reference data
    Segment definition E2EDK02 Released since Release 30A , Segment length: 0058
    QUALF : IDOC qualifier reference document
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 001, Offset : 0063. external length : 000003
    BELNR : IDOC document number
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 002, Offset : 0066. external length : 000035
    POSNR : Item number
    internal data type : CHAR
    Internal length : 000006 characters
    Position in segment : 003, Offset : 0101. external length : 000006
    DATUM : IDOC: Date
    internal data type : CHAR
    Internal length : 000008 characters
    Position in segment : 004, Offset : 0107. external length : 000008
    UZEIT : IDOC: Time
    internal data type : CHAR
    Internal length : 000006 characters
    Position in segment : 005, Offset : 0115. external length : 000006
    E1EDK17 : IDoc: Document Header Terms of Delivery
    Segment definition E2EDK17 Released since Release 30A , Segment length: 0076
    QUALF : IDOC qualifier: Terms of delivery
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 001, Offset : 0063. external length : 000003
    LKOND : IDOC delivery condition code
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 002, Offset : 0066. external length : 000003
    LKTEXT : IDOC delivery condition text
    internal data type : CHAR
    Internal length : 000070 characters
    Position in segment : 003, Offset : 0069. external length : 000070
    E1EDK18 : IDoc: Document Header Terms of Payment
    Segment definition E2EDK18 Released since Release 30A , Segment length: 0089
    QUALF : IDOC qualifier: Terms of payment
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 001, Offset : 0063. external length : 000003
    TAGE : IDOC Number of days
    internal data type : CHAR
    Internal length : 000008 characters
    Position in segment : 002, Offset : 0066. external length : 000008
    PRZNT : IDOC percentage for terms of payment
    internal data type : CHAR
    Internal length : 000008 characters
    Position in segment : 003, Offset : 0074. external length : 000008
    ZTERM_TXT : Text line
    internal data type : CHAR
    Internal length : 000070 characters
    Position in segment : 004, Offset : 0082. external length : 000070
    E1EDK35 : IDoc: Document Header Additional Data
    Segment definition E2EDK35000 Released since Release 45A , Segment length: 0078
    QUALZ : Qualifier for IDoc additional data
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 001, Offset : 0063. external length : 000003
    CUSADD : Data Element Type CHAR Length 35
    internal data type : CHAR
    Internal length : 000035 characters
    Position in segment : 002, Offset : 0066. external length : 000035
    CUSADD_BEZ : Character field of length 40
    internal data type : CHAR
    Internal length : 000040 characters
    Position in segment : 003, Offset : 0101. external length : 000040
    E1EDK36 : IDOC: Doc.header payment cards
    Segment definition E2EDK36000 Released since Release 45A , Segment length: 0114
    CCINS : Payment cards: Card type
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 001, Offset : 0063. external length : 000004
    CCINS_BEZEI : Description
    internal data type : CHAR
    Internal length : 000020 characters
    Position in segment : 002, Offset : 0067. external length : 000020
    CCNUM : Payment cards: Card number
    internal data type : CHAR
    Internal length : 000025 characters
    Position in segment : 003, Offset : 0087. external length : 000025
    EXDATBI : IDOC: Date
    internal data type : CHAR
    Internal length : 000008 characters
    Position in segment : 004, Offset : 0112. external length : 000008
    CCNAME : Payment cards: Name of cardholder
    internal data type : CHAR
    Internal length : 000040 characters
    Position in segment : 005, Offset : 0120. external length : 000040
    FAKWR : Maximum amount
    internal data type : CURR
    Internal length : 000015 characters
    000002 decimal places, without sign
    Position in segment : 006, Offset : 0160. external length : 000017
    E1EDKT1 : IDoc: Document Header Text Identification
    Segment definition E2EDKT1002 Released since Release 45A , Segment length: 0089
    TDID : Text ID
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 001, Offset : 0063. external length : 000004
    TSSPRAS : Language Key
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 002, Offset : 0067. external length : 000003
    TSSPRAS_ISO : Language according to ISO 639
    internal data type : CHAR
    Internal length : 000002 characters
    Position in segment : 003, Offset : 0070. external length : 000002
    TDOBJECT : Texts: Application Object
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 004, Offset : 0072. external length : 000010
    TDOBNAME : Name
    internal data type : CHAR
    Internal length : 000070 characters
    Position in segment : 005, Offset : 0082. external length : 000070
    E1EDKT2 : IDoc: Document Header Texts
    Segment definition E2EDKT2001 Released since Release 40A , Segment length: 0072
    TDLINE : Text line
    internal data type : CHAR
    Internal length : 000070 characters
    Position in segment : 001, Offset : 0063. external length : 000070
    TDFORMAT : Tag column
    internal data type : CHAR
    Internal length : 000002 characters
    Position in segment : 002, Offset : 0133. external length : 000002
    E1EDP01 : IDoc: Document Item General Data
    Segment definition E2EDP01007 Released since Release 640 , Segment length: 0542
    POSEX : Item number
    internal data type : CHAR
    Internal length : 000006 characters
    Position in segment : 001, Offset : 0063. external length : 000006
    ACTION : Action code for the item
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 002, Offset : 0069. external length : 000003
    PSTYP : Item Category
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 003, Offset : 0072. external length : 000001
    KZABS : Flag: order acknowledgment required
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 004, Offset : 0073. external length : 000001
    MENGE : Quantity
    internal data type : CHAR
    Internal length : 000015 characters
    Position in segment : 005, Offset : 0074. external length : 000015
    MENEE : Unit of measure
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 006, Offset : 0089. external length : 000003
    BMNG2 : Quantity in price unit
    internal data type : CHAR
    Internal length : 000015 characters
    Position in segment : 007, Offset : 0092. external length : 000015
    PMENE : Price Unit of Measure
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 008, Offset : 0107. external length : 000003
    ABFTZ : Agreed cumulative quantity
    internal data type : CHAR
    Internal length : 000007 characters
    Position in segment : 009, Offset : 0110. external length : 000007
    VPREI : Price (net)
    internal data type : CHAR
    Internal length : 000015 characters
    Position in segment : 010, Offset : 0117. external length : 000015
    PEINH : Price unit
    internal data type : CHAR
    Internal length : 000009 characters
    Position in segment : 011, Offset : 0132. external length : 000009
    NETWR : Item value (net)
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 012, Offset : 0141. external length : 000018
    ANETW : Absolute net value of item
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 013, Offset : 0159. external length : 000018
    SKFBP : Amount qualifying for cash discount
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 014, Offset : 0177. external length : 000018
    NTGEW : Net weight
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 015, Offset : 0195. external length : 000018
    GEWEI : Weight unit
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 016, Offset : 0213. external length : 000003
    EINKZ : Flag: More than one schedule line for the item
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 017, Offset : 0216. external length : 000001
    CURCY : Currency
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 018, Offset : 0217. external length : 000003
    PREIS : Gross price
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 019, Offset : 0220. external length : 000018
    MATKL : IDOC material class
    internal data type : CHAR
    Internal length : 000009 characters
    Position in segment : 020, Offset : 0238. external length : 000009
    UEPOS : Higher-Level Item in BOM Structures
    internal data type : CHAR
    Internal length : 000006 characters
    Position in segment : 021, Offset : 0247. external length : 000006
    GRKOR : Delivery group (items delivered together)
    internal data type : CHAR
    Internal length : 000003 characters
    Position in segment : 022, Offset : 0253. external length : 000003
    EVERS : Shipping instructions
    internal data type : CHAR
    Internal length : 000007 characters
    Position in segment : 023, Offset : 0256. external length : 000007
    BPUMN : Denominator for Conv. of Order Price Unit into Order Unit
    internal data type : DEC
    Internal length : 000005 characters
    No decimal places, without sign
    Position in segment : 024, Offset : 0263. external length : 000006
    BPUMZ : Numerator for Conversion of Order Price Unit into Order Unit
    internal data type : DEC
    Internal length : 000005 characters
    No decimal places, without sign
    Position in segment : 025, Offset : 0269. external length : 000006
    ABGRU : Reason for rejection of quotations and sales orders
    internal data type : CHAR
    Internal length : 000002 characters
    Position in segment : 026, Offset : 0275. external length : 000002
    ABGRT : Description
    internal data type : CHAR
    Internal length : 000040 characters
    Position in segment : 027, Offset : 0277. external length : 000040
    ANTLF : Maximum number of partial deliveries allowed per item
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 028, Offset : 0317. external length : 000001
    FIXMG : Delivery date and quantity fixed
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 029, Offset : 0318. external length : 000001
    KZAZU : Order Combination Indicator
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 030, Offset : 0319. external length : 000001
    BRGEW : Total weight
    internal data type : CHAR
    Internal length : 000018 characters
    Position in segment : 031, Offset : 0320. external length : 000018

  • Negativ Amount to String convert

    hi all
    how can i convert a negative amount(example 94.34-) to string. It should after convert like that -94.34.
    i want give the amount out in excel, with DOI......
    I hope you know, what i mean.....
    thx very much
    kostonstyle

    There's no need to use ABS and check the value to determine whether or not to concantenate.  One option is to write the value to your character like field then use CLOI_PUT_SIGN_IN_FRONT to move the sign position - it works whether the value is positive or negative...

  • About variables in scripts

    what type of variables used in scripts to out put data

    Hi
    See the script symbols
    A variable in SAPscript is called a symbol. There are the following types.
    • System symbol (e.g. the number of the current page)
    • Standard symbol (usable in any document)
    • Program symbol (value from the print program)
    • Text symbol (“local variable”)
    The value of a symbol is text for using within SAPscript code and is represented by the symbol-name enclosed by ampersands. On seeing the tell-tale ampersands in SAPscript code, you sometimes need to figure out the symbol type.
    goto any PAGEWINDOW's Text elements in Script (SE71)
    from the Menu-> INSERT-> Symbols
    you find all symbols here
    System symbols
    System symbols in a SAPscript form are comparable to system fields like SY-UZEIT in an ABAP program, and include these. The graphical editor offers three types of system symbol.
    1. General system symbols
    See the table TTSXY. PAGE is the most widely used. The list given in our BC460 training manuals is out of date.
    2. SAPscript system symbols
    See the dictionary structure SAPSCRIPT. SAPSCRIPT-FORMPAGES is the most widely used.
    3. ABAP system symbols
    For the ABAP system field SY-UNAME, say, the symbol is SYST-UNAME. [SYST is the dictionary structure for ABAP system fields.]
    Sample code:
    User: &SYST-UNAME&
    Page &PAGE& of &SAPSCRIPT-FORMPAGES(C3)&
    Standard symbols
    Standard symbols are maintained centrally (in the table TTDTG via transaction SE75) for use in any document. Menu path:
    Tools
    Form Printout
    Administration
    Settings
    Some standard symbols are SAP-standard and others are custom. Curiously, table TTDTG is cross-client although SAPscript forms are not.
    The value of a standard symbol has to be defined for each language used. This gives a way to make a single SAPscript form multi-lingual.
    We can take advantage to an extent of the central maintenance, though there is no guarantee that the available standard symbols will used in every appropriate context.
    Standard symbols complicate searching a SAPscript form, since text like ‘Charity registration 211581’ may be hiding in a standard symbol.
    Text symbols
    A text symbol is declared and assigned to within the SAPscript code, and so obviously applies only to the current document. The command DEFINE is used, requiring /: in the tag column, as in the following examples.
    /: DEFINE &COMP_NAME& = ‘University of Warwick’
    /: DEFINE &WS_RATE& = &TAX_SUMM_C&
    SCRIPT COMMANDS
    ADDRESS : Formatting of Address
    BOTTOM, ENDBOTTOM : Define Footer text in a window
    BOX, POSITION, SIZE : Boxes, Lines and Shading
    CASE, ENDCASE : Case Distinction
    DEFINE : Value assignment to text symbols
    HEX, ENDHEX : Hexadecimal values
    IF, ENDIF : Conditional text output
    INCLUDE : Include other texts
    NEW-PAGE : Explicit forms feed
    NEW-WINDOW : Next window main
    PRINT-CONTROL : Insert print control character
    PROTECT...ENDPROTECT : Protect from page break
    RESET : Initialize outline paragraphs
    SET COUNTRY : Country-specific formating
    SET DATE MASK : Formating of date fields
    SET SIGN : Position of +/- sign
    SET TIME MASK : Formating of time fields
    STYLE : Change style
    SUMMING : Summing variables
    TOP : Set header text in window MAIN
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • SQ01 Query on VBRK billing docs

    Hi Experts
    I have a issue where we ran an customised query for the return billing documents the value for the return items is not showing the negative value in the report , Pls help me to know how does the Query report the billing values shows,
    Please advi

    is there ant report or query which gives the value of the retuned
        sales orders or and the cost with neagtive values
    As already Reazuddin pointed out, no report will show the value with sign positive or negative.  But in order to differentiate this, definitely, you should be having a different sale order types and billing types for normal sales and return sales.  So in that way, to check the returned sales value, go to SE16, key in VBRK and execute.  There input return billing type (credit memo) and execute.  Whatever value populates there can be treated as returns.  Else if you want to see the for how much value, return order is created, the same logic applies.  In SE16 table, key in VBAK and execute.  There give return sale order type and execute.  You will get the desired result.
    thanks
    G. Lakshmipathi

  • Timestamp fields format  in IDOC

    Hi,
    We have to create iDOCs to export data from our system to SAP R/3.
    Few of the iDOCS files contains Timestamp fieldsa as this one:
    CHECK_TIMESTAMP : RA: Time Stamp: Date/Time for Check-Out/Check-In (UTC)
    internal data type : DEC
    Internal length : 000015 characters
    No decimal places, without sign
    Position in segment : 004, Offset : 0100. external length : 000016
    I can not find any documentation about the timestamp format.
    I assumed the following: YYYYMMDDHHMMSS
    ... but this is 14 caracters and the field is 15 of length.
    Is my assumption is right or am I wrong?
    And ... is it documented?
    Thanks for help

    Yes, it's documented in the ABAP help files.  There's a short form and a long form.  See the help files for GET TIME STAMP or CONVERT TIME STAMP.

  • 3PR Postings

    hey folks,
    I am configuring third party remittance and i need some help to balancing the accounts.
    can somebody guide me how, where to balance and whts the config required at Payroll side....where  the amount goes ...
    why do we need technical account.
    any help is appreciated.
    aman

    If the third party remittance is a simple deduction(other than statutory i.e PF)
    option 1. if third party goes to vendor
    then you can create a symbolic account with  K and assign it to wage type with sign + positive amount in debit and negative amount in credit in table V_T52EZ.
    Then go to  activities in AC system assign vendor accounts and assign this symbolic account to Vendor.
    option 2. if it is not vendor
    assign this wage type to a symbolic account F, and assign it to a waqge type with sign + positive amount in debit and negative amount in credit in table V_T52EZ.
    Then in AC system assign Balance sheet Account assign this symbolic ac to balance sheet ac

  • 3.1EA3 Can not create first connection on a virginal installation.

    To test a clean installation I
    1) unzipped the download package (sqldeveloper-3.1.06.82.zip of 203Mb, so including the JDK) in a separate folder
    2) removed folders "SQL Developer" and "Oracle SQL developer Data Modeler" from my C:\Documents and Settings\<username>\Application Data\
    On the first startup there is (as expected) no proposal to migrate any settings.
    Opening "New" (by either using the button, ctrl+N or menu File/New) opens the "Create a new" dialog.
    There I select the first item: "Database connection" and click OK.
    The "New Gallery" window opens.
    When either selecting "Database Tier" or "General/Connections" in the tree, the option "Database Connection" is available. It describes how it should "Opens the Create Database Connection dialog". But when I click OK, nothing happens (apart from breefly changing my mouse cursor)... :-(
    On the other hand an other option (Subversion Repository Connection) works fine: selecting it and then clicking OK yields a "Create Subversion Connection" dialog as expected.
    After restarting SQL Developer the same behaviour remains (also see PS below)
    By now I also tried the "All Items" option in the "New Gallery" tree. This lists two kinds of database connections:
    Database Connection (Database Tier)
    Database Connection (Connections)
    When I try the first option (Tier) I again get no dialog.
    When I try the first option (Connections) I also get no dialog.
    In short I can't make any connections.
    Some more info.
    By mistake, i just started up my 3.0 version, but before restoring my C:\Documents and Settings\<username>\Application Data\ folders.
    After having dismissed the migrate dialog (I suppose it saw the files created by the 3.1), the screen looked different from the 3.1 in an important way:
    The 3.0 has the gray screen with the slanted list of buttons on the right, but on the left it also has the treeview (showing an empty list of connections).
    The 3.1 version has the same grey window, but that is all: there is no treeview on the left...
    PS.
    When opening SQL Developer the second time, the following error appeared in the logging page, but I concidder this to be irrelevant (since I don't use TimesTen)
    SEVERE     86     0          Failed to create addin oracle.dbtools.raptor.timesten.TTAddin
    On a third invocation this error did not appear again (the logging page was still open, but empty).
    Edited by: JVdB on 5-jan-2012 1:08 Added the part about the difference between 3.0 and 3.1: the lack of the treeview window on startup

    Well, I (still) can't find any of those "Quite some threads" :-)
    Anyway.
    I'm running on windows XP SP3 (yes...)
    The windows is English, the regional settings used are
    Standards and formats: English (United Kingdom)
    Customize regional options:
    Numbers-tab
    - Decimal symbol: . (dot)
    - Digits after decimal: 2
    - Digit grouping symbol: <null>
    - Negative symbol: -
    - Negative number format -1.1
    - Display leading zeros: 0.7
    - List separator: . (dot)
    - Measurement system: Metric
    Currency-tab
    - Currency symbol € (euro sign)
    - Positive currency format: €1.1
    - Negative: -€1.1
    - Decimal: . (dot)
    - Digits: 2
    - digit grouping symbol: . (dot)
    - digit grouping: 123.456.789
    Time-tab:
    - Time format: h:mm:ss tt
    - Time separator: : (colon)
    - AM: AM
    - PM: PM
    Date-tab:
    - Two digit year: 1930 - 2029
    - Short date format: dd/MM/yyyy
    - Date separator: /
    - Long date format: dd MMMM yyyy
    Location: Belgium
    I added the proposed line in ...\sqldeveloper\bin\sqldeveloper.conf on a line between the existing lines
    AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
    and
    IncludeConfFile sqldeveloper-nondebug.conf
    This has not helped.
    I also tried with "UK" instead of "US", but still no luck...
    Thanks for your help.
    Edited by: JVdB on 9-jan-2012 6:40: added the results of adding the extra option in the .conf file.

  • Exchange Rates in Idoc

    Hi Experts,
    I am new to Idoc...I want a see a prototype of Exchange Rate from SAP 4.7 to ECC 6.0.
    Please do the needful..
    Regards
    Ram Ganji

    Structure of basic type EXCHANGE_RATE01
    Replication of Currency Rates
    E1EXCHANGE_RATE : Header Segment
    Status: Optional , min. number : 1 , max. number : 1
    Structure
    E1BP1093_0 : BAPI exchange rate table
    Status: Optional , min. number : 1 , max. number : 999999999
    Structure
    Segment structures
    E1EXCHANGE_RATE : Header Segment
    Segment definition E2EXCHANGE_RATE000 Released since Release 45A , Segment length: 0015
    LOG_SYSTEM : Logical system
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 001, Offset : 0063. external length : 000010
    UPD_ALLOW : Checkbox
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 002, Offset : 0073. external length : 000001
    CHG_FIXED : Changes Allowed for Fixed Exchange Rates?
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 003, Offset : 0074. external length : 000001
    DEV_ALLOW : Percentage Variance
    internal data type : NUMC
    Internal length : 000003 characters
    Position in segment : 004, Offset : 0075. external length : 000003
    E1BP1093_0 : BAPI exchange rate table
    Segment definition E2BP1093_0001 Released since Release 46A , Segment length: 0084
    RATE_TYPE : Exchange Rate Type
    internal data type : CHAR
    Internal length : 000004 characters
    Position in segment : 001, Offset : 0063. external length : 000004
    FROM_CURR : From currency
    internal data type : CUKY
    Internal length : 000005 characters
    Position in segment : 002, Offset : 0067. external length : 000005
    TO_CURRNCY : To-currency
    internal data type : CUKY
    Internal length : 000005 characters
    Position in segment : 003, Offset : 0072. external length : 000005
    VALID_FROM : Date from Which Entry Is Valid
    internal data type : DATS
    Internal length : 000008 characters
    Position in segment : 004, Offset : 0077. external length : 000008
    EXCH_RATE : Direct Quoted Exchange Rate
    internal data type : DEC
    Internal length : 000009 characters
    000005 decimal places, without sign
    Position in segment : 005, Offset : 0085. external length : 000011
    FROM_FACTOR : Ratio for the "From" Currency Units
    internal data type : DEC
    Internal length : 000009 characters
    No decimal places, without sign
    Position in segment : 006, Offset : 0096. external length : 000010
    TO_FACTOR : Ratio for the "To" Currency Units
    internal data type : DEC
    Internal length : 000009 characters
    No decimal places, without sign
    Position in segment : 007, Offset : 0106. external length : 000010
    EXCH_RATE_V : Indirect Quoted Exchange Rate
    internal data type : DEC
    Internal length : 000009 characters
    000005 decimal places, without sign
    Position in segment : 008, Offset : 0116. external length : 000011
    FROM_FACTOR_V : Ratio for the "From" Currency Units
    internal data type : DEC
    Internal length : 000009 characters
    No decimal places, without sign
    Position in segment : 009, Offset : 0127. external length : 000010
    TO_FACTOR_V : Ratio for the "To" Currency Units
    internal data type : DEC
    Internal length : 000009 characters
    No decimal places, without sign
    Position in segment : 010, Offset : 0137. external length : 000010
    Info...
    Automatically generated HTML doc.
    created on 31.07.2009 at 10:04:24
    Client 800
    System I01
    Release 700
    Lang. E
    Transaction WE60
    Display for Release 700
    Version 3 of IDoc record types : IDoc record types for SAP Release 4.0

Maybe you are looking for