IDOC Modification

Hi guru's
I am using the  basic type PEXR2002 and message type payext.
I have generate the idoc throught the required t-code (F110) and my IDOC is coming in t-code we05 but here i am not getting few requird fields (ie HBKID, HKTID, BKREF). Here i decide to enhance the segment using the t codes we31, we30 and we82 and i release the extended segment type. 
PROBLEMS which i am facing
1) How to make sure that the field which i have added is at right point.
2) when i run the t-code (f110) to generate the  idoc, it is coming but without new segment(fields).
3)After finding out  the required user-exit (FM exit_sapliedp_002) to populate the values in that newly added fields i am trying to set the break-point in that and running the t-code (F110) but i am not able to go in debugging mode.
Please suggest me if i am going wrong somewhere or guid me to do this task.
I already spend lots of time on this.
Thanks in advance

Hi Anees,
  Could you please share me ,how did u solve this issue. I am despratly looking for a solution to debug the user exit before generating the idoc in F110 transaction.
Your help is highly appreciated.
Thanks,
Farook.

Similar Messages

  • Idoc Modification in outbound WBBDLD04

    Dear all,
    I need to modify the outbound IDOC WBBDLD04 ( one user field has to be added and need to map to ztable ).
    Is it Possible ?  if yes Pls explain How?
    Shanmugam

    Hi Shanmugham,
    You have to extend the IDOC.  Use Transaction WE30. Also, go thro' these links for more info:-
    http://help.sap.com/saphelp_470/helpdata/EN/dc/6b7d6243d711d1893e0000e8323c4f/content.htm
    http://sap.ittoolbox.com/documents/document.asp?i=2358
    I hope this provides you a solution.
    Regards.
    Praveen

  • SAP Released Custom (Y) IDOC modification

    Hello,
    I have problem with modification of a custom released segment. I can not cancel its release. Maybe because it was released in the previous version.
    I'd delete some existing fields from the structure and add some new ones also. So the problem is I should DELETE some ones not only to add ones.
    I am wondering which way would be the better and easiest... Adding an extension .. I have tried to create a new version for a segment but it does not work since the existing fields of the structure remained unmodifiable, so I can not delete them.
    Please clarify mind mind how 'Id fix it <removed by moderator>.
    Thx.
    Peter
    Edited by: Thomas Zloch on Mar 8, 2011 12:43 PM - please no "asap"

    Hi Debashish,
    I have a similar requirement to develop a Custom module for SFTP adapter for SAP PI 7.1 version..
    Can you please advise how you build the adapter and please share the document if you have any...
    thanks

  • Erroneous link between R/3 Schedule Lines and CRM Schedule Line

    Hi everybody,
    I am analyzing the best approach to fix a duplicate schedule line issue in CRM. The documents are modified from R/3 by means of an IDOC (ORDERS05).
    First of all, let me explain the process.
    1.- Document is first created in CRM
    2.- Document is updated from CRM in R/3 (Using middleware)
    3.- In R/3, a customer program (Z), does a lot of calculations to the order (rejection, item splitting, Qty changes, creation of new Items, etc) and once its done, it populates the IDOC and sends the information to CRM (ORDERS05).
    4.- CRM receives the IDOC, modifies the order.
    5.- Document is update from CRM in R/3 9Using middleware)
    The Z program, DOES NOT modify the database in R/3, it lets the process to be executed and also lets CRM to do this job.
    I had to make several modifications to the XIF module, in order to allow many of those changes to be valid in CRM (i.e., A rejected ITEM is changed to be valid and it's Qty changed. CRM does not allow this to be done in one step, since the qty is "greyed" for no changes).
    Edited by: Rob Burbank on Feb 17, 2010 5:34 PM

    My issue is this.
    The worst thing that happened, is the fact there is key fields in R/3 -> CRM, to link the schedule lines, since R/3 Uses the regular key fields in the T. table, CRM uses the GUID for the sched. lines.
    After a OSS msg and many goes and comes, I had the suggestion from SAP to change from ORDERS05 Idoc into CRMXIF_ORDER_SAVE_M01 idoc, since ORDERS05 is not supported by CRM (however the Idoc is in the system).
    I am not sure that is the best solution, in fact I do not believe that is a solution at all. CRMXIF_ORDER_SAVE_M01 does not exist in R/3 and even if somehow I do all the effort to create it in R/3, R/3 still does not have the schedule line GUID to properly point to the right record.
    What I did to override this error, was to include inside the XIF module the CRM_APO_SALES_SELECT_GUIDS, CRM_ORDER_READ and CRM_ORDER_CONVERT_DOCNUMBER Functions to get all the sched lines for the specific orders in the guid form. However this solution does not work OK, since sometimes the CRM system is not able to properly return the correct GUID values and this leads to the duplicate schedule lines error.
    If somebody has ever deal with a situation like this, I will appreciate if could share its point of view or even better, share the solution used.
    As an extra comment, modifying the Z program to update the database and let middleware to do the job for us, is ou of the qustion at this momento.
    Thank you for your time and help.
    Sincerely
    Meuli
    Moderator message - Welcome to SCN.
    There is a 2,500 character posting limit, but in this case I split it in two.

  • IDOC on sales order modification

    Hi all!
      I need to send an Idoc on Sales order creation (VA01) and modification (VA02).
    In VA01 i linked the IDOC to an output message. When i create and save the document, the message is generated and the idoc is sent
    In VA02 the message is not generated automatically.
    How can i generate an idoc (custom) when the sales order is changed ?
    Any suggestion will be really appreciated.
    Thank you in advance,
    Manuel

    In your output definition in NACE ->
    ( Application V1 - Select your output type - Display )
    On General Tab -> "Change Output" Block
    Program - <b>FM06AEND</b>
    Form Routine - <b>CHANGE_FLAG</b>
    If above values not maintained no output will be generated on sales order change.
    Cheers

  • IDOC- ORDERS05 Sales Order modification - Sales Order number (segment/field)

    Hi Guru,
    I´m using IDOC Basic type: ORDERS05 /Message type: ORDCHG for the sales orders modification: I' m testingo the Inbound
    IDOC using WE19 transaction, to fill manually the corresponding fields:  Do you know where should I load the Sales order (segment + field )
    to be modified with this IDOC?
    Thanks in advance!
    Ad

    Hi Adil
    Use any outbound idoc of same idoc type and process it using WE19. Inorder to do that you need to exchange the partner number and port and also click on `Standard Inbound`button in WE19 screen. You may not be sucessful in first attempt but give it a try

  • Modification of a field in an IDOC

    Hi,
    I want to modify a field in a standard IDOC. For eg., I want to change a vendor starting with "A" to one starting with "B" like A001 to B001.
    I would like to know how should I use conversion rules for the same. Where are they defined? And what is the procedure?
    Thanks,
    Kshitija.

    you need to program into an user exit.
    When your segment is filled you can program the user exit and change the value of the segment.
    What idoc, segment and field u need to change?

  • ME22N Purchase Order Modification Doesn't Trigger Idoc

    Hi,
    Can you help me with my issue? My Idoc when the PO is changed is not triggering. But it runs properly on our DEV and QAS server. It showing "No IDoc items belonging to purchasing document found". I compare the T166C Tables of our DEV and PROD server and they are equal. What would be the possible cause and how will I resolve this issue?
    Any help will be highly appreciated.
    Thanks!
    Mon Magallanes
    Edited by: Mon Magallanes on Apr 10, 2010 10:23 AM

    Hi Mon,
    Is the output type is being displayed in Purcahse order -> Messages ? If not then check the output type settings in t-code "NACE", as well as the Partner Profile settings in t-code "WE20".
    Regards
    Vinod

  • Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)

    Hi all,
    I'm just trying to send standard LOIPRO idoc when a process order is saved on COR1 / COR2 transactions. First of all I've decided to do it via user-exit but I've seen that the order number (AUFNR) is not determinated yet, so finally I'm doing it with the BADI WORKORDER_UPDATE (method BEFORE_SAVE) where there is all the data ok.
    Until this point all goes fine. To send the standard idoc there is the program RCCLORD but as the order is not saved on the system tables I cannot do a submit, so I'm doing a call to the function where the idoc is send of the program ( CLOI_MASTERIDOC_CREATE_LOIPRO ). All seems to be ok, but finally it goes allways to a short dump because at the end of the function there is a commit instruction ( and it seems it is not possible into a BADI ).
    There is a easy way to do it or am I on the correct way?
    I'm trying a lot of possibilities ( and it doesn't work for distinct causes ) but allways the start point is the avobe process.
    Many thanks in advance.
    Legoles_

    Ok, I believe I have this solved...
    CORn
    --> Create or change a PP order, release and save
    BADI WORKORDER_UPDATE~BEFORE_UPDATE
    --> Do your checks and call a custom function module (ZZ_SEND_IDOC) sending the aufnr, matnr, and werks. Cal this FM starting new task destination 'none'.
    ZZ_SEND_IDOC (RFC-enabled)
    --> wait up to 60 seconds (so update finishes)
    --> add code to see if the record is no longer locked
    --> Fill parameter table rsparams with aufnr, matnr, werks, logical system, and mess type
    --> submit RCCLORD and return
    parallel processing rules say you should not use a submit in the FM but it is working for me.
    With this I can avoid using batch jobs to send these out. Yay.

  • Process Orders, send idoc (LOIPRO) while creation/modification cor1

    Hello,
    I need to send standard LOIPRO idoc when a process order is saved on COR1 / COR2 transactions. I want to do it using  user-exit but I've seen that the order number (AUFNR) does not have a value.
    Is there any way to know the number? is it stored in another field ? How can I find the first user exit where the AUFNR field is already populated?
    I saw a post in the same subject but there was no suggestion how to do it.
    Thanks in advance,
    sara

    Hi Sara,
    did you find a solution by now?
    We have the same Problem.
    I tried to call the function "CLOI_MASTERIDOC_CREATE_LOIPRO" from a BADi (IF_EX_WORKORDER_UPDATE~BEFORE_UPDATE" but since there is a commit inside it does not work. 
    Thank you!

  • IDOC Segment Modification

    Hi,
    I have an E1EDP01 segment which is the parent and comes the E1EDP19 with QUALF=003.
    Based on some data coming from E1EDP19 I need to modify the E1EDP01 segment.
    But, the idoc user exit would have already traversed e1edp01 segment when it comes to e1edp19.
    Is there any possibility that i can modifiy e1edp01 being in e1edp19.  Some useful code would be appreciated.
    Regards
    KRish

    can you uncheck the "released" checkbox and modify?

  • Sales Order IDOC on creation and on modification

    Hi All,
    I need to generate an IDOC each time i create a sales order or change a sales order. Please tell me what all the settings should i do in NACE Transaction.
    As this is an urgent requirement, pls reply fast...
    Thanks in Advance,
    Anil

    Hello,
    I have followed your instructions but I have one follow-up issue. I have setup the output determination to run automatically after saving a new Sales Order. After I create a new sales order via va01, the Sales Order header info output displays a red dialog box. I choose the processing logging information button and the log states I do not have a receiptent found in the ALE model for ORDRSP.
    I have defined this as an outbound message type for the source system in ALE. I am able to to send via the IDOC test tool so I believe I have this configured properly.
    But when I am in transaction NACE and I maintain the condition record for BA00, if I click the communcation button, the error message of no communication data has been defined for transmission medium A appears in the info bar at the bottom.
    Please help,

  • Error in IDOC Segment Modification

    Hi Experts ,
    I need to change existing 'Z' Segment to add one additional field . So I have canceled release for Basic Type and the segment. Now when I am trying to change the segment its giving me error as
    Segment type Z1ZPSSUNP_WBS cannot be changed
    Message no. EA667
    Diagnosis
    Segment type Z1ZPSSUNP_WBS is flagged as generated.
    System Response
    Generated segment types can only be displayed
    According to me it should not be System release/version change issue . As Release/version has never been changed.
    Please suggest.
    Regards,
    Kaustubh.

    can you uncheck the "released" checkbox and modify?

  • Creation of sales order via IDoc ORDERS05 - specify a reason of rejectio

    Hi,
    I want to create a sales order via IDoc (type:ORDERS05), i specify for an E1EDP01 segment a reason of rejection (ABGRU),
    The sales order is created succefully by calling the FM IDOC_INPUT_ORDERS but the order quantity of the item where i have specified a reason of rejection is equals to 0.
    Is this normal? i want that this will take 3 value either 0?
    Could anyone help me?
    Thx

    Hi,
    Thank you for ur answer.
    I've followed the procedure that you have explained and the Quantity 3 have been succefully passed to VA01 but is set to zero when i execute the next OK-CODE (=UER2, i think it is llike Enter button ). I simulate the same procedure by creating a sales order on VA01 and i've finally found the problem : at item level, if i enter the Material (MATNR), the order Quantity (KWMENG) and the Reason of rejection (ABGRU), the quantity is set to zero after clicking the enter button ; but if i enter only The material and The quantity followed by enter button, and enter after the Reason of rejection, it works fine, the Quantity doesn't change.
    What is the solution that you propose to me?
    I've try this one on debugger mode:
    The FM which interpret the Idoc create the sales order by CALLING TRANSACTION 'VA01' USING bdcdata....
    I've modified the bdcdata to implement the sequence of the steps before (MATNR + QTY <ENTER> ABGRU <ENTER>).
    1. Is it possible to code this modification?
    2. Is there a way to structure the Idoc for having this sequence in bdcdata?
    Thanks in advance!
    Narivelo

  • Unable to import IDoc into NWBPM from NWDS

    Dear PO Experts,
    We are migrating an existing interface
    (IDoc<-->PI<-->SOAP using BPM (Multiple sync calls)).
    We are un able to import IDoc into NW BPM project as a service Interface. (For BPM we exported IDoc into local system as an external definition and did few modifications to the xsd as per below blog and exported back to PO server as an external definition.Create Service Interface for the same .
    http://scn.sap.com/community/process-orchestration/blog/2014/09/24/idoc-to-nw-bpm-scenario#comment-542653 )
    We are getting below exception while importing IDoc Service Interface into BPM project.I have attached IDoc WSDL file for your reference.Could you please share your expertise on this issue.
    >>>An internal error occurred during: "Importing MOIN models for XSDs and WSDLs...".
    java.lang.OutOfMemoryError: Java heap space
    at java.util.ArrayList.<init>(ArrayList.java:112)
    at org.eclipse.xsd.impl.XSDParticleImpl$XSDNFA.initialize
    (XSDParticleImpl.java:1271)
    at org.eclipse.xsd.impl.XSDParticleImpl$XSDNFA.<init>
    (XSDParticleImpl.java:1050)
    at org.eclipse.xsd.impl.XSDParticleImpl$XSDNFA.initialize
    (XSDParticleImpl.java:1149)
    at org.eclipse.xsd.impl.XSDParticleImpl$XSDNFA.<init>
    (XSDParticleImpl.java:1039)
    at org.eclipse.xsd.impl.XSDParticleImpl$XSDNFA.initialize
    (XSDParticleImpl.java:1272)
    at org.eclipse.xsd.impl.XSDParticleImpl$XSDNFA.<init>
    (XSDParticleImpl.java:1060)
    at org.eclipse.xsd.impl.XSDParticleImpl.getDFA
    (XSDParticleImpl.java:2041)
    at org.eclipse.xsd.impl.XSDModelGroupImpl.validateRoot
    (XSDModelGroupImpl.java:599)
    at org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl.validate
    (XSDComplexTypeDefinitionImpl.java:1408)
    at org.eclipse.xsd.impl.XSDConcreteComponentImpl.validate
    (XSDConcreteComponentImpl.java:565)
    at org.eclipse.xsd.impl.XSDSchemaImpl.validate(XSDSchemaImpl.java:1653)
    at com.sap.tc.esmp.tools.core.util.EMFUtils.validate(EMFUtils.java:613)
    at
    com.sap.tc.esmp.tools.xsd.xml.EmfSchemaImporter.calculateAffectedPartitions(EmfSchemaImporter.java:903)
    at
    com.sap.tc.esmp.tools.wsdl1import.Wsdl1Importer$ImportChain.calculateAffectedPartitions(Wsdl1Importer.java:365)
    at
    com.sap.tc.esmp.tools.wsdl1import.Wsdl1Importer$ImportChain.resolveImportLink(Wsdl1Importer.java:545)
    at
    com.sap.tc.esmp.tools.wsdl1import.Wsdl1Importer$ImportChain.createChainLink(Wsdl1Importer.java:522)
    at com.sap.tc.esmp.tools.wsdl1import.Wsdl1Importer$ImportChain.init
    (Wsdl1Importer.java:461)
    at com.sap.tc.esmp.tools.wsdl1import.Wsdl1Importer$ImportChain.<init>
    (Wsdl1Importer.java:337)
    at com.sap.tc.esmp.tools.wsdl1import.Wsdl1Importer.prepareWsdlImport
    (Wsdl1Importer.java:1381)
    at com.sap.tc.esmp.tools.wsdl1import.Wsdl1Importer.prepareWsdlImport
    (Wsdl1Importer.java:1368)
    at com.sap.tc.esmp.tools.facade.Import.prepareWsdlImport
    (Import.java:106)
    at
    com.sap.tc.esmp.tools.editor.jobs.RepositoryMetadataProcessor.doImportFiles(RepositoryMetadataProcessor.java:298)
    at
    com.sap.tc.esmp.tools.editor.jobs.RepositoryMetadataProcessor.access$300(RepositoryMetadataProcessor.java:52)
    at com.sap.tc.esmp.tools.editor.jobs.RepositoryMetadataProcessor$4.run
    (RepositoryMetadataProcessor.java:248)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Regards
    Venkat

    Hi Venkat,
    Find the below link.
    http://scn.sap.com/community/process-orchestration/blog/2014/11/29/using-idocs-in-nwbpm

Maybe you are looking for