Passing values to outbound ORDERS05 idoc.

Hi,
I have to do an enhancement wherein whenever a PO is created and sent through EDI an outbound idoc will be created which will contain some additional data in some segemnts.For e.g. I have to fill stras, ort01 and pstlz fields of segment  E1EDPA1 from KNA1 where lifnr value is equal to the lifnr in PO.
How do I pass the values to the segment and append it to the idoc data?
Need help urgently!!
Thanks,
Sandeep.

Hi,
Check the code below:
FUNCTION ..........
Checking the Purchase Order types
  PERFORM fill_bsart.
Selecting the data and putting it into the final internal table.
  PERFORM fill_final.
Checking the case inorder to populate the data in the new segments
  CASE int_edidd-segnam.
    WHEN gc_e1edk01.
    Populate Header segment
      PERFORM f_populate_header.
    WHEN gc_e1edp01.
    Populate Item segment
      PERFORM f_populate_item.
  ENDCASE.
ENDFUNCTION.
FORM f_populate_header .
  CLEAR: gv_e1edk01, gv_hsegment.
  MOVE int_edidd-sdata TO gv_e1edk01.
  MOVE : gv_e1edk01-belnr TO gv_hsegment-purchase_order,
         gv_e1edk01-bsart TO gv_hsegment-order_type.
  CLEAR: gs_final.
Reading the final internal table with Index 1 and moving the data to int_edidd
  READ TABLE gt_final INTO gs_final INDEX 1.
  IF sy-subrc EQ 0.
    MOVE: gs_final-eknam TO gv_hsegment-eknam.
    MOVE: gs_final-stras TO gv_hsegment-street,
          gs_final-netwr TO gv_hsegment-netwr,
          gs_final-oknam TO gv_hsegment-po_approver.
    MOVE: gv_hsegment TO int_edidd-sdata,
          gc_hseg TO int_edidd-segnam.
    APPEND int_edidd TO int_edidd.
    CLEAR int_edidd.
    CLEAR : gs_final.
  ENDIF.
ENDFORM.                    " f_populate_header
FORM f_populate_item .
  CLEAR: gv_isegment,gs_final.
  MOVE int_edidd-sdata TO gv_e1edp01.
Reading the final internal table with key ebelp and moving the data to int_edidd
  READ TABLE gt_final INTO gs_final WITH KEY ebelp = gv_e1edp01-posex.
  IF sy-subrc EQ 0.
    MOVE: gs_final-bsart TO gv_isegment-order_type,
          gs_final-eindt TO gv_isegment-eeind,
          gs_final-ebelp TO gv_isegment-ebelp,
          gs_final-ean11 TO gv_isegment-ean11,
          gs_final-numtp TO gv_isegment-numtp,
          gs_final-txz01 TO gv_isegment-txz01,
          gs_final-meins TO gv_isegment-meins,
          gs_final-idnlf TO gv_isegment-idnlf.
    MOVE: gv_isegment TO int_edidd-sdata,
          gc_iseg     TO int_edidd-segnam.
    APPEND int_edidd TO int_edidd.
    CLEAR int_edidd.
  ENDIF.
ENDFORM.                    " f_populate_item
FORM fill_bsart .
  CONSTANTS: lc_i TYPE c  VALUE 'I',
             lc_eq TYPE char2 VALUE 'EQ',
             lc_ylro TYPE char4 VALUE 'ylro',
             lc_yspo TYPE char4 VALUE 'yspo',
             lc_ylso TYPE char4 VALUE 'ylso',
             lc_ysub TYPE char4 VALUE 'ysub',
             lc_yvwh TYPE char4 VALUE 'yvwh'.
  CLEAR: gt_bsart.
  gt_bsart_line-sign = lc_i.
  gt_bsart_line-option = lc_eq.
  gt_bsart_line-low = lc_ylro.
  APPEND gt_bsart_line TO gt_bsart.
  CLEAR :gt_bsart_line.
  gt_bsart_line-sign = lc_i.
  gt_bsart_line-option = lc_eq.
  gt_bsart_line-low = lc_ylso.
  APPEND gt_bsart_line TO gt_bsart.
  CLEAR :gt_bsart_line.
  gt_bsart_line-sign = lc_i.
  gt_bsart_line-option = lc_eq.
  gt_bsart_line-low = lc_yspo.
  APPEND gt_bsart_line TO gt_bsart.
  CLEAR :gt_bsart_line.
  gt_bsart_line-sign = lc_i.
  gt_bsart_line-option = lc_eq.
  gt_bsart_line-low = lc_ysub.
  APPEND gt_bsart_line TO gt_bsart.
  CLEAR :gt_bsart_line.
  gt_bsart_line-sign = lc_i.
  gt_bsart_line-option = lc_eq.
  gt_bsart_line-low = lc_yvwh.
  APPEND gt_bsart_line TO gt_bsart.
  CLEAR :gt_bsart_line.
  LOOP AT gt_bsart INTO gt_bsart_line.
    IF xekko-bsart NE gt_bsart_line.
      EXIT.
    ENDIF.
  ENDLOOP.
