Inbound programming code with example step wise?

Hi experts,
please help me out with inbound programming in step wise?how to write a code. from where we wil get process code, message type?please help me out in step wise.how an idoc wil look while in inbound?

Hi anupama,
U send u r maild id.  So that i can send u the doucment related to IDOC.
It is having clear explanation of LSMW THROUGH IDOC.
Regards
(YUGANDHAR.P)

Similar Messages

  • Explaination for background steps in MRP with example

    Dear SAP Guru's,
      I received the explaination for below steps in MRP.
    But, it wouid be better if i could get the explaination for step 2 with example, step 3 for lot size EX & step 5 also with example.
    1. Check planning File Entry
    2. Net requirements Calculation
    3. Lot size calculation
    4. Scheduling
    5. Source determination
    6. BOM explosion
    1. Check planning File Entry: An entry is made in the planning file as soon as any changes are done to the material which are relevent to MRP. Eg. Changing MRP type, Changing BOM Qty. System checks if there is an entry. chk sample planning file entry in md21.
    2. Net requirements Calculation: It checks the available stock of the materials. Required minus available = net required qty. availability check plays vital role in this.
    3. Lot size calculation: Depending on the lot size maintained in the material master, it groups the materials. eg. If you use lot size as FX(Fixed lot Size) with fixed lot size qty = 100, then system will create pld ord or PR for the material in fixed lot of 100 always.
    4. Scheduling: You can either carry out basic dates scheduling (values taken from MRP 2 view) or Lead time scheduling (values taken from routing) to this the floats are added and scheduling is carried out. By default it is backward scheduling. If the dates are going in past, today scheduling is done.
    5. Source determination: For externally procured materials, you can assign a fixed source (ME01). This vendor is assigned in PR during MRP.
    6. BOM explosion: For dependent requirements calculation, system explodes the BOM and plans the materials.
    Thanks in advance
    Regards
    Kalyan

    Kalyan,
    I do not see a business problem described in your email that I can assist you with.
    I suggest you read the standard SAP online help in this area
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/f4/7d27aa44af11d182b40000e829fbfe/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/4c/420d29470a11d1894a0000e8323352/frameset.htm
    and associated topics.
    Rgds,
    DB49

  • Clarification regarding burden schedule,cost base,cost type with example

    Hi,
    can you please explain burden schedule,cost base,cost type ,burden cost code with example. how its taking part with oracle costing.

    Hi
    You might want to review Oracle Projects Costing User Guide.
    Chapter 3 there has a good overview, explanations and examples
    Dina

  • [Solve]Compile Ada code with integer_IO ,error integer.ads not found.

    Hello all again.
    I do some programming in Ada and i am very fascinated this language.
    I got problem when using integer_IO in my code.
    When it compiling I got strange error integer.ads not found.
    BTW.My compiler is GNAT 4.4.1.
    Thanks for help.
    Last edited by SpeedVin (2010-03-01 17:30:56)

    drcouzelis wrote:
    I also think Ada is fascinating. I wrote a small video game in Ada and I use Ada a little at work.
    "integer_IO" and "Integer_IO" doesn't matter, because Ada is case insensitive.
    I'm not home right now, but I think "Integer_IO" is a subpackage of "Text_IO":
    with Ada.Text_IO.Integer_IO;
    If you want, you can post your code and I'll see if I can compile it.
    Are you an Ada beginner? Even though I have been working with Ada for more than a year now, I still don't think I'm very good at it. I wish there was more documentation and more projects used Ada.
    Yes I'm new  into this language.
    I really won to that there will be more project's/program's written in ADA.
    This is my program code:
    With Text_IO;
    Use Text_IO;
    With Ada.Text_IO.Integer_IO;
    procedure file is
    Age :integer range 0..100;
    begin
    if Age < 18 then
    put_line("BABY!!!");
    else
    put_line("OLD MAN!!!");
    end if;
    end;
    When I try to compile it I get error:
    file.adb:3:17: "Integer_IO" is a nested package, not a compilation unit

  • Step By Step creation of Smartform in ECC6.0 with example program.

    Hi,
    Can anyone give me the steps to create smartforms in ECC6.0 with example program call the function module created by form.
    Regards,
    Chandru

    Hi   Chandra Prakash,
    Go through the following Links, here u can find example with step
    by step.
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    http://sap.niraj.tripod.com/id67.html
    Check these step-by-step links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    Check these links also.
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    Regards,
    Eshwar.

  • Need a simple example program code to use SF_EXAMPLE_01

    Hi all,
    I have just try to learn smartforms. As i have SAP NW4 for learning.
    I found SF_EXAMPLE_01 in the system.
    Can any body help me out how to use this example in abap program code?
    Thanks.
    rob

    Smart Forms, try this steps.. it will teach you how to create smart form and how to use it.
    1) Tcode --> SmartForms
    2) Form name --> Z_SF_TEST Create
    3) Under Global settings
    a) Form Interface  
        Table Tab
       ITAB LIKE EKPO
    b) GLOBAL Definitions
    WA_NETPR LIKE EKPO-NETPR
    In smart forms if we want to display quantity and currency fields. We can't directly display currency field and quantity fields
    For that we have to create an extra variable in global definitions
    Ex: netpr FIELD of EKPO
    CREATE program lines and specify WA_NETWR = itab-netpr.
    4) RT CLick on main Window
       CREATE --> TABLE
      Click Table painter
    DEFAULT %LTYPE will be Created
    a) If you want more like Header footer etc add by rt click on %LTYPE1
    Table (Tab)
    %LTYPE  Radio(SELECT) 5 CM 5 CM 6 CM
    CLICK on DATA (Tab)
    INTERNAL TABLE ITAB LIKE ITAB
    5)RT click on table control and create --> program lines
    General attribute (Tab)
    INPUT PARAMETER               OUTPUT PARAMETER
    itab                               WA_NETPR
    Code Area
    WA_NETWR = ITAB-NETPR.
    6) RT CLcick on table ctl and create 3 text to display the fields
    a) % text1 +button(insert field)
       FIELD name &itab-ebeln&
    Output options (tab)
    Check New line   LINETYPE   %Ltype1
    check new cell
    b) % text2
       & itab-ebelp&
    output options
    check new cell
    c) % text2
       & wa_netpr&
    output options
    check new cell
    Report ac
    Tables ekpo.
    Data: itab1 like ekpo occurs 0 with header line.
    select * into table itab1 from ekpo.
    Call function module   "to know function module name goto smartform and execute the smart form name it will give you the function module name.
    If your question is answered, close the thread and reward all useful answers...
    Regards,
    Sairam

  • IDOC with example and T.codes ??

    hii
    Some body explain me about the scenario and steps to be followed in configuration and in front process with transaction codes .
    Jus some experts can explain me about over all procedure of IDOC in SAP with transaction code (Full cycle with examples...??
    In MM , exaplin me with some examples and with transaction codes ..
    Thanks

    Check these links
    [IDOC Configuration|http://sapmm.posterous.com/idoc-configuration]
    [Learn SAP u2014 IDOC basic|http://blogs.moovar.com/sap/learn-sap-idoc-basic/]
    1) What is IDOC?
    IDoc means intermediate document is a standard data structure for electronic data interchange (EDI) between application programs written for the popular SAP business system or between an SAP application and an external program. IDocs serve as the vehicle for data transfer in SAP's Application Link Enabling (ALE) system.
    2) Why its is used with SAP?
    IDocs are used for asynchronous transactions: each IDoc generated exists as a self-contained text file that can then be transmitted to the requesting workstation without connecting to the central database. Another SAP mechanism, the Business Application Programming Interface (BAPI) is used for synchronous transactions.
    3) What its advantages & disadvantages?
    a) IDOC - Advantages :
    The target system need not be always online. The IDOC would be created and would send the IDOC once the target
    system is available.
    No additional programming required. Configuration is the only one need to be set up.
    b) IDOC - Disadvantages :
    Receipt/Processing on the target system need not be immediate
    When no standard IDOC is available, then it is very hard to create a custom IDOC when compared to creating a
    standard BAPI
    Unless ALE is used, it is difficult to trace if the IDOC has actually reached the target system
    4) IDOC flow with MM :
    In order to make use of the workflow for IDoc processing, you do not have to go through the cumbersome
    workflow design procedure as it is described in the workflow documentation. For the mentioned purpose, you can
    register the workflow handler from the menu, which says Event Coupling from the BALD transaction.
    Triggering the IDoc from a workflow event has a disadvantage: if the IDoc has to be repeated for some reason, the
    event cannot be repeated easily. This is due to the nature of a workflow event, which is triggered usually from a
    precedent action.
    Edited by: Afshad Irani on Aug 26, 2010 5:48 PM

  • Schedule a Job with multiple steps via ABAP Program

    Hi Friends,
    I want to create a report(Ex: ZREP) that will run another program(Ex: ZPGM) in background. What I need to do is, when I execute the report ZREP it should run the ZPGM automatically in background. This background execution should happen through JOB with multiple steps.
    Why i am mentioned steps is, i have 1000 records in ZTABLE and need to execute 100 records each in one step and need to proecess in ZPGM with selection parameters. So in my case my job should create with 10 steps and need to execute in sequential manner.
    FYI, In the ZREP selection screen i need to enter the records count/ interval to derive the job steps.
    Please guide how to go ahead? Thanks in advance for all the help.
    Regards,
    Raghu.

    Hi Raghu,
    You can try the following pieces of code:
    Loop at gt_table.   "This table contains 100 records previously appended
    w_jobname = c_job_emision   "Job Name.
        CALL FUNCTION 'JOB_OPEN'
          EXPORTING
            jobname          = w_jobname
          IMPORTING
            jobcount         = w_jobacount
          EXCEPTIONS
            cant_create_job  = 1
            invalid_job_data = 2
            jobname_missing  = 3
            OTHERS           = 4.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    * Perform or create T_SELTAB with parameters options
    PERFORM Create_seltab_table.
    *Call second program.
    SUBMIT ZREP WITH  SELECTION-TABLE t_seltab AND RETURN.
    *Close Job.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = w_jobacount
            jobname              = w_jobname
            strtimmed            = c_x  "Immediate Start
         EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    ENDLOOP.
    Hope this helps.
    Regards
    Ernesto
    PS: Raymond Giuseppi was faster.
    Edited by: Ernesto Caballero on Mar 10, 2010 1:57 PM

  • Program terminated with exit code 84

    Hi All,
    We are facing a issue in Production.
    The scheduled jobs for today did not start today
    Using export execution command we have exported the jobs and on completion of the first job we call the second one using the below command in script      
    //Example
    exec('E:
    Program Files
    Business Objects
    BusinessObjects Data Services
    log
    JOB_STAGING_TO_ODS.bat','',1);
    As the schedule did not start the first job today we manually executed the first job , while calling the next job is sequence using the above command we received an error message as stated below
    Program terminated with exit code <84>.
    We have gone live with these jobs for few weeks now.
    It was running fine until today.
    we dont see a problem with the script.
    If this the problem with access revoked to execute a batch file or something of that sort?
    Request all your help in this regard.
    Thanks in advance

    Was this issue resolved for you?
    We are also facing a similar kind of issue..
    Job not executing when scheduled and not able to execute the job using exec command..
    When used print command on the exec, we received the same error message "not able to execute the job" with the same exit code 84..
    Can you please advice us on the same?
    Thanks in Advance!

  • I'm looking for examples of CAN control code with LabWindows CVI

    I'm looking for examples of CAN control code with LabWindows CVI.

    Hi,
    The NI-CAN driver installs some examples for both the frame API and Channel API (NI-CAN 2.0).
    The typical installation directory is:
    C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\nican.
    It might change depending on where you installed CVI.
    DiegoF

  • Schedule Jobs with multiple steps via ABAP Program

    Hi,
    I need to schedule multiple programs via background jobs on a daily basis. Since all these jobs are to be run as a single job, the various programs have to be run as steps in a major job.
    I am however not very clear on how this can be done via an ABAP program ( the idea of a program is that various parameters to be passed to each program in the step can be entered dynamically rather than via variants).
    I am using the JOB_OPEN and JOB_CLOSE functions and submitting the programs with selection screen parameters dynamically passed to create a job. I need to do this for various programs as a job step (WITHOUT Variants being defined).
    Can anyone suggest any ideas for this? I have tried out JOB_SUBMIT Function but am not very confident I know what exactly it is for as it asks for a variant.
    Thanks very much,
    Preet

    Hi Preet,
    just to be sure: you know, that variants can be dynamical, too?
    It's quite usual to assign dynamical current date, but it's also possible to add / subtract value and even define own functionality.
    Maybe it's easier to implement a dynamical selection and handle static jobs.
    If you try to plan a job (online or with JOB_SUBMIT), you have to use variants - you can create (or change) them dynamical in beforehand. Only SE38, F8, F9 is creating a temporary variant, so that no saved variant is necessary.
    But if you end up creating variants dynamical, you can change one existing variant, too. Then you can use a static job definition (with periodical starting rule).
    So: have a look, if dynamic variants are enough, otherwise change variants per job.
    Regards,
    Christian

  • When i run a sequence with ivi step types in simulation mode i get the error code number BFFA0015 - Types do not match.

    When i run the sequence with ivi step types in simulation mode i get the error Types do not mathc. The step that generates this error is an IviScope step type and is configured as a measurement. Th weird thing is that in real mode is working perfectly. I have three measure steps and i get the error in all of them. The exact error message is:
    UUT Result: Error, Error executing substep 'Post'. An exception occurred calling 'RunStep' in 'ISubstep' of 'TestStand Ivi Step Types 1.0 Type Library' An error occurred while executing the step. Component Works IVI Control Error: The IVI Read operation failed on channel '1' for logical name 'SampleScope'. Details: (1
    ) Types do not match. [IVI Error Code: BFFA0015] Source: TSIviStepTypes [Error Code: -30721, User-defined error code.]
    Can someone tell me how to fix this problem?. It seems to me that the simulation generates a diferent type of measurement of that generated in real mode.

    Update:
    The simulation driver appears to be raising the error. By switching to specific driver simulation the error does not occur. This may be a problem in either the class simulation driver or the specific driver.
    Scott Richardson
    National Instruments

  • Standard Match Code for Selection Options with Example

    Hi Guys,
                 Can anybody tell me Standard Match Code or Search help for Selection Options.
             ex: MBEW-MATNR , MBEW-BWKEY and MBEW-BWTAR. can anybody tell how to keep Search Help or Match Code for the Above Fields in ECC 6.0 with Example
              Very Urgent.
    Thanks,
    Gopi.

    Well Gopi.. as per your requirement no need to use collective search help.
    I guess you have three fields in selection-screen,out 3 fields you have two fields contains search help.
    Create your user defined search help BWTAR ..
    Check the below links for creation search help :
    http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee2b446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Hope you got it.
    Thanks
    Seshu

  • FUNCTION SXPG_COMMAND_EXECUTE External program terminated with exit code 2

    HI,
    I am using the below Function Module
    gv_ap = '/nfs/ficheiros/FicheiroExtraccaoSIF/outbox'
    CALL FUNCTION 'SXPG_COMMAND_EXECUTE'                 
          EXPORTING                                       
               commandname                   = 'Z_LS'     
               additional_parameters         = gv_ap      
          TABLES                                          
               exec_protocol                 = t_fich     
          EXCEPTIONS                                      
               no_permission                 = 1          
               command_not_found             = 2          
               parameters_too_long           = 3          
               security_risk                 = 4          
               wrong_check_call_interface    = 5          
               program_start_error           = 6          
               program_termination_error     = 7          
               x_error                       = 8          
               parameter_expected            = 9          
               too_many_parameters           = 10         
               illegal_command               = 11         
               wrong_asynchronous_parameters = 12         
               cant_enq_tbtco_entry          = 13         
               jobcount_generation_error     = 14         
               OTHERS                        = 15.        
    with this folder '/nfs/ficheiros/FicheiroExtraccaoSIF/outbox' return the error:
    /nfs/ficheiros/FicheiroExtraccaoSIF/outbox not found and
    External program terminated with exit code 2
    but if i map other directory the function return the files and folders that directory have.
    Anyone could help me.
    Thanks and Regards.
    Eduardo Paiva

    Hi,
    Yes i have read access to this directory and the command 'Z_LS' exists.
    Best Regards,
    Eduardo Paiva

  • Error Message: External program terminated with exit code 2

    Hi ALL
    We are doing REORG tablespace in DB13 and i am getting below error message. Please help us to resolve the issue.
    20100430     113234     DB6PM     000     Reorg_Tbspc:Command DB6CLP failed on server
    20100430 103959 DB6PM 000 Reorg_Tbspc:Exitcode:Error
    20100430 103959 DB6PM 000 Reorg_Tbspc:ERRORMESSAGE: An SQL error occured. Will print output of the command
    20100430 103959 DB6PM 000 Reorg_Tbspc:External program terminated with exit code 2
    20100430 103959 DB6PM 000 REASON=C call failed
    Regards
    K.Gunasekar
    Edited by: KGUNASEKAR on Apr 30, 2010 6:55 AM

    Exitcode 2, if returned from the OS, means "No such file or directory". Note that as of SAP kernel release 7, you usually do not have DB6CLP any more. Can you check if the executable is available in the SAP exe directory ?
    If running SAÜ kernel 700 or higher, I suggest to apply a recent SP level.
    Malte

Maybe you are looking for

  • JDOM: Parsing XML String, getting error

    Hello, I am new to this forum, so please forgive me if this has already been asked before. I want to parse an XML string. I know the JDOM parser works great with a file, but apparently I have been unsuccessful parsing an XML String. Below is how I in

  • Acrobat X - need to redownlad.  Can someone tell me where I can find this file?

    Acrobat X - need to redownlad.  Can someone tell me were I can find this file?  I just purchase CS 6.  I was having a problem with this program opening so I deleted to reinstall. Where can I find the download for Acrobat X PRO?

  • Help with hotmail pop3 on n95 8gb

    Im using these settings from a website Hotmail (Live) Incoming Setting User Name :[email protected] Password : Password of your Hotmaill Incoming mail server : pop3.live.com Mailbox Type : pop3 Security :ssl/tls Port :default Outgoing Settings User N

  • IP Over Firewire (Mac/PC)

    I was finally able to hook up my MacBook Pro to my PC through firewire at 400Mbps through SMB, this way they can share files fast. However in OS X I noticed whenever I'm accessing a Windows XP's shared folder with more than 50 files, finder just can'

  • How can i use my helloworld servlet in apache-tomcat-mod_jk?

    hi i copied helloworld.java helloworld.class to jakarta-tomcat-3.3.1/webapps/examples/WEB-INF/classes i can use example servlets in that directory by accessing localhost/examples/servlets and click links..(but if i type them in browser address bar, t