FIELDS -----very urgent

Hi all,
i am searching for some fields of tables after PGI.i am developing a report to show all the data after PGI.it includes SO & PO data as well.
so i need some fields.those are
1)payment terms
2)payment terms text
3)address1 of customer (i think it is --adrnr)
4) address2 of customer (urgent)
5)transportation method or type
6)routing
7)date of manufacture of finished goods
8)vendor's customer PO number(customer of our vendor)
9)vendor sales order number(different from our sales order number)
initially our vendor is selling raw materials to our company.then my company converts raw material to finish goods.then my company will sell finish goods to  same vendor or customer of that vendor.this is the process.plz tell me the above database table fields.i need the table fields which should be filled after PGI.
it is urgent.
any help is highly appreaciated.
Regards
pabitra

Hi,
<b>SE84</b> will be useful for you, this will search in SAP about the Fileds, Tables and programs ...
goto SE84 -> ABAP Dictionary Entry -> Fields -> Table fields. here give the Short Description and press Enter, you will get the field name alog with table name
Regards
Sudheer

Similar Messages

  • Adding field - very urgent very help full

    Gurus
    I am creating condition table and I couldn't see customer heirachy field -CustomerHierarchy 03 not find in field catalog.
    how to get that field in to the field catalog.
    Thanks
    Kris

    Hi,
    Basics of modification in pricing                                                                               
    o  The following communication structures are relevant in pricing:       
        -  KOMK (pricing communication header)                                
        -  KOMP (pricing communication item)                                  
        -  KOMG (allowed fields for condition structures)                     
           For technical reasons, communication structure KOMG is used. It    
           combines the fields from KOMK and KOMP that are relevant for       
           pricing in the standard system and are offered in the field catalog
           of condition tables. If you want to use a new field in the field   
           catalog, you must add the field to KOMP or KOMK in the following   
           INCLUDES:                                                                               
    -  header data in INCLUDE KOMKAZ in KOMK                              
        -  item data in INCLUDE KOMPAZ in KOMP                                                                               
    When you use INCLUDES, the field is automatically added to KOMG and the  
    field catalog.                                                                               
    o  The routines for assigning values to the new fields in order          
        processing are found in member MV45AFZZ. Use the following user exits:
        -  USEREXIT_PRICING_PREPARE_TKOMK (header fields)                     
        -  USEREXIT_PRICING_PREPARE_TKOMP (item fields)                                                                               
    o  The routines for assigning values to the new fields in billing are    
        found in member RV60AFZZ. Use the following user exits:               
        -  USEREXIT_PRICING_PREPARE_TKOMK (header fields)                     
        -  USEREXIT_PRICING_PREPARE_TKOMP (item fields)            
    Reward points if useful

  • Insert asterisk(*) for amount field (Very Urgent)

    Hi all,
    I want to insert asterisk() for amount field REGUD-SWNET(15C) in SAP script. ie suppose amount is 1000.00 rest of the length should be filled by asterisk() infrount of amount. ie ********1000.00 it has display like this.
    Your help ll be rewarded.
    Regards
    Yathish

    hi,
         We can replace leading spaces in a value with a FILL CHARACTER.
    SYNTAX:    <b> &symbol(Ff)&</b>    here f is fill character.
    example:    &REGUD-SWNET&  value is 700.00
                     &REGUD-SWNET(F*)& value printed as ******700.00.
    regards,
    sudheer.

  • Not inserting date field-very urgent

    thanks in advance any help appreciated
    im getting all the datas in csv as an array and inserting using the insert method, the date(not datetime) field is not inserting (vb.net), and not showing any error
    im getting the datas as array string wat iv to do while inserting ive used all the conversion techniques but still not inserting

    Hi,
    You must indicate the "specified" attribute in order to inset or update any field that is not string type.
    For example, I guess that your program do something like:
    obj.date=%%date expression%%
    but you must do also:
    obj.date_specified=true
    That is for any field like number, date, boolean, etc...that is not a string.
    Hope it helps.
    Kim.

  • Validation Numeric Field(very urgent please)

    Hi,
    Iam new to java.
    I have one JSP form.
    my question is :
    How do i validate that user has entered all numeric values in a particular column.?
    And if he has not entered the numeric data, do i have to throw NUMBERFORMATEXCEPTION.
    Please help !
    Thanks
    [email protected]

    Hi
    If you have a JSP form , you can post the form to a servlet and verify the format of the column.
    If you prefer, you can use javascript to validate the clumn on client broser, so he can't post the form if it's not correct
    bye
    Nicola

  • Searching for the fields of a table(very very urgent)

    Hi all,
    i am in graet trouble now.i am searching for the fields like
    1)country of origin where the finished good is created.
    2) customer sales order number
    3)customer sales order line number
    i am writing a report for delivery order.in this report i have to refer customer PO & customer SO .
      i mean, my company has a customer ( seagate) & seagate has a customer (let maxtor).initially maxtor will give a PO to seagate then seagate will raise a SO againest maxtor.
       Then seagate will send PO number(of maxtor), PO line number,SO number(seagate), SO line number(seagate) to our company.
       Then i have to write a report for sales order & delivery order.in these reports i have to refer seagate PO number & seagate SO number for reference.
    i got PO number as vbkd-bstkd but not getting any field for reference Sales order.plz advice me on this. it is very very urgent.
    ur idea is highly appreaciated.
    Thank u very much.
    Regards
    pabitra

    check out tables VBAK(sales order header), VBAP(sales items)

  • Not able to download the field names in GUI_DOWNLOAD(very urgent)

    Hi All,
    I am downloading the file contents to the presentation server.i am able to get the file contents proeprly but not able to download the field names into text file.
    Can anybody please help me in this issue..? its very urgent. Valuable answers will be rewarded.
    CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = w_filename
          filetype                = 'DAT'
         write_field_seperator   = c_x
          col_select              = c_x
          COL_SELECT_MASK         = t_mask
        TABLES
          data_tab                = t_tab
          fieldnames              = t_colnames
        EXCEPTIONS
    Thanks & Regards,
    Satish.

    Hi,
    I have tried in both ways its not working.
    while a ran the program it is going to the dump.
    I am working in mySAP ECC6.0
    Can pl you suggest other way..
    Thanks & Regards,
    Satish.

  • Very Urgent : Reterival of AWKEY field from BKPF table

    Hi,
    I am making a report in which i have to make relation of 2 fields BKPF-AWKEY and MKPF-MBLNR . but the problem is i am not to reterive data from it as i have to make inner join among these fields so data can be reterived fmo these tables.
    plz provide me some guidelines as it is really urgent to me and help will be deinfately rewarded.

    First and foremost, i would advice you not to use words like VERY URGENT in your subject. You might want to go through the following link to understand the basic rules of the forum:
    [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    For your requirement, below code might help you understand the logic in determining the link between BKPF and MKPF.
    TYPES: BEGIN OF t_bkpf,
             bukrs type bukrs,
             belnr type belnr_d,
             gjahr TYPE gjahr,
             awtyp type awtyp,
             awkey type awkey,
            end of t_bkpf.
    types: begin of t_mkpf,
             mblnr type mblnr,
             mjahr type mjahr,
           end of t_mkpf.
    data: i_bkpf type STANDARD TABLE OF t_bkpf,
          i_mkpf type STANDARD TABLE OF t_mkpf.
    data: wa_bkpf type t_bkpf,
          wa_mkpf type t_mkpf.
    PARAMETERS: p_bukrs type bukrs OBLIGATORY,
                p_gjahr TYPE gjahr OBLIGATORY.
    START-OF-SELECTION.
      SELECT bukrs belnr gjahr awtyp awkey
        into table i_bkpf
        from bkpf
        UP TO 20 ROWS
        where bukrs = p_bukrs
        and   gjahr = p_gjahr
        and   awtyp = 'MKPF'.
    IF NOT i_bkpf[] is INITIAL.
       select mblnr mjahr from mkpf into table i_mkpf
          for ALL ENTRIES IN i_bkpf
         where mblnr = i_bkpf-awkey(10).
    *     and   mjahr = i_bkpf-awkey+10(4).
    ENDIF.
    LOOP AT i_bkpf into wa_bkpf.
      READ TABLE i_mkpf into wa_mkpf
        with key mblnr = wa_bkpf-awkey(10)
                 mjahr = wa_bkpf-awkey+10(4).
      IF sy-subrc eq 0.
         write:/ 'Accounting Document:', 23 wa_bkpf-belnr,
              35 'Material Document:', 55 wa_mkpf-mblnr.
      ENDIF.
    ENDLOOP.

  • Adding Custom fields to VL02N...very urgent

    Hi Friends,
    I have come up with a requirement, where i need to add 2 custom fields namely "EOD INDICATOR and FREIGHT AMOUNT" in a customized additional tab at the header level in VL02N transaction.I need to update the freight amount in the deliveries that are picked up by a report program where, the shipment number and the freight cost are the inputs. The problem is that, how to update the data in the delivery through VL02N and database.
    I found a BAPI, named "BAPI_OUTB_DELIVERY_CHANGE", where in at the header data we dont have fields for the custom fields i stated above. I want to know, how to enhance a BAPI, so that we can update the data for the outbound delivery and the database.
    In the BAPI, in tables I found EXTENSION1 and EXTENSION2 tables. Can I use these tables to update my fields?
    Let me know the way, like how to go ahead to update the customized fields in tcode using BAPI or some other way as soon as possible..it's very urgent..
    Thanks in advance..
    --sudha
    Edited by: sudha koduri on Jul 3, 2008 2:58 PM

    Check this thread:
    https://forums.sdn.sap.com/click.jspa?searchID=6422849&messageID=392261

  • Fields for table-----very very urgent

    Hi all,
    my company is following BAPI instead of IDOC for it's EDI immplementation.so i am writing a report for 856 signal(shipment notice).the procedure is like this.
    after shipment creation,i will download all the PO,SO & shipment data to a text file(edi format).then we will transfer this file to 3rd party EDI software.then that software will send that signal or file to our customer.
    i need some datas to download. but i am not getting those fields.you can find these fields in the 856 document of EDI.those field descriptions are like
    1)packaging code
    2)SCAC code
    3)shipment method of payment
    4)waybill number
    5)duns number
    6)entity identification code for customer
    7)measurement reference code for packing item (pallet)
    8)measurement qualifier for packing item like pallet
    9)title transfer date & title transfer time
    it is very very urgent.plz suggest.helpful answers will be rewarded.
    any suggestion will be highly appreaciated.
    Regards
    pabitra

    <b> ALV_GRID_DISPLAY, how to ovewrite subtotal obtained by ALV sort</b>
    I want to overwrite the subtotal value in column C (Currently 60 ) which i got using standard ALV sort.
    Example: using ALV_LIST_DISPLAY function module & sort functionality:
    Column-A____Column-B_____Column-C____Column-D
    K1____________2_____________10__________20
    K1____________2_____________20__________40
    K1____________3_____________30__________90
    subtotal:________7____________60_________150
    Note : Each row in Column C is calculated as D/B.
    I would like to extend the calculation in subtotals also.
    But subtotals give me the sum of values in C.
    In column C,I want 150/7 (subtotal of D / subtotal of B)
    I.E., Column C = 150 / 7 = 21.42.
    Any inputs regarding my problem would be much appreciated.
    Thanks in advance !!

  • Validation for Amount fields..very urgent

    hI ALL.
    I want Validation like     Right justify amount decimal point and 2 decimal places.
    this is Work area
    TYPES: BEGIN OF T_DATATAB,
              COL01(60) TYPE C,
              COL02(60) TYPE C,
              COL03(60) TYPE C,
                end of T_datatab.
    data: g_t_dbt like table of dbt initial size 10,
          wa_dbt type dbt.
    DATA : VAL TYPE STRING.
    Now i want  move value from VAL to wa_DBT-CURRENCY as follows,
            move wa_datatab-col07 to wa_DBT-CURRENCY.
            MOVE VAL TO wa_DBT-CURRENCY.
    so if i give input  100, i need display like 100.00
    Help me
    helpful answers will be get rewarded.it is very urgent
    Regards.
    Bhanu
    Message was edited by:
            bhanu

    Hi bhanu,
    1. simple
    2. just use
      WRITE numberfield to charfield.
    (it will put the field
       in the SAME FORMAT as DISPLAY FORMAT)
    eg. YYYYMMDD  will put as dd.mm.yyyyy
        256 will put as 256.00
    regards,
    amit m.

  • Prb in understanding fields of VBAK(ITS VERY URGENT)

    HI,
        Can u tell me, whats the diff. bet ORDER TYPE & SALES DOC CATEGORY.
    vbtyp & auart of vbak table
    is VBTYP = 'H' only dependent on AUART = 'ZRE'
    ZRE = RMA Returns...
    Its very urgent.......
    Regards,
    Parvez.

    Hi Parwez,
                        See AUART - is the Order Type which defines that it can a standard order ,Return Order ( ZRE) ,Order without charge ,Credit Memo ,Debit Memo.
    The sales document type determines how the system processes the sales
    document. For example, depending on the sales document type, the syste
    determines which screens to present and which data to ask you for.
    While SALES DOC CATEGORY VBTYP indicates it is a conctract ,sales order ,return order ,Purchase Order ,Schedule Agreement .
    A classification for the different types of documents that you can
    process in the sales and distribution system (for example: quotations,
    sales orders, deliveries, and invoices).
    The document category determines how the system stores and keeps track
    of document data. It enables the system to provide you with status
    information about delivery processing, billing, and documents that are
    used for reference (for example, inquiries and quotations).
    A     Inquiry
    B     Quotation
    C     Order
    D     Item proposal
    E     Scheduling agreement
    F     Scheduling agreement with external service agentI     Order w/o charge
    J     Delivery
    K     Credit memo request
    L     Debit memo request
    M     Invoice
    N     Invoice cancellation
    O     Credit memo
    P     Debit memo
    Q     WMS transfer order
    R     Goods movement
    S     Credit memo cancellation
    T     Returns delivery for order
    U     Pro forma invoice
    V     Purchase order
    W     Independent reqts plan
    X     Handling unit
    0     Master contract
    1     Sales activities (CAS)
    2     External transaction
    3     Invoice list
    4     Credit memo list
    5     Intercompany invoice
    6     Intercompany credit memo
    7     Delivery/shipping notification
    8     Shipment
    a     Shipment costs
    c     Unverified delivery
    e     Allocation table
    g     Rough Goods Receipt (only IS-Retail)
    h     Cancel goods issue
    i     Goods receipt
    j     JIT call
    r     TD Transport (only IS-Oil)
    s     Load confirmation, reposting (only IS-Oil)
    t     Gain    /  loss    (only IS-Oil)
    u     Reentry into storage (only IS-Oil)
    v     2-step Goods receipt (only IS-Oil)
    w     Reservation (only IS-Oil)
    x     Load confirmation, goods receipt (only IS-Oil)
    $     (AFS)
    Please Reward if useful .

  • How to write code for this logic in a routine, very urgent --help me

    hi all,
    i want to apply this logic into one subroutin ZABC.
    here i m giving my logic ,can any body help me in coding for this, this is very urgent, i hv to submit on wednesday.
    4.1 Read the company code number BSEG-BUKRS from document line item.
    4.2 Fetch PRDHA from MARA into GV_PRDHA where MATNR = BSEG-MATNR.
    4.3 Fetch Business area (GSBER) from ZFIBU into GV_GSBER where (PRDHA = GV_PRDHA and BUKRS = BSEG-BUKRS) OR (PRDHA = GV_PRDHA and BUKRS = SPACE).
    4.4 If business area match is found, go to step 3.9. Else continue.
    4.5 If BKPF-BLART IN set “ZVS_POSDT” OR BKPF-XBLNR starts with “I0*”, execute steps below. Else, go to Step 3.6.
    i. MOVE: BSEG-BKURS TO work area field WA_ZFIBUE-BUKRS,
    BSEG-MATNR TO work area field WA_ZFIBUE-MATNR,
    GV_PRDHA TO work area field WA_ZFIBUE-PRDHA,
    BSEG-HKONT TO work area field WA_ZFIBUE-HKONT,
    BSEG-GSBER TO work area field WA_ZFIBUE-GSBER,
    BSEG-PSWBT TO work area field WA_ZFIBUE-PSWBT,
    BKPF-BUDAT TO work area field WA_ZFIBUE-BUDAT,
    SY-DATUM TO work area field WA_ZFIBUE-CREDATE,
    SY-UZEIT TO work area field WA_ZFIBUE-CRETIME,
    Fetch running serial number (WA_ZFIBUE-SERIALNO) from ZFICO. This number will be stored in ZFICO with PARAMTYPE = "BPM030307", SUBTYPE = "ZFIBUE" and KEY1 = "SERIALNO". The actual serial number will be stored in the field VALUE1.
    i. Insert WA_ZFIBUE INTO ZFIBUE.
    ii. Send email notification to the user (if it is not already sent to user on the same posting date).
    Use function module ‘SO_NEW_DOCUMENT_ATT_SEND_API1’ to send mail.
    Fetch email address and date of last email from ZFICO. These values will be stored in ZFICO with PARAMTYPE = "BPM030307", SUBTYPE = "EMAIL" and KEY1 = "<USERNAME>". The email address will be stored in the field VALUE1 and posting date in VALUE2. Once mail is sent, VALUE2 is updated with latest posting date (BKPF-BUDAT).
    iii. Increment the running serial number and update ZFICO with new serial number.
    a. GV_ SERIALNO = WA_ZFIBUE-SERIALNO + 1
    b. Update ZFICO Set value1 = GV_SERIALNO
    Where PARAMTYPE = "BPM030307" AND
    SUBTYPE = "ZFIBUE" AND
    KEY1 = "SERIALNO".
    iv Move “VDFT” to BSEG-GSBER.
    v. Exit routine.
    4.6 Fetch MTART into GV_MTART from MARA where MATNR = BSEG-MATNR.
    4.7 If SY-BATCH = INITIAL AND GV_MTART <> ‘ROH’, issue the error message - “Maintain the mapping of product hierarchy <PRDHA> from article <MATNR> for <BUKRS>”. Else, go to step 3.8.
    4.8 If SY-BATCH <> INITIAL AND GV_MTART <> ‘ROH’, issue the error message - “Maintain product hierarchy on article master”. Go to step 3.10.
    4.9 Move GV_GSBER TO BSEG-GSBER.
    4.10 Exit Routine
    plz give me reply asap --this is very urgent
    thanks in advance
    swathi

    Hi Swathi,
    If it's very very urgent then you better get on with it, don't waste time on the web. Chop chop.

  • Update Routine ... Help me Please--VERY URGENT

    Hi All ,
    I Moving data from Cube to ODS . Let me explain abt the records in the cube .
    There are 6 key figures in the cube as well as dimensions, UNIQKEY TRANSACTION is One Dimension and ARTICLE is another dimension which is having an Navigational attribute called CORE ELEMENT.
    I am showing the data with those two dimension and the key figures which are to be used in the routine.
    Charc----
    Key Figures
    UNIQKEY-ARTICLE-Coreelement--
    billqty     
    in base unit
    A00N----1006330--1--
    10.5
    A00M -
    1006320----2--
    2.5
    A00P-----1006330--1--
    10.5  
    A00P-----1006320--2--
    2.5
    A00Q-----1006320--2--
    2.5
    A00Q-----1006340--3--
    10.5
    Now Lets see what the core element numbers mean,
    core element 1 means -- fuel .
    Core elemnet other 1 -- food .   
    I need to move these data into ODS Which will have an extra field called No of items in the transaction --ITEMS.For this i need to write  a routine .
    The Logic is ...
    1.if Materail is of type 1(Means if the core element - 1)
    I need to Populate the No of items in tnx = 1 .--ITEMS.
    2.If Material is of type(Means if the core element)2or 3 I need to populate the billing quantity to the no of transcations.--ITEMS
    3. If the Uniqkey tanscation contains two line items as  suppose that you have 20 litres of fuel and 2 cans of coke, then No of Items in the transaction should be 3 and Billing Quantity in BUoM 22
    billing quantity in BUoM = 20 litres for the first line item and 2 for the second line item...
    then as the first line item is fuel, field No OF Items in the Transcation should be 1 (replacing the 20) + 2 = 3
    so the final result in the ODS should be billing quantity in BUoM = 22 and The Items in the Transcation= 3
    So the ODS Data should look like this.
    UNIQKEY--billqty--
    ITEMS
    in base unit 
    A00N--10.5--
    1
    A00M--2.5--
    2.5
    A00P--13--
    3.5
    A00Q--13--
    12.5  
    NOTE : IN the ODS only the UNIQKEY IS THE KEY FIELD and the rest are DATA FIELDS.
    I Posted this one before also. But didnt get proper responses.
    I am Pasting the piece of code which I have written . This code will work for the first two records in the cube , But it is failing for the UNIQKEY Transcation having Line items.
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: /BI0/PMATERIAL.
    DATA: TITEMS LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS,
           CORE_ELEMENT like /BI0/PMATERIAL-RPA_WGH1.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS8ZPOCTUS04
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS
               RETURNCODE LIKE SY-SUBRC "Do not use!
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    check not COMM_STRUCTURE-material is initial.
      select SINGLE RPA_WGH1
            INTO CORE_ELEMENT
            from /BI0/PMATERIAL
            where
            material = COMM_STRUCTURE-material
            and  OBJVERS <>'D'.
       IF CORE_ELEMENT EQ '1'.
       TITEMS = '1'.
         CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
             input         = titems
          IMPORTING
            OUTPUT        = titems
       ELSE.
       TITEMS = COMM_STRUCTURE-BILL_QTY.
       ENDIF.
    result value of the routine
      RESULT = TITEMS..
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    PLease give me ideas on how to acheive this . As I am not Aware of ABAP very well.. PLease try to give me the code. I hope one of you may got the same requirement before.
    Its very urgent and I need to deliver it today itself.
    Thanks in advance , you can mail me to [email protected]. If anybody intersted to discuss this Issue they can reach at +91 9845922955.

    Hi ,
    While I am moving the data from cube to ods . I need to create the update rules with cube -- 8cube . WHen i am doing this the billqty is a key figure in cube so that is not a problem but the ITEMS is not there in the cube ,SO for that I need to write a routine to populate that one.
    Its strange but the user what to analyse with the UNIQKEY transaction. And these objects will be added as navigational attributes to the Characteristic. as it acts as another dimension.
    He wants to laod these from ODS to Master data -Characteristic.
    to say for each transcation hpw many items are getting sold.
    Message was edited by: Nagarjuna Reddy
    ONce again thanks for the qucik replies
    Message was edited by: Nagarjuna Reddy

  • UPDATE ROUTINE --- CUBE --- ODS Very Very URGENT

    Hi Collegues/Friends ,
    First I need to thank for the intiators of this site , as I came to know that for many
    problems we will get different best solutions ... Hoping the same I am posting a question
    which is very very very urgent as the client is running after me for this .
    My Requirement is as Follows. ..
    I Moving the data from Cube to ODS . While i need to write a routine for an extra field in
    ODS based on Billing Quantity in Base Unit of Measure . The Key Field in the ODS Is UNIQKEY
    Transaction and It is a Characterstic in the Cube and we have MAterial as another
    Characteristic  and core element as navigational attribute .
    In the Cube for every UNIQKEY transaction- there are more than One line items. 
    My data fields in the ODS are Billing Quantity in Base Unit of MEasure and and EXTRA FIELD
    : No of Items in Transaction . But the thing is that I have only Billing Quantity in Base
    Unit of Measure in cube as a key figure
    BAsing on the UNIQKEY transcation and Billing Quantity In Base Unit Of Measure I need to
    populate the No of Items in Transaction... For this i need to write a routine .
    Let suppose say that for the Materials the core elements are as follows
    Material  Core element
    10         1 -- fuel -- In liters
    20         2 -- Cigar - in PAck
    30         3 -- Coke - in Cans
    Now Lets see how the records are there in InfoCUbe
    Uniqkey  /  Material  / Core element /Billin Quantiy
    A          /   10      /     1        /    22
    B          /   30      /     3        /    2
    C          /   10      /    1         /  15
    C          /   30      /     3        /     2
    D          /   20      /     2        /    10
    D          /   30      /     3        /    2
    And IN the ODS -- I need to Populate the No OF items in Transaction.
    the Logic behind this as follows .
    1.if Materail is of type  1(Mean if the core element - 1)
    I need to Populate the No of items in tnx = 1
    2.If Material id of type 2 or 3 I need to populate the billing quantity to the no of
    transcations.
    3. If the Uniqkey tanscation contains two line items as  suppose that you have 20 litres of
    fuel and 2 cans of coke, then No of Items in the transaction should be 3 and Billing
    Quantity in BUoM 22
    billing quantity in BUoM = 20 litres for the first line item and 2 for the second line
    item...
    then as the first line item is fuel, field No OF Items in the Transcation should be 1
    (replacing the 20) + 2 = 3
    so the final result in the ODS should be billing quantity in BUoM = 22 and The Items in the
    Transcation = 3
    For this I have Written a Rouinte like this for that field
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: /BI0/PMATERIAL.
    DATA: TITEMS LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS,
           CORE_ELEMENT like /BI0/PMATERIAL-RPA_WGH1.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS8ZPOCTUS04
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS
               RETURNCODE LIKE SY-SUBRC "Do not use!
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    check not COMM_STRUCTURE-material is initial.
      select SINGLE RPA_WGH1
            INTO CORE_ELEMENT
            from /BI0/PMATERIAL
            where
            material = COMM_STRUCTURE-material
            and  OBJVERS <>'D'.
       IF CORE_ELEMENT EQ '1'.
       TITEMS = '1'.
         CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
             input         = titems
          IMPORTING
            OUTPUT        = titems
       ELSE.
       TITEMS = COMM_STRUCTURE-BILL_QTY.
       ENDIF.
    result value of the routine
      RESULT = TITEMS..
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    Does it satisfy all the conditions ?? mentioned above if . As far As i know as the only key
    field in the transcation it will satisfy the first two conditions .
    I want to know or If possioble anybody pls take some pain for me to send the code or any
    Ideas for satisfying all the conditions.
    Hope I will get immediate replies....
    Mail me to [email protected]

    Reddy,
    Please do not post in all sections ... makes it hard to follow up on posts..
    Arun

