CS - DIP Profile - Stat line item - DP90 transaction

Hi Gurus,
In CS, after configuring DIP Profile, the DP90 doesn't show any line item.  The source was selected as Statistical Line Item.  The requirement is DP90 should show List Price in Billing document and not actual cost.
Can you help us.
Regards,
Ashok

no answers

Similar Messages

  • Line Item and Transaction Figures

    Hi experts,
    What is the difference between line items and transaction figures ?
    I have gone through a document which specifies for Line items GL AR AP, it picks data respectively frm tables BSEG/BKPF, BSAD/BSID, BSAK/BSIK and for transaction figures GLT0/GLFUNCT, KNC1/KNC3, LFC1/LFC3.
    What data 0FI_XX_6 fetches into BI when compared with 0FI_XX_4 ?
    Please clarify.
    Regards,
    Bhadri M.

    Hi,
    What are Transaction Figures :
    Transaction figures are the sums of line items on the debit or credit side. The balance is the
    difference between the debit and the credit transaction figure.
    What is  line items :
    Line items are document items that were posted to a specific account. In contrast to a document item a line item only contains the information from the document that is relevant from the account view.
    You can display the following line items:
    Open items Cleared items Noted items Parked items Items with special G/L transactions (in Accounts Receivable and Accounts Payable)
    Items with customer or vendor items (in Accounts Receivable and Accounts Payable)
    You can display the line items for the following account types:
    Customer accounts
    Vendor accounts
    G/L accounts
    Point No 1:
    0FI_XX_6 : Transaction Figures:
    http://help.sap.com/saphelp_nw04/helpdata/en/41/4b73415fb9157de10000000a155106/content.htm
    0FI_XX_4: Line-Item
    http://help.sap.com/saphelp_bw33/helpdata/en/af/16533bbb15b762e10000000a114084/content.htm
    Regards
    Ram.
    Edited by: Ramakanth Deepak Gandepalli on Dec 22, 2009 10:46 AM

  • Splitting the Line items in Transaction LB02........

    Hi Frnds,
                I would like to know how to proceed further....afetr entering into standard transaction LB02, the user wants to split the line items depending on the quantity what he has enterd in the custom screen which i developed.
               Here am able to get the data in background necessary to goto standard transaction. After entering into the standard transaction how to split the line items.
    Functional Requirement
    In the screen, which i developed...
    The user enters material no...
    -->Matl qty  & matl desc will be displayed....
    -->Then user enters the bin no.   and the qty he wants to keep in that particular bin.
    -->Here depending on the qty the user has entered it has to reflect in the Tcode LB02.
    -->For example, total qty displayed in the custom screen after entering the matl no. is 20  From this qunatity, the user enters the quantity as 10 which is not GE to that qty (20)  which we got from database.
    -->Now this has to be replicated in the standard transaction in such a way that..the line items should also split according to the qty the user enters.......it may be upto n no. of  line items.....and the bin no. should also be entered into the stnd Tcode LB02 at the unloading point field......
    Thanks & Regards
    Message was edited by:
            Badri Thiriveedhi

    Managed to find an Enhancement Point in the Standard SAP Code and hence the Issue is resolved.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Reporting on DSO for Broker's Statement (Line Item Reporting)?

    Dear experts,
    I need to create a BW report based on data from FS-CD and ICM for a client in the insurance industry. The report is broker's statement which has in total 3 sections/pages (or in 3 levels). The requirements are as follows:
    1. Overview of the total commissions (grouped by different categories) earned by a broker for a specific month
    2. When the broker clicks on the "commission group", it will jump to another page showing each commission items of that group
    3. Details for each commission item (line item in DSO) can be drill-downed in another separate page
    Currently, I have a consolidated DSO for the commission line items. The data will be loaded to an InfoCube followed by a MultiProvider for reporting.
    I am new to BI and I assume that I should follow the following approach:
    1. Use RRI for the jumps between different details levels
    2. Use DSO for reporting the line item on third page
    3. Use Report Designer for the layout because the reports are formatted like Balance Sheet
    Is it possible that I report on the InfoCube via MultiProvider for the 1st and 2nd levels whereas DSO for the 3rd level?
    Could anyone please give me some suggestions on this?
    Thanks in advance.
    Regards,
    Joon

    Hi,
    any updates? I read that the RRI capability of the query is not supported in BEx report. Is it true?
    If so, is there any workaround to enable this?
    Regards,
    Joon

  • Customer statement line item sorting

    Hello SAP Gurus,
    We use a customer statement which has SAP delivered program and 'z'type form, but our requirement is to sort the line items inside the statement.
    I tried using o7s6 - Line item Corresponding sort variant (SPRO>F/A>F/A Global Settings-->Correspondence)in that how would I create a sorting variant that will sort line items based on due date.
    And also I believe some configuration need to be done in variant for program i.e., SE38--> give the program name and execute (F8) --> in side this there are options to sorting by due date but I was not able to achieve what I want.
    Can anyone please help me with this.
    Thanks
    Kishore
    Message was edited by:
            kishore

    Hello
    follow the link and you could get more info
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/01/a9c1cb455711d182b40000e829fbfe/frameset.htm
    Editing Line Items
    You can edit line items for a payment or an exception list at a second list level. You can use the following functions to help you edit line items:
    Sort
    Search
    Change line layout
    To edit line items of a payment, double-click the desired payment line.
    The system then displays the open items of this payment on another screen.
    Sorting Line Items
    To sort open items, choose Edit ® Sort. This brings up an additional window where you can sort the line items according to four criteria and define a sequence (see "Sorting Payments" in Editing Payments).
    Searching for Line Items
    To search for particular open items, choose Edit ® Find. Select a search criterion and enter the desired values or value ranges (see "Searching for Payments" in Editing Payments).
    Changing the Line Layout
    To change the line layout, choose Settings ® Line Layout, and select the required line layout variant. There are four variants delivered with the standard system.
    The standard setting for the sort, find, change line layout, and display totals functions depends on your system configuration. You can change it in Customizing.

  • DIP Profile assignment for item category

    Hi Gurus,
    I  know at item category Level  we can see "DIP Profile" .  but i want to now whether any assignment any where in IMG?
    Regards,
    Seegal

    Hello Seegal
    You asked about assignment right? At least that's what I understood it as.
    If you are asking about where to set up the profile itself, then here is the answer  for that:
    T Code: ODP1
    Menu path: From SD: SPRO/IMG/Sales and Distribution/Sales/Sales Documents/Customer Service/Service Quotation/Resource-Related Billing/Profiles For Resource-Related Billing/Quotation Creation
    Does that help you?

  • BDC Line Item-Call transaction  VF11

    Hi Folks,
    Can anyone here pprovide me an ex with code for uploading data into VF11.
    Thanks,
    K.Kiran.

    John,
    What is Code Gene?
    The Req is like this.
    Cancelling the Billing Document.
    I am using VF11 and fields vbeln,posnr,fkdat.
    when the status process changes,the items for which the status process is changed should get upload into the internal table used for this purpose.
    Partly I did.Kindly Go through the code and let me know what changes needed to be made and what more to be added.
    REPORT ZAB11 NO STANDARD PAGE HEADING
                 LINE-SIZE 255
                 MESSAGE-ID ZA.
    INCLUDE BDCRECX1.
    TABLES:VBRK,
           VBAP.
    DATA: BEGIN OF REC_VBRK OCCURS 0,
          VBELN LIKE VBRK-VBELN,
          FKDAT LIKE VBRK-FKDAT,
          END OF REC_VBRK.
    DATA: BEGIN OF REC_VBAP OCCURS 0,
          POSNR LIKE VBAP-POSNR,
          END OF REC_VBAP.
    DATA: BEGIN OF ITAB_BDC OCCURS 0,
          VBELN LIKE VBRK-VBELN,
          FKDAT LIKE VBRK-FKDAT,
          POSNR LIKE VBAP-POSNR,
          END OF ITAB_BDC.
    DATA:V_FILE TYPE string.
    DATA: REC(200).
    START-OF-SELECTION.
    V_FILE = 'E:/VF.TXT'.
    SELECT VBELN FKDAT INTO TABLE REC_VBRK
                       FROM VBRK WHERE FKDAT = SY-DATUM.
    IF SY-SUBRC <> 0.
    MESSAGE S265.
    EXIT.
    ELSE.
    READ TABLE REC_VBRK INDEX 1.
    SELECT POSNR  INTO TABLE REC_VBAP
                  FROM VBAP
             WHERE VBELN = REC_VBRK-VBELN.
    ENDIF.
    READ TABLE REC_VBRK INDEX 1.
    ITAB_BDC-VBELN = REC_VBRK-VBELN.
    ITAB_BDC-FKDAT = REC_VBRK-FKDAT.
    APPEND ITAB_BDC.
    READ TABLE REC_VBAP INDEX 1.
    ITAB_BDC-POSNR = REC_VBAP-POSNR.
    APPEND ITAB_BDC.
    LOOP AT ITAB_BDC.
      PERFORM OPEN_GROUP.
      PERFORM BDC_DYNPRO      USING 'SAPMV60A' '0102'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    'KOMFK-VBELN(01)'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=PICK'.
      PERFORM BDC_FIELD       USING 'RV60A-FKDAT'
                                   '2007/02/06'.
                                     ITAB_BDC-FKDAT.
      PERFORM BDC_FIELD       USING 'KOMFK-VBELN(01)'
                                   '19000594'.
                                     ITAB_BDC-VBELN.
    READ TABLE ITAB_BDC INDEX 1.
      PERFORM BDC_DYNPRO      USING 'SAPLV60P' '4413'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    '%#AUTOTEXT001'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=POPO'.
      PERFORM BDC_DYNPRO      USING 'SAPLV60P' '0251'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    'RV45A-POSNR'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=POSI'.
      PERFORM BDC_FIELD       USING 'RV45A-POSNR'
                                   '12'.
                                     ITAB_BDC-POSNR.
    READ TABLE ITAB_BDC INDEX 1.
      PERFORM BDC_DYNPRO      USING 'SAPLV60P' '4413'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    '%#AUTOTEXT001'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=MARK'.
      PERFORM BDC_DYNPRO      USING 'SAPLV60P' '4413'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    '%#AUTOTEXT001'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=RUEB'.
      PERFORM BDC_DYNPRO      USING 'SAPMV60A' '0102'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    'KOMFK-VBELN(01)'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=BACK'.
      PERFORM BDC_FIELD       USING 'RV60A-FKDAT'
                                    '2007/02/06'.
      PERFORM BDC_FIELD       USING 'RV60A-SELKZ(01)'
                                    'X'.
      PERFORM BDC_TRANSACTION USING 'VF11'.
      PERFORM CLOSE_GROUP.
    CALL TRANSACTION 'VF11' USING BDCDATA
                            MODE 'N'
                            UPDATE 'S'
                            MESSAGES INTO MESSTAB.
    ENDLOOP.
    CLEAR:BDCDATA, MESSTAB,ITAB_BDC.
    REFRESH:BDCDATA, MESSTAB.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
       ID              = SY-MSGID
       LANG            = 'EN'
       NO              = SY-MSGNO
       V1              = SY-MSGV1
       V2              = SY-MSGV2
       V3              = SY-MSGV3
       V4              = SY-MSGV4
    IMPORTING
       MSG             = MESSTAB
    EXCEPTIONS
       NOT_FOUND       = 1
       OTHERS          = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    If not able to provide the solutions kindly opine on what you interpret from the
    above  so that I can check the errors.
    Thanks,
    K.Kiran.

  • Project Actual Cost Line Items (CJI3) - Need Invement Profile Key also

    Hi All,
    We are trying to execute the report "Project Actual Cost Line Items" through Transaction Code CJI3.
    We need Invement Profile Key also in the out report of CJI3.
    Is there any Standard SAP report to get Invement Profile Key as well along with normal CJI3 output.
    Please let me know in case you find any such Standard SAP report.
    Thanks in advance for your help.
    Regards,
    Srinivas

    Hello Sreekanth
    Thanks for your input. Yes it is working now after posting cost under same CE as what I have maintained in Base of costing sheet on required WBS..
    I was under impression that the cost lying in cost center can be pulled out indepedantly on WBS through costing sheet  based upon percentage mentioned in overhead.However I am observing now that the cost posted on WBS is taken as base amount to calculate overhead.
    In my case, Eur 100 cost is posted under primary cost element 652100 on WBS and Eur 2000 cost is posted on Cost center under same Cost element Actually I am required to pull out some percentage of cost Eur2000 on cost center to WBS. However,
    currently it is taking Rs 100 (posted on WBS) as basline cost and calculating overhead over it and posting it to WBS again under overhead cost element.
    Can we handle this through costing sheet or for that Assessment distribution is must?  May I expect the answer.
    Best Regards
    Adwait

  • Message MSITEM033 in New GL - Cannot Display GL Line Items

    Hi All,
    I wonder if you can advise me on a similar issue we are experiencing.
    Recently we activated the New GL. We are now configuring a new company code.
    I have posted documents to a GL account. I can see the items the total balances on the GL account if I run FAGLB03. However, if I try to drilldown into the line items from FAGLB03 I get the message MSITEM033 as below.
    If I run transaction FAGLL03 and execute for the same GL account I still gte the same message. If I run transaction FBL3N I also get the message.
    I check authorizations immediately after each of FAGLB03 and FAGLL03 and it states the last authorization check was successful. Therefore it is not an authorization issue.
    If I run SE16 I can see the data in balance data in FAGLFLEXT and the line data in FAGLFLEXA.
    I can also see the data in GLT0 as we have currently the update to the Classic GL active in parallel.
    The GL Account has the LID (Line Item Display) active but not the OIM (Open Item Management)
    In summary, it appears that the line item disply transactions (classic and New GL) are not working for this new company code. These transactions do work if I post to accounts for existing company codes. That suggests it might be some issue in the configuration of the new company code.
    I have checked the SAPOSS but have not found anyything there for this.
    We are on ECC6 SAP-APPL 604 003 (ie  SAPKH60403)
    Can you advise what can be the issue here please?
    Thanks and regards
    Michael
    No items selected (see long text)
    Message no. MSITEM033
    Diagnosis
    No line items meeting your selection criteria could be read. This could be for the following reasons:
    1.) No corresponding items have been posted.
    2.) You are not authorized to display this data.
    3.) The items have already been archived.

    Hi Hans,
    We had to open this issue with SAP on the OSS Support Site. This is a technical issue which occurs when you use one of the GL Account 'copy' programs (eg RFBISA40 or RFBISA10) to copy GL Accounts from an existing non-New GL company code. In our case we copied from an old (ie pre New GL setup) company code into a company code that had been setup for New GL. That causes the field BSEG-XLGCLR to be filled with a '/' value. That is what causes the issue.
    To get around this the '/' must be deleted from BSEG. SAP advised us a Z report to create. Having done this SAP will then access your system, run the report to detect the affected line items and then clear these up.
    You should log a messaghe on OSS to get the report.
    Regards
    Michael

  • Transfer of Vendor Line Items from One Co CD to another Co Cd  -- urgent

    Hi Peers
    We have a situation wherein we are going for a new company code from the existing company code. so we have to recreate all the customers & Vendor  master data. Is there any T.Code or Program by which we can create the customer & vendor master data. 
    My second query is, is there any T.Code or other program by which, i can copy line item wise transactions of the existing vendor to the new vendor in the new company code. Like wise customer line item details as well.
    Note:  The Chart of accounts of both the new co. cd and the old co. cd is the same.
    Its a bit urgent
    Expecting your reply ASAP.
    Regards
    Rajaram

    Hello
    Data migration from one company code to other company code relates to 2 objects.
    First ensure master data is copied to new company code.
    Copying master data is simple and in most cases automatic.
    It is merely extending data  from old company code to new company code.
    Now comes thetransaction data.
    You have 2 choices. One is an interface program, which performs both download from old CC and upload to new CC.
    The second is LSMW.You would require 2 programs. One is data download and the other is data upload program.
    Mapping data fields is not an issue because, bothe are SAP systems and presumably within the same client.
    Lastly, you need an ABAPer to work on this. Sit and resolve.
    Reg
    assign points if useful

  • RSBBS Jump: AR Line Item Query to R3 Customer Line Item Display

    I am attempting to create a 'Jump Target' from the 0FIAR_C03 AR Line Item Infocube to the R3 FBL5N Customer Line Item Display transaction.
    The query that the jump is to be performed from an Aging query.
    The user will be running this query for all transactions posted up to and including the end of the previous calendar month. The posting date is provided by the user when submitting the query (via variable 0P_KEYD2). The aging report works just fine.
    Where I'm having the problem is when the user wishes to jump to the R3 transaction FBL5N to display the Customer Line Items. The user wants the 'Line Item Selection' in R3 to inlcude 'Open Items' (this button should be selected -- it is the default setting) where 'Open at Key Date' is to be derived from the query result in the Excel workbook.
    I have created the RSBBS Sender/Receiver Assignment so that it goes and retrieves the line items from R3 for the correct customer. However, I have not been able to figure out how to populate the 'Open at Key Date' with the end Posting Date (OPSTNG_DATE) from the query.
    I've tried every combination I can imagine in the 'Assignment Details' section in RSBBS, but so far I have not been able to make it work.
    Has anyone else out there tried this?
    If you have, were you able to populate the 'Open at Key Date' (ALLGSTID) field in the R3 FBL5N transaction? If you were able to do this, how did you do it?
    All ideas appreciated . . .

    I'm still hoping that someone can help with this issue.
    Here's a repeat of the original question:
    I am attempting to create a 'Jump Target' from the 0FIAR_C03 AR Line Item Infocube to the R3 FBL5N Customer Line Item Display transaction.
    The query that the jump is to be performed from an Aging query.
    The user will be running this query for all transactions posted up to and including the end of the previous calendar month. The posting date is provided by the user when submitting the query (via variable 0P_KEYD2). The aging report works just fine.
    Where I'm having the problem is when the user wishes to jump to the R3 transaction FBL5N to display the Customer Line Items. The user wants the 'Line Item Selection' in R3 to inlcude 'Open Items' (this button should be selected -- it is the default setting) where 'Open at Key Date' is to be derived from the query result in the Excel workbook.
    I have created the RSBBS Sender/Receiver Assignment so that it goes and retrieves the line items from R3 for the correct customer. However, I have not been able to figure out how to populate the 'Open at Key Date' with the end Posting Date (OPSTNG_DATE) from the query.
    I've tried every combination I can imagine in the 'Assignment Details' section in RSBBS, but so far I have not been able to make it work.
    Has anyone else out there tried this?
    If you have, were you able to populate the 'Open at Key Date' (ALLGSTID) field in the R3 FBL5N transaction? If you were able to do this, how did you do it?
    All ideas appreciated . . .

  • How to give line items in flatfile while doing BDC for Table control

    Hi all,
    I am writing BDC for Multiple line items and Transaction  is : FSE5N.
    How do i give the data in the flat file. I mean how do we give the multiple line items in flat file , i.e for second line item again we have to header data or not ?
    ex:
    1015;ALL;demo;kr;INR;01;0001;3000172;100
    1015;ALL;demo;kr;INR;01;0001;3000172;200
    for first lineitem  : 3000172;100
    for 2nd line item : 3000172; 200.
    header data : 1015;ALL;demo;kr;INR;01;0001.
    Thanks in advance
    krupali

    Hii ,
    u can give in the same format as u have done in the example.
    A       B    C     D  E    F   G        H          I
    1015;ALL;demo;kr;INR;01;0001;3000172;100
    1015;ALL;demo;kr;INR;01;0001;3000172;200
    and while writing the loop u can give
    loop at it_head.
    loop at it_head where a = it_head-A and b = it_head-B ..........upto G = it_head-G.
      endloop.
    endloop.
    check this
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    Neeraj

  • Purchase price variance line item - not to be posted in Parallel currency

    Hi All,
    Scenario:
    Transaction currency - SGD
    Local Currency - INR
    Parallel Currency 1 (LC2) - Group currency - USD
    Parallel Currency 2 (LC3) - Global Company currency - INR
    Import PO - MIGO - MIRO
    PO is raised in foreign currency.
    Material master price control is maintained in 'S'.
    While doing MIGO, I am getting following accounting entries:
    Stock a/c Dr.
    GR/IR a/c Cr.
    Price variance* a/c Dr.
    *The price varaince is because of difference in my material price as per material master and PO.
    If I go and check in FBL3N, I can see all the line items in Transaction, Local currency and 2 Parallel currencies.
    My query is, In SAP is it possible to avoid Price variance line item posting to Parallel currencies.
    To my knowledge I know that it is not possible to avoid a single line to post it to Parallel currencies.
    Thanks in advance.

    This is the answer from OSS
    Dear Customer,
    the system works as designed.
    When Material Ledger is activated, price differences are always
    generated under the circumstances you have described. The reason is
    that when material ledger is activated, price differences must not be
    included into the stock changes value, otherwise the system would
    not be able to calculate an actual price.
    When Material Ledger is activated, the customizing setting
    for handling price differences in the subcontracting process has no
    effect.
    Best regards,
    Santiago Lorite
    AGS Primary Support, Business Suite & Technology u2013 Logistics

  • Creation of po with mutiple line items using BDC

    Hi Gurus,
          Can any body hav notes for creating po's using BDC with multiple line items in transaction ME21. I hav created po for single line item but if i tried to create multiple line items, it ll create multiple po's...
    thanks in advance
    arun

    See the Below Logic for me22 and it is also same for me21
    report zpochange.
    data : i_error like bdcmsgcoll occurs 0 with header line.
    data : i_bdcdata like bdcdata occurs 0 with header line.
    tables : ekko, ekpo.
    data :c1(10) value 'ME22',
          c2(1) value ',',c3(10).
    data : var1(20). " LIKE EKKO-EBELN.
    data : var2 like ekko-ebeln.
    data : begin of i_ekko occurs 0,
              header(2),
              ebeln like ekko-ebeln,
              end of i_ekko.
    data : begin of i_ekpo occurs 0,
    item(2),
            ebeln like ekpo-ebeln,
            ebelp like ekpo-ebelp,
            menge(10), " LIKE EKPO-MENGE,
           end of i_ekpo.
    data : v like ekpo-ebelp.
    data: begin of itab occurs 0,
             text(300),
            end of itab.
    parameters: p_file like ibipparms-path.
    *PARAMETERS: PONUMBER LIKE EKPO-EBELN.
    at selection-screen on value-request for p_file.
    call function 'F4_FILENAME'
      exporting
        program_name        = syst-cprog
        dynpro_number       = syst-dynnr
       FIELD_NAME          = ' '
      importing
        file_name           = p_file
    start-of-selection.
    *SELECT EBELN FROM EKKO INTO TABLE I_EKKO WHERE EBELN = PONUMBER.
          SELECT EBELN EBELP MENGE FROM EKPO INTO TABLE I_EKPO WHERE EBELN
    *= PONUMBER.
    perform get_data.
    *LOOP AT ITAB.
    WRITE :/ ITAB.
    ENDLOOP.
    loop at itab.
    var1 = itab-text+0(1).
    if var1 = 'H'.
    *I_EKKO-EBELN = ITAB-TEXT.
    split itab at c2 into i_ekko-header
                           i_ekko-ebeln.
    SPLIT  ITAB AT ',' INTO I_EKKO-EBELN.
                        " I_EKPO-EBELP
                        " I_EKPO-MENGE
                        " var1.
    append i_ekko.
    else.
    split itab at c2 into i_ekpo-item
                            i_ekpo-ebeln
                            i_ekpo-ebelp
                            i_ekpo-menge.
    append i_ekpo.
    endif.
    *var2 = i_ekpo-ebeln.
      MOVE VAR1 TO I_EKPO-EBELN.
      MOVE VAR1 TO I_EKKO-EBELN.
    APPEND: I_EKPO.
    *if not var1 is initial.
        split var1 at ',' into i_ekpo-ebelp
                               i_ekpo-menge.
      i_ekpo-ebeln = var2.
    append i_ekpo.
    *endif.
    endloop.
    loop at i_ekpo.
    write :/ i_ekpo.
    endloop.
    loop at i_ekko.
    perform fill_data. " TABLES I_EKPO.
    endloop.
    LOOP AT I_EKPO.
    WRITE :/ I_EKPO.
    ENDLOOP.
    *&      Form  GET_DATA
          text
    -->  p1        text
    <--  p2        text
    *LOOP AT I_ERROR.
    WRITE :/ I_ERROR.
    ENDLOOP.
    form get_data.
    call function 'WS_UPLOAD'
    exporting
       codepage                      = ' '
       filename                      = p_file
       filetype                      = 'ASC'
       headlen                       = ' '
       line_exit                     = ' '
       trunclen                      = ' '
       user_form                     = ' '
       user_prog                     = ' '
       dat_d_format                  = ' '
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = itab
    exceptions
       conversion_error              = 1
       file_open_error               = 2
       file_read_error               = 3
       invalid_type                  = 4
       no_batch                      = 5
       unknown_error                 = 6
       invalid_table_width           = 7
       gui_refuse_filetransfer       = 8
       customer_error                = 9
       others                        = 10
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    endform.                    " GET_DATA
    *&      Form  FILL_DATA
          text
         -->P_I_EKPO  text
    form fill_data. " tables   i_ekpo .
    perform bdcscreen using 'SAPMM06E' '0105'.
    perform bdcfield using 'RM06E-BSTNR' i_ekko-ebeln.
    perform bdcfield using 'BDC_OKCODE' '/00'.
    loop at i_ekpo where ebeln = i_ekko-ebeln.
      V = I_EKPO-EBELP.
    perform bdcscreen using 'SAPMM06E' 0120.
    perform bdcfield using 'BDC_CURSOR' 'RM06E-EBELP'.
    perform bdcfield using 'RM06E-EBELP' i_ekpo-ebelp.
    perform bdcfield using 'BDC_OKCODE' '/00'.
    perform bdcscreen using 'SAPMM06E' 0120.
    perform bdcfield using 'BDC_CURSOR' 'EKPO-MENGE(01)'.
    perform bdcfield using 'RM06E-EBELP' i_ekpo-ebelp.
    perform bdcfield using 'EKPO-MENGE(01)' i_ekpo-menge.
    perform bdcfield using 'BDC_OKCODE' '/00'.
    *PERFORM BDCSCREEN USING 'SAPMM06E' 0120.
    *PERFORM BDCFIELD USING 'BDC_CURSOR'  'RMO6E-EBELP'.
    *CLEAR V.
    endloop.
    perform bdcfield using 'BDC_OKCODE' '=BU'.
    call transaction  c1 using i_bdcdata mode 'A'
                                       messages into i_error.
    refresh i_bdcdata.
    endform.                    " FILL_DATA
    *&      Form  BDCSCREEN
          text
         -->P_0140   text
         -->P_0120   text
    form bdcscreen using    p_program p_screen.
    i_bdcdata-program = p_program.
    i_bdcdata-dynpro = p_screen.
    i_bdcdata-dynbegin = 'X'.
    append i_bdcdata.
    clear i_bdcdata.
    endform.                    " BDCSCREEN
    *&      Form  BDCFIELD
          text
         -->P_0145   text
         -->P_I_EKPO_EBELN  text
    form bdcfield using    fnam fval.
    i_bdcdata-fnam = fnam.
    i_bdcdata-fval = fval.
    append i_bdcdata.
    clear i_bdcdata.
    endform.                    " BDCFIELD
    Reward Points if it is helpful
    Thanks
    Seshu

  • Problem in CRM_ORDER_MAINTAIN for updating qty in more than 1 line item .

    Hi abapers,
    I am using BAPI CRM_ORDER_MAINTAIN to update quantity. Its updating the quantity properly if there is single line item for a transaction .If more than 1 line item is there then its throwing an exception* "Document is being distributed - changes are not possible"*.
    Scenario:
    I have a itab  which is having 2 line items for a transaction. i run a loop pass the pass the required parameters in CRM_ORDER_MAINTAIN ,do CRM_ORDER_SAVE , BAPI_TRANSACTION_COMMIT for the 1st line item. When i run the 2nd loop, in  CRM_ORDER_MAINTAIN it gives an exception saying NO_CHANGE_ALLOWED for the same transactions 2nd line item. leaving the quantity unchanged for both the line items. What may be the problem?
    Note: We cannot say how many line items are there for an transaction. so no chance of grouping all items at a time and saving at a time.
    Regards,
    Navin

    Hi Navin,
    Why its not possible to use CRM_ORDER_SAVE only once. I think its possible. Call CRM_ORDER_MAINTAIN in loop for all the line item in transaction and after that call CRM_ORDER_SAVE once. Pls follow the below sample code.
    loop at it_item.
    call CRM_ORDER_MAINTAIN. (Here append data for all the line items and miantin the transaction).
    emdloop.
    After endloop call CRM_ORDER_SAVE. Also you can add some wait after CRM_ORDER_SAVE, In order to avoid locking issue.
    PLs let me know where you are trying to use CRM_ORDER_MAINATIAN ? In any BADI or Z program ?
    Regards,
    Amol.