ENDFORM.                    " fill_bsart
FORM fill_final .
  REFRESH :gt_ekko.
Getting the data from EKKO table
  SELECT ebeln
         bsart
         ernam
         lifnr
         waers
         bedat
         ekgrp
   FROM  ekko
   INTO CORRESPONDING FIELDS OF TABLE gt_ekko
  WHERE bsart EQ gv_e1edk01-bsart
    AND ebeln EQ gv_e1edk01-belnr.
  IF sy-subrc EQ 0.
    SORT gt_ekko BY ebeln ekgrp.
  ENDIF.
  REFRESH: gt_ekpo, gt_t024, gt_erev, gt_lfa1.
  IF NOT gt_ekko[] IS INITIAL.
  Getting the data from EKPO
    SELECT ebeln
           ebelp
           bstyp
           txz01
           matnr
           idnlf
           menge
           meins
           netpr
           netwr
           ean11
     FROM  ekpo
     INTO CORRESPONDING FIELDS OF TABLE gt_ekpo
      FOR ALL ENTRIES IN gt_ekko
    WHERE ebeln EQ gt_ekko-ebeln.
    IF sy-subrc EQ 0.
      SORT gt_ekpo BY ebeln ebelp matnr.
    ENDIF.
  Getting the data from EREV
    SELECT   bstyp
             edokn
             edokp
             revno
             oknam
       FROM erev
       INTO CORRESPONDING FIELDS OF TABLE gt_erev
       FOR ALL ENTRIES IN gt_ekko
     WHERE bstyp EQ gt_ekko-bstyp.
    IF sy-subrc EQ 0.
      SORT gt_erev BY bstyp oknam.
    ENDIF.
  Getting the data from LFA1
    SELECT lifnr
           stras
      FROM lfa1
      INTO CORRESPONDING FIELDS OF TABLE gt_lfa1
       FOR ALL ENTRIES IN gt_ekko
        WHERE lifnr EQ gt_ekko-lifnr.
    IF sy-subrc EQ 0.
      SORT gt_lfa1 BY lifnr.
    ENDIF.
  Getting the data from T024
    SELECT ekgrp
           eknam
      FROM t024
      INTO CORRESPONDING FIELDS OF TABLE gt_t024
       FOR ALL ENTRIES IN gt_ekko
     WHERE ekgrp EQ gt_ekko-ekgrp.
    IF sy-subrc EQ 0.
      SORT gt_t024 BY ekgrp eknam.
    ENDIF.
  ENDIF.
  IF NOT gt_ekpo[] IS INITIAL.
  Getting the data from MARA
    SELECT matnr
           ean11
           numtp
      FROM mara
      INTO CORRESPONDING FIELDS OF TABLE gt_mara
       FOR ALL ENTRIES IN gt_ekpo
     WHERE matnr EQ gt_ekpo-matnr.
    IF sy-subrc EQ 0.
      SORT gt_mara BY matnr ean11.
    ENDIF.
  Getting the data from EKET
    SELECT ebeln
           ebelp
           eindt
      FROM eket
      INTO CORRESPONDING FIELDS OF TABLE gt_eket
       FOR ALL ENTRIES IN gt_ekpo
     WHERE ebeln EQ gt_ekpo-ebeln.
    IF sy-subrc EQ 0.
      SORT gt_eket BY ebeln ebelp eindt.
    ENDIF.
  ENDIF.
