Reg : DO..END DO in ECC 6.0

hi,
Iam getting syntax error for this statement
(DO MAX_VAL TIMES VARYING CHAR   FROM WS-01 NEXT WS-02)    in ECC 6.0.
The error is : ADDITION RANGE is missing.I dont know how to use the statement with  ADDITION RANGE.
Can anyone look at this and rectify it.plz copy the below code and paste in ECC 6.0 and solve this error.
DATA :  MAX_VAL(2)      TYPE N VALUE '31'.
DATA:   WS-01(1)  TYPE C VALUE '1',
            WS-02(1)  TYPE C VALUE '2',
            CHAR            LIKE WS-01.
DATA:   BEGIN OF NUM_TAB OCCURS 35,
                 CHAR(1) TYPE C,
                 VAL     LIKE SY-INDEX,
             END OF NUM_TAB.
initializes internal table with character values from data
  DO MAX_VAL TIMES VARYING CHAR   FROM WS-01 NEXT WS-02.
    MOVE: CHAR     TO NUM_TAB-CHAR,
          SY-INDEX TO NUM_TAB-VAL.
    APPEND NUM_TAB.
  ENDDO.
regards
VAJA.

It is not ADDITION RANGE.
just add RANGE
See this as an example:
DATA: BEGIN OF text,
word1(4) TYPE c VALUE 'AAAA',
word2(4) TYPE c VALUE 'BBBB',
word3(4) TYPE c VALUE 'CCCC',
word4(4) TYPE c VALUE 'DDDD',
END OF text.
DATA: word(4)  TYPE c,
char1(1) TYPE c,
char2(1) TYPE c,
leng TYPE i.
DESCRIBE FIELD text LENGTH leng IN CHARACTER MODE.
leng = leng / 2.
DO leng TIMES VARYING char1 FROM text(1)
NEXT text+2(1) RANGE text
VARYING char2 FROM text+1(1)
NEXT text+3(1) RANGE text.
WRITE: char1, char2.
char1 = 'x'.
char2 = 'y'.
ENDDO.
DO 4 TIMES VARYING word FROM text-word1 NEXT text-word2.
WRITE / word.
ENDDO.
Regards,
Ravi Kanth

