SENDING WBS ELEMENT IN OUTBOUND IDOC  ORDRSP

Hi Experts,
i need to update idoc ORDRSP (to distribute Sales order) with field WBS ELEMENT  , you can find this under item tab "Account assignment" field COBL-PS_POSID
I generated outbound idoc on several sales orders but none of them has this information.
do you know how to have this information populated in this idoc ?
Thanks and regards

Hi,
You need to do the following steps to create a custom segment and populate values into that:-
1. Create a custom segment using the T Code WE31
2. Add the created custom segment to the orders05 basic type by creating a new extension using WE30 transaction
3. Maintain a new entry in WE82 transaction for the message type, basic type and extension
4. Update the extension in all the necessary partner profiles WE20
5. You have lot of function exits in the function module IDOC_OUTPUT_ORDRSP, you can see them as customer function in that function module. You need to write the code in that include
6. Create a project for the function exit and activate the project.
Once you do all the above 6 steps then you can see values populated into the custom segment.
Thansk,
Mahesh.

Similar Messages

  • Outbound IDoc ORDRSP to XI

    Hi Friends,
    At present outbound IDoc ORDRSP is used in Customer EDI feed.
    Based on my requirement I have to route this outbound IDoc ORDRSP to XI based on the Plant XYZ1.
    Any customizing need to be done or Customer Functions need to be changed. Please guide me to know how to do this.
    Thanks in advance.
    Regards
    Suresh

    Done by customizing

  • Sender port in an Outbound IDoc

    Hi
    Can someone please mention where is configuration for IDoc sendor port.
    We generally give Receiver port information in outbound parameters in partner profile(WE20). But there is no place where we give the Sender port information.
    When an outbound idoc gets created, in the control records you can find the Sender port. Can someone tell from where this port is picked up.
    In most of the cases I can find port name SAP<SYSID>. Is this something SAP standard. ?
    Thanks,
    J.

    Hi Brad,
    Can you tell me where its hard coded. which program/func module. ?
    Thanks,
    J.

  • Procedure to Error Out Outbound IDocs

    Hello,
             I have a Requirement in which I am using ORDERS05 IDoc Type and extended it to ZORDER05 to populate Custom Fields and sending the Purchase Order Outbound IDoc to the Vendor from SAP System. Now, my requirement is that if any of the Custom Fields are not maintained in SAP and not populated in the IDoc, I need to Error Out the IDoc with Error Status 26. I am currently working on the SAP ECC 5.0. I have implemented similar Error Handling Mechanism earlier by using Enhancement Framework as I was working in ECC 6.0 environment where I've added the Code by Creating an Enhancement Implementation in the Function Module IDOC_CREATE_ON_DATABASE. But since ECC 5.0 does not have the Enhancement Framework feature,  please let me know how to achieve this.
    Thank You,
    Venkata Phani Prasad K

    Hi
    why don't you try using the standard method for validation of data?
    By implementing the customer-function EXIT_SAPLEINM_002 or BAdI MM_EDI_ORDERS_OUT  you can make checks of completeness of the idoc segments (in your case, additional custom data) and, if they were not complete, report an error message raising the exception DATA_NOT_RELEVANT_FOR_SENDING
    ie
    if <Idoc Custom Field> is initial.
    MESSAGE ID 'S1'
                   TYPE 'E'
                   NUMBER '333'
                   WITH Additional data are incomplete' 
                   RAISING data_not_relevant_for_sending.
    endif.
    Thus you have the evidence of the error in the processing log of the output message while the IDOC is not created.
    The solution works very well and is not invasive.
    Regards.
    Andrea

  • Create event Outbound Idoc

    Hi Community,
    I configured all to send by Nast an outbound idoc DELVRY03 message type DESADV.
    Now I wish to know idoc number e its status in order to update custom table about process.
    Is there some event (like Created) that I could catch after the idoc is created? Have you any suggestion to solve my trouble?
    thanks in advance,
    Frank

    hi ,
    Check in trx <b>WE05</b> for idoc list.
    there u can get idocno,status,...
    Cheers
    ALfred
    Reward points for helpful answers.

  • Transaction to generate IDOC for WBS element

    Hello All,
    I have set up ALE DMV using BAPI (BAPI_PROJECT_SAVEREPLICA, ALE message type PROJECT) for sending the WBS element.
    Object used is WorkBreakdownStruct and the method is SAVEREPLICA.
    I have generated the partner profiles successfully and ALE-BAPI interface exits.
    But when I create a new WBS element what is the transaction used to genearte an IDOC?
    For example: BD10 is used to send a material (genearte idoc) using MATMAS, similarly what is the transaction in the case of WBS?
    Please let me know if I am missing anything.
    Thanks,
    Sandeep

    Hi All,
    I have solved it by myself.
    Thanks,
    Vinod

  • Standard program for creating outbound IDoc holding wbs+cost plan

    Hello,
    a)
    Before we start developing our own ABAP, I would like to ask the forum if somebody knows if there is already a standard ABAP program for generating outbound IDocs including wbs-element data (CJ20N; wbs ID, description) plus annual data from the cost planning (CJ41; such as fiscal year and costing items from unit costing; quantity, unit, price per unit, total price, description of item) ?
    b) we are planning to use the logical message /ISDFPS/PS, basic type /ISDFPS/PS01 and enhance this IDoc with segments for the costing items from the cost planning.
    Question: Do you know if there is a standard IDoc which has segments for both wbs-element data and costing items?
    Kind regards
    Viveka Schwartz

    Hi Frank,
    Did u check this Link on the PP confirmaitos[LINK|http://help.sap.com/saphelp_47x200/helpdata/en/12/3bbc1c504811d182c20000e829fbfe/frameset.htm]
    Reg
    Dsk
    Edited by: DSk on Sep 14, 2010 3:44 PM

  • Standard program for creating outbound IDoc including wbs + cost planning

    Hello,
    a)
    Before we start developing our own ABAP, I would like to ask the forum if somebody knows if there is already a standard ABAP program for generating outbound IDocs including wbs-element data (CJ20N; wbs ID, description) plus annual data from the cost planning (CJ41; such as fiscal year and costing items from unit costing; quantity, unit, price per unit, total price, description of item) ?
    b) we are planning to use the logical message /ISDFPS/PS, basic type /ISDFPS/PS01 and enhance this IDoc with segments for the costing items from the cost planning.
    Question: Do you know if there is a standard IDoc which has segments for both wbs-element data and costing items?
    Kind regards
    Viveka Schwartz

    Hi Frank,
    Did u check this Link on the PP confirmaitos[LINK|http://help.sap.com/saphelp_47x200/helpdata/en/12/3bbc1c504811d182c20000e829fbfe/frameset.htm]
    Reg
    Dsk
    Edited by: DSk on Sep 14, 2010 3:44 PM

  • WBS Element as Sender and Receiver in New GL Allocation

    Dear Experts,
    Please need your advice how to configure WBS Element as Sender and Receiver in New GL Allocation, since this field is not activated in New GL Allocation (FAGLGA11 - General Ledger: Create Act. Assessmt) ?
    We already tried to activate this field, but the system forced to include this field also in the total table ( FAGLFLEXT). And since we can't add the WBS Element as PSP_PS_NR, we add as ZZPSP_PS_NR to the total table. But the issue come up, since the transaction(FAGLFLEX) cant detect this field, and show error as below "Field FAGLFLEXT-PS_PSP_PNR is not defined in the ABAP Dictionary"
    Please kindly advise. Many thanks for your valuable inputs

    Hi,
    I believe you have added the field in these 2 places:
    1. Add field 'ZZPS_PSP_PNR' (WBS element) to FAGLFLEXT table in configuration (menu SPRO   > Financial accounting (new)   > Financial accounting global settings (new)   > Ledgers   > customer fields   > Include fields in Totals table) and activated the same.
    2. And, added this field in 'Assign scenarios and customer fields' to your leading ledger.
    WBS element data gets populated by assigning ZZPS_PSP_PNR to the ledger itself (IMG: Assign Scenarios and Customer Fields to Ledgers -> select ledger -> "custom fields"). Necessary field mapping logic is generated by this customizing for the system to populate ZZPS_PSP_PNR in FAGLFLEXT and FAGLFLEXA.
    Afterwards, please regenerate GLU1 structure by running report RGZZGLUX while no posting is being made in the system.
    I believe this will help you.
    Best Regards,
    Vanessa.

  • Outbound IDoc Error: Status Code 37  'Sender Port' is invalid

    Hi
    I have an Error when the Outbound IDoc is triggered.
    It shows that 'Sender Port in Control Record is invalid'.
    Status Code: 37.
    I know that there are some issues with the Sender Port Definition.
    Please help me out to solve this problem using some checkpoints at each and every step.
    Reward Points Assured.
    Regards,
    Baburaj

    Hi Baburaj Manickam
    Good
    Follow this simple procedure
    1) Send an outbound IDOC data(MATMAS) to a flat file on client1(SENDER).
    -  Create File Port (WE21) for outbound file.
    -  Maintain Distribution Model (BD64) for sender ->receiver system.
    -  Create Partner Profile (WE20) for logical system.
    -  You can use this program RBDSEMAT (t/code BD10) to generate IDoc MATMAS file(s). 
    _  Then you can FTP the file(s) to receiver system.
    2) Upload the flat file as an IDOC on the inbound sytem
    which is Client2(RECIEVER).
    -  Create File Port (WE21) for inbound file.
    -  Maintain Distribution Model (BD64) for receiver -> sender system.
    -  Create Partner Profile (WE20) for logical system.
    -  You can use this program RSEINB00 to upload IDoc MATMAS file(s). 
    INBOUND IDOC PROCESSING:
    Firstly attach your idoc to a process code.
    In the process cod you can tell the system that the specified program should be triggered whenever an idoc of that type comes to the system.
    Then you want to have a Z-function module for your idoc processing, if I understand correctly.The steps should be:
    1. Create a z function module for idoc inbound posting (copy from a function module idoc_input_*).
    2. Set Function Modules as Inbound: - Transaction BD51
    3. Assign Function Modules to Logical Messages and Idoc types:- Transaction WE57
    4. Create process codes : Transaction WE42, and link the z-function module.
    5. Create partner profile: transaction WE20 and attach the message type and process code.
    6. In the Z- function module, extract data from the idoc segments, do whatever processing you want to do, and then call BAPI_CREATE_SALES_ORDER_FROMDAT2.
    Try the Trasaction WE19 for testing your inbound and outbound IDOCs
    Good Luck and Reward me for the same
    Thanks
    Ashok.N

  • Send Changes for IDOC ORDRSP

    Hi Gurus
      Can anyone help me in sending the changes for the IDOC for transactional data.
    For Sales Order IDOC -- ORDRSP.
    When newly sales order is created, all the sales order information should be sent. --This is not a problem.
    When changes are done on the sales order -- Only the changes should be sent in the IDOC. I have activated the change pointers in BD50, BD51 for ORDRSP and in BD52 created the entries for ORDRSP. 
    but when i trigger the IDOC using the output type, i get to see all the data instead of only the changes.
    Is there anything that i am missing???
    Any help is really appreciated.
    Thanks
    Saritha

    Hi Linda,
    I have documentataion on ALE/IDOCs which may not be helpful to you. If u need that i can send u .
    Instead i  can help u out if u r facing any issue.
    In our case: wen ever sales order is created /changed an idoc shud be genrated.
    This can be done thru Message control.
    Which involves customization from functional guys in NACE as well as Technical guy in Partner profile/port..
    do let me know where ever u r not clear.
    regards,
    Naveen

  • Trigger an outbound idoc to sender system after inbound idoc has status 53

    Hi all,
    We have two different partners (say A and B)which send inbound idoc to ECC of same message type WMMBXY. This updates goods movement. The partner A collects the idocs(WE20 partner profile setting) and partner B trigger's immediately. Now our requirement is after successful processing of idocs (satus 53) we need to send another type of idocs to the sender regarding the updation/ changes occured in ECC.
    Since partner A collects the idocs how can we check that it reaches 53 status and send the outbound idoc to A.
    Kindly help me in solving this issue.
    Thanks,
    Aravind

    Create a new process code WMMB to ZMMB & assign a FM ZL_IDOC_INPUT_WMMBXY
    & call the standard FM L_IDOC_INPUT_WMMBXY , check the status or any error other wise create a new IDOC using
    Master_IDOC_CREATE, hope the solution works for you

  • Outbound IDOC - Sender and reciever

    Hello SDNites,
    I have created a report pgm which is equipped to send an outbound IDOC i.e used FM 'MASTER_IDOC_DISTRIBUTE'. Can someone please tell me how do I decide my sender and reciever when populating the control record in this FM.
    I know sender will be my system and reciver will be third party system but can you please tell me what values need to be opulated there or

    Thanks for the information,
    Can you please give the info in following form,
    1. Partner profile configuration with the values in your system.
    2. Code snippet where control records are poulated for Outbound IDOC with the values you specified in step 1.
    This will help me in understanding the same.
    Regards,
    Abhi

  • How to send Outbound IDocs through an RFC-enabled FM

    Good day to all;
    A partner system (AS/400) wants to use a Java Connection to execute a RFC Function Module, in SAP, that will then return a collection of IDocs.
    Currently, the Function Module builds the IDocs, but I'm not exactly sure how to simply send those IDocs back to the AS/400.
    If anyone can help in this regard, that would be great.
    My current thoughts are to use Master_IDoc_Distribute, but then I imagine that requires a port configuration for the AS/400.  And if this is the case, does that mean that SAP will send the IDocs back itself instead of using the RFC interface?

    Hi Tavares,
    If you want to send outbound IDoc to AS/400 (external system), you need to setup file port (t/code WE21).
    For RFC interface, you need to setup RFC file port with RFC Destination (t/code SM59). In this case, SAP will send IDoc (individually or batch) to receiver system (AS/400). Perhaps you need a middleware for data transformation, if AS/400 does not perform data mapping for outbound IDoc. 
    For FTP interface, you need to setup flat/XML file port for outbound. then you can FTP the file to AS/400 later on.
    In addition to file port configuration, you also need to setup partner profile for outbound parameter (t/code WE20) and the distribution model (t/code BD64).
    Hope this will help.
    Regards,
    Ferry Lianto

  • IDOC and then create WBS element

    Hi guys,
    I need some help here.
    The process is like this. I'm creating an IDOC which would then create a WBS element.
    The message type used here is /ISDFPS/PS and Basic Type is /ISDFPS/PS01.
    I'm posting the IDOC using FM "IDOC_INBOUND_SINGLE.
    The segments that I'm populating are:
    /ISDFPS/E1BP_PROJECT_DEF
    /ISDFPS/E1BP_WBS_ELEMENT
    Its posting and creating the WBS element successfully but there is a small issue.
    Lets say I have a Project Definition A  and under that I have a Parent WBS B
    How do I put the newly created WBS element under the Parent WBS B?

    Friends, Let me correct my stand here.
    In my system, I simulated scenario, I am not getting REL status for higher level  TECO WBS, when I undo TECO for network activity. I tried to find out  why my  system is behaving in that way.  I referred note " 938066 - CJ20N: Cannot Undo TECO status of activity"
    According  to it correction is provided in Support package SAPKH60005 and I am at
    SAP_APPL     600     0002     SAPKH60002     Logistics and Accounting .
    So, My system is not correctly behaving. I have verified the same with one another note  Note 542974 - Status inheritance in different transactions
    Thanks to Ahmed &  A Bhardwaj  for overlooking me.  So, I re look and got the reason. Rashid, take solution given by Ahmed & Bhardwaj ( The same is up to mark )
    With Regards
    Nitin P.

Maybe you are looking for