Updating scheduling agreements in SD via IDOC delins.delfor02 / splitting

Dear All,
I am having the following problem:
I am getting an EDI 862, which should update an scheduling agreement in SAP on the SD site.
The incoming file contains the relevant information for multiple line items and for mulitiple release numbers as well as the information for the forecast and the JIT.
Based on SAP standard documentation, an IDOC will be only processed if it's containing a single E1EDP10 segment, means in my understanding information for exactly one line item,for exactly one relase number and either the forecast information or the JIT information.
Due to this I need to split the IDOC into several ones, to be able to use the SAP standard process here.
It looks like that the splitting is not posssible in XI, which we are using as our middleware. Does anybody can tell me, how to split an incoming IDOC into several ones and to have them saved in the database, so that each IDOC can have it's own status etc.
I already tried to go away from standard and to use fm sd_salesdocument_ change instead, which is having all the relevant table structures, but finally it was not helpful, because we have not been able to execute changes to the recent release number.
Thanks for your help.
Marita

Dear All,
I am having the following problem:
I am getting an EDI 862, which should update an scheduling agreement in SAP on the SD site.
The incoming file contains the relevant information for multiple line items and for mulitiple release numbers as well as the information for the forecast and the JIT.
Based on SAP standard documentation, an IDOC will be only processed if it's containing a single E1EDP10 segment, means in my understanding information for exactly one line item,for exactly one relase number and either the forecast information or the JIT information.
Due to this I need to split the IDOC into several ones, to be able to use the SAP standard process here.
It looks like that the splitting is not posssible in XI, which we are using as our middleware. Does anybody can tell me, how to split an incoming IDOC into several ones and to have them saved in the database, so that each IDOC can have it's own status etc.
I already tried to go away from standard and to use fm sd_salesdocument_ change instead, which is having all the relevant table structures, but finally it was not helpful, because we have not been able to execute changes to the recent release number.
Thanks for your help.
Marita