Maybe you are looking for

  • CF8 DirectoryWatcher Gateway Doesn't Run When I Overwrite a File

    I've set up a Coldfusion Directory Event Gateway on my site (Win2K3 server, CF8 Ent).  The DW monitors an FTP directory where my users upload a batch of 5 PDF files each week.  The files are named file1.pdf, file2.pdf and so on.  When my DW gateway s

  • My iPhone isn't sending iMessages

    Hi, I am having some trouble with my iPhone 4S (3G on Bell in Canada). I just got it 2 days ago and the data wasn't working when I first got it, I had that sorted out and it works fine now. Yesterday everything was working fine but today I went out a

  • New LED 24" Cinema - Making Photoshop run all "Herkey Jerkey"?

    Just got the new LED display last week, pretty and all but now my 7K setup is running Photoshop slower than my 3 year old's eMac, reeeeally slow and acting as if it were really low on RAM (running 6GB). Now what strikes me as odd is that everything s

  • Raid decision

    I have a 2009 8 core nehalem mac pro, 16Gb ram with 1 x640Gb HD (startup disk) and 3 x 1Tb sata in the remaining bays. I am generating 20 to 50Gb of raw images a week and would like to implement a system for ensuring continuous data survival within t

  • E-recruitment  Assign Candidates to a new requisition

    Hi Sirs, If i Have a cadidate who is already assigned to a requisition & i want to assign him to another requisition with forwarding all qustionnaires & interview reports that are related to this candidate in the old requisition. I already cheched th