Custom process code and FM for custom IDoc...

Hello Experts,
I created a custom IDoc based from ARTMAS05 IDoc. This is because we only need 3 segments and
the standard idoc(Artmas05) contains so many segments that we need.
Now, will I create a custom process code and FM for this? how do I go about this?
Thank you guys and take care!

Hello,
             Here are the Steps that we need to be following while creating a Custom Process Code with Custom Function Module. ( Since the Segments to be handled are very Less, I am recommending that you go for a Custom Function Module).
1. Go to SE37 Create a Function Module. Please ensure to Create it with the IMPORT / EXPORT /TABLES parameters exactly in the way that they exist in any Standard SAP Inbound FM (Refer to IDOC_INPUT_ORDERS for example).
2. Once our FM is Ready (Need not be Complete with the Code to go ahead with the Process Code Creation) and Active, the next Step is to Create an Entry in the Transaction Code BD51 where we will register the Function Module.
3. Next, we'll have to go to T-Code WE57 where we'll have to make an entry for the Function Module with the IDoc Type & Message Type.
4. Finally, go to WE42 and Create a New Process Code and assign the Function Module and the Message Type.
NOTE 1 : The Process Code is, as we know, Client Dependent. So, once you create a Process Code, we need to have it migrated to the Testing Environment to Start & Carry Out Testing.
NOTE 2: If Step 2 & 3 are missing, then we'll not be able to assign the Function Module in WE42 while Creating Process Code.
Hope it was helpful.
Thanks and Regards,
Venkata Phani Prasad K