Similar Messages

  • BAPI to create and update scheduling agreement (type LZM) in ECC

    Hi,
    We have a requirement to create and update scheduling agreement of type LZM in ECC from an external system.
    Is there a BAPI available for this in ECC 6.0 which can be used?
    The integration is using PI.
    Regards,
    Srivatsan

    Hello,
    Please use the T-code "SE93" and then click on Display option after entering the T-code. After entering into the detail screen of the T-code, you shall find option to click on OBJECT LIST and then enter into the Function Group. Now enter the T-code and then click on function module and a list of function module will be displayed in referrence to the T-code. 
    For your easy reference i have also mentioned the flow.
    SE93 --> Use tcode (eg. VA01) > display> Object list ---> Function Groups --> Tcode ---> Function module.
    Regards,
    Sarthak

  • Reset received quantity in Schedule Agreement with IDOC DELINS.DELFOR02

    Hi,
    Does somebody know if there is a functionality in DELINS.DELFOR02 (VA32) to reset the received quantities by the customer?
    On the MM side this is a standard functionality but I can not find it on SD side. I played around with some fields like  AKUEM and "date of received quantities set to zero" but this didn't have the correct result
    Thanks
    Ron

    No, there is not such functionality in the way you want, but
    the cumulated quantity becomes zero only when changing the fiscal year of the customer and in Idoc the cumulated received quanity is decreased.
    have a look to:
    http://help.sap.com/saphelp_erp2004/helpdata/en/93/743b11546011d1a7020000e829fd11/content.htm
    pls.reward points if helpful
    regards
    Roberto

  • How to know if a schedulling agreement is created via EDI

    Hello,
    I would like to konw if a schedulling agreement has been created via edi. Is there any field or any transaction where is indicated so?
    Thanks a lot!
    Regards,
    JMadariaga

    Hi,
    in your title bar "Display scheduling agreement xxxxx", you should have a "Services for Object" icon
    If this is not present,  you may have to add it to your profile in SU01
    (Just set SD_SWU_ACTIVE to X)
    If the icon is there, click it
    now a small toolbar should appear
    If the "display relationships" icon is not greyed out, click it
    You should now see all the idocs associated with this scheduling agreement
    Hopefully, the first one is the idoc which created the scheduling agreement.
    Also, if you just wish to see the last idoc associated with the scheduling agreement
    .After you click the Fore Dl Sch tab or the JIT DlSh tab
    Click the Dlv Sch Hdr
    Then Click the "Curr Idoc" and you will see your current idoc.
    kind regards
    Paul Quinn

  • FM to update schedule agreement pricing

    Is there a BAPI or FM that I can use to update a schedule agreement in 4.7?  BAPI_PO_CHANGE gives me an error saying it does not work for schedule agreements. 
    Thanks,
    Matt

    Hi Matt,
       I am not sure of the exact function module; but BDC is not just next to direct table update. It plays an important role when it comes to the integrity of the data. In BDC, we are calling the transaction, which performs all the necessary checks(Such as the permitted values of a particular field, Foreignkey relation ship check etc etc) on data base table before performing the data base update. This is very crucial, since the direct table update will never check these kinds of checks on the table, and there is a possibility of updating the table with undesired values. So, it is always a better option to go for BDC, whenever possible, than a direct table update.
    Regards,
    Shiny Paul

  • Unable to update WADAT_IST in Outbound Delivery via iDoc WHSCON (DELVRY03)

    Processing iDoc WHSCON (DELVRY03) to update an Outbound Delivery and post Goods Issue, the field ACTUAL GI DATE (WADAT_IST) is not updated. I am using segment E1EDT13 of iDoc WHSCON to inform dates.
    Can anyone tell me if there is any other segment, field or qualifier in the structure of of iDoc WHSCON to inform WADAT_IST?
    Thanks in advance.
    Best regards.

    I dont think it is possible to achieve this.  For more information, have a look at the following note:-
    Note 1839738 - Error HUSELECT005 occurs when using existing HU in SHPCON (WHSCON)
    G. Lakshmipathi

  • DELVRY01 via IDoc with batch split

    Hi Experts!
    Process:
    -a supplier sends delivery information via EDI to us
    -the supplier cannot do a batch split, so he sends us the delivery like that
    Delivery (delivery order, material number, ...)
    |
    |-Pos 1
    |    |
    |    |-box 1 (batchnumber)
    |    |-box 2 (batchnumber)
    |    |-box 3 (batchnumber)
    |    |-box 4 (batchnumber)
    |
    |
    |-Pos 2
    |    |
    |    |-box 5 (batchnumber)
    |    |-box 6 (batchnumber)
    |    |-box 7 (batchnumber)
    |    |-box 8 (batchnumber)
    |
    |
    Technical infos at our side (customer)
    -IDoc typeDESADV
    -message type: DELVRY01
    -FM which perform the incoming IDoc: IDOC_INPUT_DESADV1
    Problem:
    How can I get the structure above into a IDoc? The problem is that in DELVRY01 (also DELVRY02 and -03, in R/3 4.7 and ERP6.0) I only can insert the batch number once per position of a delivery!
    So I try to use the described E1EDL19 segment with control qualifier BAS. I also generated lower positions with the flag HIPOS in E1EDL24, but it doesn't work. The IDoc is processed correctly without errors but when I look into the delivery (via Tcode: VL32N or MIGO) I see just main items - three positions (in case I had insert one main item with two lower items)!!
    SAP Documentation for delivery
    Does anybody has a hint for me how should I use the DELVRY01 type ?
    regards,
    Steffen Fröhlich

    Steffen -
    I have a similar problem and was wondering if the discoveries you made would fall in that space , currently when we are sending the 856(Advanced shipping notification's ) for batch split items the standard SAP functionality is to put a "0" qty at LGMNG (actual delivered qty field)and populate the various batch quantities at the sub level. Currently the edi mapping is such that only the LGMNG is mapped. In the scenario of batch split items we are sending back "0" qty eventhough they have a valid qty ! any idea how to resolve this ?
    would this require a custom code to add a new field to cumulative the batch splits ?
    Is there another standard field that edi can map to pass this information?
    Is there std edi mapping rules for this scenario?

  • Send Scheduling Agreements as EDI to thirdparty

    Hello,
    We are trying to automate the process of sending the updated scheduling agreements if there are any differences in the validity range of the items. For this I need to trigger an EDI output from the program. I can directly call the routine RSNASTED routine after updating NAST entries but is there any standard way to trigger an EDI from the program ?
    Thanks in advance for your help.
    Regards,
    Pavan.

    Hi Jurgen,
    I have changed the Scheduling Agreement via BAPI_PO_CHANGE and it created another version for the scheduling agreement. Now we want to trigger an output type for this changed agreement which in turn generates the IDOC which needs to be sent for third party system.
    What do you mean by messages here ?

  • User eixt for modifying inbound idoc (delins) not working

    hi all,
    Inbound IDoc DELINS.DELFOR02 is sent from customer to vendor to create forecast delivery schedule lines (VA32). E1EDP16-WMENG has the delivery quantity and it is mapped to VBEP-WMENG.
    I need modify E1EDP16-WMENG accordingly (based on some business rules) and this change should also be reflected to VBEP_WMENG.
    I tried to modify the idoc_data in user exits: EXIT_SAPLVED4_002, userexit_zuordnen_idocs. During debug, I can see the idoc is modified, but the final forecast delivery is not updated (VA33).
    Anyone can help?
    Thanks!
    Regards
    Hui

    Hi Sandip,
    Inside userexit_zuordnen_idocs, i updated the table idoc_data_1 (I changed the delivery quantities of the schedule lines), but it dosen't work. In Va33, the delivery quantities are not changed.
    Any other input?
    Thanks!
    Regards,
    Hui

  • BAPI for Scheduling Agreement

    any bapi for updating scheduling agreement ME38 txn
    i have checked bapi BAPI_AGREEMENT_MAINTAIN
    but how to maintatin schedulines over there

    first see the documentations.
    Regards
    Peram

  • Mass-change in scheduling agreement

    Hi Gurus,
    today I wanted to do a mass change in scheduling agreements using transaction MASS.
    Unfortunately, it seems not to be possible to change these agreements with MASS. I found SAP Note # 483303 which tells us that MASS is only able to change documents with VBAK-VBTYP = 'C'.
    The scheduling agreements use VBAK-VBTYP = 'E' or VBAK-VBTYP = 'F'.
    Does anyone have a workaround for this? In the meantime I'll set up a LSMW, this should work fine.
    Thanks
    Ralf

    Yes you are correct, you can't use MASS to update scheduling agreements. As you mentioned, use LSMW or you can try using SCAT/BDC to update the documents.
    Regards,

  • Error in Backend Scheduling agreement Creation

    Hi,
    When we tried to create the backend scheduling agreement In R/3 IDOC is giving the error "Requested function V70S is not available here". 
    Can you any body please tell how to solve the error?
    Regards,
    Raveendra

    Hi
    What is your business requirement ? Please elaborate.
    Please give your R/3 as well as SRM system details - versions.
    How you are creating the IDoc (using any standard SAP transaction or using your own program ) ?
    Seems like some configuration settings are missing in the system.
    Have you raised an OSS message with SAP yet  on this ?
    Regards
    - Atul

  • Lsmw via idoc method

    Hi
    Experts can u let me know the settings to be made while updating the data in lsmw via idoc method.....
    thanks in advance

    hi,
    check this one
    http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
    steps for LSMW: detail documnets: http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc

  • Idoc DELINS Forecast Schedule Agreement in same client

    Hi Experts, I need your help.
    I have the message LPH1 to start the IDOC DELINS on transaction ME38 ( Schedule Agreement MM ) and send to updated the delivery schedule VA32 in same client, but doesn't work. I made all the configurations that I know and I couldn't understand why doesn't work, every one could help me?
    The Outbound Idoc generate correctly, but the Inbound idoc isn't generate.
    On BD64 I couldn't generate the distribution, because the sender can't be same of the receiver.
    Thanks,
    Ander.

    No, there is not such functionality in the way you want, but
    the cumulated quantity becomes zero only when changing the fiscal year of the customer and in Idoc the cumulated received quanity is decreased.
    have a look to:
    http://help.sap.com/saphelp_erp2004/helpdata/en/93/743b11546011d1a7020000e829fd11/content.htm
    pls.reward points if helpful
    regards
    Roberto

  • IDOC: MM purchase order to SD scheduling agreement

    Dear experts,
    Is below scenario technically feasible?
    - Purchase order created in customer system, and sent to vendor system via IDOC
    - Scheduling Agreement created in vendor system against the received IDOC
    - Goods issue posted for delivery schedule of Scheduling Agreement, and sent to customer system via IDOC as Shipping Notification
    - Inbound Delivery created for purchase order in customer system against the received IDOC.
    - Billing created in vendor system and sent to customer system via IDOC
    - Invoice verification created in customer system against the received IDOC.
    The scenario is obviously feasible between Purchase Order-Sales Order, but I'm not sure whether it will work with Purchase Order- SD Scheduling Agreement or not. According to SAP Help, it seems that only MM Scheduling Agreement can work SD Scheduling Agreement.
    Thanks a lot,
    Duc.

    Hello Indu,
    I created two partner profiles but still receive that message above:
    Partner No: 999999
    Partner Type: LI
    Outbound parameters: ORDERS
    Outbound Options
    Message type: ORDERS
    Receiver port: A0000000006
    Pack. size: 1
    Basic type: ORDERS05
    Message Control
    Application: EF
    Message type: Z40B
    Process code: ME10
    Partner No: XXXCLNT100
    Partner Type: LS
    Inbound parameters: ORDERS
    Inbound Options
    Message type: ORDERS
    Process code: ORDE
    Kind Regards,
    Florian

Maybe you are looking for

  • Excise invoice with reference to proforma invooice

    Hi I need to generate a excise invoice After consignment fill-up and delivery i raised proforma invoice and now with ref to prof invoice can i able to create excise invoice. regards rithvika

  • How to mention Email ID in an IVIEW

    Hi Everyone, I have to create a Iview where user enter the name and other information and hit on the submit button a mail has to be sent to admin at the rate xxx.com;(i cannot add the emial id) How can i accomplish this. also I have a Iview under myH

  • When opening a WebHelp system in Firefox, it complains that it can't find contentlist.xml--is this needed? What is it?

    When a developer called my online help system (generated in RoboHelp9 as WebHelp) from Firefox, the help seemed to work fine. But he said in Firefox "trace output it complained about 'can not find contentlist.xml'" What is it looking for, and will th

  • "Page cannot be displayed" error in EBS R12

    Hi All, We implemented EBS R12 with 2 Application Node, 2 CM nodes and 2 DB Nodes(RAC). We have also setup load balancer at the application level. We have enabled HTTPS at the load balancer level. Our application works perfectly fine except some of t

  • Location of Preferences files

    I've installed using Encore 2.0 onto a machine running XP Pro. The machine is networked in a large commercial environment. Currently Encore is writing its Preferences Files into a directory under my username which is causing me a big problem because