ORDRSP Idoc addition and deletion of segment schedule lines

Hello
I have requirement in the Iodc ORDRSP it has segment E1EDP01 and it has sub segments
E1EDP02
E1EDP03
  E1EDP05
E1EDP20
E1EDP20
And it has multiple E1EDP20 with the different quantity
Now I if there are more than one E1EDP20 segments and  should display in different segments .
I have found the customer exit  EXIT_SAPLVEDC_003 where I will get the idoc data “DINT_EDIDD”.
Example :
Now :
After change I want to be

Hi,
Yes you can replicate the segment "E1EDP01" along with its sub-segments.
as mentioned, if your requirement is met by having multiple "E1EDP20" segments,
then in exit table:   “DINT_EDIDD”,
replicate all the SEGNAM with incrementing SEGNUM and maintaining only one "E1EDP20" for each "E1EDP01".
(please relate SEGNAM to PSGNUM & SEGNUM(incremented) ).
this will do!!!.......let me know if anything.
Thanks & Regards,
Santosh.

Similar Messages

  • How to delete the old schedule line release?

    Hello,
    How to delete the old schedule line release in apo?
    Generally GR has to be carry out  schedule line release  in r/3 which reduces the Schdule line release.
    But i do want do GR against old schdule line release instead i want to delete the old schdule line release.
    Please suggest.
    Regards,
    Sunil Patil

    Sunil ,
    /sapapo/cmds_del  is the tcode to deleted sales scheduling agreement confirmations and releases
    /sapapo/display_conf  is the tcode for displaying sls. sch.agr confirmations and releases
    The above two are in the supply chain collaboration menu
    /sappao/cmds_sc02 is the tcode to delete sales scheduling agreements . This tcode is in the application specific master data menu
    Thanks
    Saradha

  • How to delete a PO schedule line in SNC

    Hi Experts,
    Is there any way to delete/cancel a schedule line of a specific PO manually in SNC.?
    Thanks in advance
    Vinoth

    Hi Vinoth,
    If you have PO# with you then you can check this PO in R\3 from R\3 you can get supplier code.
    Once you have supplier code then go to t-code:/N/SAPAPO/LOC3 in SAP SNC enter supplier code you can get supplier BP organization from general tab.
    If you don't have R\3 access then go to table /1OM/ORDR7MP3<client#> enter ORDNO as your PO# press F8 from this copy ORDID.
    Now go to table /1OM/ORDR1HDR<client#> enter the ORDID press F8 and copy PRTIDFR then go to table /SAPAPO/LOC enter PARTNER_GUID field  as PRTIDFR press F8
    (Note that by default PARTNER_GUID is not there for field selction to get PARTNER_GUID field click on setting tab and select field selection in that you will get PARTNER_GUID field checked this field).
    Now you will get supplier BP organization.
    There is only one way you can close PO using  /SCA/PO_SET_CLOSED.
    Regards
    Nikhil

  • How to delete the old schedule line release in apo

    How to delete the old schedule line release (from current date) in apo which is having schedule  firmed?
    Please suugest.
    Sunil

    How is it possible to delete old purchasing schedule lines in APO (that do not exist in R/3)?
    Though used successfully before, /SAPAPO/CCR will not reconcile our discrepancy in this case.
    Thanks in advance,
    Jim

  • EPMA Deploy - Additions and Delete for same member on Compare

    We migrated our Account dimension from another environment, but it didn't have some members we had in the source environment, so on the Compare from EPMA, it was showing some members were going to be Deleted. So we imported back our original Account dimensions, and now on the compare it shows the members that were going to be deleted as Deleted, but it also shows them as Additions.
    There are 34 Additions and 34 Deletes and they are all the same members for both. What happens if we deploy? Will it delete the member first, then add the member? If that was the case, then we are going to lose our data for those members.
    Can anyone offer any insight on what would happen if we deployed, or how to get the system to ignore these Deletes and Additions since there really isn't any.

    We discovered the issue was a SQL trigger that was active for this database in error. Once the trigger was removed the creation worked fine.

  • Link between delivery line item and sales order item schedule line.

    Hello friends,
    This is a continuation of my earlier query - for which I got half the solution, and this is the remaining problem.
    I want to know: from delivery document line item, how to link it to sales order line item's schedule line (when there are multiple schedule lines with identical quantities).
    Thanks for your help.
    - Chetan

    This is the code which i used for the same purpose and its working.
    Hope this will help you too....
    ****it_itab  is my final internal table.
    *Internal table for manupulating the Delivery balance when
    *its used in more than one schedule line
    TYPES: BEGIN OF ty_new,
           vbeln TYPE vbep-vbeln," so no
           posnr TYPE vbep-posnr," so line no
           etenr TYPE vbep-etenr," schedule line
           delno TYPE lips-vbeln,"delivery no
           delposnr TYPE lips-posnr,"del item no
           totval TYPE vbep-wmeng," total del wise value
           val   TYPE vbep-wmeng," del wise used value
           sdval TYPE vbep-wmeng,"schedule wise  del used value
           sdtotval TYPE vbep-wmeng," total Schedule value
         END OF ty_new.
    DATA:it_new TYPE ty_new OCCURS 0,
         wa_new TYPE ty_new.
    DATA: it_vbepvb TYPE TABLE OF vbepvb,
            wa_vbepvb LIKE LINE OF it_vbepvb,
            fvbfa TYPE TABLE OF vbfa,
            fvbup TYPE TABLE OF vbup,
            fvbap TYPE TABLE OF vbapvb.
      LOOP AT it_vbak INTO wa_vbak.
        LOOP AT it_vbap INTO wa_vbap
                WHERE vbeln = wa_vbak-vbeln.
      SELECT * FROM   vbfa INTO TABLE fvbfa WHERE vbelv = wa_vbap-vbeln
                                             AND  posnv = wa_vbap-posnr.
      SELECT * FROM   vbup INTO TABLE  fvbup WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      SELECT * FROM   vbap INTO TABLE fvbap WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      SELECT * FROM   vbep INTO TABLE it_vbepvb WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'
        EXPORTING
          fbeleg                        = wa_vbap-vbeln
          fposnr                        = wa_vbap-posnr
      FVERRECHNUNG                  = ' '
      FS073_ALT                     = ' '
      IF_NO_SORT                    = ' '
        TABLES
       fvbfa                         = fvbfa
       fvbup                         = fvbup
       fxvbep                        = it_vbepvb
      FVBLB                        =
        fvbap                        = fvbap
    EXCEPTIONS
      FEHLER_BEI_LESEN_FVBUP        = 1
      FEHLER_BEI_LESEN_FXVBEP       = 2
      OTHERS                        = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      SORT it_vbepvb BY vbeln posnr edatu.
      LOOP AT it_vbepvb INTO wa_vbepvb
                    WHERE vbeln = wa_vbap-vbeln
                      AND posnr = wa_vbap-posnr.
        to write data of schedule line with no delivery
        MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
        IF  wa_vbepvb-bmeng EQ wa_itab-openqty.
          CLEAR wa_itab.
          PERFORM schedule_data.  "schedule line based data to be displayed
          MOVE: wa_vbap-lgort TO wa_itab-lgort.
          MOVE: wa_vbepvb-etenr TO wa_itab-etenr,
                wa_vbepvb-bmeng TO wa_itab-kwmeng,
                wa_vbepvb-olfmng_flt TO wa_itab-openqty.
          APPEND wa_itab TO it_itab .
          CLEAR wa_itab.
        ENDIF.
        LOOP AT it_vbfa INTO wa_vbfa WHERE vbelv = wa_vbepvb-vbeln
                                            AND  posnv = wa_vbepvb-posnr.
          READ TABLE it_likp INTO wa_likp WITH KEY vbeln = wa_vbfa-vbeln.
          CHECK wa_likp-bldat >= wa_vbepvb-edatu.
    check the Delivery doc date with the schedule line confirmed date
          CLEAR: delbal, deltot,wa_new.
          LOOP AT it_new INTO wa_new WHERE vbeln = wa_vbepvb-vbeln
                                         AND       posnr = wa_vbepvb-posnr
                                         AND       etenr = wa_vbepvb-etenr.
            deltot = deltot  +  wa_new-sdval.
          ENDLOOP.
          delbal = wa_new-sdtotval - deltot.
          CHECK sy-subrc <> 0 OR delbal GT 0.
          MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
          CHECK  wa_vbepvb-bmeng NE wa_itab-openqty.
    ****To check whether this delivery is already fully allocated against
    any other schedule.
    LOOP AT it_lips INTO wa_lips WHERE  vbeln = wa_vbfa-vbeln
                                           AND posnr = wa_vbfa-posnn.
            MOVE: wa_likp-bolnr TO wa_itab-vesname.
            MOVE: wa_likp-vbeln TO wa_itab-delno.
            MOVE: wa_likp-wadat TO wa_itab-wadat.
            MOVE: wa_likp-anzpk TO wa_itab-anzpk.
            MOVE: wa_likp-lddat TO wa_itab-lddat.
            MOVE: wa_likp-ernam TO wa_itab-ernam.
    ******end of code added by IVL1 on sep 27 2007 #3618
            PERFORM schedule_data.
            IF wa_lips-umvkz <> 0.
              tempquant = wa_lips-umvkn / wa_lips-umvkz.
            ELSE.
              tempquant = wa_lips-umvkn. "delivery qty
            ENDIF.
            tempquant = tempquant * wa_vbfa-rfmng.
    ***New logic added to get delivery qty schedule wise****
            MOVE: wa_vbepvb-etenr TO wa_itab-etenr,
                  wa_vbepvb-bmeng TO wa_itab-kwmeng,
                  wa_vbepvb-olfmng_flt TO wa_itab-openqty. "jo
    **if delivery qty is less than or equal to schedule line qty******
            IF tempquant LE  wa_vbepvb-bmeng.
              wa_itab-delqty =  tempquant.
              LOOP AT it_new INTO wa_new  WHERE  vbeln = wa_vbepvb-vbeln
                                         AND     posnr = wa_vbepvb-posnr
                                         AND     etenr = wa_vbepvb-etenr
                                         AND     delno  = wa_lips-vbeln
                                         AND     delposnr = wa_lips-posnr.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val = tempquant.
                wa_new-totval = tempquant.
                wa_new-sdval  = tempquant.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                MODIFY TABLE it_new FROM wa_new .
                IF NOT sy-subrc IS INITIAL.
                  APPEND wa_new  TO it_new.
                ENDIF.
              ENDLOOP.
              IF sy-subrc <> 0.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val = tempquant.
                wa_new-totval = tempquant.
                wa_new-sdval  = tempquant.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                APPEND wa_new TO it_new.
              ENDIF.
             wa_itab-delqty =  tempquant.
             CLEAR tempquant.
            ELSE.
        lips qty > so schedule lineqty
              CLEAR deltol.
              LOOP AT it_new INTO wa_new WHERE    vbeln = wa_vbepvb-vbeln
                                          AND      posnr = wa_vbepvb-posnr
                                         AND     etenr = wa_vbepvb-etenr
                                          AND     delno  = wa_lips-vbeln
                                          AND    delposnr = wa_lips-posnr.
                deltol = deltol  + wa_new-val.
              ENDLOOP.
              LOOP AT it_new INTO wa_new  WHERE    vbeln = wa_vbepvb-vbeln
                                          AND      posnr = wa_vbepvb-posnr
                                          AND     delno  = wa_lips-vbeln
                                          AND    delposnr = wa_lips-posnr.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-val = wa_new-totval - deltol.
                wa_itab-delqty =  wa_new-val.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-totval = tempquant.
                wa_new-sdval  = wa_new-val.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                MODIFY TABLE it_new FROM wa_new .
                IF NOT sy-subrc IS INITIAL.
                  APPEND wa_new  TO it_new.
                ENDIF.
              ENDLOOP.
              IF  sy-subrc <> 0.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_itab-delqty =  wa_vbepvb-bmeng.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val =  wa_vbepvb-bmeng.
                wa_new-totval = tempquant.
                wa_new-sdval  = wa_vbepvb-bmeng.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                APPEND wa_new  TO it_new.
              ENDIF.
            ENDIF.
            IF NOT wa_lips-lgort IS INITIAL.
              MOVE: wa_lips-lgort TO wa_itab-lgort.
            ELSE.
              MOVE: wa_vbap-lgort TO wa_itab-lgort.
            ENDIF.
            APPEND wa_itab TO it_itab .
            CLEAR wa_itab.
          ENDLOOP. 
        ENDLOOP.
        CLEAR wa_vbepvb.
      ENDLOOP.
        ENDLOOP.
        CLEAR wa_vbak.
      ENDLOOP.

  • Review and delete text messages on line

    I would like to go on line to review and delete old text messages.  Is there a way to do it?  Doing it on the cell phone is slow and (for me) clumsy.  Thanks

    There is no way to access your phone's memory online, other than the limited case of using Backup Assistant to modify your contacts via the web interface.  It may be possible to connect your phone to your computer with special software and delete the texts that way, but I've never heard of anyone doing this.
    Just go through your phone and delete them.

  • How to link Invoice Quantity and Confirmed quantity in schedule line

    Hello,
    I'm working for a report in BW. The user want to compare the invoice quantity to the confirmed quantity in schedule line for a sales order.
    I can't find any table linking these two fields.
    Could you help?
    Thanks a lot
    Jeannie

    Ashish,
    When we link these two tables by Sales Order Number / Item, we would take following result:
    Sales Order    /     Itme     /     Schedule line     /    confirmed quantity   /     actual billed quantity
    1                  /      10        /      1                     /    3                            /              5
    1                /         10      /       2                    /     2                            /             5
    But in fact, for Sales order/itm 1/10, we have only 5 PC billed, not 10.
    When billed 5 PC, I want to despatch it to the Schedule line as 3, 2.
    Regards,
    Jeannie

  • Addition and deletion in a table View in Visual composer 7.0

    Hi All
    I have a requirement of updating a table view from the entries that a user enters in an input form.
    When the user makes entries in the input form and clicks on save he should see those entries in the table and these entries should also get updated in the backend.
    Can anyone give me any ideas around it?
    Please also let me know if VC 7.0 supports multiple actions on a click of a button?
    Suppose if i create a button save on the form and implement two actions "Insert Row" and a custom action"Submit"(which eventually will hit the BAPI) in the backend to update so will it work ??
    I read on SDN that in order to add or delete i would need 3 buttons atleast :ADD,(to add row),SAve(to call bapi) and Refresh(to make entry visibile) in the table.
    Can anyone suggests better solution around it.
    Thanks for all the pointers in advance.
    Regards
    Shweta

    Hi Shweta,
    Since tables only represent data retrieved from a backend service, I guess the correct functionality would be that the data in the form would be submitted to the proper service (that can recieve input and add it to the database), and then the table that will be connected to the output port of the service will be updated with the new data.
    And sequence actions was added as a feature, so it depends on your SP level. If you can'e see it when you assign actions to a button, your SP doesn;t have it
    Best regards,
    Udi

  • Error in the ECC 6 for the addition and deletion of zeros

    Hi,
    iam working in ECC 6 at the client palce.
    Requirementis to add zeros and remove zeros for the LIFNR. Both CONVERSION_EXIT_ALPHA_INPUT & CONVERSION_EXIT_ALPHA_OUTPUT while executing showing the information popup as Error generating the test frame. I tested both the function modules in the production system also. The same error is showing.
    Please, suggest the soluiton.
    Regards
    Ramana Murthy

    Hi Ramana,
    What is the error exactly ?
    anyway, for removing the zero you can use this statement :
    example :
    l_lifnr = '0000012345'.
    shift l_lifnr left deleting leading '0'.
    after above statement : l_lifnr = '12345'.
    Hope this help.
    best regards,
    yudie

  • How do i add a page to my website that includes a list of items for sale? We need to be able to add items, sort them and delete them? Each line item will have a video icon to view the items for sell.

    I'm building a website for a cattle broker who needs to post cattle lots for sale, which includes a description of the cattle(several bits of information) and a video of the cattle. This will be a list that can be sorted by key fields.

    lesliebrownadobe wrote:
    would need to have a video icon/link associated with each record to show the buyer what the cattle look like prior to purchase.
    No problem Les, the video link could be included in any table cell in the same row as the associated data.
    The code for the first row in the example would look like
    <tr class=" odd">
    <td>1</td>
    <td>Z</td>
    <td>01-01-2006</td>
    <td>€ 5.00</td>
    <td><a href="https://www.youtube.com/watch?v=kYalp3Wyw50">Video</a></td>
    </tr>
    This method assumes ongoing updates would be done by you, rather than the client.

  • Deletion and creation of Schedule line for Line Item

    Hi BW Experts,
    In P.S.A. when i have checked for first schedule line 001 reqdelqty is 50 , after deleting 001 and after creation of second schedule line in R/3 there are two records transferred from R/3 for schedule line 002 first with reversal indicator 'X' and delivery quantity -50 and next record with Reversal Indicator blank with value 50. which in turn results Reqdelqty zero.
    Reason of wrong data in BW: -
    Schedule line category for an item is being deleted forcefully. R3 doesn’t allow deletion of a schedule line category if delivery is already created. Here user is creating one same schedule line and then he deletes the order quantity from earlier one. This forces system to pick up schedule line 2 in the document flow
    · User shouldn’t delete schedule line.

    Hello Ganesh,
    Schedule line number sequence will not be in control of the user.
    once delivery for a schedule line is completed, no way you can delete the schedule line (except renumbering case). This is general SAP logic relates to schedule lines.
    Let me know how they are deleting the schedule lines even though delivery is completed.
    Now coming to Data load problem in BI.
    When you delete schedule line 001, the generated record should be with schedule line 001 with Reversal Indicator as R and delivery quantity -50.
    And for new schedule line 002, reversal indicator as blank and delivery quantity 50
    Regards,
    Nandakumar.A

  • Delete a segment in the IDOC_DATA.

    Hi,
    i'm sending an outbound 856(IDOC type DELVRY03).
    In this,
    if the E1EDL26 - PSTYV = ZPAR,
    I need to delete the entire information related to that particular line item meaning.. all child segments under the segment E1EDL24.. (because I don't want the material with this item category to go to the customer.)
    but I'm confused on how to do it as.. by the time I read the E1EDL26 - PSTYV, i would already have the E1EDL24 segment in my IDOC_DATA. So I need to go back and delete it..
    Can someone help me with this.
    <promise removed by moderator>
    Thanks for all for your help!
    Edited by: Thomas Zloch on Mar 8, 2011 9:44 PM

    Hi Ravindra,
    Define one global variable for flag. When your condition get satisfied set this flag = X.
    Then in your user-exit in for segname = E1EDL20 delete other segments when flag = X.
    case sgname.
    when E1EDL20
    if flag = X.
    loop idoc_data and delete the segments which you would like to delete.
    endcase.
    Regards
    Sachin
    Edited by: sachin G patil on Mar 9, 2011 1:55 PM

  • How to delete confirmed schedule lines, without executing the ATP check?

    Sales and Distribution: Concerning ATP (product allocation)
    Situation:
    Step 1: An order is created with priority low. Quantities are confirmed for line items.
    Step 2: A second order is created with a higher priority. No confirmed quantities.
    Rescheduling program (SDV03V02) is then executed. This selects and sorts the orders in the correct order.
    The confirmed quantities for the first (low priority) order should now be freed up, to be able to allocate those quantities to the second (high priority) order.
    The problem I am facing is that the confirmed quantities are NOT released.
    We cannot use BAPI_SALESORDER_CHANGE or SD_SALESDOCUMENT_CHANGE to delete or modify the schedule lines, because these function modules execute the ATP check again. And when that happens, quantities are again confirmed and assigned.
    How can we get rid of the confirmed schedule lines, without executing the ATP check?
    Thanks,
    Edwin.

    Found a solution to the problem:
    In the Rescheduling program we export a parameter to the memory, to make it possible to delete schedule lines without executing the ATP check.
    Deleting of the schedule lines is done with a BAPI, which will call the ATP check automatically for ATP relevant materials. This we want to stop from happening (only when calling the BAPI).
    After the BAPI has been called we FREE the MEMORY ID.
    The parameter is imported again in Customer-Exit EXIT_SAPLATPC_001.
    Transaction.. SMOD
    Enhancement.. ATP00001
    Component.... EXIT_SAPLATPC_001,
    Include...... ZXATPU01.
    The customer exit is used in function AVAILABILITY_CHECK_CONTROLLER, just before calling function 'AVAILABILITY_CHECK'.
    Simply refreshing the ATP tables in the customer-exit, will prevent the ATP check from being executed (because we removed the list containing the materials for which the ATP check needs to be done). As a result, the function 'AVAILABILITY_CHECK' will not be processed.

  • Line item extract and delete query

    If you change the default view for a scenario and line-item detail has been entered,
    you should first extract the line-item detail and save it. Then delete the line-item
    detail from the scenario before changing the view. You must change the extracted
    line-item detail to match the new default view before loading it.
    The above is a reference from HFM-Admin guide.
    Could any one tell how to extract or delete line item??
    Thanx in Advance

    Dear Sree,
    Here my query is addition and deletion of line items in delivery suggestionable or not if not any alternate solution please............
    -->You can delete the line item in the delivery if PGI not done for that delivery,
    -->But system will not allow you the new item in the delivery,because as per the standard functionality system will copy the items from the sales order and this is advaisable also.
    -->So if you want to add new item add in the sales order then create delivery for that order.
    -->Still you want to add item at delivery ( for your business requirement) you need to do the item categroy determination for the deliveries through 0184 transaction.
    -->Redetermine the pricing at billing level for that item by maintaining proper copy control settings between delivery and billing at item level in VTFL transaction.
    Maintain pricing type field as B-Carry out new pricing
    Make sure that you done the pricing procedure detrmination with the combination of billing document pricing procedure in OVKK transaction.
    I hope this will help you,
    Regards,
    Murali.

Maybe you are looking for

  • BaseFont and FontName must be equals?

    I have trouble with an PDF/A document and some readers we are using: - Acrobat (Reader) 9.X works fine - Acrobat (Reader) 6.X and our own inhouse reader have problems I tracked it down to the following part: 10 0 obj <</LastChar 255/BaseFont/TimesNew

  • Isdn Layer 1 deactivated when there is no active call

    Hi All, I am in Nairobi Kenya. Here we use ISDN Basic-net3 and my problem is that most of the telco switches here deactivate Layer 1 when there is no active call. When I try to initiate a call by using the ISDN test call command I get an error to the

  • Software for making MP3 phone tunes any idea`s

    Hi There Folks Not sure if anyone can help me out here but I am looking for a program that I can make MP3 Phone rings ..... Jut 15-20 sec MP3`s from my iTunes Library Thanks

  • Wrt54g need help setting up

    when i get to step 10 i press next and then something pops up and says it cant connect to the internet

  • WHERE is Quictime's new mac update???

    I cannot find the MAC version of Quictime (7.5.5?), where is it??? all help is appreciated.