Line item query creation

Hi Gurus
Do you know if there is any possibility to create query which gives same information as FBL3N - G/L account line items?
My problem is that in FBL3N i cannot get the data from to selection screen to report header. I want to get there account from-to and period from-to. Someone said me that build a query and you can get the data to header. I know that there is some user exit to get the information to report header in FBL3N..any idea about that?
But could some one give me detailed information how to create the query with the information in the header..infosets/tables? All advices are warmly welcome.
-Jaakko

THANKS

Similar Messages

  • User Exit for line item query

    HI There,
    I'm not good at ABAP coding and need some help from experts.
    Working on Line Items Query and enhanced the 0FI_AP_4 to include fields from BSEG table, the fields are:
    GEBER - Funds
    FISTAL - Funds Center
    KOSTL - Cost Center
    GSBER - Business Area.
    I used the below code to enhance the datasource 0FI_AP_4, and its taking toooo long to load the data, but its pulling the line item data into BW.
    Please find another code after this....its very quick, either in extract checker or loading into BW, however its not loading all fields into BW. Specially line items like Cost Center, Fund center and Fund fields.
    Please go through the below codes and suggest me what changes i have to make to work as it should be.
    DATA: L_TABIX LIKE SY-TABIX.
    DATA: ZADTFIAP_3 LIKE DTFIAP_3.
    CASE I_DATASOURCE.
    WHEN '0FI_AP_4'.
    LOOP AT C_T_DATA INTO ZADTFIAP_3.
    L_TABIX = SY-TABIX.
    SELECT SINGLE GEBER FROM BSEG INTO ZADTFIAP_3-GEBER
    WHERE BUKRS = ZADTFIAP_3-BUKRS AND GJAHR = ZADTFIAP_3-FISCPER+0(4).
    SELECT SINGLE FISTL FROM BSEG INTO ZADTFIAP_3-FISTL
    WHERE BUKRS = ZADTFIAP_3-BUKRS AND GJAHR = ZADTFIAP_3-FISCPER+0(4).
    SELECT SINGLE KOSTL FROM BSEG INTO ZADTFIAP_3-KOSTL
    WHERE BUKRS = ZADTFIAP_3-BUKRS AND GJAHR = ZADTFIAP_3-FISCPER+0(4).
    MODIFY C_T_DATA FROM ZADTFIAP_3 INDEX L_TABIX.
    ENDLOOP.
    ENDCASE.
    Below code is extracting data very quickly but not bringing data for all fields specially line items like Fund Center, Cost center and Fund fields.
    DATA: L_TABIX LIKE SY-TABIX.
    DATA: ZADTFIAP_3 LIKE DTFIAP_3,
    wa_bseg Like bseg.
    CASE I_DATASOURCE.
    WHEN '0FI_AP_4'.
    LOOP AT C_T_DATA INTO ZADTFIAP_3.
    L_TABIX = SY-TABIX.
    Select single * from
    bseg into wa_bseg
    where BUKRS = ZADTFIAP_3-BUKRS
    and GJAHR = ZADTFIAP_3-FISCPER+0(4)
    and BELNR = ZADTFIAP_3-BELNR
    and BUZEI = ZADTFIAP_3-BUZEI.
    IF SY-SUBRC = 0.
    Move: wa_BSEG-GEBER to ZADTFIAP_3-GEBER,
    wa_BSEG-FISTL to ZADTFIAP_3-FISTL,
    wa_BSEG-KOSTL to ZADTFIAP_3-KOSTL,
    wa_bseg-GSBER to ZADTFIAP_3-GSBER.
    ENDIF.
    MODIFY C_T_DATA FROM ZADTFIAP_3 INDEX L_TABIX.
    ENDLOOP.
    ENDCASE
    Thanks
    Vandana

    Hi,
    You can try this.
    USEREXIT_MOVE_FIELD_TO_VBEP                                      
    Use this user exit to assign values to new fields at the level of
    the sales document schedule lines.                               
    The user exit is called up at the end of the FORM routine        
    VBEP_FUELLEN.                                                    
    Thanks
    Krishna.

  • 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 . . .

  • Change Transfer Order Line Items during Creation

    Hi All,
    I  have a requirement wherein it is necessary to change the Line item (LTAP) of a transfer order , during its creation.
    I had a look at exits - MWMTO001 (EXIT_SAPLL03T_001) . But it is not useful in our case as the TO is already created before the control is passed over to the user-exit.
    Our requirement is that, if the source qty in alternate unit of measure (LTAP-VSOLA) contains a decimal value i.e. if LTAP-VSOLA = 2.500 CAR ( Carton is the alternate unit of measure ), then the TO line must be split into two lines and the qty must be distributed as 2 CAR and 6 EA ( Each is the Base unit of Measure ), considering that 1 CAR = 12 EA.
    I tried searching for any FM/BAPI for changing TO's, so that it can be used in the above exit after TO creation, but could not find any . Any suggestions to over come this will be highly appreciated.
    Thanks & regards,
    Sandeep

    Hi Jurgen,
    You are right. The system does not propose TO's with different UoM's for the same material. The TO split thro configuration which you have suggested does not check for the decimal value of the quantity, but rather it takes the Qty value as a whole.
    As far as I have seen , there are no user exits which can be used to influence the creation of TO line items.  Let me know if u come across any of them, which can be used to modify the system determined TO lines.
    Regards,
    Sandeep

  • Blocking SA line item on creation of new lines or reset via userexit

    For a Schedule Agreement(SA ), tcode ME32L, when the following happens
        - new line item
        - reset a block
        - reset a delete
    I want to change the 'Deletion Indicator' (LOEKZ) to 'Block', value 'S', at the time of saving.
    As a standard, this field would have been blank.
    In EXIT_SAPMM06E_013 l assigned XEKPO-LOEKZ with value 'S' and updated the internal table.
    On run-time, this field (XEKPO-LOEKZ) is updated but after saving the SA, LOEKZ is not updated in table EKPO.
    I have checked EXIT_SAPMM06E_012, I cannot use it for what I want to do.
    Has anyone done something like this successfully?
    Any practical suggestons welcomed.

    Dear,
             Thanks for your reply, i changed the item category of SO line item and shedule line item in the xvbap and xvbep and i changed updkz to U. i have two item categories ( i.e YNAA and YNAB ) for YNAB system automaticallty creates Purchase requisation, If i change the item catergory  in the user exit TO_VBEP . system not creating the PR for YNAB. by the time control comes to TO_VBEP user exit system already detemining shedule line and sale order line items category in XVBAP and XVBEP . if  i change any thing at this place system giving error while saving .
                  Thanks in advance.
    Regards,
    Manoj
    Edited by: manoj kv on Dec 26, 2010 4:40 PM

  • Vendor line item query

    Hi gurus
    Is it possible to create query which gives you same information as FBL3N, FBL1N or FBL5N? The problem is that i cannot get the header information right in the standard reports.
    If someone knows the help is warmly welcome. The infoset creation+ others.
    Thanks

    Hi Gurus
    I want to get the information from the selection screen to report header. I need posting period from and to. I also need account from and to. When i go to settings-layout- current header rows i cannot add the. It is only possible to put account from and the rest is shown as a star.
    Please help me.

  • How to update line items if it exceeds 17 during creation of SO in va01.

    Hi,
    I have implemented one logic in mv45afzz for updating IO (internal order) with respect to line items during creation of SO through VA01.
    It is working fine.
    My problem is: For first 17th line items it is working fine , but those line items which come after 17th not working.
    Please suggest.
    Thanks,
    Sakti

    Hi,
    Pls find the below code for your reference.
    LOOP AT xvbap INTO wa_xvbap.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
          EXPORTING
            input  = wa_xvbap-matnr
          IMPORTING
            output = wa_xvbap-matnr.
        IF ( wa_xvbap-matnr = c_matno_1 OR
           wa_xvbap-matnr = c_matno_2 ) AND
           wa_xvbap-updkz <> 'D'.
    *Before changing container number first check first check the IO attached to
    *this container number fully settled or not.
          IF NOT yvbap[] IS INITIAL.
            SORT yvbap[] BY vbeln posnr.
            READ TABLE yvbap INTO wa_yvbap WITH KEY vbeln = xvbak-vbeln
                                                    posnr = wa_xvbap-posnr
                                                    BINARY SEARCH.
            IF sy-subrc = 0 AND
              ( wa_yvbap-arktx <> wa_xvbap-arktx OR
               wa_yvbap-z_container_no <> wa_xvbap-z_container_no.
              CALL FUNCTION 'CONVERSION_EXIT_OBART_INPUT'
                EXPORTING
                  input  = c_sdi
                IMPORTING
                  output = l_output1.
              CONCATENATE 'ORX'
                          wa_yvbap-z_container_no
                          INTO g_objnr1.
              SELECT SINGLE *
                          INTO wa_cobrb_sdi
                          FROM cobrb
                          WHERE objnr = g_objnr1 AND
                                konty = l_output1.
              IF sy-subrc <> 0.
                CONCATENATE 'ORY'
                              wa_yvbap-z_container_no
                              INTO g_objnr1.
                SELECT SINGLE *
                            INTO wa_cobrb_sdi
                            FROM cobrb
                            WHERE objnr = g_objnr1 AND
                                  konty = l_output1.
              ENDIF.
            ENDIF.
          ENDIF.
    *If the Io is fully settled, then can not change container number.
          IF wa_cobrb_sdi-ersja IS NOT INITIAL.
            MESSAGE s303(me) WITH 'Container can not be changed as IO already settled for' wa_yvbap-posnr.
            CLEAR:wa_yvbap,
                  wa_cobrb_sdi,
                  g_objnr1.
            PERFORM folge_gleichsetzen(saplv00f).
            fcode = 'ENT1'.
            SET SCREEN syst-dynnr.
            LEAVE SCREEN.
          ELSE.
    *Check container number is initial or not
            IF wa_xvbap-z_container_no IS NOT INITIAL AND tcode = c_va01.
              CONDENSE wa_xvbap-z_container_no.
    *Add 'X' to container number and serch for IO exist or not
              CONCATENATE c_x
                          wa_xvbap-z_container_no
                          INTO l_aufnr.
              SELECT SINGLE aufnr objnr
                         FROM aufk
                         INTO (g_aufnr,g_objnr)
                         WHERE aufnr = l_aufnr.
              IF sy-subrc = 0.  " AND wa_xvbap-arktx = l_aufnr.
                l_flag = 'X'.
              ELSE.
    *Add 'Y' to container number and search for IO
                CONCATENATE c_y
                            wa_xvbap-z_container_no
                            INTO l_aufnr.
                SELECT SINGLE aufnr objnr
                          FROM aufk
                          INTO (g_aufnr,g_objnr)
                          WHERE aufnr = l_aufnr.
                IF sy-subrc = 0.  " AND wa_xvbap-arktx = l_aufnr.
                  l_flag = 'X'.
                ELSE.
    *Display error message if Io was not found or forgot to enter IO in description field
                  MESSAGE s083(me) WITH 'IO was not found for' wa_xvbap-posnr.
                  PERFORM folge_gleichsetzen(saplv00f).
                  fcode = 'ENT1'.
                  SET SCREEN syst-dynnr.
                  LEAVE SCREEN.
                ENDIF.
              ENDIF.
           ELSE.
            ELSEIF tcode = c_va01.
    *Display error message if user forget to enter container number
              MESSAGE s083(me) WITH 'container number for' wa_xvbap-posnr.
              PERFORM folge_gleichsetzen(saplv00f).
              fcode = 'ENT1'.
              SET SCREEN syst-dynnr.
              LEAVE SCREEN.
            ENDIF.
            IF l_flag EQ 'X'.
              CALL FUNCTION 'CONVERSION_EXIT_OBART_INPUT'
                EXPORTING
                  input  = c_sdi
                IMPORTING
                  output = l_output.
              CALL FUNCTION 'CONVERSION_EXIT_PERBZ_INPUT'
                EXPORTING
                  input  = c_ful
                IMPORTING
                  output = l_ful.
    *Fetch 1st line of settlement rule
              CALL FUNCTION 'CONVERSION_EXIT_OBART_INPUT'
                EXPORTING
                  input  = c_gl
                IMPORTING
                  output = l_gl.
              SELECT SINGLE *
                    INTO wa_cobrb_gl
                    FROM cobrb
                    WHERE objnr = g_objnr AND
                          konty = l_gl.
              IF sy-subrc EQ 0.
    *Populate values for second line settlement
                wa_cobrb-objnr = g_objnr.            "OBJNR
                wa_cobrb-lfdnr = '003'.
                wa_cobrb-konty = l_output.           "Category
                wa_cobrb-kdauf = xvbak-vbeln.        "Order No
                wa_cobrb-kdpos = wa_xvbap-posnr.     "Item No
                wa_cobrb-prozs = c_percent.          "Percentage
                wa_cobrb-perbz = l_ful.              "Settlement
                wa_cobrb-extnr = c_no.               "No
                wa_cobrb-gabpe = wa_xvbap-erdat+4(2).      "From period
                wa_cobrb-gabja = wa_xvbap-erdat+0(4).      "From Fiscal
                APPEND wa_cobrb TO gt_cobrb.
              ELSE.
    *Populate values for second line settlement
                wa_cobrb-objnr = g_objnr.            "OBJNR
                wa_cobrb-lfdnr = '003'.
                wa_cobrb-konty = l_output.           "Category
                wa_cobrb-kdauf = xvbak-vbeln.        "Order No
                wa_cobrb-kdpos = wa_xvbap-posnr.     "Item No
                wa_cobrb-prozs = c_percent.          "Percentage
                wa_cobrb-perbz = l_ful.              "Settlement
                wa_cobrb-extnr = c_no_1.               "No
                wa_cobrb-gabpe = wa_xvbap-erdat+4(2).      "From period
                wa_cobrb-gabja = wa_xvbap-erdat+0(4).      "From Fiscal
                APPEND wa_cobrb TO gt_cobrb.
              ENDIF.
              IF wa_cobrb_gl IS NOT INITIAL.
                wa_cobrb_gl-gbisp = wa_cobrb-gabpe - 1.
                wa_cobrb_gl-gbisj = wa_cobrb-gabja.
                APPEND wa_cobrb_gl TO gt_cobrb_gl.
              ENDIF.
         ELSEIF wa_cobrb-ersja IS NOT INITIAL.
           MESSAGE 'Container number can not be reassign' TYPE 'E'.
            ENDIF.
          ENDIF.
        ENDIF.
        CLEAR:wa_cobrb,
              g_objnr,
             wa_aufk,
              wa_cobrb_gl,
              wa_cobrb_sdi.
      ENDLOOP.
      IF l_flag EQ 'X'.
    *Create 2nd line for settlement rule.
        SORT gt_cobrb[].
        DELETE ADJACENT DUPLICATES FROM gt_cobrb[].
        IF NOT xvbak-vbeln IS INITIAL AND tcode = c_va01.
          IF NOT gt_cobrb[] IS INITIAL.
            CALL FUNCTION 'K_SRULE_SAVE_UTASK'   "IN UPDATE TASK
              TABLES
                t_cobrb_insert    = gt_cobrb[]
              EXCEPTIONS
                srule_utask_error = 1
                OTHERS            = 2.
    Thanks,
    Sakti

  • Enhancement - Accounting Document from Billing Document - change line items

    Hi Experts,
           Our client has a requirement to display all line items(as shown in Billing document) along with the tax line in the Accounting document. I can explain it as below:
          In VF01 transaction code: enter the delivery number.
          Press enter to see the number of line items that will be populated in the Billing document.
          Click on save.
          Here in the Accounting Doc you'll find only 2 line items, one line item is the consolidation of WRBTR and quatity of all the line items in the Billing Document and the other line item is the tax.
          We are required to replace the consolidated line item in the Account Doc with all the actual lines as populated in the Billing Document.
          For this we tried various methods:
                 Searched for a BAPI - couldnt find any which will help in modifying the line items before creation of Account Doc
                 Checked UserExits - Found one SDVFX008 but it didnt have the table which is sent for population of Accounting doc hence there was no way we could modify any table to get the desired output.
                 Searched the VF01 Flow in Debugger to check when the Accounting Doc is updated, but it also didnt yield any fruits.
          Kindly please guide on a way this can be accomplished. Appreciate the help from you all...

    Hi
    I think that your requirement is related with summarization of items in the FI doc for the billing document. Please, see SAP Note 36353 - AC interface: Summarizing FI documents. See also Note 301077 - User exits for the interface to accounting.
    I hope this helps you
    Regards
    Eduardo

  • Replication of line items in the PO through ME59N

    Hello everyone,
    I am trying to replicate( duplication of each line item  into 3 line items) the line items in the PR through ME59N. I tried to change the Build_ITEM perform and added the new line items to it. However, during validation of line items, the program fails to replicate. I could not add the line items after creation of the PO in the program. Please help!!
    Thanks,
    Kanch

    You can use this exit to restrict number of line items in PO.
    EXIT_SAPMM06E_012

  • Automatic Service Order creation and OBD line item creation - Repair Order

    Hi ALL,
    I tried to run the Repair process based on the help document of SAP:
    Configs Followed:
    1) In Material master MRP3 view, strategy group is assigned as 84 (service orders). By default this str.grp is linked with Requirement type SERA and Requirement class 203.
    2 ) Requirement class is assigned with appropriate Service order type.
    SPRO>Sales and Distribution>Basic Functions>Availability Check and Transfer of Requirements>Transfer of Requirements-->Define Requirements Classes (OVZG)
    Actual Assignment:
    Reqt. Class Service Order Type
    039 SM01
    203 SM01
    3) Task list is assigned to your Service material - Service product - OISD
    Actual Assignment:
    Service Pdt Work Centre Plant B Area Gen TL Group Counter Task List Type
    R-1001 PC-SERV 1200 8000 62 1 A
    4) Check the Requirement class setting indicator for configuration (cnfg)
    Actual Assignment:
    = mandatory
    5) SPRO>Sales and Distribution>Basic Functions>Availability Check and Transfer of Requirements>Transfer of Requirements-->Define Requirements Classes --> Determination Of Requirement Types Using Transaction
    Actual Assignment:
    Item Category Reqt class Reqt. Type
    IRRS 039 SE
    IRRE 203 SERP
    IRRP 203 SERP
    IRAL 040 KE
    6) Sales and Distribution>Sales>Sales Document Item-->Assign Item Categories for determining the item category based on usage
    Actual Assignment:
    Sal. Doc. Type Item Cat. Group Item Usage H. L . Item Cat Item Category
    RAS NORM IRRS
    RAS NORM R101 IRRS IRRE
    RAS NORM R102 IRRS IRRP
    RAS NORM R103 IRRS IRAL
    Errors Faced:
    1. Service Order is not getting created automatically.
    Error in SAP - IDES :"A service order has not been found for action 'Repairs'"
    2. Also im not getting the automatic creation of the 4th line item(Item Category - IRAL) in the repair order, which in turn stops me from creating the Outbound delivery.
    Please HELP !
    Regards

    Hi PeteA,
    Sorry, here it is...
    Let me explain the process that has been followed:
    1) Initially to start with Service Notification was created with IW51 T-code.
        In that, Sold to party and material # were entered. Then from there directly i go for Create Repair Order from the Action Box.
        Order type for repair order - RAS, and when i save both Service Notification and the Repair gets saved.
        Now, in the repair order, two line items were getting created automatically and the requirement Types for those line items are:
        Line Item I : SE
        Line Item II: SERP
    2) After that i take the material in with the help of t-code VRRE.
    3) Then, i do the acceptance of the stock ( Technical Check) with t-code QA11.
        Once i do that, i get the Third line item in the Repair Order and the requirement Type for that line item is:
        Line Item III: SERP
    Now my query is, Once i do the QA11 transaction i need to get a Service Order automatically but thats not happening.
    Also if i create a Service Order manually, and do the repair and do the technically completion of the service order, then i need to get a third line item (IRAL) in the repair order automatically and thats also not happening.
    Regards

  • Issue in creation of new line item in repair order-Reg

    Hi all,
    I have a query in Service Management Module of SAP while working in standard IDES System.
    I followed the procedure given in the IDES material.
    As per the standard system the fourth line item in the repair order should be automatically created, once the service order is technically confirmed and completed. In my case iam able to get the first three (Item Categories - IRRS,IRRE,IRRP) line items but even after completing the service order technically iam not gettin the fourth line item (IRAL). Only based on the Fourth line item we can create the Outbound delivery for the repaired item. After that the billing process need to be processed. My query is how to get the fourth line item automatically in the repair order after i technically complete the Service Order. 
    To brief you on the entire process that i have followed:
    1. The QM Check need to be activated for the material.
    2. Creating the Service Notification and the repair request.
    3. Posting the GR of a piece of equipment to be repaired.
    4. Processing the technical check.
    5. Displaying the repair request and the service order.
    6. Editing the Service Order.
    7. Processing and Confirming the Service Order.
    8. Technically Completing the Service Order.
    9. Delivering the Repaired Piece of Equipment.
    Then Comes the BILLING.....
    In the above, after the eighth Step the Fourth Line item will be created automatically created but it DOESNT....
    regards
    Venu

    Hi ,
    Review your repair procedure and copy controls defined for this stage...mya be some thing is missing over there causing this behaviour.
    As you told completion of Service order will determine the last item and enable us to delivery the item to customer...
    Thanks,
    sudhi

  • Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC

    We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
    Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
    Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
    Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
    Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
    Regards,
    Rommel

    Hi Jayesh,
    If I understand you correctly, you want that when creating SO from Quoatation
    the Ship to Party also follow/copy Ship to Party from Quotation, right?
    Just to confirm with you, when you creating SO reference from Quotation, you
    use copy/follow-up function, am I right?
    You can do this by setting in configuration of Copy Control (like mentioned by Hui).
    Step as follow :
    1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions
    2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
        Party value from source document and use it in current document
    3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
        IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions-> Define Copying Control for Transaction Types
    4. Here you set Copying Routine for your transaction types (put name of your Badi
        created in step no. 2)
    Or alternatively, you can set it on access sequence in Partner Function
    Ship to Party in configuration. You can define access sequence the Ship
    to Party is taken from Preceeding Document -> Ship To Party
    1. Go to Partner Function access sequence :
        IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
    2. Create new access sequence with following entry :
        - Source COM_PARTNER_A (PrecedingPartner)
        - Check Mapping for Partner Being search
        - Partner Function in Source  = Ship To Party
    3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
       Type.
    Tell me if this is what you looking for
    Gun.

  • SAP QUERY report for vendor line items

    Hi
    I have created a SAP QUERY report for vendor line items with fields vendor no.,vendor name,amount,company code and period.But there is one line item i donot know from wher system is getting it picked with is not in that vedor account,when i compare with fbl1n.I checked the document number too...the same doc number is twice in my query report.One with correct amount and another with wrong one.How do i chk.Where did i go wrong in creating query.I used logical database KDF.
    Please advise.

    i chked...how do we get the amount displayed in query...it just displays amount no debit credit symbol... i have selected BSEG-DMBTR field but no -/+ sign,how is it done in query,please suggest.

  • Few line items are not coming at the time of creation of delivery

    Dear Experts,
    When the user creating the delivery few line items are not picking in the delivery document
    the following checks i verified,
    Stock is available
    shpping condition is differ from sold to party and sales document
    Plants are same for all the line items
    why the few line items are not coming in the delivery document creation,
    please help me to sort out this issue
    Thanks and Best Regards,
    Muralidharan S

    Hi,
    Check below points.
    Point 1:
    When you create a delivery document, you create it for a Shipping Point.
    So whatever the line that came in to one delivery has determined same shipping point that you entered in VL01N screen.
    Others got a different shipping point and that's why it didn't come to the same delivery document.
    Shipping point determined based on below criteria
    - Shipping Condition - From customer master
    - Loading Group - Material
    - Plant  - Delivery Plant of the sales order line item
    You assign a proffered shipping point for above combination in configuration.
    If that combination is not find, those line items are not going in to the delivery.
    You can check the log of the delivery document for more information as well.
    Point 2:
    Check the line item Requested delivery date and the "Selection Date" you entered in the VL01N screen.
    Al  Requested delivery dates has to be on or before the  "Selection Date" you entered in the VL01N screen.
    Those line items which has a date more than that will dropped in the delivery.
    Best regards,
    Anupa

  • Asset Creation in PR and PO and MIGO as a single Line item with "N" qty

    Hi All,
    In Purchase requestion ME51N
    Now we are creating "n" number of assets ( All are same item but "s.no" will vary) with "n" number of line item.
    Instead of this I have to enhance to create only one line item( For same item) with "n" quantity.
    for the ASSET account Assignment we have to create Asset(Temp no) for the each item/quantity(if the same item).
    as well as if they are going to create a PO with ref to PR they have to see all the "n" number of asset no.
    In MIGO creation for each asset we have to assign S.No and Asset Tag.
    How enhance the functionality in PR,PO and MIGO as well as in Invoice.
    Is it any User Exit/BADI is available for PR/POand MIGO to show all the "n" number of assets for a single line item.
    Kindly help me to give details to proceed further.
    Thanks in advance.
    sharma

    Hi Sharma,
    What i understand from your question is, you want to create a single line item in PR and PO. But the qty would be > 1.
    Each single qty would have its own asset number in account asssignment tab of item details of PR & PO.
    This is what you are expecting...Right???????????????
    Then this is possible with certain limitations.
    While creating PR, enter only one item with more qty.
    In item details section, in account assignment tab, on top left corner, there will be a button called Multiple account assignments.
    Click on it, then it looks like a table, where you can enter more than one line. (each line will have its own asset no)
    And choose option Distribute on qty basis for field Distribution.
    So that you can enter 1 qty for each line. ( Ex: if you created one line item in the item level with 10 qty, you need to maintain 10 line here, each qith 1 qty and diff asset no).
    The only limitation to this is, the GRN would be treated as non valueted. So when you make GRN there wwould not be any accounting doc. ( means no use of GR/IR clearing account as like normal for POs)
    when you prepare MIRO, all the assets will be capitalised and vendor credited.
    But in case if you receive partial invoice, then you have choose manually in MIRO. which asset is ot be capitalised.
    After entering the PO number in MIRO, there will be one line will be appeared with full qty. in the same line, move till the end of line, there you will have one button called Account assignments.
    Choose and go there, here you can choose which individual asset line to be considired.
    This will resolve your issue.
    Thanks,
    Srinu
    SRBORIGI_MULTIPLE ACCOUNT ASSIGNMENTS

Maybe you are looking for

  • Receiver SOAP channel error-- Cant parse the document; HTTP 200 OK

    Hi All, I am facing below error in SOAP receiver communication channel SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Cant parse the document; HTTP 200 OK If I use "Do Not se SOAP Enve

  • Exception occurs only the first time

    The server listens on a port to which client connects in applet mode. Every time client connects to server for the first time (i.e. after a fresh server installation), the client pops an exception: java.io.InvalidClassException: javax.swing.ImageIcon

  • How can I get to know if a method is threads-safe?

    Hi, there. How can I get to know if a method is threads-safe? For example, in two different threads, is System.out.print() method safe or not?And where can I find the information with regard to this? thanks very much.

  • Blurry DVD's burned in iDVD

    All my iDVD's turn out blurry. Does anyone have a remedy for this? *My Movie:* An animation made in individual frames in Photoshop CS3. I started in Photoshop using the video preset "HDV/HDTV 720p 29.97" 1280x720. Pixel Aspect Ratio: Square Pixels I

  • How do i fix this problem

    My website is not visible after I received this error message this is all I see on my site, how do I fix it and get my website back. The message is thisParse error:  syntax error, unexpected T_STRING, expecting ')' in /home/ukcottag/public_html/inc/l