Order by Fields and Values

Hello All,
I am not having any success with populating data a certain way an end-user requests. I am not sure that this is possible to populate from end-users specs.
Every Department_Division group should also have the Section_Head = 'Y', which is Descending populate first. Only one Section_Head = 'Y' will exists for each Department_Division. But if it does not exists. Next the Classification_Type values should populate in this order 'EL', 'UNC' then 'CL'. The 'CL' value should not display. Here is my select statement below.
select
pk_allotment_id,
fk_department_group_descr || '/' || fk_department_descr as Department_Division,
FK_DEPARTMENT_ID as Acount_No,
FUND_NUMBER as Fund,
FK_JOBCODE_ID as Class_Code,
fk_jobcode_descr|| ' '||nvl2(term,'('||term||')',null) as Title,
number_of_positions as Number_of_Positions,
(CASE classification_type
     WHEN 'CL' THEN ''
     WHEN 'EL' THEN '(ELECTED)' 
     WHEN 'UNC' THEN '(UNCLASSIFIED)'
     END) as Classification_Type,
SECTION_HEAD as Section_Head,
FUND_TYPE as Fund_Type
from TBL_ALLOTMENT
where fund_type = 'SP'
and isdeleted <> 'Y'
order by department_division asc, title asc, section_head desc, DECODE(classification_type, '(ELECTED)', '(UNCLASSIFIED)', '') ASCAny help is appreciated and thanks for reading. Here is an example of how the data should populate.
Pk Allotment Id Department Division                                 Account No Fund Class Code Class Title                             Number Of Positions Classification Type Section Head Fund Type
287 ANIMAL CONTROL CENTER/ANIMAL CONTROL CENTER 800004 014 550920 CITY JUDGE 10 EL N SP
286 ANIMAL CONTROL CENTER/ANIMAL CONTROL CENTER 800004 242 100133 FINANCIAL ANALYST 25 CL N SP
285 ANIMAL CONTROL CENTER/ANIMAL CONTROL CENTER 800004 012 113105 STOCK CLERK I 25 CL N SP
264 CITY COURT/CITY COURT VOLUNTEERS IN THE COURT 2046010 011 500005 MAYOR-PRESIDENT 25 EL Y SP
272 CITY COURT/CITY COURT VOLUNTEERS IN THE COURT 2046010 014 300015 SECRETARY TO THE ASST CAO'S 5 UNC N SP
260 CITY COURT/CITY COURT VOLUNTEERS IN THE COURT 2046010 014 105450 DETENTION FACILITY MANAGER 5 CL N SP
262 CITY COURT/CITY COURT VOLUNTEERS IN THE COURT 2046010 014 105310 HOUSING PROGRAM SPECIALIST 10 CL N SP
261 CITY COURT/CITY COURT VOLUNTEERS IN THE COURT 2046010 015 108755 TRAINING SPECIALIST 5 CL N SP
265 COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT 6114586 011 550908 WARD CONSTABLE (2010-2012) 20 EL Y SP
266 COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT 6114586 011 550920 CITY JUDGE 10 EL N SP
273 COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT 6114586 014 550920 CITY 10 EL N SP
271 COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT 6114586 014 350048 ASSISTANT EMS ADMINISTRATOR (2012-2014) 5         UNC N SP
274 COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT 6114586 014 320198 ATTORNEY B *(12) PART TIME 5                         UNC  N SP
270 COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT 6114586 014 320180 ATTORNEY I (30-40HOURS) 20 UNC N SP
268 COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT 6114586 012 310065 COMMUNITY OUTREACH COORDINATOR 5                         UNC N SP
269 COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT 6114586 011 300092 DEPUTY CORONER 2 UNC N SP
275 COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT 6114586 014 184116 ANIMAL CONTROL OFFICER I 5 CL N SP
276 COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT 6114586 012 114235 CRIME SPECIALIST  10 CL N SP
277 COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT 6114586 011 120103 LPN (40 HRS./WK.) 5 CL N SP
263 OFFICE OF THE MAYOR-PRESIDENT/MP-COMM CENTERS-LEO S BUTLER COMM CENTER 4070206 021 101570 ASSISTANT URBAN DEVELOPMENT DIRECTOR   10 CL N SPIf this does not display correct I can email text file and sample data.
Edited by: Charles A on Aug 25, 2010 9:02 AM