Similar Messages

  • Reg: Year End Report

    Hi All,
    We had done the year end process for 2008-2009.
    when we view the Trial balance location - wise (we are using Dimesion 1), it showing the opening balance for Revenue & Expenditure, which should not happen.
    please suggest how to resolve
    Currently we are using 2005B PL 35.
    Regards
    Shanker

    Hi,
    Thanks for the reply
    The posting dates are 01-04-09 to 30-04-09
    Please help us to resolve.
    Regards
    Shanker

  • Reg UPgrading SAP Kernel for ECC 6.0

    Hi,
    We have a ECC 6.0  SAP System.
    The current kernel in our system is 133.
    We wanted to upgrade the Kernel
    We have the following kernel versions
    146
    159
    175
    179
    185
    We wanted to know the stable kernel versions among the above and general issues encountered in the kernels
    Please advice

    Just go to the latest kernel.... no point in going from an old kernel to another old kernel. Usually kernels are released every quarter so just get the latest available.
    Regards
    Juan

  • Reg period end

    hi gurus
    can provide me check list for month end and period end activities
    as i know  month end activities but my client is asking serial wise which means which one will come first like period closing we have do first or accruals defferal gr/ir clearing
    please respond immediately its urgent
    guru
    [email protected]

    hai,
    The following is the Month end & year end activities.
    Please select the year end and month end activities based on your business requirement and configuration.
    Period End Close
    YEAR END & MONTH END CLOSING ACTIVITY
    First you will have to close the Posting period in the Materials Management side. To do this use the T.Code MMPV and give the period that needs to be Opened. Once this is done you will not be able to Post any Material Documents in the previous period.
    Now at the Financial side you need to open the next period and at the same time you need to close the Previous period. This can be done in T.Code OB52
    here is the list for FI/CO year end closing check list:
    now i am sending one document with T.codes
    CLOSING ACTIVITIES
    1 Execute Report for Inter Company Activity & Journal Entries
    2 Open posting period for next yr (T.Code: OB52)
    3 Run Business Area's Assignment report. (T.Code: F.50)
    4 Review list of recurring journal entries (T.Code: FBD3)
    5 Execute Recurring Entries for A/R, A/P, G/L (T. Code: F.14)
    6 Process Parked A/R, A/P, G/L accounting documents (T.Code: FBV0)
    7 Final Cutoff for the Maintenance of Fixed Asset- Add Transfer and Retire (T.Code: ABUMN)
    8 Run Depreciation in Test Run and post (T.Code: AFAB)
    9 Verify Display Log for Depreciation Test Run (T.Code: AFBP)
    10 Capitalize AUC Assets if needed (T.Code: AIAB, AIBU)
    11 Enter Payroll Data to SAP (T.Code: CAT2)
    12 Verify Depreciation Balances with GL balances ( T.Code: ABST2)
    13 Post Depreciation (T.Code: AFAB)
    14 Execute Asset History Report, and retire assets if needed (T.Code: S_ALR_87011963, ABAVN)
    15 Adjust specific depreciation areas if necessary (T.Code: ABCO)
    16 Reconcile AM sub ledger with GL (T.Code: ABST2)
    17 Check Bank Data (T.Code: S_P99_41000212)
    18 Review AR Open Items (T.Code: FBL5N)
    19 Review AP Open Items (FBL1N)
    20 Execute Pending Invoices(T.Code: MRBP)
    21 Clear Open Item for GRIR, freight (T.Code: F.13)
    22 Reconciliation of Financial Documents and transactional figures (F.03)
    23 Open new CO Posting Period: (T.Code: OKP1)
    24 Compare current (cost estimates) with last current price (Moving Avg) ( T.Code: OKBH)
    25 Update current cost price to material master price field (T.Code: CK11N, CK24)
    26 Process Freight charges, Match SD freight to actual (T.Code: V-31)
    27 Review Internal Order Postings(T.Code: OKSA)
    28 Settle All Orders (T.Code: KO88)
    29 Verify All Post Goods Issue have been Invoiced (Billing Due List) (T.Code: VF04)
    30 Review SD Billing Doc from prior month that have not yet been released to accounting (T.Code : F.2D)
    31 Reconciliation of MM movements in Transit Intra-SAP to Non SAP
    32 Reconcile PI Inventory with SAP (T.Code: MI07)
    33 Perform Manual Adjustment if needed (T.Code: F-02, FB50)
    34 Verify balance of the GR/IR account ( T.Code: MB5S)
    35 Post Accruals and Deferrals (T.Code: FBS1)
    36 Clearing of Cancelled Documents (T.Code: F-03, F-32, F-44)
    37 Check Profitability Segment Adjustment (T.Code: KISR)
    38 Aging Report-Reconcile GL balances with sub ledger balances AP ( T.code: FBL1N, FBL5N, FBL3N)
    39 Check the check run numbers (T.Code: FCH1, FCHI)
    40 Bank reconciliation Data (T.Code: FF67 & FEBA)
    41 Enter Tax Journal Entry (T.Code: FB41)
    42 Reconcile GL balances with sub ledger balances AR/MM/AP ( T.Code: F.03)
    43 Display Balance Sheet Adjustments (T.Code: F.5F)
    44 Post Balance Sheet Adjustments (T.Code: F.5E)
    45 Post Foreign Currency Valuation (foreign exchange) (T.Code: F.05)
    46 Check generic cost centers for posting with wrong accounts
    47 Correct wrong postings on generic cost centers
    48 Check Validation dates for Cost Centers, Cost Elements, CO area (T.Code: GGB0)
    49 Check COGI--for both month end and year end
    50 Doubtful receivables (T.Code : F104)
    51 Verify In-transit Inventory
    52 Reconcile PA to G/L (T.Code: KE5U)
    53 Post Cost Center Assessments and Distributions (T.Code: KSU5 & KSV5)
    54 Run CO-FI Reconciliation to balance (T.Code: KALC)
    55 Run BW reports P&L and Balance Sheet
    56 Maintain CO yr variant (T.Code: KCRQ)
    57 Fiscal Yr Balance carry forward AP/AR/AM (T.Code: F.07,
    58 Fiscal Yr Balance carry forward CO (T.Code: CXS1)
    59 Fiscal Yr balance carry forward FI ( T.Code: F.16)
    60 Fiscal Yr balance carry forward PCA (T.Code: 2KES)
    61 Set Document number ranges - FI - new year (T.Code: OBH2, OBA7)
    62 Set Document number ranges AP/AR - new year (OBA7)
    63 Generate Financial statement Reports ( T.Code:OB58) OR (T.Code: FSE2)
    64 Change Fiscal Year For Assets (T.Code: AJRW)
    65 Year end Closing-- Asset Accounting--final for year end (T.Code: AJAB)
    66 Close CO Posting Period : (T.Code: OKP1)
    67 Close Prior A/R Posting Period ( T.Code: OB52)
    68 Close Prior A/P Posting Period (T.Code: OB52)
    69 Close Prior MM Posting Period (T.Code: OMSY)
    70 Reverse accruals and deferrals for the new month (T.Code: F.81)
    71 Reconciliation of Financial Documents from old fiscal year and new fiscal year ( T.Code: FNSL)
    72 Load Balances, Budget Data for Cost centers, sales
    73 Update Retained Earning Account , balance carry fwd (T.Code: F.16)
    Month end closing Activities
    1. All the expenses including amortization, prepaid expenses, Preliminary expenses and accruals have been booked.
    2. Complete Bank Reconciliation (T.Code: FF67)
    3. Make sure that Sum of Inter company balances is Zero
    4. Suspense Accounts should be cleared regularly.
    5. Ensure that all documents related to MM & SD have been entered in system. ( T.Code:F-22 & F-43)
    6. Ensure that all billing documents are released to accounting.
    7. Calculate Overheads on all process Orders (CO43)
    8. Technically complete all process orders which are fully processed (CORM).
    9. Calculate Variance (KKS1)à (Relevant only if Standard cost is calculated).
    10. Settle all process orders which are technically complete (CO88).
    11. Close All settled Process Orders
    12. Close MM period (Transaction Code: MMPV).
    13. Carry out GR/IR clearing (F.13) transaction
    14. Depreciation Run (AFAB) has been carried out for the month
    15. Close FI Posting period after the month end closing activity is over (T.Code:OB52)
    Year end closing Activities:
    1. Calculate production work in progress on process orders which are not technically complete. (CO88).
    2. Carry out Assessment cycle for Cost Centers.(T.Code: KSUB)
    3. All month end closing Activities should be carried out.
    4. Carry Forward Balances to next year
    (With TC: F.16 we can carry forward the balance to next year.
    With TC: OBH2 copy the number ranges to next year
    Open next year periods by selecting the Posting Period Variant.
    then test by posting the transaction in F-02)
    Pls award points.
    govind.

  • Reg month end operations

    Hi,
       can anyone let me the operations to be performed at the end of every month as far as FI is CONSIDERED.
    Regards.
    venkat.

    Hi
    Find the follwoing checklist for month end and year end process
    1     Execute Report for InterCompany Activity & Journal Entries
    2     Open posting period for next yr
    3     Run Business Area's Assignment report.
    4     Review list of recurring journal entries
    5     Execute Recurring Entries for A/R, A/P, G/L
    6     Process Parked A/R, A/P, G/L accounting documents
    7     Final Cutoff for the Maintenance of Fixed Asset- Add Transfer and Retire
    8     Run Depreciation in Test Run and post
    9     Verify Display Log for Depreciation Test Run
    10     Capitalize AUC Assets if needed
    11     Enter Payroll Data to SAP
    12     Verify Depreciation Balances  with GL balances
    13     Post Depreciation
    14     Execute Asset History Report, and retire assets if needed
    15     Adjust specific depreciation areas if necessary
    16     Reconcile AM subledger with GL
    17     Check Bank Data
    18     Review AR Open Items
    19     Review AP Open Items
    20     Execute Pending Invoices
    21     Clear Open Item for GRIR, freight
    22     Reconciliation of Financial Documents and transactional figures
    23     Open new CO Posting Period
    24     Compare current  (cost estimates) with last current price (Moving Avg)
    25     Update current cost price to material master price field.
    26     Process Freight charges, Match SD freight to actual
    27     Review Internal Order Postings
    28     Settle All Orders
    29     Verify All Post Goods Issue have been Invoiced (Billing Due List)
    30     Review SD Billng Doc from prior mth that have not yet been released to accounting
    31     Reconciliation of MM movements in Transit Intra-SAP to NonSAP
    32     Reconcile PI Inventory with SAP
    33     Perform Manual Adjustment if needed
    34     Verify balance of the GR/IR account
    35     Post Accruals and Deferrals
    36     Clearing of Cancelled Documents
    37     Check Profitability Segment Adjustment
    38     Aging Report-Reconcile GL balances with  subledger  balances AP
    39     Check the check run numbers
    40     Bank reconciliation Data
    41     Enter Tax Journal Entry
    42     Reconcile GL balances with  subledger  balances AR/MM/AP
    43     Display Balance Sheet Adjustments
    44     Post Balance Sheet Adjustments
    45     Post Foreign Currency Valuation (foreign exchange)
    46     Check generic cost centers for posting with wrong accounts
    47     Correct wrong postings on generic cost centers
    48     Check Validation dates for Cost Centers, Cost Elements, CO area
    49     Check COGI--for both month end and year end
    50     Doubtful receiviables
    51     Verify In-transist Inventory
    52     Reconcile PA to G/L
    53     Post Cost Centre Assessments and Distributions
    54     Run CO-FI Reconciliation to balance
    55     Run BW reports P&L and Balance Sheet
    56     Maintain CO yr variant
    57     Fiscal Yr Balance carryforward AP/AR/AM
    58     Fiscal Yr Balance carryforward CO
    59     Fiscal Yr balance carryforward FI
    60     Fiscal Yr balance carryforward PCA
    61     Set Document number ranges - FI
    62     Set Document number ranges  AP/AR
    63     Generate Financial statement Reports
    64     Change Fiscal Year For Assets
    65     Year end Closing-- Asset Accounting--final for year end
    66     Close CO Posting Period
    67     Close Prior A/R Posting Period
    68     Close Prior A/P Posting Period
    69     Close Prior MM Posting Period
    70     Reverse accruals and deferrals for the new month
    71     Reconciliation of Financial Documents from old fiscal year and new fiscal year
    72     Load Balances, Budget Data for Cost centers, sales
    73     Update Retained Earning Account , balance carry fwd
    Cheers
    Muralidahar

  • REG: Obsolete statements in SLIN ecc 5.0

    Hi all,
    When i am executing the ABAP EPC for obsolete statements.(with Also display Hidden Messages)
    I get the 2 Obsolete statements and as following :
          Program:  ZXXXXX     Row:    652                                                                               
    The current ABAP command is obsolete and problematic, especially so in ABAP                                                        
    Objects                                                                               
    An explicit work area is necessary in the OO context. Use "APPEND wa TO S_WERKS                                                    
    [SORTED BY]".                                                                               
    (The message can be hidden with "#EC *)                                                                               
    Program:  ZXXXXX     Row:   2558                                                                               
    The current ABAP command is obsolete and problematic, especially so in ABAP                                                        
    Objects                                                                               
    At "LOOP AT itab", one of the additions "INTO", "ASSIGNING", or "TRANSPORTING NO                                                   
    FIELDS" is required. in the OO context.                                                                               
    (The message can be hidden with "#EC *)                                                                               
    Though i put the  "#EC after above variable still i can see it in the SLIN overview.
    Pls help me to hide these Obsolete statements.
    Thanks and Regards
    Srikanth.P

    Lest you find yourself labelled as "out of date" or "obsolete", perhaps you could spend a little time to bring your coding practices up to the state of the product.  A LOT of things used in ABAP within my 12 years are now obsolete.  For instance, the "Official ABAP Programming Guidelines" by SAP Press, written by Drs. Thummel and Keller, describes FORM....ENDFORM and REFRESH as obsolete.
    In current versions, we loop at ...assgining <Field-symbol> or into structure.... 
    We do read table into structure or assigning <field-symbol> or (where possible) transporting no fields.
    We don't have tables with header rows, since those can't be used in OO.
    We don't use REFRESH, we use CLEAR tabname[].
    In OO, we use the SoC, software layering concepts, with GUI, Application and Persistence level Class definitions and implementations.
    We used class-based exception handling where possible to avoid abends which are, of course, detrimental to our users' experiences.
    etc.

  • ESS/MSS applications from ECC 6.0 on a SL as ECC 5.0 + EP7.0

    Hi all,
    We have a "strange" situation on the client and I need you help or guidance.
    We are implementing Portal and ESS/MSS on a system landscape as ECC 5.0 for the back-end system and EP 7.0 as front-end.
    My problem is if the ESS/MSS iViews which have the data source as ECC 6.0 or higher are available and if yes how their behavior will be on such environment? We should expect errors or bugs or lousing functionalities or restrictions on it?
    Perhaps the first point will be if we can implement them? The client wants specific applications like time accounts or appraisals. I should mention to you the client has decided to make an upgrade of the back-end system to ECC 6.0 but is not decided yet when. In the meantime we already start the project for ESS/MSS base on the current system landscape.
    What do you think?
    Any help will be highly appreciated.
    Thanks in advance,
    Eugen

    I got my answer. You may implement XSS applications as for ECC 5 even on EP 7 but you'll face limitations in functionalities and face lots of tech issues and abnormal behavior from xss applications. Not the ideal system landscape.

  • GRC AC 10.1 - End User Login - Request issue

    Hi experts!
    Im working in GRC AC 10.1 SP07. I have configured END USER LOGIN services; the idea is that end user from ECC system could submit request without having user in GRC box, this is working fine but i´m experimenting next problem.
    When i go to search request, those request submited by end user appears like created by Z_END_USER, this is the user in GRC that i have configured in services GRAC_UIBB_END_USER_LOGIN and GRAC_OIF_REQUEST_SUBMISSION_EU.
    ¿Is possible to configure that request appears "Created By" the requester and not the service´s user? I don´t think so, but if not, ¿is there any way to add the column User ID in Result screen? because it is avaible in parameters search but im not being able to add this in result screen (it´s not like hidden neither).
    Parameters "Created by user ID" would be service´s user and "User ID" would be the requester.
    Thanks!
    Emiliano

    Hi Emiliano,
    Your understanding is correct, request created by UserID will always show GUEST UserID configured in the End User Logon service.
    In search requests there is option to search requests by UserID but the same field has not been enabled to be available in Search Request result screen. This is as per standard functionality. You can check with SAP or can work with ABAPer to make the UserID column as display field in Search Request results.
    Regards,
    Madhu.

  • Extract ECC 5.0 New GL transaction Line item to BI 7.0(delta enabled)

    Hi all,
    The back end system is ECC 5.0 and i need to extract New GL line item transaction level data (with document/transaction  currency amount) to BI 7.0 .0FI_GL_4 datasource is on GLT0 table instead of NEW GL FAGLFLEXA and 0FI_GL_14 is available only from ECC 6.0onwards.What should be the approach/advice to accomplish this wth delta enabled
    regards
    savvy

    In my previous implementation, what we followed was
    We used 0FI_GL_10 to fill 0FIGL_O10 & 0FIGL_C10 for totals and
    for line items load DSO 0FIGL_O02 through 0FI_GL_4
    And we had drilldown (RRI) reports from C10 to O02

  • Modify Layout for a LaunchPad in ABAP Backend ECC 6.0 WAS 7.00

    Hi Gurus.
    I need some helping from your wide knowledge.
    I've built a Lauchpad in a SAP Back-end with version ECC 6.0 WAS 7.00 (an old version, I know, but that's what the customer has for that implementation). When I publish it in the Portal, the layout is very shy.
    So, in the given scenario, I've got two questions for you:
    1st. How can I change the layout for such launchPad? All the info I've found is related to higher versions.
    2nd. When I click over the links, a new window is opened... Can I make any setting on any place to make the contents (which will be Web Dynpros) get open in the portal area?
    Kind Regards.
    Santy.

    Hi Anurag... you mean in the iView which is generated for the LauchPad?
    I had set such property from the very first moment, but when I click on one of the links, a new window is open with the web dynpro launched.
    Please check the image (maybe I've expressed myself badly trying to explain it):
    thanks in advance.
    Santy.

  • Reg Assembly Process

    Hi Guru,
    i would like to know the assembly Process with CIN details.
    please give the details regarding the above.
    Thanks
    BR
    siva

    Hi Guru,
    we are using the following process.
    Direct Material
    Prcourement from the supplier who are coming under VAT taxation
    Procurement from supplier who are coming under CST taxataion
    Procurement from the supplier where C form need to be given
    Procurement from the Subcontracting Suppliers
    Indirect material:
    Service Procurement and relevant taxation
    Consignement Procurement
    Procurement from the supplier with account assignement purchase
    Capital Goods
    Capital Goods Procurement for Machineries
    Capital Procurement for Machine accessories - Grinding wheel
    Import
    Procurement from other  Plants
    Procurement of Steel from Suppliers
    Procurement of Capital Goods
    Service Procurement for Tool Calibration
    Pricing
    Domestic pricing with Tax calculation
    Option to edit the Tax condition type value in the PO
    Option to enter the tax condition value or % in PO
    Import Pricing to include the required condition of Excise and Govt requirement
    Incoming Excise Invoice
    Capture Excise Invoice During GR
    Option to Edit the value after Excise Invoice Capture
    Returnable Excise Invoice Form
    Import Duty Capture and Excise Invoice posting
    Registers
    RG23A  - Part I and Part 2 update
    RG23C  - Part I and Part 2 update
    Cenvat Regeister
    Sales Tax Regeister
    Payment of tax to central and State - Separate GR posting
    CIN Configuration Check list - PTP
    Excise Registration
    Check Excise Registration is updated for all plants
    Check Excise Reg  is updated with the Excise Range Information
    Check Excise reg is updated with the ECC NO for all the plants
    Check Excise Reg, Division and Range is maintained in Excise Reg
    Plant Settings:
    Check whether Excise Registration is assigned to plant or not
    Check the manufactruing plant is unchecked with Depot Indicator
    Check Multiple goods receipt/Multiple Credit option is set for Manufcaturing plants
    Check the Depot plant has been flagged with Depot Indicator
    Check Multiple goods receipt/Multiple Credit option is set for Depot plants
    Excise Group
    Check Excise Groups is created for manufacturing plant
    Check the outgoing Excise Invoice settings
    Check Default Challan Qty from GR is flagged in Excise group
    Check Depot setting are deflagged for manufacturing plant Excise Group
    Check in MIGO setting of Excise group all the below
    EI Create/23D deflagged for manufacturing plant
    EI Capture, Post, Duty different at GR, update RG1 at MIGO are flagged.
    Check Depot settings are flagged for Excise groups for Depot
    Check EI Create/23D is updated with flag mark for all Depot Excise Groups
    Check the assignement of Plant, Excise Registration and Excise Group
    Subcontracting
    Check the sub contracting attribute is maintained as per plant requirement
    Check the maintain movement type group is maitained with correct movement types
    Incoming Excise Invoice
    Check the assigned movement type for EI and Register Updates
    Maintain Rejection code to cancel the Excise Invoice
    Excise Regesiters
    Check SAP Script is assigned
    Number Ranges
    Incoming Excise Invoice
    Subcontracting Challan
    Thanks
    siva

  • SO_NEW_DOCUMENT_ATT_SEND_API1 pdf attachment sending thru mail ecc 6.0

    Hi All,
    I'm using ECC 6.0 version, I'm trying to attach a pdf file to a mail using the function module SO_NEW_DOCUMENT_ATT_SEND_API1. But gtting error as "wasn't decoded correctly", but the same coding is working fine in 4.6 version. What changes i should do while using this function module in ECC 6.0 to get it corrected.
    Thanks & Regards,
    Sabu.

    Hi ,
    I tried with SBWP, I'm able to see the pdf file attached while sending from SBWP.
    Please see the below coding
          FORM make_the_message                                         *
    FORM make_the_message.
    Create Message Body
    Title and Description
      CLEAR : docdata,
              objtxt[],
              objpack[],
              objbin[].
      docdata-obj_name  = sy-repid.
      docdata-obj_descr = p_subj.
    Main Text
      LOOP AT gt_text INTO objtxt.
        APPEND objtxt.
      ENDLOOP.
    Write Packing List (Main)
      DESCRIBE TABLE objtxt LINES tab_lines.
      READ     TABLE objtxt INDEX tab_lines.
      docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
      CLEAR objpack-transf_bin.
      objpack-head_start = 1.
      objpack-head_num   = 0.
      objpack-body_start = 1.
      objpack-body_num   = tab_lines.
    Sabu
      objpack-doc_type   = 'RAW'.
    objpack-doc_type   = 'PDF'.
    End Sabu
      APPEND objpack.
    *Start of Upgrade ECC 6.0
      Data: l_mi_bytecount TYPE i.
    *End of Upgrade ECC 6.0
    Create Message Attachment (As read earlier from frontend)
    Write Packing List (Attachment)
    Handle the attached file.
      objbin[] = gt_pdffile[].
      att_type = 'PDF'.
      DESCRIBE TABLE objbin LINES tab_lines.
      READ     TABLE objbin INDEX tab_lines.
      objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
      objpack-transf_bin = 'X'.
      objpack-head_start = 1.
    *****Sabu 8496
    objpack-head_num   = 0.
      objpack-head_num   = 1.
    End Sabu
      objpack-body_start = 1.
      objpack-body_num   = tab_lines.
    *Start of Upgrade ECC 6.0
      objpack-doc_type   = att_type.
      objpack-obj_name   = 'ATTACHMENT.pdf'.
      objpack-obj_descr  = 'Attached Document'.
    *End of Upgrade ECC 6.0
      APPEND objpack.
    Create receiver list
    Generate ALV list for either Customers/Vendors/Contact persons etc.
    ENDFORM.                    "make_the_message
          FORM fill_the_distribution_list                               *
    FORM fill_the_distribution_list USING i_test
                                          i_fax
                                          i_faxcntry
                                          i_email.
    Just as a test...
      CLEAR: reclist, reclist[].
      IF i_test EQ 'X'.
        CASE 'X'.
          WHEN p_sndfax.
          By Fax
            rec_fax-rec_fax   = i_fax.
            rec_fax-rec_state = i_faxcntry.
    Start of Changes 07/09/2008
           reclist-receiver  = rec_fax.
            ASSIGN reclist-receiver TO <fs_reclist> CASTING.
            <fs_reclist> = rec_fax.
           rec_fax = <fs_reclist>.
    End of Changes 07/09/2008
            reclist-rec_type  = 'F'.
            APPEND reclist.
          WHEN p_sndint.
          By Email
            reclist-receiver = i_email.
            reclist-rec_type = 'U'.
            reclist-BLIND_COPY = 'X'.
            APPEND reclist.
        ENDCASE.
      ELSE.
      This is not a test....
        LOOP AT gt_detail INTO gs_detail.
          CHECK gs_detail-flag EQ icon_green_light.
          CASE 'X'.
            WHEN p_sndfax.
            By Fax
              rec_fax-rec_fax   = gs_detail-faxnr.
              rec_fax-rec_state = gs_detail-land1.
    Start of Changes 07/09/2008
              ASSIGN reclist-receiver TO <fs_reclist> CASTING.
              <fs_reclist> = rec_fax.
              rec_fax = <fs_reclist>.
             reclist-receiver  = rec_fax
    End of Changes 07/09/2008
              reclist-rec_type  = 'F'.
              APPEND reclist.
            WHEN p_sndint.
            By Email
              reclist-receiver = gs_detail-email.
              reclist-rec_type = 'U'.
              reclist-BLIND_COPY = 'X'.
              APPEND reclist.
          ENDCASE.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "fill_the_distribution_list
          FORM send_the_messages                                        *
    FORM send_the_messages.
    Send Message
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
              document_data                    = docdata
              put_in_outbox                    = 'X'
              commit_work                      = 'X'
        IMPORTING
            SENT_TO_ALL                      =
            NEW_OBJECT_ID                    =
          TABLES
              packing_list                     = objpack
              object_header                    = objhead
              contents_bin                     = objbin
              contents_txt                     = objtxt
            OBJECT_PARA                      =
            OBJECT_PARB                      =
              receivers                        = reclist
           EXCEPTIONS
              too_many_receivers               = 1
              document_not_sent                = 2
              document_type_not_exist          = 3
              operation_no_authorization       = 4
              parameter_error                  = 5
              x_error                          = 6
              enqueue_error                    = 7
              OTHERS                           = 8.
      IF sy-subrc <> 0.
        MESSAGE ID     'SO'
                TYPE   'S'
                NUMBER '023'
                WITH   docdata-obj_name.
      ELSE.
        PERFORM popup.
      ENDIF.
    ENDFORM.                    "send_the_messages
    Thanks & Regards,
    Sabu

  • How do Changes in shipment made in ECC get updated in APO TPVS?

    Hi All,
       Suppose a shipment is created in APO TPVS and transfered to ECC. Now After shipment has started I get to know that due to some issues shipments will end 3 days after the planned date. Say Shipment start date is 1 st and planned end date is 5th of the month. Now on 2nd of the month I get to know that due to vehicle break down there will be a delay of 3 days and shipment will end on 8th of the month. Is it possible to change the planned end date in ECC so that same gets updated in APO as well.So that same can be captured in next planning run and resource will  not be planned again till 8th.
    Rgds,
    saurav

    Hi Saurav,
    You have genuine query.
    I have seen the details of Carrier assigned in ECC going back and updating APO. However, for the resource it might be difficult.
    You can try looking at different options available in function module "CIF_SHIPMENT_SEND".
    I guess this might help you in proceeding further.
    Regards,
    Vivek

  • Contract number not transferred to back-end PO?  Is this an SAP bug?

    System: SRM 4.0 - Classic Scenario
    Problem:
    Iu2019m creating "limit" carts with reference to ECC back-end contracts.  The functionality seems to be available in SRM and I expected it to work in the same way as the "describe requirement" shopping carts (i.e. the contract number added to the shopping cart is transferred to the back-end and the ECC PO is subsequently created with reference to the contract)
    However, for u201CLimitu201D carts, I've added the contract to the shopping cart, but it does not get passed to the follow-on ECC back-end PO.
    These are steps I am following (end-to-end):
    1.     Create contract in ECC (ME31K)
    2.     In SRM, add Vendor and Contract Number/Item to preferred vendor list and Release
    3.     Create u201CLimitu201D shopping cart with relevant material group and vendor
    4.     Search and select contract
    5.     Order and Approve shopping cart as required
    6.     Identify ECC back-end PO number
    7.     Display ECC PO using ME23n, select item and check reference to contract.  **Contract number is blank!**
    If I check table EKPO the Agreement Number field for the PO is blank.  I.e. it has not been transferred from SRM to ECC when the PO is created.
    As I mentioned, the contract is transfered for "describe requirement" carts, but not "limit" carts.
    I have tested this in another system and I have the same problem.  I believe this is a SAP bug.  We have raised an OSS note, but awaiting a reply.
    Has anyone else experience this issue and can provide any guidance?
    Matt

    Hi Matt,
    We have a similar issue. We've implemented SRM 7 in classic scenario with ECC 6.
    A limit shopping cart is created in SRM and assigned contract limits. The shopping is approved and creates a purchase order in the backend.
    1) The contract number is not available in the limits tab on the purchase order. The expectation was that the contract number from the shopping cart shows up here. BAPI_PO_CREATE1 does show that the information is being passed from SRM.
    2) The F4 search for contract in SRM does not retrieve contracts from the backend. The search seems to only look for local contracts.
    I would appreciate your insight on this issue and if you could share any information that SAP provided.
    Thanks,
    Hemanth

  • SAP BI back-end Vs SAP BO back-end

    Hi Friends,
    Purchasing SAP software packages - bought SAP NW 2007s package (included SAP BI) and SAP BO XI suite (included Data Integrator (DI) as part of the BO XI package).
    We have below scenarios and discussions around these scenarios - please advice the best practice/method: 
    1. ECC - > SAP BI(back-end) for storing ECC and other legacy data->BO reporting tools like Crystal Reports, WebI, Xcelsius etc.,
    2. ECC -> BO(back-end) for storing ECC and other legacy data using DI for setting up the ETL process -> BO reporting tools like Crystal Reports, WebI, Xcelsius etc.,
    3. ECC ->use BI and BO as back-end system -> BO reporting tools like Crystal Reports, WebI, Xcelsius etc.,
    Does anyone have reasoning to use both back-ends? The BI and BO packages include the back-end and I think it is up to the customer to choose either one as data warehouse system. Thinking that SAP may also have different package combinations to have either BI or BO back-end to use as data warehouse system which may reduce the license, implementation and maintenance cost.
    When it comes to scenario 1 and 2 u2013 How BO ETL handles the massive data extractions, error handling, and parallel extraction and performance issues compared to SAP BI? 
    Please provide your thoughts in approaching the specific scenarios?  It would be great if you could also provide some web links precisely relevant to this discussion.
    Thanks,
    Sudha

    HI,
    just to clarify: in the BusinesObjects Enterprise system you not storing data.
    1. ECC - > SAP BI(back-end) for storing ECC and other legacy data->BO reporting tools like Crystal Reports, WebI, Xcelsius etc.,
    >> for sure possible
    2. ECC -> BO(back-end) for storing ECC and other legacy data using DI for setting up the ETL process -> BO reporting tools like Crystal Reports, WebI, Xcelsius etc.,
    >> you would then use something that is called a Rapid Mart for example
    3. ECC ->use BI and BO as back-end system -> BO reporting tools like Crystal Reports, WebI, Xcelsius etc.
    >> yes.
    Both backends have a different purpose. BusinessObjects is reporting and BW is a datawarehouse.
    Ingo

Maybe you are looking for

  • Remote App and shuffling a single album

    I'm using iTunes 11.0.1.12 on my PC and Remote App 3.0 (598) on my Touch 5G running iOS 6.0.1, and I want to play an album with its songs shuffled. For example, I go to Artists, choose Steely Dan, then "A Decade Of Steely Dan". There's no obvious way

  • BPM 11g API

    Has anyone been able to find documentation on the BPM 11g API? I thought there was a Java-based API available so I can integrate a Java-based web app into my BPM project. Anyone found a link for it? Thanks, Mark

  • I want to configure a new email address. Config could not be verified - can someone please help?

    It is an IMAP gmail address but doesn't end in @gmail.com because it's an alias addy. I can view it via gmail in my browser. The address is set up and functioning fine there. How can I configure the mail to come into my Thunderbird app?

  • Create Folder with the name of expense report number in SHAREPOINT ?

    Hi All, iExpence - In expense report confirmation page. There is custom link. Requirement When user click on link, system should create folder with the name of expense report number in SHAREPOINT and copy copies of expense receipts in the created fol

  • How to make a field with inserted field's values editable?

    Experts, please help!! I have a form with 2 views. View 1 has a field named "Name". View 2 has a field named "Notice" On view 2, I set up the default value for "Notice" as  Concat ( Name, " has enrolled this year") The form data will be submitted to