Problem in mapping fields of idoc type orders05.

I am passing value from Idoc in segment E1EDK14.and according to it biiling block should be populated.I am writting this in an exit.
In the debuuger when I am running its showing the value.
But its not coming in the output.
I think the values of the fields are getting overwritten in some other fields of the exit which im not responsible for.
please suggest me how to detect where my fields are getting overwritten and give solutions to avoid this?

Hi Matias
Thanks
This works and has saved my 60% efforts. I got this from Silvia as well.
I was looking forward for some standard sheet where i do not have to do rework or very less.
Thanks
Jagdish

Similar Messages

  • IDOCs - IDOC type ORDERS05 with message type MSGCHG

    Hi,
    I'm in my first IDOC project and I'm facing a problem. I need to change sales orders with EDI messages, so I've decided to use message type ORDCHG and IDOC type ORDERS05. I'm filling segments E1EDK01, E1EDP01 and E1EDP19. In header the action is '003' to indicate I'm going to change items, and in item the action is '002' - change. I'm not changing all items of the order, so I only fill item segments for the item I want to change.
    The problem is the F.M. IDOC_INPUT_ORDCHG looks to use batch input technique to update the order and the BDCDATA contents does not look good. And I receive a message saying VBAP-PSTYV is not an input field. I'm not entering the contents of PSTYV in segment E1EDP01.
    Does anyone have any idea of what can be the reason for this problem ? For the error, and for the fact of the contents of BDCDATA do not look good.
    And any idea of how to solve it.
    And does anyone knows if the batch input technique is mandatory, or is there any way to avoid it like forcing the standard to use a BAPI ?
    I'll really apreciate any possible help, because i'm without any idea about how to solve problem.
    Thanks in advance,
    Paulo Sousa

    If you go to SE11 and enter VBAP then finf the field PSTYV, double click on the field and see if the !fixed Value. ex" field is ticked, if it is this means that SAP is trying to get a value for this field from a fixed set of values.
    You could try using WE19 to mess around with the IDOC in error and process the document as a standard inbound IDOB.  See here https://websmp105.sap-ag.de/~sapidb/011000358700002529571998E/default4.htm for some field entry examples
    Hope this helps,
    Conor.

  • ERROR IN CREATING SALES ORDER,USING IDOC TYPE ORDERS05

    I am using exit to write my code for creating sales order of IDOC Type ORDERS05 and order type ZDRX.
    IF I proceess the Idoc in background each time error message comes
    FIELD kuwev-kunnr(ship to party)is not an input field.
    but if i run in foreground in debugging mode,sales order is getting created..
    please suggest something.

    If thats not working..
    try BAPI_SALESORDER_CREATEFROMDAT2
    If BAPI is not working. try creating a bdc for the same if there's not error on trying from VA01

  • 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

  • Facing problems while mapping fields in LSMW.

    Hi Friends,
           i got a requirement to upload the address. Address is in
    flat file.requirement is to use LSMW with object 0602 and the
    standard report program is RSADRLSM02.This standard report
    program uses the structures for uploading are ADR_LSM0 to
    ADR_LSM6.But i have some fields in the source structure are
    not at all related to the fields in destination structure(i.e ADR_LSM0 to ADR_LSM6)therefore i am facing problem while
    mapping the source and destination fields.is there any other
    way to map the fields.Please help me it's very urgent.
    Thanks in advance.
    Regards,
    Sumiti Gupta.

    Thanks for the reply santosh.
    GIS FIELD                                      SAP LOCATION
    ADDR_GID(10char)                     EXADR-KUNNR
    STR_NO(10)                               ADR_LSM0-STRT_CODE
    STR_NAME (42)                         ADR_LSM0-STREET
    ADDRESS_UNIT(7)                     ADR_LSM0-HOUSENUM_H
                                                          and
                                                     ADR_LSM0-HOUSENUM_L
    ADDRESS_UNIT_TYPE(5)           EVBSD-VBSART
    POST_CODE (10)                       ADR_LSM0-POST_CODE
    MUNI_NAME (40)                        EXADR-APPLDATA
    MAILING_CITY(60)                      ADR_LSM0-CITY_NAME
    MAP_PAGE(4)                           EADRSTRTGRID_GRID_ID
    EVAC_ZONE(1)                          EVBSD-ZEVAC
    PIN_NUM (18)                            EHAUD-PLTXT
    in the above fields the structure with ADR_LSM0 are found with the other fields i m not able to find the similar fields in the destination structure.Please help me.
    Regards,
    Sumiti Gupta.

  • Problems with PROOF field in idoc (message type HRMD_A)

    Hello,
    I'm using the standard message type HRMD_A with IDOC base type HRMD_A06 and the function module IDOC_INPUT_HRMD.
    I have a doubt with field 'PROOF' when I fill the IDOC. Does anybody know for what is it used? For example, what's going to happen if I put PROOF = 'X' in an update operation?
    In my case I have tested that when PROOF = 'X', I receive the following warning in intotype 0001:
        The EMPLOYEE_ORG_ASSIGNMENT-ADMINISTRATOR_GROUP field is not maintainable in dialog, so it is ignored
        The EMPLOYEE_ORG_ASSIGNMENT-ORG_UNIT field is not maintainable in dialog, so it is ignored
        The EMPLOYEE_ORG_ASSIGNMENT-COSTCENTER field is not maintainable in dialog, so it is ignored
    but I cannot be sure if these warnings are due to PROFF.
    In the change data record screen, I have filled the following fields: plan version ('01'), object type ('P'), object id (employee number), PROOF ('X'), Operation ('U'). Structure for the idoc is EDIDC->E1PLOGI->E1PITYP.
    Any help on this?

    Hello,
    I'm using the standard message type HRMD_A with IDOC base type HRMD_A06 and the function module IDOC_INPUT_HRMD.
    I have a doubt with field 'PROOF' when I fill the IDOC. Does anybody know for what is it used? For example, what's going to happen if I put PROOF = 'X' in an update operation?
    In my case I have tested that when PROOF = 'X', I receive the following warning in intotype 0001:
        The EMPLOYEE_ORG_ASSIGNMENT-ADMINISTRATOR_GROUP field is not maintainable in dialog, so it is ignored
        The EMPLOYEE_ORG_ASSIGNMENT-ORG_UNIT field is not maintainable in dialog, so it is ignored
        The EMPLOYEE_ORG_ASSIGNMENT-COSTCENTER field is not maintainable in dialog, so it is ignored
    but I cannot be sure if these warnings are due to PROFF.
    In the change data record screen, I have filled the following fields: plan version ('01'), object type ('P'), object id (employee number), PROOF ('X'), Operation ('U'). Structure for the idoc is EDIDC->E1PLOGI->E1PITYP.
    Any help on this?

  • Problems with reference field in material type

    Hi,
    I have problem with field reference in material type creation.
    When I define a self-defined field reference ZERS (copy of standard field reference HERS) for a own defined material type ZERS (copy of material type HERS), I get the following error message:
    Field reference ZERS has not been set up
    Message no. CZ127
    Diagnosis
    You have specified a field reference that has not been set up.
    Procedure
    Set up the new field reference or use an already existing field reference.
    I do not understand why because the entry ZERS is present in table T130A.
    Here is the IMG config I have made:
    1. Logistics general->Material Master->Field selection->Maintain field selection for Data Screens (here I made copy of field reference HERS and named it ZERS)
    2. Logistics general->Material Master->Basic Settings->Material types->Define attributes of Material types (here I made a copy of material type HERS and named it ZERS. I then tried to set the field T134-FLREF "Field reference" to ZERS, but then the error message appears)
    Does anyone know what config I am missing?
    Or any reason why the error message CZ127 is coming up?
    Thanks

    Must have been system error, I deleted all entries and did it all over again, it worked.

  • Sales Order Creation from IDOC type ORDERS05

    Hi experts,
       I have tried to create sales order using IDOC, using FM input IDOC_INPUT_ORDERS. But when I include segment E1EDP05 - IDOC: Document Item Conditions. I got the following errors "Conditions in IDoc E1EDP05 transferred: Check data", with status 51, and application is post.
       Fields I filled in the segment:
    KSCHL
    KRATE
    UPRBS
    MEAUN
      Thanks.

    SAP Xpert friends,
    I really need help in figuring out this error I get when I send an IDoc from external system to SAP.
    Here is what I do....
    create empty idoc of type ORDERS01
    idoc.MESTYP = "ORDERS";
    idoc.SNDPRN = "1171";
    idoc.SNDPRT = "KU";
    idoc.MANDT = "400";
    idoc.SNDPFC = "AG";
    idoc.MESCOD = " ";
    idoc.MESFCT = " ";
    idoc.TEST = " ";
    create segment of type E1EDK01
    add field MENGE with a value
    add segment e1edp01  to idoc
    create segment of type E1EDP19
    add field QUALF with a value to segment
    add field IDTNR  with a value to segment
    add segment E1EDP19 to idoc
    send idoc
    When I check WE02 in SAP, I can see the idoc, but
    get this error
    Here are all the STATUS RECORDS
    <b>50  IDoc added
    64  IDoc ready to be transferred to application
    62  IDoc passed to application
    51  Error: Application document not posted
        <i>VKORG, VTWEG, SPART cannot be determined</i>
        for customer 0000001171 , vendor</b>
    I checked on Internet and found that VOE2 can be used to setup ... this is what I have in VOE2
    Customer    Vendor  SOrg     DChl   Dv
    1171        0000001171       1000   00
    Thanks for help...

  • About ALE transaction set 860 (purchase orders) and Idoc type ORDERS05.

    Hi all,
    What is the mapping between the two? How can I find more about the two..
    Thanks,
    Charles.
    +++++++++++++++++++++

    Hi,
    Guess it looks like the output is getting proposed but its not getting processed. Check the output type configuration. Check the TIme Settings in the output type configuration.
    It is possible to set the Time when the output must be processed. Is it on SAVE or is it set to other settings. If its set to via background job then the background job must be run to process the output types.
    Check and let me know if all is fine at the output type configuration.
    Cheers
    VJ

  • Has anyone ever process an IDOC type ORDERS05 in CRM?

    I'm just trying to determine whether I'm onto a loss-leader here, or not.
    Regards
    Gary

    Hi David,
    I cannot see anything immediately that points to your problem however maybe the following helps.
    1.   Your modify/save procedure is not clear from the text.  You should only use the BOL modify/save/committ commands and never the ABAP Commit statement directly.
    You could try and do a general save as follows:
    data:  bol_core type ref to cl_crm_bol_core.
    bol_core ?= cl_crm_bol_core=>get_instance( ).
    bol_core->modify( ).
    An end contact should handle the commit for you.   if the problem persists you could also debug the save_objects and modify_objects methods of class CL_CRM_APPL_INTLAY_IBASE_NEW.   Hope this helps.
    Kind regards,
    Jared Gibson

  • Where are the Sales Org and DC details entered in IDOC type ORDERS05?

    I'm continually getting the message that the SORG and DC does not exist for a PO raised within CRM. However, I can't actually see any segments where these details can be entered. Is this something that is derived automatically based on the material number ?.
    Regards
    Gary

    Dear Hoo Laa,
    You may find the Sales Organisation/Distribution Channel details in PO itself (Shipping Tab). Table where you can get Sales Organisation/Disribution Channel is EKPV.
    Regards
    Samier Danish

  • Idoc Type ORDERS04  Mapping field for VBAK-LANDTX

    Hi Experts,
    Can anyone guide me how to find an IDOC field in Idoc Type ORDERS04
    related to the field VBAK-LANDTX (Country of departure) in Sales order
    Header?
    Thanks in advance.
    Christina

    Crisitna,
    Is this for inbound order or outbound order.
    I am assuming inbound and in that case, please use ZXVEDU04.
    Please reward f answer useful.
    Thanks
    Ganesh.S

  • Message type idoc type problems

    Hi,
    I'm facing a problem in idocs. I'm sending idocs with message type ORDRSP and idoc type ORDERS05, but for some reason in SAP, the idoc is always picking up a different message type ORDERS and the partner profile part is failing because my partner profile is set up for ORDRSP message type. Is there any setting or transaction that sets a default message type for an idoc type in SAP.
    Regards,
    Vijay

    Hi vihay,
    yes for the message type ordrsp the basic type is orders05.
    u r telling ur geeting problem in inbound idoc?
    if that is the case then u have to use in we20 inbound parameters and give the processcode(ORDE) there instead of basictype .CHECK the same and get back to me if any quries
    Regards,
    Nagaraj

  • PO and SO IDoc Type

    Hi,
    I understand that the IDoc type ORDERS05 can be used for Sales Order as well as Purchase Order. My requirement is to receive Order IDoc and create the sales order and send the PO details to a partner. Please let me know whether I can use the IDoc ORDERS05 for both these cases.
    Also I found that IDoc type PORDCR04 is available for PO. Can we use this IDoc type for sending Purchase order details.
    Thanks
    N

    Hello Nanditha,
    Yes you can do that.
    Also go to WE60 and put in PORDCR04 and downloadd to your PC if needed.
    Then search if all the fields you need are in that Idoc type.
    There are no rules as to which Idoc type you have to use, but you should try your best to stick to SAP recommended one's.
    Hope this helps.

  • Which iDOC Type for Credit/Debit notes generated from SD Module ?

    Hi,
    We are implementing an EDI Solution for SD Invoices which would involve sending EDIFACT Messages generated out of mapping the SAP iDOC TYPE INVOIC02 to the EDIFACT fields.
    We also have to send Credit and Debit Notes generated from SAP in the SD Module in the same path. We are currently planning on using INVOIC02 for doing this.
    My Question: Is this the proper approach ? We don't want to use the Credit / Debit advises in FI-GL to post to Credits to Customer Account.
    Is there any other iDOC Type or message type that we should be using for SD Credit/Debit Notes ?

    Hi Mahesh,
    Thank you for your help.
    In my client location data is posted non-sap to sap through SAP XI/PI.
    so i need to tell the xi guy to which IDOC is used for this interface and technical names.
    Can you help me.

