Passing header text into Idoc(Idoc type orders05)

Hi,
  we have header text, header note etc in text tab(under details) in  PO.
       now i have to pass the data's from the header text into the IDoc(idoc type Orders05),
In which segment the data's will be populated, How to shall i go.

Hi,
if you are using idoc PORDCR102 or PORDCR101, header texts are populated in E1BPMEPOTEXTHEADER and both position & header in E1BPMEPOTEXT.
Then you are using ORDERS01-05 Idoc types, header texts were filled in E1EDKT1 & E1EDKT2 while texts are filled in E1EDPT1 & E1EDPT2.
The PO header texts are stored in the segments E1EDKT1 whose child segment is E1EDKT2 in IDoc type ORDERS05.
The actual text will be found in E1EDKT2 and the text id will be found in E1EDKT1.
You have to do some config so that The segment gets update
in the IDoc.
go to SPRO  MM->Purchasing ->messages->Text for messages->Define texts for PO. Here you can find out on the left side of the window.In  Header texts & supplements text.
Add the text IDF01( with all  details like your document type, object for PO will be EKKO) in header text .
Then Add all other to the supplement texts(details).
It is now the IDoc should update the segments.
Regards
Raj.
Moderator message:
Warning. Reason: plagiarism, this is a copy-paste answer from:
PO texts in purchase order idoc*
Edited by: Csaba Szommer on Nov 8, 2011 2:00 PM

