Saler order configuration data into IDoc

Hi Experts,
I need to make sure that always in the outbound IDoc (ORDERS05) the segment E1CUVAL contains VALUE_TXT element for every VALUE element.
can you please tell where can I find the code that is in which user exit, to change it for checking E1CUVAL segment.
the configuration values are coming from the Sales order.
Thanks in advance.
MK
Edited by: mk.xi on May 2, 2008 10:50 AM

Mk,
I found some sample user exits for you,
EXIT_SAPLEINM_011,
EXIT_SAPLEINM_002,
EXIT_SAPLEINM_007,
EXIT_SAPLEINM_004,
EXIT_SAPLEINM_005,
EXIT_SAPLEINM_008
Check whether they suit or not.
Other thing is, even if you do not find any customer-function with parameter to idoc_data, you can find alternatively looking for tables parameter resembling EDIDD structure. I am able find some with tables parameter int_edidd.
You can definately find some.
Regarding the points:
Our motivation to provide you answers is getting some points.
When you get a answer, find whether it is helpful/veryhelpful etc.. Mark it helpful/veryhelpful, then ask another question. This is how normally goes.
Best Regards,
Suraj Kumar

Similar Messages

  • Sales order configuration data to the IDoc

    Hi Experts,
    I need to make sure that always in the outbound IDoc (ORDERS05) the segment E1CUVAL contains VALUE_TXT element for every VALUE element.
    can you please tell where can I find the code that is in which user exit, to change it for checking E1CUVAL segment.
    the configuration values are coming from the Sales order.
    Thanks in advance.
    MK
    Edited by: mk.xi on May 2, 2008 10:48 AM

    Hi Advait,
    I think you can populate configuration data for inbound IDoc ORDERS05.
    In user exits of IDOC_INPUT_ORDERS, you can search table VBAP for given material (will be posted) and find <b>VBAP-CUOBJ</b> (not initial). Then call function module VC_I_GET_CONFIGURATION to find all available  configuration/characteristics data for above matarial.
    From here, you can populate segment E1CUREF, E1CUCFG and C1CUVAL.
    data: i_configuration like conf_out occurs 0 with header line.
    data: l_instance like inob-cuobj.
    clear: i_configuration.
    refresh: i_configuration.
    select single *
    from vbap
    if sy-subrc = 0.
      l_instance = vbap-cuobj.
    endif.
    call function 'VC_I_GET_CONFIGURATION'
      exporting
        instance            = l_instance
      tables
        configuration       = i_configuration
      exceptions
        instance_not_found  = 1
        internal_error      = 2
        no_class_allocation = 3
        instance_not_valid  = 4
        others              = 5.
    loop at i_configuration.
    endloop.
    Hope this will give you an idea.
    Regards,
    Ferry Lianto
    Note: Please award point for helpful answer.

  • Copying sales order header data into delivery line item

    Hi
    In copy control from sales order to delivery I want to copy value in sales order header to all the items in delivery, can I achieve this in the header level data transfer routine (Source sales document type to target delivery doc type i.e TVCPL-GRUAK)  or I have to do the changes in item level data transfer routine (TVCPL-GRUAP)
    The requirement is to copy a value from VBAK into LIPS during delivery creation
    Thanks
    Javed

    Dear Javed,
    Your requirement sounds interesting.
    If possible can you explain the scenario where we have to transfer the header data form order to item data in delivery?
    Also if you have found the solution, can you please update the same.
    Thanks & Regards,
    Hegal K Charles

  • Sales order header data change by using the ORDERS05 IDOC

    Hello Team
    I am getting sales order number and some code value from the legacy system. i need to check whether the sales order is avialable in SAP or not. if it is there, i need to update the CODE value (ie for example ABC100) in sales order header data> order data> your reference field.  For doing this i am using the IDOC type ORDERS05 and message type ORDCHG message type.
    Now i want to know what are the mandatory fields which i need to do the mapping for the IDOC ORDERS05, to change the sales order header data. please check and suggest me the required fields of the IDOC to be mapped, so that i can change the sales order header data.
    Please correct me if i am doing something wrong here.
    Regards
    Rj

    Hello chirag
    Thanks for your reply. My requirement is to change the sales order which is already avialable in SAP. Just i need to change the header data of the sales order, for example if i am getting the sales order as 1000 and CODE as ABC100. i need to change the Sales document number 1000 and put the code ABC100 in sales order header data>orders data>your reference field.
    So now i want to know the below points
    1. what are the mandatory fields for which i need to pass the values for the IDOC ORDERS05.
    2. what is the user-exit used for picking up those values from SAP because i am getting only sales order number and CODE values from legacy system.
    Please check and suggest me accordingly.
    Regards
    Rj

  • Idoc segment for updating Sales order item dates

    Hi All,
    I would ike to update the sales order item dates (loading date, Goods Issuance date etc) from an IDOC.
    please let me know the Idoc segment and fields that need to be filled in?
    Thanks in advance.
    Regards,
    Zeeshan.

    Hi,
    Here are some details of the segments in the idocs -
    SEGNAM Segment Name E1EDL20
    VBELN Sales and Distribution Documen 180001539
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PIC : Picking with flow records (inbound)
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PGI : Post delivery goods issue (inbound)
    SEGNAM Segment Name E1EDT13
    QUALF IDOC Qualifier: Date (Delivery 010 : Picking
    NTANF Constraint for activity start 20090808
    ISDD Actual start: Execution (date) 20090808
    SEGNAM Segment Name E1EDL24
    POSNR Item number of the SD document 10
    MATNR Material Number 1112
    WERKS Plant SG01
    KDMAT Material belonging to the cust 1112
    LFIMG Actual quantity delivered (in 55
    VRKME Sales unit EA
    POSEX External item number 10
    ORMNG Original Quantity of Delivery 55
    SEGNAM Segment Name E1EDL41
    QUALI Qualifier for Reference Data o 001 : Purchase order data of customer
    BSTNR Customer purchase order number 4500004668
    BSTDT Customer purchase order date 10
    POSEX Item Number of the Underlying 10
    SEGNAM Segment Name E1EDL37
    Regards,
    Shamma

  • Sales orders flow - dates difference

    Dear All,
    I need to build a model for a report which needs to have the days difference between the sales order creation date, delivery date, goods issue date  and billing date. The lowest level of detail should be the Sales Order/Item and one Sales Order/Item can origin different Delivery Items.
    Base on this, i'm wondering how can i model this scenario...
    Do you have any suggestion?
    Thanks in advance and best regards,
    Nuno

    Hi,
    I need to build a model for a report which needs to have the days difference between the
    Sales order creation date,
    Delivery date,
    Goods issue date ,
    Billing date.
    In your question you didn't mension what differences you need
    Eg:
    Sales order creation date - Delivery date
    Goods issue date - Billing date
    Sales order creation date - Billing date
    Delivery date - Goods issue date
    Like what combination you need?.
    Steps:
    Bring all InfoObejcts into Cube and once youn have all required InfoObecjts in your cube then in reporting level you can play like any thing. So first bring all Dates data into Cube. Use 0SD_C03 InfoCube with relavent datasources.
    Then Use Formula Variables with Replacement pathes and then do simple Substractions at reporting level. Your problem is resolved.
    See the below Article how I'm calculating Age of teh Material. Here I'm using Custome Exit Variable to get teh System Data, but in your case you don't need it, you just use Formula Variable with Replcemet Path and replace with Date and then do Substartion.
    Calculating the Ageing of the Materials
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Thanks
    Reddy

  • Control Sales order Pricing Date with Delivery GI Date

    Is it possible to have a control that ensures the Actual GI date in a delivery is not more than a number of days from the sales order pricing date?

    Hi,
    To have restriction in actual GI date in transaction VL01N . Please find the user exit for VL01N , you can use one which are marked as bold . Kindly take the help of abaper to put the validation or logic as required.
    V02V0001   - Sales area determination for stock transport order 
    V02V0002   - User exit for storage location determination 
    V02V0003   - User exit for gate + matl staging area determination 
    V02V0004   - User Exit for Staging Area Determination (Item) 
    V50PSTAT  - Delivery: Item Status Calculation 
    V50Q0001   - Delivery Monitor: User Exits for Filling Display Fields
    V50R0001    -  Collective processing for delivery creation 
    V50R0002    - Collective processing for delivery creation 
    V50R0004    - Calculation of Stock for POs for Shipping Due Date List
    V50S0001    - User Exits for Delivery Processing 
    V53C0001    - Rough workload calculation in time per item 
    V53C0002    - W&S: RWE enhancement - shipping material type/time slot
    V53W0001   - User exits for creating picking waves 
    VMDE0001  - Shipping Interface: Error Handling - Inbound IDoc 
    VMDE0002  - Shipping Interface: Message PICKSD (Picking, Outbound) 
    VMDE0003  - Shipping Interface: Message SDPICK (Picking, Inbound) 
    VMDE0004  - Shipping Interface: Message SDPACK (Packing, Inbound) 
    Hope this will help you to resolve your issue!!!!
    Regards,
    Krishna O

  • Information about the deleted sales order line item in idoc.

    Hi Experts,
    I am new to IDOC.We have the following idoc requirement,
    When a line item is deleted from the sales order(VA02) ,
    the outbound idoc getting triggered for the sales order has the information about the rest all line items other than the deleted line item.We now want the information about the deleted line item in the Idoc .
    Please help me in proceeding further.

    Hi,
    I am facing the same scenario of capturing the  deleted sales order line item in idoc.
    I am using ORDRSP message type , where in E1EDP01- ACTION contains value  "000" .
    And the Deletion line item is not been captured, is there any configuration setting required to
    capture the deleted line item in Idoc.
    Based on the posting in this thread i understand that there is an  indicator which has to be set .
    Please let me know what is that indicator and how to set it?
    Thanks
    Sathish

  • Sales Order confirmed date in work days

    Is there a way to change configuration so a Saler Order will confirm based on the Factory Calendar??
    I created a new Order Type (VOV8) but see no option to change from calendar days to work days.
    Bascially, I need the sales order confirmation date to be based on work days and not calendar days. 
    Is this possible???

    Hi,
    Sales Order is created for particular Sales Area i.e. SO + DC + Div. And Sales Org. is the highest org unit in SD.
    At Sales Organizational level you maintain Sales Org calendar and not factory calendar.
    Factory Calendar is basically used at plant level which comes under MM module.
    So, by SAP std practice i dont think it will be possible..............
    Or you can do one thing that is,........maintain the same sales org calendar as factory calendar..........so i think it will help you....
    But can you elaborate you point so that we can understand properly.............
    regards,
    Sagar

  • Sales order Creation date

    Hi All,
    I see that the sales order creation date in VBAK is suppose 2009.06.16 and in VA03 if i see th document flow the date is 2009.06.15. and quatation date is also 2009.06.15.
    Which date is the correct Sales order date.If va03 one is correct what is the source table of this date?
    PLease commnet .
    Thanks in advance,
    Swati

    Hi ,
    Let me know in which field you are looking into in VBAK table
    Please let me know if you still need any help.
    Thanks and regards,
    Rajeshwar.

  • Copy Sales Order delivery date to Delivery Order delivery date

    Hi,
    Is there a way to create a FMS to copy the sales order delivery date to delivery order delivery date?
    Thanks
    Fabian

    Hi Fabian,
    I am not sure whether I have understood your requirement correctly.
    CopyTo also works for creating a delivery document from more than one sales order as base documents and base ref is available in line table than in parent table.
    The work around could be to create a UDF in marketing documents & update this UDF in sales order using FMS or using SBO stored procedure.
    Now, once after sales order is copied to delivery the UDF value is available in delivery and u can create one another FMS to get the UDF value into Delivery's Delivery Date.
    Hope this helps.
    Best Regards
    Satish

  • Sales Order Posting Date on Invoice PLD

    Hello,
       I am trying to post a Sales Order Posting Date to our Invoice PLD.  It is not native information to the Invoice PLD so I will probably need to create a query which I can then place into a UDF on the Invoice.
    Any out there have a solution?
    Thanks.
    Edited by: Arellano Mario on Jul 8, 2009 1:16 AM

    Hi
    Sorry , for keeping messing up :
    38.45.0 is referring to Invoice row level base key
    logic is saying  Delivery number is equal to invoice row level base key
    If you look at the link and Gagan answer ,your problem should have been solved .
    Please close this thread if your problem is solved .
    Thann you
    Bishal
    Definitely need a coffee to start my day
    Edited by: BIshal Adhikari on Jul 9, 2009 6:44 AM
    Edited by: BIshal Adhikari on Jul 9, 2009 6:44 AM

  • SALE ORDER COMPLETION DATE

    Hi all,
               We are create one sale order in va01N after completion of all process we make a delivery entry in VL01N.We are creat morethan five deliveries.
          Any standard report to see the sale orders completed date
    ie order closed date wise report.
    Regards,
    T.Murugu

    Hi
    You can use Acceptance field at Sales Order item to enter date on which final delivery is made.
    Based on that field, we can create a Z report lisitng Customer, Order Number, and Delivery Date (Maybe more fields based on the business scenario)
    Hope you find it useful.
    Reward points if you do.
    Regards
    Ravi

  • Sale Order additional data B.

    Hi,
    I have created 2 z fields in sale order additional data b at item level.
    but when user is entering any data in that field,same data is getting displayed for all line items.
    how to control that for particular item for which user has entered.
    Data Entered in z fields are used only for display purpose which are used for some calculations.

    hi,
    in PAI  usercommand  module  
    use loop endloop for internal table which store item level data 
    loop at item level data
    user command module 
    endloop.
    in module  driving program .
    module
    read table it_issue index tab_ctl-current_line transporting no fields.
      if sy-subrc = 0.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        modify it_issue from it_issue index tab_ctl-current_line.
        clear it_issue.
      else.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        append it_issue .
        clear it_issue.
      endif.
    endmodule  .
    regards
    deepak.

  • Sale order complection date

    Dear All
    which table stored in sale order complection date
    Thanks and Regards
    Suresh

    You can see the SO complete status in table VBUK-RFSTK filed.
    But i dont think you will get directly teh completion date. What you can do the check for the billing documents of the SO and take final billing doc creation date as SO completion date.
    Anyway plese check with your functional consultant.
    Thanks,

Maybe you are looking for

  • Project Accounting

    We are looking at implementing PA for 11.0 or 11i; Looking through the documentation I have been unable to locate how sales tax is handled in PA and if you can still use Vertex to calculate tax rates and exceptions?? Is there anybody who has dealt wi

  • Cannot restore my phone iphone 5s (16gb) - getting error message known erorr (-1). wanted to instal ios8.1

    I am failing to update my iphone 5s, after attempting to update the software to IOS8.2. I am getting the eroor message- unkown error (-1).  What steps should l take

  • RAC on solaris 10 zones

    Hi Can I setup RAC on solaris 10 zones? Thanks!

  • Doubt about expression "Position" on DATE RULE XML

    Hi guys, Does anybody know what expression "POSITION" exactly do in a DATE RULE? Below a fragment of DATE RULE XML <VarTimeExp displayType="VarTime"                                   name="PERIOD_DATE"                                   *position="E"*

  • Captivate reports files as "damaged"

    Hi all, I was working on someone else's files and had to use her PC to do so. She copied files down from network and I worked on them on her local PC in standalone mode (off the network). Now, when she tries to open the *.cp files, she gets the error