Maybe you are looking for

  • Ipad2 'fails to connect' to my Wifi.

    My Ipad2 'fails to connect' to my Wifi whereas my Iphone 3GS successfully connects and works without issue on the same router. Wifi is WEP encrypted with 26 character code. The Ipad 2 sees the network, yet will not connect. I have tried the 'reset ne

  • How to put sent mails in different folders

    Hi, I just started experiencing this issue with Mail.app since I subscribed to MobileMe. I added more than one email addresses in the mobileme account, made the folders and rules to move the received mails to their proper folders. Receiving is now we

  • HP B110a multifunction ceases to function after Hp Update

    I have HP Photosmart B110a multifunction printer which ceases to work after applying "HP notification of Updates". Cannot print or access HP Solution Centre (nothing works). Only solution is to use the installation CD to completely uninstall the HP s

  • Export of .mov files blurry off and on

    I have exported some animation files from Anime Studio Pro 9 as .mov files and they look great when played back. Crisp lines and everything is in focus. When I take them into Premiere the still look great in the preview window, but when I export them

  • Has anyone gotten their monthly dukes???

    Hi, I love to give out dukes!! I wish i had more of 'em. So i have kept an eye on my account, waiting to see that "monthly" refresher. Is anyone getting their monthly dukes? Is this a practice they have stopped, but forgot to update their dukes bulli