Moving the data to the final internal table
  LOOP AT gt_ekpo INTO gs_ekpo.
    gs_final-ebelp = gs_ekpo-ebelp.
    gs_final-matnr = gs_ekpo-matnr.
    CLEAR :gs_ekko.
    READ TABLE gt_ekko INTO gs_ekko
             WITH KEY ebeln = gs_ekpo-ebeln BINARY SEARCH.
    IF sy-subrc EQ 0.
      gs_final-ebeln = gs_ekko-ebeln.
      gs_final-bsart = gs_ekko-bsart.
      gs_final-lifnr = gs_ekko-lifnr.
      gs_final-ekgrp = gs_ekko-ekgrp.
    ENDIF.
    CLEAR : gs_mara.
    READ TABLE gt_mara INTO gs_mara WITH KEY matnr = gs_ekpo-matnr.
    IF sy-subrc EQ 0.
      gs_final-ean11 = gs_mara-ean11.
      gs_final-numtp = gs_mara-numtp.
    ENDIF.
    CLEAR: gs_t024.
    READ TABLE gt_t024 INTO gs_t024 WITH KEY ekgrp = gs_ekko-ekgrp.
    IF sy-subrc EQ 0.
      gs_final-eknam = gs_t024-eknam.
    ENDIF.
    CLEAR: gs_eket.
    READ TABLE gt_eket INTO gs_eket WITH KEY ebeln = gs_ekko-ebeln.
    IF sy-subrc EQ 0.
      gs_final-eindt = gs_eket-eindt.
    ENDIF.
    CLEAR: gs_erev.
    READ TABLE gt_erev INTO gs_erev WITH KEY bstyp = gs_ekko-bstyp.
    IF sy-subrc EQ 0.
      gs_final-oknam = gs_erev-oknam.
    ENDIF.
    CLEAR:gs_lfa1.
    READ TABLE gt_lfa1 INTO gs_lfa1 WITH KEY lifnr = gs_ekko-lifnr.
    IF sy-subrc EQ 0.
      gs_final-stras = gs_lfa1-stras.
    ENDIF.
    APPEND gs_final TO gt_final.
    CLEAR :gs_final.
  ENDLOOP.
  SORT gt_final BY ebeln ebelp.
ENDFORM.                    " fill_final
Regards
Kannaiah