Maybe you are looking for

  • New Laptop for PS CS6 and LR5

    I have a new Windows 8 laptop and need to install PS CS6 (an upgrade on former laptop) and LR5 (also an upgrade).  The new laptop doesn't have an optical drive.  I also can't locate my PShop serial number.

  • Activity Reports - specify report content?

    Hi, We are running SP12 and would like to use Activity Reports. I have read the topics about the bug concerning the AGGREGATIONLEVEL (only hour works), but what about specifying report content? I have only been able to get rows when I <b>DON'T</b> sp

  • JLayeredPane - not all high layer being drawn.

    I'm getting an odd effect with a JLayeredPane in that some (but not all) of a higher layer is being hidden behind a lower layer JComponent. Is this likely to be a layout manager issue (I'm not setting one) or am I doing something else silly? I'd have

  • Urgent - Cannot find instances

    Hi, I am facing below given error and am not sure whats really wrong. This happens when I try to log on to BPEL Console. If I restart the server, the error goes off and comes back after some time. I am running BPEL PM 10.1.3.3 on Jboss server and my

  • Distance between zipcodes

    Want to find distance between two zipcodes that have their latitude and longitude stored in a table. The table is as follows CREATE TABLE distance (zipcode VARCHAR2, LNG NUMBER, LAT NUMBER) I couldn't come up with a calculation or understand the math