Similar Messages

  • Status 51 in IDOC Basic type: ORDERS05

    Hi,
      When Inbound IDOCs of IDOC basic type : ORDERS05 are processed in bulk then few of the IDOCs go to status 51 with error message : "Sales organisation, Distribution channel and division cannot be determined for the customer (followed by customer number)". But when these failed IDOCs are processed again using BD87 few more IDOCs go to status 53. Similarly if the failed IDOCs are reprocessed for 4/5 times without changing any data in the IDOC then all the IDOCs go to status 53.
    When I try to create a duplicate IDOC using WE19 then the IDOC goes directly to status 53. So if processed in bulk then few IDOCs go to status 51 and when processed one by one the IDOCs go to status 53 without any problem. Can someone tell me what is the reason behind it and what has to be done to avoid the continuous reprocessing of IDOC.

    Hi,
      When Inbound IDOCs of IDOC basic type : ORDERS05 are processed in bulk then few of the IDOCs go to status 51 with error message : "Sales organisation, Distribution channel and division cannot be determined for the customer (followed by customer number)". But when these failed IDOCs are processed again using BD87 few more IDOCs go to status 53. Similarly if the failed IDOCs are reprocessed for 4/5 times without changing any data in the IDOC then all the IDOCs go to status 53.
    When I try to create a duplicate IDOC using WE19 then the IDOC goes directly to status 53. So if processed in bulk then few IDOCs go to status 51 and when processed one by one the IDOCs go to status 53 without any problem. Can someone tell me what is the reason behind it and what has to be done to avoid the continuous reprocessing of IDOC.

  • Processing IDOC Basic type ORDERS05 in CRM...

    I'm processing (via WE19) an IDOC (Basic type ORDERS05) to create a Sales order withing CRM. I'm getting there in that a sales order is being raised, although there is no item level details so far. I know that config of the system plays a big hand in what fields within the IDOC need to be populated but has anyone actually posted/raised a Sales order in this way and can you tell me what fields within the IDOC are mandatory. Or perhaps suggest how I might derive this.
    Ideally I wanted to extract a sales order and produce an outbound IDOC and then compare the contents, but I can't (don't know how) do this.
    Any help would be greatly appreciated.

    Hi Garry,
    Here is an order from WE19, which works…
            E1EDK01     
         ACTION:  [QUAL] - suggesting 000 - no changes
            E1EDK14
         QUALF:  [QUAL]  - suggesting 008 - sales org
         ORGID: [ORGANIZATION] - anything you have defined /your side/
            E1EDK03                    
         IDDAT: [QUAL]  - suggesting 002 - delivery date
         DATUM: [DATE] - any date
            E1EDKA1                    
         PARVW:  [QUAL]  - may use AG as 'sold to' here
         PARTN: [PARTNER#] - any partner defined
            E1EDKA1      - not necessary              
         PARVW: [QUAL] - may have different 'sold to' and 'ship to' or 'bill to'
         PARTN: [PARTNER#]
            E1EDP01                   
         POSEX  [ITEM#] - for example '1'
                MENEE [Unit of measure] - PCE for peaces
                     E1EDP02                   
                   QUALF:  [QUAL]  - suggesting 001 - customer order
                   BELNR: [document number] - document #. any
                     E1EDP20                         
                    WMENG: [Scheduled quantity] - any - quantity
                   EDATU: [Date] - any - when to deliver
                     E1EDP19  
                   QUALF:  [QUAL]  - for example 001 - used by customer, 004 - used by manufactured…
                   IDTNR: [material ID] - material ID
            E1EDS01                       
         SUMME: [Total value of sum segment] - check for the number of lines in PO1.
    Hope this helps and do not forget to allot points.
    Regards,
    Martin

  • Flow of  PR Header text  into Shopping Cart

    Hi Friends,
    i have one requirement , i want flow PR Header text  into Shopping Cart  in custom text box ,  can any one have any idea on this, please let me know
    Thnx
    kumar Srin

    Hi,
    I guess this is not supported in the standard SRM. Try checking the text schema customizing in SPRO.
    regards,
    Girish

  • Copy Header texte into Item text, trasactions FB60-FB50-FB70

    Hi,
    using the transactions FB50, FB60 and FB70 I need to copy automatically the Header text into the Items text.
    Can someone tell me how to do that?
    Thank you and best regards,
    Giorgia

    In the enjoy transaction like FB60-FB50-FB70, header and line items fields are quite mixed up. When you are mentioning Header text, please confirm that you meant "Header text" field in the "Details" tab screen and not the "Text" field in the basic data tab screen.
    Normally when you want to copy the "text" field content in the Basic Data screen to all the G/L line items text fields, you do it through "editing option" in the FB60-FB50-FB70 transaction screen itself. Here in the General entry options you activate the check box "Copy text for GL account enter".
    But if you want to copy really the header text in the Details screen to Vendor and Gl items for example, then you have to create substitution rule
    Thanks
    Ranjit

  • Have to pass header text on IDOC - PREQCR02 ( Purchase Requisition Create )

    Hi Experts,
    During this week, I've been searching some way to pass Long text to the header through IDOC PRECR02, but i can't find any solution.
    I'd like to know if somebody have some idea to help me, I've tried to use BADI, Exits but no results.
    Regards.

    Hi,
    Check the "IS_SC_DOCUMENT" structure in the BADI BBP_CREATE_BE_RQ_NEW. In this structure you will have LONGTEXT.
    In this you can do..
    Thanks
    Venaktesh P

  • How to pass header text in bapi for sale order

    hai to all
    i am using BAPI_SALESORDER_CREATEFROMDAT2 to create sale order
    i can find order_text in tables parameters for creating item texts
    but in my senario i have to maintain header text
    please advice me how to proceed
    rgds
    vijay

    Hi Vijay,
    As I mentioned <b>it is very much possible to create sales order header text with this BAPI only</b>.
    Just check out following working code:
    REPORT yab_testso .
    DATA: orderheaderin LIKE bapisdhd1,
    orderitem TYPE TABLE OF bapisditm,
    wa_orderitem TYPE bapisditm,
    orderitemx TYPE TABLE OF bapisditmx,
    wa_orderitemx TYPE bapisditmx,
    orderpart TYPE TABLE OF bapiparnr,
    wa_orderpartner TYPE bapiparnr,
    ordertext TYPE TABLE OF bapisdtext,
    wa_text TYPE bapisdtext,
    orderret TYPE TABLE OF bapiret2,
    wa_ret TYPE bapiret2,
    lv_lines type i.
    orderheaderin-doc_type = 'ZZOR'.
    orderheaderin-sales_org = 'SS01'.
    orderheaderin-distr_chan = 'SH'.
    orderheaderin-division = 'ST'.
    wa_orderpartner-partn_role = 'SP'.
    wa_orderpartner-partn_numb = '1000000342'.
    APPEND wa_orderpartner TO orderpart.
    wa_orderpartner-partn_role = 'WE'.
    wa_orderpartner-partn_numb = '1000000342'.
    APPEND wa_orderpartner TO orderpart.
    wa_orderitem-itm_number = '10'.
    wa_orderitem-material = '000000111000000185'.
    wa_orderitem-target_qty = '10'.
    APPEND wa_orderitem TO orderitem.
    wa_text-text_id = '0012'.
    wa_text-langu = 'E'.
    wa_text-text_line = 'Test for text creation'.
    APPEND wa_text TO ordertext.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
      EXPORTING
      SALESDOCUMENTIN               =
        order_header_in               = orderheaderin
      ORDER_HEADER_INX              =
      SENDER                        =
      BINARY_RELATIONSHIPTYPE       =
      INT_NUMBER_ASSIGNMENT         =
      BEHAVE_WHEN_ERROR             =
      LOGIC_SWITCH                  =
      TESTRUN                       =
      CONVERT                       = ' '
    IMPORTING
      SALESDOCUMENT                 =
      TABLES
       return                        = orderret
       order_items_in                =  orderitem
      ORDER_ITEMS_INX               =
        order_partners                = orderpart
      ORDER_SCHEDULES_IN            =
      ORDER_SCHEDULES_INX           =
      ORDER_CONDITIONS_IN           =
      ORDER_CFGS_REF                =
      ORDER_CFGS_INST               =
      ORDER_CFGS_PART_OF            =
      ORDER_CFGS_VALUE              =
      ORDER_CFGS_BLOB               =
      ORDER_CFGS_VK                 =
      ORDER_CFGS_REFINST            =
      ORDER_CCARD                   =
       order_text                    =  ordertext
      ORDER_KEYS                    =
      EXTENSIONIN                   =
      PARTNERADDRESSES              =
    describe table orderret lines lv_lines.
    READ TABLE orderret into wa_ret index lv_lines.
    IF wa_ret-type = 'S'.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      WRITE: / wa_ret-message_v2.
    ENDIF.
    Hope it helps.
    Regards,
    Akshay Bhagwat
    Note: Pls reward points if this helps you.

  • How to pass line text into string of 72 characters

    Hi,
    I need to to pass  material text lines to a file for processing into different SAP system.
    Currently i am having multiple text lines stored in an internal table. I am looping that table and checking the string length of a first line.If it is less than 72 characters then i need to add spaces at the end of the text and make it 72 and pass it to workarea-field.
    However, while passing the next line text it is overwriting the spaces of first line and that is making the text meaning difficult to understand when passed to the other SAP system.
    Let me know how to approach.
    Thanks,
    Ankur

    Hi,
    This will not work as it splits the text as per the position.
    However what i would need is if i am entering text like this.
    Material ABCD --> Line 1
    This is finished product 9-series material used for high-value equipments. ---> Line 2
    Currently,  when transferring this data over the file it goes to the other system as
    Material ABCDthis is finished product---> upto 72 characters
    9 series material used for high-value ---> upto 72 characters
    equipments.
    So if there is less than 72 characters in the first line it takes 2nd line text. However it is ok if the text has more than 72 characters as it goes into the next line and still makes the meaning intact.

  • Default Header text in Purchase Order

    Dear All,
    I want to have a default PO header text.I.e whenever I create a PO the header text say "This PO is for XYX" should come as default in Header Text. How this can be achived.Through Config OR using some Function module..
    what are the config.steps.?
    Thanks in advance .
    Regards
    Amar

    Try below steps this may help you
    Adopt Purchase Order Header Text
    To default the Header Text into the Purchase Order
    Step 1 :- Maintain text in Vendor Master
    MK02 - Change Vendor 
    Choose Extras -> Texts - Input the text in Purchasing memo
    Step 2 :- Link Text types to Header text in Purchase Order
    OMFV - Define rules for copying (adoption of) text 
    Choose Header Text 
    Choose Goto -> Linkage: text types -> To vendor 
    Filled in the field No. (e.g. 01 - Header Text), next tick whether you want the text to be adopted or for displayed only 
    Choose Update to save

  • HEADER TEXT in purchase orders using BAPI_PO_CREATE

    How to update HEADER TEXT in purchase orders using BAPI_PO_CREATE or BAPI_PO_CREATE1?Please advice for both types.

    Hi Srini ,
    IF you are using the BAPI_PO_CREATE , we are not having the parameter to pass Header Text.
    If you want to get Header Text  directly then Use  BAPI_PO_CREATE1 wiht a parameter POTEXTHEADER (I am not sure it is  there in 4.7).
    If  BAPI_PO_CREATE1 does not exist in  4.7 then  use create_text function module to update the the Header text
    Hope it helps
    Rgds
    Sree M
    Edited by: Sree  Merugu on Jun 13, 2008 5:10 PM

  • Report painter - Choosing column heading text

    Hi SDN
    I'm having a specific problem with getting the right column heading text into my G/L report painter report created in FGI2/FGI5. In the report painter form I have created the three texts for my column (short, medium and long text). In order for the heading to be meaningful I need the report to show the medium or long text. This is also the case when I run the report as object type Object list. Here the medium text is displayed. However, when I run the report as a Classic drilldown report or a Graphical report output the short column heading text is shown.
    Now, I know from running the standard report 0SAPBLNCE-01 in FGI0 that it is possible to have the long column header text shown in the report, so I'm not willing to give up. But can any of you guys help me on how to make the report show the correct text?
    Kind rgds
    Steen Koefoed

    Hi Anna and thanks for your suggestion. I have tried changing the header text length in the form as you suggested, but it does not seem to affect the display in neither of the three output types of the report. I assume that there must be a way to control the text header length specifically for each of the three output types. But how....

  • Header Text In Tablecontrol

    Hi,
    I have created a table control in module pool. I have pasted fields from internal table and I have also added text to its header
    But when I execute the program text is not shown in the header.It is appearing blank

    Hi Srini ,
    IF you are using the BAPI_PO_CREATE , we are not having the parameter to pass Header Text.
    If you want to get Header Text  directly then Use  BAPI_PO_CREATE1 wiht a parameter POTEXTHEADER (I am not sure it is  there in 4.7).
    If  BAPI_PO_CREATE1 does not exist in  4.7 then  use create_text function module to update the the Header text
    Hope it helps
    Rgds
    Sree M
    Edited by: Sree  Merugu on Jun 13, 2008 5:10 PM

  • Doc header text

    hi,
    may i know why there is no doc header text(bktxt) in selection screen or dynamic selection of FB03 or FBL3N?
    which tcode that displays fi document with the doc header text field in the selection screen?
    thanks
    rgds

    Hi,
    you can see in table level
    TCode SE16
    Table name BKPF :
    FI Document header details stored in this table like document number, document date, posting date, entry date, reference, header text, exchange rate, document type, etc.,
    For each document it will store only one entry in the table.
    This may update if any changes made in the document header like change in the header text / reference field.
    Other than the above fields, some other fields also get updated like document change date, document reversal details (document number, date reversed)etc.,
    SKS

  • Copy the PR header Text to RFQ header Text while Creating W.R.T

    Dear Guru's
    While Creating with reference I want to Copy the PR Header text into  RFQ Header Text..
    Please do the needfulll
    Thanks in Advance.
    GSANA

    Dear You can not copy the header text of PR to RFQ in the standard SAp, as PR is internal document and RFQ is external. but if you even want to do it then contact your ABAP team.
    regards,
    qsm sap

  • Dialog Header Text in bold

    Hi
    I am using the JavaFX dialogs. I have made a dialog as follows:
         Alert d = new Alert(AlertType.CONFIRMATION);
         d.setTitle(Resources.R(Resources.DELETE_DATA_SOURCE));
         d.setHeaderText(...);
    I want to make part of the header text bold -- I want a message like "Really delete X" where X is in bold.
    Is there any way to do this with a dialog (other than rolling my own?).
    thanks
    graham

    Hi Srini ,
    IF you are using the BAPI_PO_CREATE , we are not having the parameter to pass Header Text.
    If you want to get Header Text  directly then Use  BAPI_PO_CREATE1 wiht a parameter POTEXTHEADER (I am not sure it is  there in 4.7).
    If  BAPI_PO_CREATE1 does not exist in  4.7 then  use create_text function module to update the the Header text
    Hope it helps
    Rgds
    Sree M
    Edited by: Sree  Merugu on Jun 13, 2008 5:10 PM

Maybe you are looking for

  • Error in Value Mapping Replication scenario

    Hello all, We have developed the scenario to upload the mass data to VMR and which is actually working as expected in Dev environment, But it is not working in quality after transport. Also we have regeister the service in JAVA proxy but still facing

  • 16-35 L USM lens and struggling with sharp focus and depth of field.

    I just purchased the 16-35 L lens after reading all the reviews. I was previoulsy using the 24-70mm and was happy with the results. I am new to the Canon Mark 5D III and the new wide angle lens. I took pictures yesterday for over two hours and came b

  • After cd burn, burn no longer available

    After burning a data CD, CD burn is grayed out and I can not burn any other data CDs.  I am an administrator, so the Help solution is not helpful.

  • What is an ageing report?

    What exactly is an ageing report? What are different scenarios that fall in this category?

  • Work Hours Threshold changing ,what effects?

    Hi Gurus, We are planning to change the threshold of Payperiod hours from 80 to 86 hours. Please suggest me how this affect present configuration in Time and Payroll. The present configuration is for 80hours bi-weekly. Anything greater than 86 hours