Here are the results that were populated Warren. I have commented out a few fields so the data can be a little more viewable.
select --pk_allotment_id,
       fk_department_group_descr || '/' || fk_department_descr as Department_Division,
       --FK_DEPARTMENT_ID as Acount_No,
       --FUND_NUMBER as Fund,
       --FK_JOBCODE_ID as Class_Code,
       fk_jobcode_descr|| ' '||nvl2(term,'('||term||')',null) as Title,
       --number_of_positions as Number_of_Positions,
       (CASE classification_type WHEN 'CL' THEN ''
                                 WHEN 'EL' THEN '(ELECTED)' 
                                 WHEN 'UNC' THEN '(UNCLASSIFIED)'
        END) as Classification_Type,
       SECTION_HEAD as Section_Head
       --FUND_TYPE as Fund_Type
  from TBL_ALLOTMENT
where fund_type = 'SP'
   and isdeleted <> 'Y'
order by department_division asc;
         --title asc,
         --section_head desc,
         --DECODE(classification_type, '(ELECTED)', '(UNCLASSIFIED)', '') ASC,
         decode(SECTION_HEAD,'Y',1,decode(classification_type,'EL',2,'UNC'3','CL',4,5)) asc;
ANIMAL CONTROL CENTER/ANIMAL CONTROL CENTER                                     CITY JUDGE                                                  (ELECTED)     N
ANIMAL CONTROL CENTER/ANIMAL CONTROL CENTER                                     STOCK CLERK I                                                           N
ANIMAL CONTROL CENTER/ANIMAL CONTROL CENTER                                     FINANCIAL ANALYST (2010-2012)                                          N
CITY COURT/CITY COURT VOLUNTEERS IN THE COURT                                     DETENTION FACILITY MANAGER                                           N
CITY COURT/CITY COURT VOLUNTEERS IN THE COURT                                     SECRETARY TO THE ASST CAO'S (2010-2012)            (UNCLASSIFIED) N
CITY COURT/CITY COURT VOLUNTEERS IN THE COURT                                     HOUSING PROGRAM SPECIALIST                                           N
CITY COURT/CITY COURT VOLUNTEERS IN THE COURT                                     MAYOR-PRESIDENT                                                   (ELECTED)     Y
CITY COURT/CITY COURT VOLUNTEERS IN THE COURT                                     TRAINING SPECIALIST                                           N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     LPN (40 HRS./WK.)                                                           N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     CITY JUDGE                                                   (ELECTED)     N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     WARD CONSTABLE (2010-2012)                                  (ELECTED)     Y
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     CRIME SPECIALIST                                                           N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     ATTORNEY B *(12) PART TIME                                   (UNCLASSIFIED) N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     ASSISTANT EMS ADMINISTRATOR (2012-2014)           (UNCLASSIFIED) N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     ATTORNEY I (30-40HOURS)                                   (UNCLASSIFIED) N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     DEPUTY CORONER                                                   (UNCLASSIFIED) N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     COMMUNITY OUTREACH COORDINATOR                   (UNCLASSIFIED) N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     ANIMAL CONTROL OFFICER I                                                N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     CITY JUDGE                                                    (ELECTED)     N
OFFICE OF THE MAYOR-PRESIDENT/MP-COMM CENTERS-LEO S BUTLER COMM CENTER     ASSISTANT URBAN DEVELOPMENT DIRECTOR      NHere is how I would like the results to populate if possible.
ANIMAL CONTROL CENTER/ANIMAL CONTROL CENTER                                     CITY JUDGE                                                  (ELECTED)     N
ANIMAL CONTROL CENTER/ANIMAL CONTROL CENTER                                     FINANCIAL ANALYST (2010-2012)                                          N
ANIMAL CONTROL CENTER/ANIMAL CONTROL CENTER                                     STOCK CLERK I                                                           N
CITY COURT/CITY COURT VOLUNTEERS IN THE COURT                                     MAYOR-PRESIDENT                                                   (ELECTED)     Y
CITY COURT/CITY COURT VOLUNTEERS IN THE COURT                                     SECRETARY TO THE ASST CAO'S (2010-2012)            (UNCLASSIFIED) N
CITY COURT/CITY COURT VOLUNTEERS IN THE COURT                                     DETENTION FACILITY MANAGER                                           N
CITY COURT/CITY COURT VOLUNTEERS IN THE COURT                                     HOUSING PROGRAM SPECIALIST                                           N
CITY COURT/CITY COURT VOLUNTEERS IN THE COURT                                     TRAINING SPECIALIST                                           N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     WARD CONSTABLE (2010-2012)                                  (ELECTED)     Y
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     CITY JUDGE                                                   (ELECTED)     N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     CITY JUDGE                                                   (ELECTED)     N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     ASSISTANT EMS ADMINISTRATOR (2012-2014)           (UNCLASSIFIED) N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     ATTORNEY B *(12) PART TIME                                   (UNCLASSIFIED) N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     ATTORNEY I (30-40HOURS)                                   (UNCLASSIFIED) N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     COMMUNITY OUTREACH COORDINATOR                   (UNCLASSIFIED) N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     DEPUTY CORONER                                                   (UNCLASSIFIED) N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     ANIMAL CONTROL OFFICER I                                           N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     CRIME SPECIALIST                                                           N
COMMUNITY DEVELOPMENT/COMMUNITY AND ECONOMIC DEVELOPMENT     LPN (40 HRS./WK.)                                                           N
OFFICE OF THE MAYOR-PRESIDENT/MP-COMM CENTERS-LEO S BUTLER COMM CENTER     ASSISTANT URBAN DEVELOPMENT DIRECTOR      N

Similar Messages

  • List of rejected sales order with quantity and value

    Hi,
    Is it possible to get the report from VA05 for the list of rejected items with value and quantity ?
    Pls help
    Thanks,
    Vijesh

    Dear Vijesh,
    VA05 I believe is a very powerful report for doing analysis at order and line item level. If your rejection criterion includes a rejection reason at line item level, yes this list from VA05 can give rejected Sales Orders with Quantity and Value.  See the screen shot below.
    I selected a list with open dates till date, I can see Sales Order number, Sales Document Type, Item Number, Material, Rejection reason, Quantity at line item level and net price.
    However, I am not sure what is the rejection criterion you use in your business and I am not sure if you use rejection reason and hence I would like to hear from you, if this explanation helps you.
    Thanks
    Nagaraj

  • Security tables to find T-code, object, field and value combination..

    Hello,
    I have requirement where I have to scan a role in SAP which has certain combination
    of T-Code, Object, Field and value.
    For example:
    I need to find all roles in SAP which has following combination of T-Code, Object, Field and Value:
    T-CODE..........  Object...............Field......Value
    F-02...........F_BKPF_BUK......... ACTVT.......01
    What are the tables on which I can write query to fetch these kind of details ?
    Thanks.
    Regards,
    Rajesh.

    Hello,
    Please see this: [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e944e133-0b01-0010-caa2-be2cb240f657].
    Hope this helps.
    Regards.

  • What is the field and Table for "Batch Class" and "Class Type" in QM.

    Hi All,
    What is the field and Table for "Batch Class" and "Class Type" in QM.
    Thanks,

    Hi,
      For batch class the class type value is '023' . This you can find from KLAH table and the fileld for class type is KLART..
    And also all the data related to batch class are found in tables INOB, KLAH,KKSK and for the characeteristics of batch materials you can refer AUSP table.
    In INOB table, for batch class, you need to give 023 in KLART field and  value MCH1 in OBTAB filed.
    Please check this and let me know if this you need any more details?

  • Purchase Order released date field and table name

    Hi,
    Please tell me the  Purchase Order released date field and table name.
    Regards
    Deepak

    Hi,
    Table : EKKO.
    Fields : FRGKE,FRGZU.
    You can get release date of PO from CDHDR  table.
    give object value as your po number and check.dont forget to give leading zeros.
    The udate will be date field and transaction will be me29n for relaesed po.

  • How do I change the value of the Order By field in an MP3 file?

    good day Guys,
    I'm new here in the forum and I have a question that is "breaking" the order of my songs and my head too ...
    How do I change the value of the Order By field in an MP3 file?
    for example, in the photo below, the song "The Bad Touch" is coming BEFORE the song "A Little Respect", this happens because of the Name field to Order ...
    My "problem" is in the photo below, the "tab" Order, iTunes will not let me erase what is written in the "Sort As" ...
    I've been "collecting" several songs over SEVERAL years
    I'm currently with more than 1,500 songs on HD and several backups on DVDs and external hard drives and I think, download it again, will be a "little" laborious and boring
    I DON'T WANT to be filling the tags of songs (name, singer, CD, year, etc.)
    I have used the program Mp3tag to remove the music tags
    I've tried to download the song again and go through Mp3tag program as if it were a new song
    I've changed the music access permissions, folder and even entire hard drive (my Windows has only one user)
    I've tried to catch the song again, from a previous backup
    I've tried to create a copy of the file at iTunes own
    I've tried to create a new music file in a music recording program
    NOTHING of what I did above resolved
    -> I'm using Windows 7 64-bit Ultimate
    -> I'm using iTunes 12.1.1.4 for 64-bit Windows
    -> My iPad is the third generation (a little old, I know) with Wi-Fi and 3G, but it has served me VERY WELL
    -> The iPad is updated with iOS 8.1.3 and is not unlocked
    I'm sorry for the GIANT post, but well, I think I could explain as much as possible and for my English, too bad, by the way, I'm from Brazil and I'm using Google translator
    Hugs and await answers,
    Paulo Ricardo

    hello turingtest2,
    my language is Brazilian Portuguese (there are some little differences between Brazilian Portuguese and the Portuguese of Portugal, but nothing that interferes with the script)
    at this time, I'm managing songs manually, I don't know if this will interfere with the execution of a script or command
    as I picked up this iPad recently, I still don't understand how to set up the iTunes Music Library and the person who gave me, told me it was easier to put the songs manually
    as you said, in my iTunes, 95% of the songs are with ALL the blank fields, including the Name to Sort field, only songs that begin with a/an/the standing with the Name to Sort field filled with name of the song, without the a/the
    I do not know what to do...
    I want to learn to ride the iTunes Music Library, that my work is less
    you know any site that teaches create/manage my iTunes Music Library?
    this site/forum may be in English, no problem
    thanks for all your help and the help of others who responded to my request

  • How to create multi axis graph with 2 on change of fields and 2 values

    Hi all,
    i am working for a Semi conductor company and I have been madated to evaluate Crystal report 2008 in order to include it in our legacy software.
    So I have tested the soft and it seems to fit to our need.
    But I have a question...
    Here is a scenario i want to create in crystal but I have an error message..
    Can you please tell me if twant I want to achieve is feasisible...and if so how ?
    Thank you
    I would like to create a percent bar chart that contains 2 on change of fields and 2 show values.
    The idea behind in then to have a mutli axis chart in order to print as a line the second values.
    So the first values will be my bar chart in percentage and the second value will be a sum.
    Hope my description is cleat...
    Thank's in advance for your support...
    Have a good day

    There are different ways to achieve that. The simplest i could recall is to have 2 different charts, 1st bar chart and 2nd a line chart, lay one over the other and enable the transparency on the chart which on Top ( say Line ). also, crystal will allow you to control axes etc and make them transparent..

  • COR1 create process order change field value when save(PPCO0001)

    Dears
    When tcode: COR1 create process order, i want to change some fields value on the tab: "Goods Recpt", for example the field: Goods Recipient:                     , anyone konws how to do this? now i am trying to using the exit: PPCO0001( EXIT_SAPLCOBT_001)
    in thie eixt tables POSITION_TABLE : has this field: WEMPF (Goods Recipient) , i add some coding to change this field and save , but the change is not affect on the order . that is when open the order just create , this field is still empty.
    do i need some other process or call some other functions or some other exit to do this?
    thanks a lot for your posting.
    Edited by: Jackyguoguo on Mar 11, 2010 3:51 AM
    Edited by: Jackyguoguo on Mar 11, 2010 4:21 AM

    1. Use BADI: WORKORDER_UPDATE--> Method: BEFORE_UPDATE
    2. Use ASSIGN "(SAPLCOBT)AFPO_BT[]" statement to access and modify the desired fields.
    Regards,
    Suraj

  • Extending sales order change BAPI and updating custom fields

    Hi
    i added 3 new fields into VA01/02/03 screen.i added at the header level in the additional data tab B area and appended them in VBAK table.
    i want to change these values using sales order change BAPI.i added the fields in the structure VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX.
    may i know what else i need to do?should i move them anywhere with in the code or does the bapi take those values automatically using EXTENSIONIN structure?
    also can some one send me code to actually check if bapi is changing my values?
    if poss tell me how should i populate values into BAPI.

    After adding field in structures VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX, create pair of name-value pair extensiot structure and value.
    Fill values as follows :
    Data :   ls_parex  TYPE  bapiparex,
                lt_parex  TYPE STANDARD TABLE OF  bapiparex.
    ls_parex-structure = 'BAPE_VBAK'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(XX) = somevalue.  <---- Value for custom field no 1
    ls_parex-valuepart1+XX(XX) = somevalue.  <---- Value for custom field no 2
    APPEND ls_parex TO lt_parex  .
    clear ls_parex.
    ls_parex-structure = 'BAPE_VBAKX'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(1) = 'X'. <--- checkbox mark for custom field no 1
    ls_parex-valuepart1+11(1) = 'X'. <--- checkbox mark for custom field no 2
    APPEND ls_parex TO lt_parex.
    Same pair for VBAKKOZ & VBAKKOZX
    Updating custom fields
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument    = Sales order number
          order_header_inx = 'U'   <--- U for update
        TABLES
          extensionin      = lt_parex[].
    Edited by: nkarwa on Oct 25, 2010 12:39 PM

  • Ordering of formula and summary fields - Reports6i

    Hello,
    I want to know if it is possible to make certain order of field (XML tags) in XML.
    If I have ordinary field that I get from SQL I can put it in the place that I want it to be and position in xml is OK, but when I put formula or summary field on certain place in xml file it is always on last place.
    For example:
    I have sql with 3 fields (one, two, three) and two formula fields (fo1, fo2). In report they are in this order:
    1. one
    2. fo1
    3. two
    4. fo2
    5. three
    but in xml file I get this order:
    <body>
    <edp:bodyContent>
    </one>
    </two>
    </three>
    </fo1>
    </fo2>
    </edp:bodyContent>
    </body>
    and I wish to have this order in xml:
    <body>
    <edp:bodyContent>
    </one>
    </fo1>
    </two>
    </fo2>
    </three>
    </edp:bodyContent>
    </body>
    Is this possible and if so how?
    Thanks for your help

    Finally, I got the fix.
    Here is what I did: Instead of the format mask '000' or '099' or '0nn' I used '000Y'
    adding a Y supresses the extra space that is reserved for + or - sign. And supression need to be added at the end like I showed, not like 'Y000'.
    Now my data looks like this, which is what I wanted:
    04/23/20120020123.451234.5610/24/2008
    If you look close, there are no spaces now as compard to my previous data line.
    Thank you all both for spending some time and giving me pointers.

  • Storage Location Wise Stock Value field and Table

    Hi ,
    Please let me know the storage location wise stock value field and table.
    Regards
    Suresh

    Hi Suresh,
    As per my understanding it is not possible in a single Table.
    If this is required for customized Z report then use this logic it may gives the correct information.
    In the combination of MARD and MBEW.. From MBEW you can get the value for each Base Unit of Measure then multiply that value with storage location stock.
    It may usefull to u..in the mean time i will try for some other option.
    Please revert if u have any query.
    Regards
    Durga Sana

  • Excise rate and value is not getting defaulted from the purchase order

    Hi all,
    While capturing excise invoice , the excise rate and value is not getting defaulted from the purchase order and in Excise Item Tab BED,AED,ECS is Zero at both header as well as item level for only one material in STO process and if we are doing same process taking other material all things are coming perfectly and We are maintaining condition with respect to vendor,plant and material combination.Any input related to this will be helpfull and rewarded.
    Regards
    Vishal

    Hi,
    Follow STO Process for this;
    1.Create a vendor for the company code of receiving plant, using account group: 0007 using T-Code XK01.
    2. Assign this vendor to Delivering plant
    Go to XK02 >Purchasing view>Extras>Add. Purchasing data>Plant
    3. Create internal customer with the sales area of the vendor. Go To XD01
    4. In pricing procedure determination relevant to STO, assign document Pricing Procedure and customer pricing procedure appropriate for STO to get the pricing in the invoice.
    5. Maintain condition records for the relevant pricing condition.
    6. Some more setting for STO: Go to MM> Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Receiving plant >assign customer here & Supplying SA (for billing) to Receiving plant here
    7. Go to MM > Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Supplying plant and assign the sales area of receiving plant.
    8. Go to MM > Purchasing > Purchase Order > Set up STO > assign delivery Type & Checking rule
    Assign the delivery type to document type. In this case, Delivery type NLCC is assigned to Document type NB
    9. Go to MM> Purchasing > Purchase Order > Set up STO > Assign document Type, One step Procedure, Under delivery tolerance
    Assign the document type NB to supplying plant and receiving plant
    10. After all settings, Create the STO using T-Code: ME21N and maintain pricing conditions of freight and Save.
    11. In supplying plant Maintain condition record in sales using VK11 the same will flow in receiving plant when referring the OBD no during MIGO.
    10. Create Delivery: VL10G
    12. Picking, PGI: VL02N
    13. Billing: VF01
    Save the document and its done
    14. J1IIN - Outgoing Excise Invoice
    15. MIGO - Goods Receipt against outbound Delivery
    16. J1IEX - Capture & Post Excise Invoice
    Rgs

  • How to add three fields in Sales order item level and supress/hide many

    Hi Gurus,
    My client requirement is :
    1. Three fields to be added at Sales order Item level and they should flow till billing.
    2. Supress/hide most of the fields in Sales order, so that end user will be happy( thru SHDO how to do)
    Please share your experiences and help me.
    BEST REGARDS
    Srikanth

    Hi Subba Rao
    in VA01 screen - Material /qty/ after entering this client wants to enter three more details say X/Y/Z
    and after that he dont want to see maximum fields displayed in VA01 Screen.
    I think it makes sense.
    Regards
    Srikanth

  • How to get field and variable value in oracle

    Hi all,
    I'm finding very difficulty to get a field value.. In oracle 11i form there is a field name called total accured and it has value 519.. but i'm not able get this .i search in all tables so iwent to help--> tools-->examine--(diagnostic)-->
    i get Block :'XYZ' field: "Balance" and value:'519' and search in table shown in help.
    Please can anyone help me to get this field and it's value. it is in HRMS.
    Thank You

    It may be a derived / calculated field, which is why you might not be finding it in a table.
    For information on the last query run (may give a clue) do help -> examine, then change block to "SYSTEM" and Field to "LAST_QUERY".
    Also, Help -> Record History will show you the table or view that the data comes from. May also lead to a clue.And this is what is mentioned in the doc referenced above.
    Thanks,
    Hussein

  • Flat file should have source field name and value

    Hi Friends
    I have a scenario of Idoc to Flat file , where in the target structure the field name and value should be present, generally only the value is available in a flat file.The target structure is as below:
    for e.g RECTYPE is the Field Name and A is the value.
    RECTYPE,A
    DATEH,20111101
    TIMEH,173125
    RECTYPE,B
    ORDNUM,4500054536
    ORDITM,150
    SUPDAT,20090218
    PLNQTY,000000006
    MATNR,14B300
    BATCH,5697
    PLANT,3026
    DELIVTYPE,PO
    SUPPLIER,0000023305
    SUPNAME,Deutsche BP AG
    SUPADRS,Erkelenzer Strasse 20
    SUPCITY,Monchengladbach
    SUPPOST,41179
    SUPCOUN,DE
    TRUCK_NBR,7589
    BOND_FLG,X
    STG_LOC,PLCL
    LINE_ACTION,CRE
    RECTYPE,B
    ORDNUM,4500056721
    ORDITM,10
    SUPDAT,20090218
    PLNQTY,000000013
    MATNR,116703
    BATCH,6589
    PLANT,3026
    DELIVTYPE,PO
    SUPPLIER,0000023380
    SUPNAME,DOW Belgium NV
    SUPADRS,Havenlaan 7
    SUPCITY,Tessenderlo
    SUPPOST,3980
    SUPCOUN,BE
    TRUCK_NBR,7589
    BOND_FLG,X
    STG_LOC,PLCL
    LINE_ACTION,CHG
    RECTYPE,X
    DATEH,20111101
    TIMEH,173125
    RECORDS,3

    Hi,
         NameA.addHeaderLine
    Specify whether the text file will have a header line with column names. The following values are permitted:
    ■       0 u2013 No header line
    ■       1 u2013 Header line with column names from the XML document
    ■       2 u2013 As for 1, followed by a blank line
    ■       3 u2013 Header line is stored as NameA.headerLine in the configuration and is applied
    ■       4 u2013 As for 3, followed by a blank line
    This specification is only permitted if exactly one structure is defined.
    regards,
    ganesh.

Maybe you are looking for