Similar Messages

  • Custom Process Code - IDOCS

    Hi Guys!
       This Question is similar to my previous post i want to know whats the reason, when we go for custom process code development for standard idocs & message types, any way sap has provided that.
      Is there any nessacary to devlop that, any way we want to develop, whats the real reason.
      Can u give details.
      Second, when we develop our custom process code we give our z development class name & transport request is there any other objects of ALE we store in them & transport the same.
      Thanks.

    Hi Rahul,
         A. The segments which i have used are listed below.                                                                               
    EDI_Z50               EDI IDOC, invoice header, standard data                   
            EDI_Z3                 EDI IDoc type: purchase orders etc.: header, partner info 
            <b>ZEDI_Z51          EDI IDOC, invoice line items, standard data               </b>
            EDI_Z55                EDI IDoc type: totals, conditions                         
            EDI_Z52                EDI IDOC, invoice totals, standard data                   
            EDI_Z53                EDI IDOC, invoice totals, taxes                                                                               
    The bolded one is the customised segment, as i have mentioned early,in which we have used Additional fields for debit and credit memo.
    B. You mean, you need the coding of the functional module.
    C. Regarding process code, you can just, link your FM to Process code in we42 for Inbound .
    Enhancements in the sense, extended the exsisting IDoc and related information?
    You can mail me on [email protected] I can send you an document for that.
    Thanks
    Manju

  • How do I do use the custom code and format for a percentage with 2 decimals in Report Builder 3.0?

    In Report Builder 3.0, I have the following custom code entered:
      Public Function SafeDivide(Numerator as String, Denominator as String) as String
    Try
    If Numerator = “” or Denominator = “” then
    Return “-“
    End if
    If Numerator = “-“ or Denominator = “-“ then
    Return “-“
    End If
    If CDbl(Numerator) =0 or CDbl(Denominator) = 0 then
    Return “-“
    End if
    If IsNothing(Numerator) or IsNothing(Denominator) then
    Return "-"
    End if
    Return Val( ( (CDbl(Numerator) / CDbl(Denominator) )*100 ) )
    Catch
    Return "-"
    End Try
    End Function
    I call the custom code in the cell with the following equation:
      =Code.SafeDivide(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value),sum(Fields!LY_UNITS.Value))
    I have the format for the cell set to 0.00%, but it’s not being followed.
    I want the result to be formatted as a Percentage, but instead I get values like: 
    -78.9473684210
    80
    300
    -100
    I have the format for the cell set to 0.00%, but it’s not being followed.
    How do I do use the custom code and format for a percentage with 2 decimals?

    Hi AngP,
    After testing the issue in my local environment, I can reproduce it. Based on my research, I find this issue is caused by the type of Units_VAR_Percentage cell is string, while the type of CDbl(Parameters!Var_Threshold.Value) is double, so they cannot be
    compared.
    To fix this issue, we can add a hidden column (Textbox91) next to the Units_VAR_Percentage column, and type =(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value)) /sum(Fields!LY_UNITS.Value) as the expression. Then use the expression below to control the
    BackgroundColor:
    =iif(iif(reportitems!Units_VAR_Percentage.Value=CStr(format(reportitems!Textbox91.Value,"0.00%")),reportitems!Textbox91.Value,0)>CDbl(Parameters!Var_Threshold.Value),"Yellow","PaleTurquoise")
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Processing code and Function Module  for IDOC

    hi forum,
    i m trying to make a file to IDOC scenario,
    the IDOC is being sent to a R/3 system,
    for the purpose, in R/3 i need to make a inbound processing code, can u tell me how to make a processing code and link it with a Function Module.......
    can u guide me....

    sudheer,
    If you are using standard idoc then you do not need to create new processing code.
    There would be standard processing code available. You need to set input partner profile with processing code.
    Let us know which idoc type you are using for inbound posting.
    Anyway..TC for Creating  processing code is : WE41(Outbound)  and WE42 (Inbound)
    Nilesh

  • Letter of credit Process in Credit management for Customer/Vendor.

    Dear Team
    I am in need of some information on Letter of credit Process in Credit management for Customer/Vendor
    If you have any information with examples on the same Pelase provide me the same.
    Thanks
    Mehda.

    dear friend,
    please look here:
    http://help.sap.com/saphelp_47x200/helpdata/EN/2a/30b746b1d511d194f300a0c9306794/frameset.htm
    good luck!

  • Process code & Inbound FM for DEBMDM06 (Cutomer masster + Addresses)

    Hi All,
    Can any one tell me the Process code and Inbound function module for the IDOC DEBMDM06.
    Thanks in advance
    NK

    Hi Michael,
    Thaks for your quick responce. Message type for the IDOC DEBMDM06 is DEBMDM. But i did not find any process code for the the message type DEBMDM.
    There are two process codeds DEB2 and DEBM for the meeage type DEBMAS for the IDOC DEBMAS06 not for the DEBMDM06.
    I'm trying to use the process code DEB2 and DEBM for the IDOC DEBMDM06 but not working.
    Please let me know if you know any solution.
    Thank you
    NK

  • Question on Process codes and FMs ... Please read.

    Hi all,
    Could you please give me a list of the major IDocs (message types) and the associated Process codes and the Standard Function Modules? eg for ORDERS the process code is ORDE and the FM is IDOC_INPUT_ORDERS
    Thanks a lot,
    Charles.

    why dont you use tr code we42,  and we41 to see the process codes.
    if you are interested to see the process codes and mesage types which are used (configured for partner profiles) in ur company, use table edp12, edp01 etc..
    Edited by: Sujamol Augustine on Apr 16, 2008 7:20 PM

  • If I have my product code and cd for Adobe Creative Suite 5 can I obtain the serial number?

    If I have my product code and cd for Adobe Creative Suite 5 can I obtain the serial number? I had the serial number on my college email which I can't access now that I've graduated.

    adobe support might be able to help you,
    contact adobe support, https://helpx.adobe.com/contact.html

  • Oracle Error Code and Message for Query Timeout

    Hi,
    I need to catch the oracle error code and message for query timeout.
    I am using Oracle 9i and could not find any relevant error code/message
    for query timeout in Oracle Error Messages.
    If anyone has encountered such error messages, please let me know the
    Oracle Code or Error message.
    Thanks & Regards,
    Kanjana

    Fly is correct in that Oracle will normally let a query run forever in the absense of a user profile or dbms_resource setting that limits a users (query) resouce usage.
    The errors returned for these condition would probably vary but errors ORA-02092 "exceeded session limit on CPU usage, you are being logged off" and ORA-02093 "exceeded call limit on CPU usage" might be of interest.
    But for distributed queries Oracle does impose a time limit. See Oracle error ORA-02049 "timeout: distributed transaction waiting for lock"
    HTH -- Mark D Powell --

  • Process code or Fmodule  for Idoc type PREQCR101 and message type PREQCR1

    hi all,
           Iam unable to find the process code or function module for the idoc type PREQCR101 and message type PREQCR1 for inbound process.
    help from some one would be a lot appretiated.

    Hi,
    Go to transaction WE57 and you can find the processing FM and message type that are associcated to the IDOC type.
    For process code if it is Inbound check WE42 and outbound check WE41 transactions
    Regards
    Shiva

  • Use of OCO and OCDL for Customer Account and Party Merge

    Requirement: Duplicate parties, previously identified by legacy, are being sent as messages which are polled in and processed upon by custom code.
    Once these duplicate parties are identified by Legacy, the requirement is to merge them both and then go on merging the accounts within the master party (only).
    We have considered using DQM capabilities for this. Off-Late a suggestion of using ORACLE customers Online and ORACLE Customers Data Librarian if applicable has come up. After reading the respective documentation we’ve found that both of the modules needs to be configured to use the DQM capability and are licensed products(Xerox owns the licenses for both).
    Can anyone please throw light on the overall functionality and business scenarios for the use of OCDL.

    Hi Thiruchudar,
    There are some setup you need to do. If you're not technically well grounded, i would suggest you get an ABAPer to do this for you. Basically, the following are what you need to do:
    1. Create the Partner Profile for your Customer using transaction code <b>WE20</b>. Click on the create icon and enter Partner type <b>KU</b> (Customer) and enter the Customer Number.
    2. Next, add an Outbound Message Type <b>FINSTA</b> by clicking on the <b>green +</b> icon under the outbound parameters. Complete all the other mandatory fields as appropriate. Save your Entries.
    3. Test your outbound partner profile for your customer by running the customer statement again using transaction code <b>F.27</b>.
    Your output control would have been created with the medium EDI.
    4. Use transaction code <b>WE05</b> to display the iDocs that would have been created.
    <u><b>Note:</b></u> You still have to set up the communication between your system and that of your Customer to allow for EDI transmission.
    I hope the above helps.
    Do not forget to award the points please.
    Thanks and Regards,
    Jacob

  • PI Integration between SAP ERP system and Cloud for Customer

    Hi,
    We have set up integration between Cloud for Customer tenant and our SAP ERP system via PI.
    For performing initial load, when we try to activate change pointers for Message types in the SALE transaction, we don't find the MATMAS_CFS and DEBMAS_CFS in the ERP system(IDES ECC 6.0 EhP6).
    CODERINT 600(SP1 &2) are installed and BC set COD_BYD_ERP_INT is activated in the system.
    Could anyone let us know what are we missing here, so that we can get the message types.
    Also we tried using Message type MATMAS for sending a message from ERP to Cloud for Customer. In PI message monitoring, the status shows as 'Processed successfully', however we do not find the message in Business Communication Monitoring in the Cloud system. neither do we see the Business Object created for that Material master.
    Please let me know how to debug such a scenario.
    Regards,
    Sangeeta

    Hi Vatsav,
    Yes the outbound works now with the following urls with channel id as param. With the 'BusinessSystem used as the sender(COD) business system ID. Thanks for your help and the document
    Customer Replication
    /XISOAPAdapter/MessageServlet?channel=:<business system>:COD_SOAP_BusinessPartnerReplication_Send
    Customer Address Replication
    /XISOAPAdapter/MessageServlet?channel=:<business system>:COD_SOAP_BusinessPartnerAddress_Send
    Customer Contact Replication
    /XISOAPAdapter/MessageServlet?channel=:<business system>:COD_SOAP_BusinessParterContact_Send
    Regards,
    Sangeeta

  • What Message type and Process Code to use for Purchase Order Change in 4.6C

    I like to implement in SAP R/3 4.6C a scenario for Purchase Order Change, via inbound IDoc.
    I have been searching, but could not find what Message Type, Idoc Basic Type and Process Code to use.
    I can not imagine this functionality does not exist in 4.6C.
    Any suggestions for my problem are welcome.

    Hello,
    In this case you should use the message PORDCH and BAPI method BAPI_PO_CHANGE but only exist as of release 4.7.
    Function module    BAPI_IDOC_INPUT1
    Idoc Type              PORDCH01
    Message Type      PORDCH
    So check carefully the following OSS notes:
      [Notes 589066 - BAPI_PO_CHANGE: Incorrect account assignment to network |https://service.sap.com/sap/support/notes/589066] (not be fooled by the description)
    [ Notes 197958 - BAPIs for purchase orders - Missing Functions|https://service.sap.com/sap/support/notes/197958]
    Regards,
    Andrea
    Edited by: Andrea Olivieri on Sep 3, 2009 10:17 AM

  • PO invoice through IDOC --Need Standard Process code and Message Type

    Hi All,
    could any one send me SAP Standard Message type and SAP Standard process code for posting Vendor PO invoice.
    Thanks
    Raghu

    Hello,
    Standard Message type: INVOIC, Process Code: INVL, IDOC type INVOIC02.
    Thanks,
    Venu

  • Automating custom software deployment and configuration for multiple nodes

    Hello everyone.
    Essentially, the question I'd like to ask is related to the automation of software package deployments on Solaris 10.
    Specifically, I have a set of software components in tar files that run as daemon processes after being extracted and configured in the host environment. Pretty much like any server side software package out there, I need to ensure that a list of prerequisites are met before extracting and running the software. For example:
    * Checking that certain users exists, and they are associated with one or many user groups. If not, then create them and their group associations.
    * Checking that target application folders exist and if not, then create them with pre-configured path values defined when the package was assembled.
    * Checking that such folders have the appropriate access control level and ownership for a certain user. If not, then set them.
    * Checking that a set of environment variables are defined in /etc/profile, pointed to predefined path locations, added to the general $PATH environment variable, and finally exported into the user's environment. Other files include /etc/services and /etc/system.
    Obviously, doing this for many boxes (the goal in question) by hand will certainly be slow and error prone.
    I believe a better alternative is to somehow automate this process. So far I have thought about the following options, and discarded them for one reason or another.
    1. Traditional shell scripts. I've only troubleshooted these before, and I don't really have much experience with them. These would be my last resort.
    2. Python scripts using the pexpect library for analyzing system command output. This was my initial choice since the target Solaris environments have it installed. However, I want to make sure that I'm not reinveting the wheel again :P.
    3. Ant or Gradle scripts. They may be an option since the boxes also have Java 1.5 enabled, and the fileset abstractions can be very useful. However, they may fall short when dealing with user and folder permissions checking/setting.
    It seems obvious to me that I'm not the first person in this situation, but I don't seem to find a utility framework geared towards this purpose. Please let me know if there's a better way to accomplish this.
    I thank you for your time and help.

    Configuration Management is a big topic today with a few noteworthy alternatives for Solaris:
    - CFEngine (http://www.cfengine.org)
    - Chef (http://wiki.opscode.com)
    - Puppet (http://www.puppetlabs.com)

Maybe you are looking for

  • How to acess a value of variable(calling prg) inside the methods of a class

    Hi SapAll. i wrote a program where i need to acess a value of a variable inside the class method. for eg: CALL METHOD gcl_utl_app_log->display_log     EXPORTING       it_edidc = lt_edidc       it_msg   = lt_msg. while debugging under the method 'DISP

  • Paste html code into dreamweaver 8

    I'm creating my 1st website in Dreamweaver 8, and am trying to include a photo gallery. I haven't got as far as learning Flash yet, but Ive found a piece of html code that will do what I want and am now trying to place it on my dreamweaver file. I do

  • Integration process in File to BPM Scenario

    hi,      gud morning. i got a problem while designing a BPM. in designing the integration process in IR, i am not able to get both the abstract interfaces to select from,  while defining the container. plz post a solution for this. thank u.

  • Page not reloading even if page is marked as no cache

    Web pages will not reload on visit even if the meta information specifies: <meta http-equiv="Pragma" content="no-cache" /> and <meta http-equiv="Expires" content="0" /> Page shown is last visit from cache instead.

  • Print issue!!!urgent!!!!

    Hi, I have a problem when i print report.I called report from Form, I use the code as below: lv_rep := run_report_object(p_repid,plid); lv_rep_status := report_object_status(lv_rep);      if lv_rep_status = 'FINISHED' then lv_job_id := substr(lv_rep,