Internal-ordrs

GOOD MORNING SIRS:-
experts:- which occation use the I.O and when will use the cost cneter and this one give example scnario

Hi ameer
The account assignement comes into picture when you order the material as Indirect. In case of direct it gets valuated under raw material, semi finished, finished etc (Valuation class).
In Account assignment you assign a specific G/L account to a cost center. In reality you can have different cost centers like Production, Maintenance, Quality etc and different G/L accounts like Raw material consumption , machine tools, computer software, buildings, machineries etc.
Suppose if a machine has been procured for production purposes it gets accounted in the machineries G/L account and the cost is accrued by production. Same case if a measuring instrument is procured by Quality department it gets accounted in machineries G/L account and the cost is accrued by Quality department.
It helps in analysing the spend of each department as per the allocate d budget and also helps in allocating budgets to respective departments for future purposes.
and purpose of IO is to book expence at minute level
Vishal...

Similar Messages

  • Internal order settlements

    Hi
    How do we exclude secondary costs posted in an internal order when running settlements ?
    Our problem is ,we are having both primary costs and secondary costs(secondary cost elements) sitting on internal ordrs.When we are running settlements we want to exclude secondary cost and run settlements only for primary costs.
    We have tried changing the source structure /allocation strcuture by excluding the secondary cost elements.But when we do that we get an error saying there are secondary costs existing in internal order and it is asking either to reverse the secondary costs from order or to include secondary cost elements on source/allocation structure.
    We don't want to reverse the seconday costs from Internal orders.The how to exclude seconday costs in settlements?
    hinfi

    Hi,
    In Internal Order we have two types
    1 Statistical Order : Here we have to update Oder No as well as Cost Center, but here settlement is not possible.
    2 Real Order : While Posting Document we have to Update Only Order No Dont mentioned any thing, if you mentioned any thing you will get error like this.
    Bye......

  • Internal order-budgeting & settelemnt

    Hi friends,
    What is the internal order-budgeting & settlement?How to the settled and budgeted?Please explain with example in simple way?
    Regards,
    Chandra.

    Hi internal order settelement  means, Internal orders are used to captute the details of the  event.
    EX: If you  organoging ana event.
    therer are lot of expencesoccuring  in that event.
    So first you give teh budget amount for your event,
    There are lot of cost cenetrs are also required .
    if you post teh transaction to teh cost center you dont know how much total actaul cost you put in teh event.
    so that we will use internal order concept.
    what ever transaction we will post to internal order ( not for teh cost center)
    suppose event is X , CREATE INTERNAL ORDER xxxxx.
    so we will post all transaction to XXXXXX.
    AT THE MONTH ENDOR COMPLETIN OF TEH EVENT YOU WILL SETTLE THIS INTERNAL ORDR TO ACTUAL COST CENTERS.
    iNTERNAL AMOUNT 100000 .
    THEN you will settele to respactive cost centers cc1-3000
    cc2-4000, cc3-3000.
    from internal order you settle to teh cost centers./
    chandra

  • Enduser transation -fi and co

    Experts:-  In FI related T-codes and Co related transaction codes using the in End User part  or End user postings plz including description, means which one purpose.

    T codes to be used for Controlling-     
    KA01      KA01 - Create Primary cost element
    KA06      KA06 - Create Secondary
    KA02      KA02 - Change
    KA03      KA03 - Display
    KA04      KA04 - Delete
    KAH1      KAH1 - Create primary cost eelement group
    KAH2      KAH2 - Change
    KAH3      KAH3 - Display
    KS01      KS01 - Create cost center
    KS02      KS02 - Change
    KS03      KS03 - Display
    KS04      KS04 - Delete
    KSH1      KSH1 - Create cost center group
    KSH2      KSH2 - Change
    KSH3      KSH3 - Display
    KL01      KL01 - Create  activity
    KL02      KL02 - Change
    KL03      KL03 - Display
    KL04      KL04 - Delete
    KP06      KP06 - Change  cost center planning input / activity
    KP06      KP06 - Change Cost center budget input/ activity
    KO01      KO01 - Create  internal order
    KO02      KO02 - Change  internal order
    KO03      KO03 - Display  internal order
    KOH1      KOH1 - Controlling -> Internal Orders -> Master Data -> Order Group -> C
    KOH3      KOH3 - Controlling -> Internal Orders -> Master Data -> Order Group -> D
    KOH2      KOH2 - Controlling -> Internal Orders -> Master Data -> Order Group -> C
    KPF6      KPF6 - Change internal ordr planning
    CK40N     CK40N - Edit Costing Run
    CK11N     CK11N - Create cost estimate with qty. structure
    CK13N     CK13N - Display cost estimate with qty. structure
    CKMLCP     CKMLCP - Edit Costing Run
    KKF6N     KKF6N - Edit product cost collector
    MF30      MF30 - Preliminary Costing for Product Cost Collectors
    KRMI      KRMI - Actual Costs product cost colector
    KKBC_PKO     KKBC_PKO - detailed Report For Product Cost Collectors
    Target/Actual/Production Variances      Target/Actual/Production Variances
    S_ALR_87013139      S_ALR_87013139 - Cumulative
    S_ALR_87013140     S_ALR_87013140 - Periodic
    S_ALR_87008180     S_ALR_87008180 - IMG Activity: over head rate changes for secondary cost element (SIMG_ORKK_SERIE_KZM2
    S_ALR_87013611     S_ALR_87013611 - Plan/Actual Comparisons -> Cost Centers: Actual/Plan/Va
    S_ALR_87013614     S_ALR_87013614 - Plan/Actual Comparisons -> Cost Centers: Current Period
    S_ALR_87012249     S_ALR_87012249 - Actual/Actual Comparisons -> Actual/Actual Comparison f
    OKENN     OKENN - Cost Center Accounting -> Master Data -> Standard Hierarchy -> D
    OKEON     OKEON - Cost Center Accounting -> Master Data -> Standard Hierarchy -> C
    KE51      KE51 - Create  profit center
    KE52      KE52 - Change
    KE53      KE53 - Display
    KE54      KE54 - Delete
    KE56      KE56 - Company Code Assignment profit center
    KCH5N     KCH5N - Standard hierarchy Change
    KCH6N     KCH6N - Display  Standard hierarchy
    KCH1      KCH1 - Create profit center group
    KCH2      KCH2 - Change profit center group
    KCH3      KCH3 - Display profit center group
    S_ALR_87013326     S_ALR_87013326 - Reports Profit Center Group: Plan/Actual/Variance
    CK13     Display Cost estimate for materials-Initial screen
    CK24     Cost Release of individual materials
    KSPI     Execute Plan Price calculation
    KP26     Change Activity Type
    CS15     Where used list - Materials
    CO43     Actual Overhead Updation Run
    CO99 & KO8G     Engineering Spares Cost Run
    IW39     Engineering Mis
    MC.9     Closing Stock datewise
    CS03     Display Material BOM

  • Internal table(Optimizing the codes)

    Dear all,
      Please help me in optimizing the following codes..
    FORM fetch_item_data1 .
      CLEAR itab_zsbhdr .
      LOOP AT itab_zsbhdr .
        IF itab_zsbhdr-bedae = 'SPI'.
          SELECT * FROM zioel2 INTO  i_zioel
                        WHERE ordr = itab_zsbhdr-vbeln
                        AND item = itab_zsbhdr-posnr
                        AND vdatu = itab_zsbhdr-vdatu .
            APPEND i_zioel.
            CLEAR i_zioel .
          ENDSELECT .
        ENDIF .
      ENDLOOP .
    ENDFORM.                    " FETCH_ITEM_DATA1
    MY DOUBT:
    For example if you all can see the select statement,,there we can also write as,
    data : itab_zsbhdr_dummy like itab_zsbhdr occurs 0 with header line.
    CLEAR itab_zsbhdr .
    itab_zsbhdr_dummy[] = itab_zsbhdr[].
    DELETE itab_zsbhdr_DUMMY[] WHERE bedat NE 'SPI'.
    SELECT * FROM zioel2 appending table i_zioel
                 for all entries in itab_zsbhdr_DUMMY
                     WHERE ordr = itab_zsbhdr_dummy-vbeln
                     AND item = itab_zsbhdr_dummy-posnr
                     AND vdatu = itab_zsbhdr_dummy-vdatu .
    So now we can see there is no append and modify.
    So my question is ,,"Is it the right way to go?"
    Again i am taking off the loop & instead deleting those date not equals to SPI.
    So please help me by either confirming me with this particular optimization or give me some other optimized codes on this regard.
    Thanx.

    hye..
    i am inserting my comments
    FORM fetch_item_data1 .
    CLEAR itab_zsbhdr .
    You have cleared the internal table, so the content is empty.. hence it will not enter into the loop.
    LOOP AT itab_zsbhdr .
    IF itab_zsbhdr-bedae = 'SPI'.
    SELECT * FROM zioel2 INTO i_zioel
    WHERE ordr = itab_zsbhdr-vbeln
    AND item = itab_zsbhdr-posnr
    AND vdatu = itab_zsbhdr-vdatu .
    Never use a select in a loop, this means ur hitting the database n number of times which is not at all recommondable.
    APPEND i_zioel.
    CLEAR i_zioel .
    ENDSELECT .
    instead of using select and end select it can be directly writen into
    select * from [dbtab] into table [itab] for all entreis in it_comparision
    where [field] = it_comparision-field.
    ENDIF .
    ENDLOOP .
    ENDFORM. " FETCH_ITEM_DATA1
    Yeah ur second code is more recommmended with these modifications.
    hope this is useful.
    thnks.
    imran.

  • Internal Reconciliation - some documents not reconciling

    Hello,
    We've recently begun using the tool: Business Partners -> Internal Reconciliation -> Reconciliation.
    We select:
    Automatic
    All of our Customer Business Partners in the range selection
    Matching Rule 1 - Ref.2  (which is ORDR, NumAtCard), which we also include on the Incoming Payment
    Document Date - which we set to 60
    Each day we run this, and we get several reconciliations, which allows us to send out invoices with "payment received", and a $0.00 balance owing. It shows us the Ref.2 numbers, which match.
    However, we have a few each day which do not reconcile, and we have no idea why. We have looked through the marketing documents and everything matches and is within our date range, etc. Even payments which were made immediately by credit card the same day do not reconcile.
    Any ideas? Anyone else having this issue?

    We have a lot of customers who pay by credit card, which we process with "payment on account". We need to have these reconciled each day so their invoices (receipts) show the payment applied and $0.00 owing.
    We were told this was the best way to automatically reconcile by our consultant for SAP.
    Any one else?
    Thanks in advance,
    Christine

  • Modifier l'ordre des #define dans le .h pour sélectionn​er un bouton par défaut

    Bonjour,
    je suis un peu embetté, car je me bat avec un fichier .h !
    En fait, j'ai une fenetre de sélection qui me permet de scanner un code barre et de valider l'objet par la suite...
    J'ai donc plusieurs boutons, objets, décorations etc...
    Ceux ci se présentent de cette manière :
    #define  P_x                          1       /* callback function: Panelx */
    #define  P_x_DOSSIER                  2
    #define  P_x_UNITE                    3
    #define  P_x_CP                       4
    #define  P_x_TYPE                     5
    #define  P_x_DATE_IN                  6
    #define  P_x_DATE_PASSAGE             7
    #define  P_x_CHARG_PARAM              8       /* callback function: Chargement_parametres */
    #define  P_x_PASS              9       /* callback function: Force */
    #define  P_x_EXIT                     10      /* callback function: Exit */
    #define  P_x_DECORATION               11
    #define  P_x_TEXTMSG_2                12      /* callback function: Appel_Password */
    #define  P_x_TEXTMSG                  13
    #define  P_x_COMMANDBUTTON            14      /* callback function: Help */
    #define  P_x_PICTURE_2                15
    #define  P_x_PICTURE                  16
    #define  P_x_VALIDATION               17      /* callback function: Validation */
         /* Menu Bars, Menus, and Menu Items: */
              /* (no menu bars in the resource file) */
         /* Callback Prototypes: */
    int  CVICALLBACK Appel_Password(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
    int  CVICALLBACK Chargement_parametres(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
    int  CVICALLBACK Exit(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
    int  CVICALLBACK Force(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
    int  CVICALLBACK Help(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
    int  CVICALLBACK Panelx(int panel, int event, void *callbackData, int eventData1, int eventData2);
    int  CVICALLBACK Validation(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
    Donc quand je scanne la boite avec la douchette, il arrive qu'un bouton se déclenche. Cependant, ce n'est pas le bouton VALIDATION, ce qui m'embette !
    C'est le bouton Chargement paramètres, déclaré au début des appels de fonction dans les define.
    Donc, quand je le met dans cette ordre là, le bouton Validation est bien sélectionné par défault (encadré par un rectangle noir), puisque je pense il est au début des #define...
    Quand mon bouton Validation est grisé, il passe au suivant (Force), ce qui est tout à fait ce que je souhaite !
    #define  P_x                          1       /* callback function: Panelx */
    #define  P_x_DOSSIER                  2
    #define  P_x_UNITE                    3
    #define  P_x_CP                       4
    #define  P_x_TYPE                     5
    #define  P_x_DATE_IN                  6
    #define  P_x_DATE_PASSAGE             7
    #define  P_x_VALIDATION               8      /* callback function: Validation */     
    #define  P_x_PASS              9       /* callback function: Force */  
    #define  P_x_CHARG_PARAM              10       /* callback function: Chargement_parametres */
    #define  P_x_EXIT                     11      /* callback function: Exit */
    #define  P_x_DECORATION               12
    #define  P_x_TEXTMSG_2                13      /* callback function: Appel_Password */
    #define  P_x_TEXTMSG                  14
    #define  P_x_COMMANDBUTTON            15      /* callback function: Help */
    #define  P_x_PICTURE_2                16
    #define  P_x_PICTURE                  17
    Cependant, lorsque je grise ou pas un bouton, par la suite, ce n'est pas le bon bouton qui est affectée, puisque j'ai modifié l'ordre et il n'apprécie guère...
    Ex: je demande de grisé le bouton Validation et c'est le bouton Chargement_Paramètres qui est grisé
    Donc avez vous une solution à ca ou pouvez vous m'aider ??
    Merci beaucoup
    Rémi
    Solved!
    Go to Solution.

    What you are observing now is a special case which can lead to some misunderstandment. To fully comprehend CVI internal logic you can simply create a UIR file with more than one panel inside and examine the corresponding #include file. What you will see will be the following:
    #define  PANEL1                           1
    #define  PANEL_CONTROL1          2
    #define  PANEL_CONTROL2          3
    #define  PANEL2                           2
    #define  PANEL_CONTROL1          2
    #define  PANEL_CONTROL2          3
    and so on. That is: panel IDs are unique inside the UIR file and progressively numbered; control IDs are unique within the owner panel and progressively numbered.
    What CVI does when you address a control with for example SetCtrlVal (panelHandle, controlID, ...) is to translate this instruction into: "address control with index <controlID> into panel identified by <panelHandle> variable". This permits on one side to load more than one panel in memori at the same time but also to load the same panel more than once, each time identifying it with the corresponding handle (wich is guaranteed unique by the OS).
    Regarding the first control in a panel being identified by number 2 I cannot say anything: it depends on an internal logic in CVI and you cannot alter it, but it's indeed transparent to us and as you already noted it's prefectly working.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Unable to sum RDR1 UDF for ORDR header use.

    Hi Forum,
    Trying to run a query at Sales Order Header Level ORDR  to get a sum of a UDF in Sales lines level RDR1.
    I tried following two queries and they all fail with given error code:
    1. Fails with internal error code - 3006
    SELECT sum($[$38.U_RA_TotWODisc.number]) FROM RDR1  T0  INNER JOIN ORDR T1 ON T1.DocEntry = T0.DocEntry WHERE T1.[DocNum]=$[ordr.docnum]
    2. Fails with internal error code - 1004
    SELECT sum($[RDR1.U_RA_TotWODisc.number]) FROM RDR1  T0  INNER JOIN ORDR T1 ON T1.DocEntry = T0.DocEntry WHERE T1.[DocNum]=$[ordr.docnum]
    How could I make it work please? Thank you.

    Hi Syed Aleem.....
    The FMS query for column sum won't work during runtime.
    You can make it to work when your document is added......
    Regards,
    Rahul

  • Sy-tabix for internal table in smartform

    Hi friends,
    How to capture the sy-tabix value for the entries in an internal table which has been looped into the loop of table node of a smartform?? I need to print something immedaitely after the end of the table
    For every record the value of sy-tabix is showing 1 !!
    Advance Thanks
    Aadarsh

    Hi Aadarsh,
    Give ur sy-tabix at the end of the loop.
    loop at itab.
    //table node populations.
    endloop.
    give a seperate loop for this.
    loop at itab.
    sy-tabix.
    endloop
    get the total no and print it after the table.
    If u r using do loop then give sy-index.
    Hope tihs helps u,
    Regards,
    Nagarajan.
    Message was edited by: Nagarajan Kumarappan

  • Locked out of additional internal drives... Help please

    Any help would be more then welcomed as I did something stupid and need a bit of help to fix it please.
    Had an issue today on my Mac Pro (2.8, Quad 5.1). All was running fine until I went to update a piece of 3rd party software (Fetch). After the download I went to drag new version into my apps folder and was told I didn't have permission to instal the app.
    Now to be clear, I've had a bit of an issue with this before as I'm running 2 mac pros in different locations and drag and copy files and folders from here to there on a regular basis via FTP and external drives. I also have all 4 slots filled on both systems with various drives set up for a particular function along with a number of externals. I've set permissions on both systems and all drives to "read and write" for both my accounts to have full access and each time "apply to enclosed items" was selected.
    But for some reason, from time to time, I have to authorise the file transfer. Haven't figured out the reason but it's not a huge deal so have left it.
    Today was the first time I have had access denied for my home folder when working from same system. Not thinking and while on the phone to someone (this is where I did the stupid part), I opened the info on my boot (startup) drive and decided to add both of my user accounts and change permissions for each in addition to the system, admin and everyone that was already there. This was done while working from it directly and then set options to "apply to enclosed items". Yea, smart I know.
    About 20 minutes passed and then it told me that it didn't like any of my system extensions. I was forced to do a restart and got the spinning wheel for about 30 minutes. Had to do a force quit and open in single user. Applejack wouldn't help at all, nothing. Had to then open cd drive through terminal just to get systems disk inside.
    Restarted from systems disk and tried a simple disk utility repair. System restarted fine but I noticed that I was then locked out of all of my additional internal drives, iDisk included (padlock shown on all drive icons excluding my Boot/Startup drive). Tried opening info on the various drives with apple i option and "permissions denied" popped up each time.
    I then took the step to restore from time machine. Set my restore selection to about 2 hours before I became an idiot. After it was finished I restarted the system hoping that would clear up my mistake but same thing, still locked out of all of my drives aside from boot/startup drive.
    All user accounts that I have added to the boot drive are still showing, I have yet to try and remove them... Figured I would ask for help before I messed it up any further. Spoke to apple care and they have advised me to do what I have done so far.
    Aside from an erase and instal, what steps should I take from this point? Will removing the added accounts clear up the issue?
    Also, any idea as to why I was refused permissions to begin with...?
    Thanks in advance and sorry for the book, just wanted to be as clear as possible.

    Force iPad into Recovery Mode. Follow step 1 to step 3 very closely.
    http://support.apple.com/kb/HT1808

  • Follow up - DNS (internal domain has same name as external website)

    Hi,
    I am following up with on previous blog entry about resolving an domain internal name to an external website found here:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/4d97325b-ff3a-4f46-ba6e-dc3f4ff978e1/dns-internal-domain-has-same-name-as-external-website
    On October 30, 2014
    HayashiTech provided a response suggesting the use of netsh interface portproxy on the DC's to resolve this issue. There has been no feedback to this suggestion and I am very curious what opinions are out there for this suggestion as it appears to be the
    best option provided yet.
    Thank you in advance as well for all the great guidance I have found provided by Ace and his followers.

    Interesting question. I've not seen that solution before, but having done a test on my lab setup it certainly seems to work as expected. Eg, using :
    netsh interface portproxy add v4tov4 listenport=80 listenaddress=dc1.abc.com connectport=80 connectaddress=www.abc.com
    on my DC where I've setup a working external domain name with the www record pointing to the website, and the non-www record pointing to the DC, requests to the non-www address are successfully being redirected to the www address (after confirming it didn't
    happen prior to adding the portproxy).
    So on the face of it that does look like a workable solution. I haven't used it myself in anger obviously, but the two downsides I can think of immediately to this solution are :
    1) This operates as a proxy, so unlike the IIS method that Ace mentioned where it would tell the client to go to the www address instead (so the client connects direct), this method keeps your DC acting as a middle man, eg all communications to that address
    go through your DC rather than direct from the client to the website. Depending on what they're doing on the website this may or may not be an issue for you.
    2) Since the client is continuing to connect to the DC throughout, if you ever did need the have something on the DC responding to port 80 then you could have issues. That said, according to
    https://technet.microsoft.com/en-us/library/cc731068(v=ws.10).aspx the portproxy listenaddress can be a FQDN rather than IP, so that could mitigate any issues there.

  • Open Items in GR/IR Account Internal Order wise

    Hi,
    Is it possible to view Open Items in GR/IR Account Internal Order wise?. We are assigning Internal Order in Goods Receipt and want to view Open items for the particular Order.
    Regards,
    Amanullah

    Thanks for your response.
    I already review the accounting and is pretty fine.
    The system creates document type WE and RE for the Goods Receipt and Invoice Receipt.
    Unfortunately in transaction FBLN the system shows as a Open Item, and honestly I don't know the reason.
    I really appreciate any help for this issue.
    Regards.

  • Excise Invoice number and Internal Number

    Hello Friends
    I have some queries ,I will be thankful to you if you could guide me, in understanding themu2026
    1) When we see the document in J1IEX ,in excise invoice tab, we see two fields :Excise invoice number and Internal Number.
    For Internal number we define the range in object J_1INTNUM, but how do we define range for Excise invoice  number
    2) Where do we maintain the relation between GRPO (Excise Transaction type) with the Excise Invoice number
    3) When do we require updating of register ,is it done on daily bases, and  how can we see the entries of RG23A part 1.
    4) We have excise invoice number  range of posted ,in process and cancel documents which is  assigned to GRPO transaction type, while running J1I7 though we select last option   part 1 posted  and part 2 not  posted, still the system shows the cancelled documents, How can I avoid  the cancel documents
    Thanks
    Siddharth

    1) When we see the document in J1IEX ,in excise invoice tab, we see two fields :Excise invoice number and Internal Number.
    For Internal number we define the range in object J_1INTNUM, but how do we define range for Excise invoice number
    -->> Ex inv nbr will be entered based on the vendor ex invoice .. this is external nbr assignment
    2) Where do we maintain the relation between GRPO (Excise Transaction type) with the Excise Invoice number
    --->> there is no relation between grpo vs. ex inv nbr
    3) When do we require updating of register ,is it done on daily bases, and how can we see the entries of RG23A part 1.
    >> u can see in J1I7 or thru table J_1IPART1
    4) We have excise invoice number range of posted ,in process and cancel documents which is assigned to GRPO transaction type, while running J1I7 though we select last option part 1 posted and part 2 not posted, still the system shows the cancelled documents, How can I avoid the cancel documents
    >> wait for others answers..

  • Training and Event Management - internal instructor

    Hi people,
    I am working on R/3 4.7 Ext 110 HR module. While creating a training event in Training and Event Management, I need to include the name of the internal instructor (not external). Where exactly do I do this? I do not find this option in PV10. Kindly help.
    Thank you.

    Hello Phoebe,
    For this, first you need to maintain the Relationship A 022 (Requires) for the Business Event using the Tcode OOET with the Resource Type (Instructor).
    Then use the Tcode PV10 and select data screen for the Business Event. Then make the necessary entries on the screen and then select Resource Selection on the left top of the screen. After this the new screen will pop-up of all the resource type with which u maintained the relation. Select instructor from there and click on the select resource in the left side. Again a new window will appear and select Temporarily Add Resource from there.
    Hope this will help you, try and let me know.
    Thanks & Regards,
    Esha

  • Regarding Exporting and Importing internal table

    Hello Experts,
    I have two programs:
    1) Main program: It create batch jobs through open_job,submit and close job.Giving sub program as SUBMIT.
    I am using Export IT to memory id 'MID' to export internal table data to sap memory in the subprogram.
    The data will be processed in the subprogram and exporting data to sap memory.I need this data in the main program(And using import to get the data,but it is not working).
    Importing IT1 from memory id 'MID' to import the table data in the main program after completing the job(SUBMIT SUBPROGRAM AND RETURN).
    Importing is not getting data to internal table.
    Can you please suggest something to solve this issue.
    Thank you.
    Regards,
    Anand.

    Hi,
    This is the code i am using.
    DO g_f_packets TIMES.
    * Start Immediately
           IF NOT p_imm IS INITIAL .
             g_flg_start = 'X'.
           ENDIF.
           g_f_jobname = 'KZDO_INHERIT'.
           g_f_jobno = g_f_jobno + '001'.
           CONCATENATE g_f_jobname g_f_strtdate g_f_jobno INTO g_f_jobname
                                                  SEPARATED BY '_'.
           CONDENSE g_f_jobname NO-GAPS.
           p_psize1 = p_psize1 + p_psize.
           p_psize2 = p_psize1 - p_psize + 1.
           IF p_psize2 IS INITIAL.
             p_psize2  = 1.
           ENDIF.
           g_f_spname = 'MID'.
           g_f_spid = g_f_spid + '001'.
           CONDENSE g_f_spid NO-GAPS.
           CONCATENATE g_f_spname  g_f_spid INTO g_f_spname.
           CONDENSE g_f_spname NO-GAPS.
    * ... (1) Job creating...
           CALL FUNCTION 'JOB_OPEN'
             EXPORTING
               jobname          = g_f_jobname
             IMPORTING
               jobcount         = g_f_jobcount
             EXCEPTIONS
               cant_create_job  = 1
               invalid_job_data = 2
               jobname_missing  = 3
               OTHERS           = 4.
           IF sy-subrc <> 0.
             MESSAGE e469(9j) WITH g_f_jobname.
           ENDIF.
    * (2)Report start under job name
           SUBMIT (g_c_prog_kzdo)
                  WITH p_lgreg EQ p_lgreg
                  WITH s_grvsy IN s_grvsy
                  WITH s_prvsy IN s_prvsy
                  WITH s_prdat IN s_prdat
                  WITH s_datab IN s_datab
                  WITH p1      EQ p1
                  WITH p3      EQ p3
                  WITH p4      EQ p4
                  WITH p_mailid EQ g_f_mailid
                  WITH p_psize EQ p_psize
                  WITH p_psize1 EQ p_psize1
                  WITH p_psize2 EQ p_psize2
                  WITH spid     EQ g_f_spid
                  TO SAP-SPOOL WITHOUT SPOOL DYNPRO
                  VIA JOB g_f_jobname NUMBER g_f_jobcount AND RETURN.
    *(3)Job closed when starts Immediately
           IF NOT p_imm IS INITIAL.
             IF sy-index LE g_f_nojob.
               CALL FUNCTION 'JOB_CLOSE'
                 EXPORTING
                   jobcount             = g_f_jobcount
                   jobname              = g_f_jobname
                   strtimmed            = g_flg_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.
               gs_jobsts-jobcount = g_f_jobcount.
               gs_jobsts-jobname  = g_f_jobname.
               gs_jobsts-spname   = g_f_spname.
               APPEND gs_jobsts to gt_jobsts.
             ELSEIF sy-index GT g_f_nojob.
               CLEAR g_f_flg.
               DO.                         " Wiating untill any job completion
                 LOOP AT gt_jobsts into gs_jobsts.
                   CLEAR g_f_status.
                   CALL FUNCTION 'BP_JOB_STATUS_GET'
                     EXPORTING
                       JOBCOUNT                         = gs_jobsts-jobcount
                       JOBNAME                          = gs_jobsts-jobname
                    IMPORTING
                       STATUS                           = g_f_status
    *            HAS_CHILD                        =
    *          EXCEPTIONS
    *            JOB_DOESNT_EXIST                 = 1
    *            UNKNOWN_ERROR                    = 2
    *            PARENT_CHILD_INCONSISTENCY       = 3
    *            OTHERS                           = 4
                   g_f_mid = gs_jobsts-spname.
                   IF g_f_status = 'F'.
                     IMPORT gt_final FROM MEMORY ID g_f_mid .
                     FREE MEMORY ID gs_jobsts-spname.
                     APPEND LINES OF gt_final to gt_final1.
                     REFRESH gt_prlist.
                     CALL FUNCTION 'JOB_CLOSE'
                       EXPORTING
                         jobcount             = g_f_jobcount
                         jobname              = g_f_jobname
                         strtimmed            = g_flg_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.
                       g_f_flg = 'X'.
                       gs_jobsts1-jobcount = g_f_jobcount.
                       gs_jobsts1-jobname  = g_f_jobname.
                       gs_jobsts1-spname   = g_f_spname.
                       APPEND gs_jobsts1 TO gt_jobsts.
                       DELETE TABLE gt_jobsts FROM gs_jobsts.
                       EXIT.
                     ENDIF.
                   ENDIF.
                 ENDLOOP.
                 IF g_f_flg = 'X'.
                   CLEAR g_f_flg.
                   EXIT.
                 ENDIF.
               ENDDO.
             ENDIF.
           ENDIF.
           IF sy-subrc <> 0.
             MESSAGE e539(scpr) WITH g_f_jobname.
           ENDIF.
           COMMIT WORK .
         ENDDO.

Maybe you are looking for