Similar Messages

  • How to pass header/item text in inbound ORDERS05 IDoc

    Hi,
    I'm trying to create Sales Order from an inbound ORDERS05 idoc thru SE19.
    How do I pass the header text and item text to the Sales Order?
    What should be the value of E1EDKT1-TDOBJECT and E1EDKT1-TDOBNAME?
    An early response is highly appreciated.
    Regards,
    Gajendra

    Hi Gajendra,
    What is the significance of "TDOBJECT" and "TDNAME"?
    <b>TDOBJECT</b>: application object of the text
    The field is part of the text key. It contains the name of the text object to which the text is allocated. This object must be defined in table TTXOB.
    <b>TDNAME</b>: name of the text
    The field is part of the text key. It contains the name of the text module. This name may be up to 70 characters long. An internal structure of the text name is preset by the text object, but not interpreted by SAPscript.
    <b>TDID</b>: ID of the text
    The field is part of the text key. It contains the name of the text ID to which the text module belongs. The text ID must be defined in table TTXID together with the text object.
    <b>TDSPRAS</b>: language key of the text
    The field is part of the text key. It contains the language key of the language used to enter the text lines of the text module. The language key must be defined in table T002.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Outbound Delivery IDOC not updating values from MKPF for goods receipt

    hi all,
    I have a question say I am generating an outbound delivery IDOC. which  has fields Goods Issues & Goods Receipt date retrieve from MKPF(BUDAT).
    say when i post goods issues, MKPF is updated and  IDOC is gernerated with issues date taken from MKPF.
    and when i tried to goods receipt, MKPf is updated and IDOC is generated but no receipt date taken from MKPF. then i check in MKPF, date is there and then once again I triggered the IDOC, receipt date comes......so my doubt is the time issues say when IDOC is triggeres, no value in MKPF...but when i check the time it is 4 mins difference from the MKPF time and the IDOC time...
    and also 1 more thing for doing goods receipt, we do in different transaction and for good issue we do in Vl02n.
    so bit confused.
    kindly help

    True , but in BKPF only Issues date are stored not the receipt date say if the document type = WE.
    Please let me know is there any other options to fetch rather than MKPF.
    because at the time of IDOC generation, there is not entries in MKPF. I tried to do using WAIT UP TO 50 seconds , even that didnt work.
    Please guide me
    thanks

  • How can i pass the  segments and fields to the ORDERS05 IDOC

    Hi All,
    I want to use ORDERS05 Idoc type for creating sales order. How can I pass the order type, sales org., distr. channel, division, sold-to-party, material and quantity to the Idoc?
    please help me out in this.
    thanks in advance
    jasmine

    Hi,
    Goto WE19 TC and there select your IDOC and there u can pass the data.
    Regards,
    Phani

  • Segment management in ORDERS05 IDOC.

    Hi there.
    I have two questions, one is very focused on text management in ORDERS05, the other one is more generally speaking.
    1 - Text management in ORDERS05 IDoc:
    I have texts in my purchase order that I fill in, and then generate my IDoc. When looking at IDoc detail through WE05 or WE02, my texts are not visible neither in E1EDKT1 nor E1EDPT1 segments. Basically, those segments are not even created in my IDoc. Why? Anything to do in PO and/or ALE customizing?
    2 - More general:
    I need to have, in my E1EDS01 segment, the total quantity I order in my PO. So, I need a segment with qualifier '004' in SUMID, then my quantities. Currently, I only have SUMID='002' and my total value amount. How can I define (or it is defined by the system) the type of information I have in my segments, or segments themselves?
    Please tell me if not clear at all.
    Thanks for your answers.
    Chris.

    Thanks Dani.
    I checked the T166A table and found that the following entries are missing for my cases: EKPO and EKKO for my ZNB PO type.
    Shall I just put an entry for those two things in that table and this will allow me to get my texts in my ORDERS05 IDoc?
    For point 2, as I am not an ABAP developper, I do not understand what to do. I can deal with customizing, but not with ABAP programming on that subject.
    Thanks anyway at least for the first part of the answer.

  • Passing Values to BADI in LUW

    We have a process in SRM where incoming IDOCS are coming in from an external source. In our Z function module the BBP_DOC_CHANGE_BADI is called and we need to pass a value to DOC_CHANGE_BADI to make sure we process only code for this process.
    Options:
    1) EXPORT/IMPORT To Memory ID - Did not work
    2) EXPORT/IMPORT TO INDX - Did not work, we processed 10 idocs at once and memory got lost during 1 update.
    3) Write to Z table in Z FM, and then read table in BADI. Current solution.
    4) Tried to use field symbols  (FM(field1) didnt work.
    Any other ideas?

    Hi Divya,
    Based on the current description, I understand that there is no issue if you pass two values from main report to subreport, while the issue occurs when passing one value to subreport.
    To narrow down the issue, I want to confirm whether the subreport can run if there is only [0] or [1] in the subreport. If so, it indicates the query statements exist error in the subreport. If it’s not the case, this shows the issue occurs during passing
    values from main report to subreport. To make further analysis, please post the details of query statements of the subreport to the forum.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Help on ORDERS05 IDoc mapping..

    Hi Experts,
       Please help me out in finding out the IDoc Segment fields(ORDERS05) equivalent to the following SAP fields.
      20  Quantity             VBAP  KWMENG  Num(6)
      21  Unit of Measure  VBAP  VRKME      Char(3)
      22  Gross Price       KONV  KBETR       Curr(11.2)
      23  Discount           KONV  KBETR       Curr(11.2)
      24  Surcharge         KONV  KBETR       Curr(11.2)
      25  Net Value         KONV  KBETR       Curr(11.2)
      26  Cost Object 
      31 Payment Terms  VBKD  ZTERM      Char                E1EDK01 -ZTERM
      32 Footer Msg1      STXI     n/a             Char
      33 Footer Msg2      STXI     n/a             Char
      34 Footer Msg3      STXI     n/a             Char
      35 Total                 KONV  KBETR       Curr                E1EDS01 -SUMID (004)
           I thought for
               Quantity               :  E1EDP01-MENGE
               Unit of Measure    :  E1EDP01-MENEE
               Gross Price          :  E1EDP01-PREIS
               But when i went to WE19 and posted the idoc by populating the above segment fields its not getting updated in the sales order, instead in the created sales order it shows quantity as 0 and its not getting updated.
         so iam not sure whether these segment fields (in ORDERS05 IDoc) are the right fit for quantity, UoM and Gross price. Please provide me the correct segment fields mapping for the above SAP fields.
         Actually Gross price, surcharge, discount and Net value are calculated automatically by SAP while creating the sales order based on the amount and quantity entered - right..? Then do i need to populate the values for these fields also in IDoc for testing using WE19.
         Please reply me.
        Thanks in advance,
        karthik.

    In sales order,these quantity updating in Tatget quantity,look at VBAP Table ..
    You will get good idea..
    Reward Points if it is helpful
    Thanks
    Seshu

  • Orders05 IDoc Create/Change.

    Dear All,
    I am able to create the Outbound IDocs for create or change of purchase order . But I want to know
    how to create orders05 IDoc with only changed items not all the items.
    Example :  If I change line item 3 for any order ,then IDoc should have only one segment E1EDP01 for that item
    Thanks in Advance.

    Curtis,
    If I understand you're requirement correctly, you want to "Send all changed items on the ORDCHG. In addition to these, you want the item long text sent for all the items that haven't been changed".
    If this is true, I would do it in one of the following ways:
    1. Send all the data (like ORDERS) on an ORDCHG IDOC along with long texts and have the vendor compare each item and see which ones have changed. --> I know this is not a preferred option for all the clients but I have done this at one of the client who had the muscle to have his vendors comply to his needs.
    2. Change exit: EXIT_SAPLEINM_001. Pick up all the materials listed in UEKPO, go back to EKPO and get the remaining for that PO and populate long text field which would go into E1EDPT1/T2 segment and update those relevant fields in UEKPO and save it. The next form would automatically pick up these and fill up the IDOC. This way, you'll see E1EDP01 (and the segments beneath it) for all the materials but you just populate E1EDPT1/T2 and rest are blank. I might have oversimplified it because I didn't go in and check how the program flow would work but I'm positive this is a good way to start. The reason I would like to change EXIT_SAPLEINM_001 is that this is the place where the actual IDOC filling didn't start yet and all you have to do is feed into UEKPO so that the next perform will take care of the rest.
    Let me know if this works out for you. If you went through any alternative way then do educate me back
    Just a thought: You're question is different to the original thread here (although related). We're hijacking this thread. So I think it'll be better if you put it in a new one.

  • FM for outbound payment idoc

    Hi,
    How do we find out the FM for outbound payment idoc?.Here are the details
    Message type-PAYEXT
    Idoc type-PEXR2002
    Thanks,

    This thread is was last replied more than a year ago, but I'll add a little just to contribute.
    WE60 documentation for the IDocs don't really give much except field / segment
    information,  but don't talk about where the fields come from.
    FI_EDI_PAYEXT_PEXR2001_OUT seems to be the right FM, not sure how it relates to IDoc type pexr2002 as 2001 is the older version, but perhaps it handles the difference somewhere inside.
    As to where certain segment fields come from (i.e. the mapping to master data fields...) , I've been debugging and still in progress.
    I have not been able to find any straight forward mapping, and my comments at the moment are:
    For any particular segment field of PEXR2002, take a look at FM :
    FI_EDI_PAYEXT_PEXR2001_OUT
    to see how it populates the field.  Chances are, the values come from the tables REGUH/REGUP/REGUV.
    The payment run process as far as my knowledge is concerned is as follows:
    1) Payroll Run -> Stores to table BT
    2) Pre DME (e.g. trx PC00_M08_CDTA) picks data frm BT and creates payment data in REGUH / REGUP / and REGUV tables. This gives you an identification feature ID for the next step.
    3) RFFOEDI2 changes status field in REGUH for particular payment data record based on ID from step 2.. this enables it to be picked up in the next step.
    4) RFFOEDI1 converts the record in REGUH into an IDoc which can be processed in BD87.
    I have debugged from step 4 backwards to step 3, i.e. I know that segment field X comes from REGUH field Y. Now I have to debug step 2 to find out how it populates REGUH field Y. If this comes directly from master data, then that makes life easier. But if this REGUH field Y comes from table BT of step 1, then perhaps I have to debug the payroll run somewhere. (Nightmare?
    Anyway, if anyone knows better, please advise.

  • Steps to create outbound CREMAS IDOC from ERP

    Hi,
    Can you please share the steps to create outbound IDOC from ERP system?
    Business requirement is that whenever a new vendor is created in the ECC system, SAP should trigger an outbound vendor IDOC CREMAS from ERP system. Also whenever the vendor data is changed then the entire vendor details should be passed to outbound IDOC and not just the delta changes. Change pointer can be configured but to create idoc for full vendor records.
    I guess we can use CREMAS.
    Can anyone please share the steps to configure it in ERP?
    Regards,
    Sandeep

    1. Read the file using OPEN DATASET and read and fill up the segment info and fill the EDIDC header data
    and then call function
    CALL FUNCTION 'INBOUND_IDOC_PROCESS'
        TABLES
          IDOC_CONTROL       =  i_edidc
          IDOC_DATA          =  i_edid4.

  • Orders05 idoc mapping

    Hi,
    Please help me where to map below fields in orders05 idoc.
    1) shipping terms
    2) shipping via.
    3) NSP Quote Number ( discount )
    Thanks,
    Raghu.

    Hi Naimesh,
    Thanks for your answer.
    Du have any idea where to map below field in orders idoc.
    NSP / QUOTE number  (   if PO116 = 'DG'  ( discount grouping)
                                             PO117 is the value )
    Thanks,
    Raghu.

  • Use IBAN number in outbound INVOIC IDOC

    Hi,
    I'm looking for a field to store the IBAN number in outbound INVOIC IDOC's. Apparently there is no separate field available for this. I would like to avoid extending the current IDOC structure and I would have expected the IBAN number to be part of the SAP standard outbound INVOIC idoc.
    Has anyone encountered the same requirement? I have looked at the standard INVOIC01 and INVOIC02 structure.
    Thanks
    Walter

    Hi Ken,
    Thanks for the response. I'm indeed looking at the international bank account number.
    I was hoping that SAP somewhere does have a solution to send the IBAN numbers and not that we have to overwrite the ACNUM field or create our own segment. I want to pass the regular bank account and the IBAN number in our IDOC so that we do not need to decide within SAP if a customer requires the IBAN number or any other number. We want to make that decision in our EDI mapping, not in SAP. I'm surprised SAP has not foreseen anything for this as the IBAN is widely used within Europe.
    We already have a problem that we have more than 20 house bank with more than 20 bank accounts, so the SAP limitation of 20 K28 segments is already creating a problem for us.
    I guess we will need to setup our own coding in the user exit. Thanks for your response anyway.
    Regards
    Walter

  • Sales Order - Outbound Delivery IDoc scenario.

    Hi Friends,
    I have the below urgent requirement. I would be gratful, if someone suggest possible options.
    Scenario: This is related to Sales order to Billing scenario.
    We are creating Sales orders by using ORDERS05 Idoc. After the Real goods despatch happens at legacy system, we will be getting despatch feed (IDoc) for outbound delivery trigger. Here if all sales Order items are complete, the system is creating Outbound delivery by using this IDoc and then PGI will follow. This is Ideal scenario.
    Practically what happening is, our sales orders are created with few incomplete items (Ex: Net price missing) because they are created via ORDERS05 Idoc.( Manually, we can't create sales order with incomplete items, unless we force the system to do so). When the Out bound delivery IDoc triggered, it will pick up only completed items and creates partial delivery and becomes 53 status. Now the sales order is left out with open and incomplete items.
    Now our aim is how to make this outbound delivery IDoc fail, if this is not able to create delivery for all items?? (I mean, if the sales order items are incomplete, the delivery Idoc must fail. So later, if sales order becomes complete, this Idoc can be reprocessed again) How can we make this scenario possible??
    Expecting your thoughts and inputs.
    Regards,
    Kaleeswaran

    HI,
    I suggest you to think of similar solution as below.
    1.As your issue is at order (few items are incomplete with Pricing issue or some other issue), at sales order level while saving each sales order write the code in user exit_save_document_prepare to check if any items exists as incomplete. if yes then populate a delivery block in the sales document header.(you can use a new delivery block to distinguish the reason for the block)
    2. While creating delivery for the order through Idoc since the incomplete orders have a delivery block at the sales document header level SAP wont create delivery for the entire Order.
    3.Handling this delivery block at sales order header: when ever a sales order is popluated with this new delivery block triggere a workflow which will shoot a mail to your End user team or customer representative team. they will correct the issue in the order and remove the delivery block. if you dont want to go with a workflow then you need to incorporate a process to remove the delivery block in the sales order
    Thanks,
    Srini

  • Background Job pass value

    Hi, I am calling a Background job in my program. I am using JOB_OPEN, JOB_SUBMIT and JOB_CLOSE FM to start a job. My need is to pass a value to the job program(job program doesnt have any selection screen values). Is their any way without creating variants each time to pass value to it.
    Please advice.....

    Hello,
    You can first use  JOB_OPEN which returns job number. Then build ranges or parameters to use SUBMIT to call the program.
    Eg: SUBMIT RM06BB20 AND RETURN
          WITH S_EKGRP IN R_EKGRP
          WITH S_EKORG IN R_EKORG
          WITH S_FLIEF IN R_FLIEF
          WITH S_KONNR IN R_KONNR
          USER sy-uname VIA JOB w_jobname
          NUMBER w_job_number.
    Now use JOB_CLOSE.
    Thanks,
    Venu

  • Passing values between adf application and web services

    hi i have a situation where i have jsff page which got username,surname,lastname,email i what to pass this value to my webservices how can i do that. this is how i create my webservicesright click viewControler->web services->web services Data Control
    i what to pass the value to webservices workflow i already have a screen in my workflow now i what to pass the adf application values to that webservices am in jdeveloper 11.1.1.6.0
    i try this
    <af:inputText simple="true"
                            required="#{bindings.Username.hints.mandatory}"
                            columns="#{bindings.Username.hints.displayWidth}"
                            maximumLength="#{bindings.Username.hints.precision}"
                            shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
                            value="#{bindings.Username.inputValue}">
                <f:validator binding="#{bindings.Username.validator}"/>
                <af:setPropertyListener from="#{bindings.Username.inputValue}"
                                        to="#{bindings.start_user_details}"
                                        type="action"/>
              </af:inputText>

    i make my webservices to pass values
    <af:inputText simple="true"
                            required="#{bindings.Username.hints.mandatory}"
                            columns="#{bindings.Username.hints.displayWidth}"
                            maximumLength="#{bindings.Username.hints.precision}"
                            shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
                            value="#{bindings.Username.inputValue}">
                <f:validator binding="#{bindings.Username.validator}"/>
                <af:setPropertyListener from="#{bindings.Username.inputValue}"
                                        to="#{bindings.approveUser_username}"
                                        type="action"/>
              </af:inputText>
    but am geting error reference approveUser_username not found

Maybe you are looking for

  • How Do I Resolve FileOpen Client Errors When Trying to Open a PDF in Acrobat X or Reader XI?

    I am trying to open some pdf files received from a client that when I try to open them, I receive an error stating, "The FileOpen client has encountered an error.  Please try to re-start  Adobe Acrobat / Reader."  A co-worker was able to open the sam

  • Using download_print_document with dynamic procedure

    I am using the version of download_print_document that calls a function (returning clob) for my reports (see below). I need to dynamicaly change the procedure being called in p_report_data line based on what report they run. Is it possible to store t

  • ABAP program and FB for value mapping replication

    Hi, we are using a 40B system and I want to use the value mapping replication in XI. To refill the data into the XI database I must write an ABAP and a function module to transfer the data out of R/3 into XI (via RFC). Has anybody an example how the

  • Query Builder Problem

    I don't know if this is a bug or not, but I just found this with 2.0 query builder. If you change the schema, you lose anything that was selected, which is a problem as our database (as I'm sure many others do) span several schema. -Scott

  • Apostrophe use and thoughts on small capitals

    I received great help here before so I wanted to ask a couple more questions. The restaurant I work for recently put up a small banner-type advertisement in the bar that said: "Dini's Happy Hour's..." and I was a little disappointed to not be a part