Dep calculation issue on settelment of asset for pm order

Hi,
When I am trying to settele the asset for pm order it is starting the depreciation from the next day of settelment. But when I am craeting the asset for the same asset class & posting the values from FI it is calculating the depreciation from the same day of expense booking.Why it is not calculating from the same day when it is through pm order.
Help me to resolve the iisue.
Cheers.

Hi Blaz,
Thanks for your reply. Whatever you say is right.
My issue is i am creating assets in one asset class. And when-
1. Asset capitalization value is posted by f-90 say on 31.03.2009, system calculates the dep from 31.03.2009 ( Dep is day wise)
2. For asset in the same asset class with same dep key and other values when I post values by settling the PM order ( Say on 31.03.2009) system starts dep from 01.04.2009.
I am not able to analyze why for same parameters assets depreciation calculation is differing by a day.
Thanks

Similar Messages

  • Issues during Component Batch Determination for Process Orders

    Hi,
    I am encountering a strange issue during component batch determination of process order.
    1. During creation of process order, when I execute batch determination, systems does determination based on strategies we have set and when I click on Copy it gives an error
    "Log cannot be saved: Object/subobject not specified"
    Message no. BL201
    *Diagnosis
    Log save cancelled because at least one log contains no object or subobject.
    Object and subobject are needed to classify application logs because there are several log types. Only a few logs are managed in main memory at runtime, so this classification is not needed.
    If the logs are to be saved in the database, object/subobject must be specified for later retrieval.
    Procedure for System Administration
    Object/sub object can be passed when a log is created (function module BAL_LOG_CREATE) and changed with BAL_LOG_CHANGE.
    The possible values for object and sub object must be configured in transaction SLG0.*
    If I save the order with CRTD status and come back again in change mode and do determination, It works fine.
    Again when the order is in REL status and do the determination, It gives the same error.
    This happens only for a specific plant, In other plants batch determination works in all scenarios.
    I checked for all plant related Config for batch determination and coudn't find any discrepancies.
    Please advise how to resolve this issue. Thanks in advance for your help
    Regards,
    Aheesh

    There Is no direct solution for your requirement just try this work around.
    While defining the batch determination search strategy for process order in COB1, there is one column Quantity proposal where you can attach the Routines (This is written in ABAB code )  make use of this, define New Routines with ABAB help to fulfill your requirement. Try this if found useful award full points.
    Regards,
    Ajay Nikte

  • Block asset for purchase order (TS ME21N)

    Hi,
    The company where I work need that if an asset is capitalized it will not be able to receive new assigment from the purchase order (by TS ME21N); but this is only for some users, so some specifics users can post a purchase order with an asset which has already values and other users not.
    Any idea if it is posible to make something?
    thanks
    cecilia

    Hi,
    For this you need to go for user exit in purchase order.
    Condition will be like:
    IF EKKO-ERNAM = A, THEN SYSTEM SHOULD PASS EKKN-BUKRS, EKKN-ANLN1, AND EKKN-ANLN2 TO TABLE ANLA TO CHECK ANLA-AKTIV = BLANK, IF IT IS NOT BLANK ASSIGN AN ERROR MEESSAGE THERE TO STOP THE USER
    A = your preferred user, who is not supposed to create the PO for an asset, which is already capitalised.
    Please co ordinate with your ABAP resource for this development.
    Hope this might help you
    Thanks,
    Srinu

  • RKKBABS0 Performance Issues (Background Processing of CO99) for PM Orders

    We are experiencing extremely long run times when batch processing through program RKKBABS0 in ECC 6.0 (just upgraded). The issue appears to be that the program is using the production order numbers to search against the EXKN table which contains no AUFNR or AUFPL information.
    Has anyone experienced this same issue and how was it resolved?
    Edited by: Ken Lundeen on Apr 9, 2010 9:17 PM
    Edited by: Ken Lundeen on Apr 9, 2010 9:17 PM Table ESKN

    (I'm sorry you've waited over a year for a reply.)
    We also have performance issue. In our case we do not use Service Entry sheets with maintenance or production orders; AUFNR will not be populated in table ESKN.  We are unable to 'complete business' our maintenance and production orders using batch processing because of performance.
    We use Oracle database, which uses full table scan in this situation.  But Secondary index (MANDT and AUFNR) is of no value anyway, we have about 12 million records with client and blank AUFNR field.
    Our solution is a combination of a modification and a new index.  OSS pilot note "1532483 - Performance of RKKBABS0 CHECK_ENTRYSHEET when reading ESKN" is a modification which introduces code improvements especially if running in background and closing several orders.  Because we only have one client, we also created a new index consisting only of AUFNR.  Oracle will not add a row to the secondary index of all fields of the index are null, making our new index very small. We then udpated Oracle stats to ensure Oracle would choose our new index.
    We can now 'complete business' a single order online in under a minute, and the batch program runs much more efficiently.
    This is not a perfect solution, but it has been a useful workaround for us.  I hope this is useful to you.

  • Post implementation COPA Issue - Variances not setteled for process orders

    Hi Experts,
    The client implemented COPA in the FY 2011. There were many process orders existing in the system prior to implementation of COPA. Now the client trying to archive the old process order and trying to set deletion flag  and system throwing error message u2018variances were not calculated fullyu2019.
    But client saying orders were settled and no variances existing prior to COPA implementation.
    My queries are:
    1. The orders are created prior to COPA Implementation and they were settled as well long back.  After COPA implementation why system calculating variances once again.
    2. How can I check whether the variances got settled for the process order?  Please give me the report or transaction code?
    3. Can I settle the variances to COPA Transfer structure now for the orders which were created before COPA Implementation and what will be the impact?
    Regards
    Sri laxmi

    Hi Sri,
    It should be settle the process orders before COPA implementations and find below my answers point by point.
    1.System will not calculate again variance, once you settle the process orders, you can close the orders, so it will improve the system efficiency and system will those orders in future to calculate the variances.
    2.are u try to close the order, if it is settle the order, system will allow to close the order or vice-versa.(T.code-ask PP consultants).
    3.i have mentioned clearly, previous reply,it should not be open orders.
    please let me know any further information is required.
    thanks and regards
    nagaraju sami

  • Issue with Period Control 03 for Depri key MSTL with 6446

    Hi Gurus,
    We want to use mid-month calculation for Dep. key MSTL using period control 03 (i.e. 03/03/03/03). We are also using 6446 as year-depedent Fiscal year (i.e. Jan and Dec 6 weeks other rest 4 weeks).  period control 03 is pro rata at mid period
    period 12 for 2009 start 11/14/09 ends 12/25/09
    period 1 for 2010 start   12/26/09 ends 02/05/10
    as per period control 03 mid month is Dec-04-2009 (setup in OAVH)
    When i acquire an asset on Dec-04-09, the dep start date is Nov-14-09 which is correct and all calculation is correct
    however when i acquire an asset on Dec-06-09 the dep start date is still Nov-14-09 which is not correct infact it should start dep from next month which will be Dec-26-09 (This is 1st period of Fiscal year 2010)
    As mentioned above we are using 6-4-4-6 fiscal year
    When acquiring an asset with mid month concept at year end we are facing problem in depri start date and hence calculation.
    The setting in OAVH for period control 03 are as below
    FV   Period Control     Desc.                             Year   Month   Day    Period    MidMonth
    NL        03              Pro rata at mid period          2009    12        4         12           ticked
    NL        03              Pro rata at mid period          2009    12        25       12           ticked
    NL        03              Pro rata at mid period          2009    12        31        1            ticked
    NL        03              Pro rata at mid period          2010    1          15        1            ticked
    Thanks in advance

    Deepak,
    Your period 12/2009 starts and ends between 11/14/09 ends 12/25/09. Now you acquire an asset on 12/4/2009. As per OAVH, you want depreciation calculation start mid-period. Then how is depreciation start date of Nov 14, 2009 for this case?
    Then you acquire an asset on Dec6, 2009. This, as per OAVH, falls into period 12/2009. Then why should the calculation start from period 1/2010 for this case?
    Thanks,
    Asheesh

  • Stop Depreciation for particular assets for a period Temporarly

    Hi Friends
    I Need to Run the depreciation for october, but my requirement is , i dont want depreciation to be calculated for few assets for this period october as these asses were transfered to other cost centers, i need to stop depreciation to be calculated in this depreciation run and run it latter for the same period.
    Is there a way to do this.
    Thanks in advance
    Javeed
    Moderator: Please, search SDN

    Hi....
    As per your issue
    1. Use shut down tick mark in the respective assets masters in AS02
    2. Block respective assets masters for temporary purpose
    3. And change the Depreciation keys to 0000
    Once run the depreciation for October and replace all the settings.
    I hope it will helps you.
    Regards
    vamsi

  • Net Book Value calculation Issue Manual Legacy Data Transfer

    Dear All
    I want to Upload balance of old fixed Asset in newly configure System that are managed manually in previous year, I want to Post Their previous Current Written Down Value and Current Accumulated Depreciation when i go via IMG Create Legacy Data Transfer and enter,
    Take Over Value            of assets  I entered for example
    Accusation Value  100,000
    Accumulated ordinary depreciation (Old depreciation in Previous Years) RS.10,000
    Net book Value Rs.110,000
    and system Calculate the Depreciation on 110,000 as WDV 10%  that is 11,000
    My requirement is that it will Calculate it as  100000-10000
    Depreciation should be calculated at a 90000 @ 10% WDV that is 9000
    Please suggest me, how i can do.
    or other path or T.code where i can do.
    i am new please explain in detail.
    Regard
    Khalid mahmood

    Dear Atif and AP
    Issue is not with Depreciation key it is working well according to my requirement but the issue is that base value that the system use is wrong.
    i want that the system calculate depreciation at   Cumulative Acquisition value (Purchase /capitalize/ cost price) less  Accumulated Depreciation
    is equals to Written Down Value.
    I want that system use WDV as a base in each year after deducting year depreciation  or  (Acqusition cost - Accumulated depreciation).
    I post a new asset and assign depreciation key it working well as required.
    But i going to post Old asset for example Rs.100000 in year 2006. its Accumulated depreciation is suppose Rs.30000 in Year end 2011.
    i want to post that asset in year 2012 as 100000-30000  and WDV IS Rs.70000 ; 
    i want that it will use 70000  as a base in the coming year to calculate depreciation.
    My response is 100000+30000 and use 130000 as base to calculate the ordinary depreciation for the next year.
    Now Please read the first thread again and guide me according to my scenario.
    or tell me how i post the old asset value and their depreciation.
    Regard
    Khalid Mahmood

  • Value of inventory after Goods Issue, before Goods Receipt for open order

    Dear Experts,
    Raw materials R72 and R82 are required to produce Semifinished Product S10.
    Semifinished product S10 is required to produce Fnished product F20
    On 10th August 2011, I created and release a Process Order for material S10 copying component materials R72 and R82.. Goods issue for component materials R72 and R82 were done for this process order using tcode MIGO (mvt type 261).
    It  takes four to five days to properly blend components R72 and R82 to obtain S10.
    It means Goods Receipt for this process order will be done on 14th or 15th August when this blending has been completed.
    Management suddenly issues a directive that stock take should be carried out in the plant on the 12th August 2011, and my process order is still open and cannot be closed ( or goods receipt cannot be done)  because blending is yet to be completed.
    Please how do I take care of this scenario/situation since Goods Issue has been done already?
    How will the Accountants see or get the correct value of inventory?

    When I run WIP Calculation for my Process Order, what will be the effect ? I mean what accouts are updated by WIP Calculation within a period (not across a perion or  at period end)?
    GI values issued to the Process order will come into WIP GL .( Since your client want to know the stock take should be carried out in the plant on the 12th August 2011- we are doing WIP calculation)
    > After  this WIP Calculation is run,  and say about 2days later, Goods Receipt for this process order is to be posted, what steps am I suppose to carry out?
    After GR Made, Run a WIP calculation again for the order so that The WIP from the GL account will get reduced ,now WIP= (GI value + confirmation ) -(GR Value),
    Check in DEV system before doing in PRD,
    On Month end, do the variance calculation and do the settlement

  • How can i shut down depreciation for an Asset for few days??

    Hi Friends,
    How can i shut down depreciation of a particular Asset for few days say 5 days??
    I have done the necessary changes in Time dependent tab like checked asset shut down and in AFAMA i changed the shut dawn as YES.
    The only problem i am in is "how can i maintain the 5 days like from 10.05.2009 to 14.05.2009
    If i go to MORE INTERVALS then only From date is available over there.There is no To date opition.
    How can i maintain To Date??
    Plz suggest.
    Regards,
    Sumaya

    Hi
    Go for shut down approach. But your depreciation key should allow shut down. check your depreciation key configuration
    In asset master data
    Go to time dependent terms,
    Define the appropriate time interval for shutdown
    Set the shutdown indicator
    The system does not calculate the depreciation for the shut down period,
    The useful life of the asset will increase to the extent of shutdown period.
    When you remove the shutdown indicator, system automatically resumes the depreciation calculation.
    Regards
    Tanmoy

  • PR delivery date calculation for TAB orders

    Hi All,
    1) The PR which is created via TAB item in the sales order - the delivery date for such PRs is equal to the delivery date in the sales order. This is happening only for TAB orders without BOM explosion in the sales order.
    2)In BOM exploded sales order - (meaning the parent item is entered in the sales order with item category TAP. ) -The sub components of this parent item is auto populate in the sales order. If any one of these sub components have item category TAB...then it creates a PR which has the delivery date equal to the "Planned delivery time" in the info record.
    Can anybody please explain why the PR default delivery date is different in the two cases explained above. Both are TAB items...the only difference is one is a stand alone TAB item and the other is via BOM explosion.
    Your help will be highly appreciated.
    Thanks
    Ashok

    Hi Sasy
    Delivery date calculation for MRP generated PR will follow the below settings
    1) Purchasing processing time in the Plant parameters in the customization and is calculated based on the Factory calendar days.
    2) Planned delivery time maintained in PIR and is calculated based on Normal calendar days
    3)GR Processing time Maintained in Material master record, calculated based on Factory calender.
    If you add up in the following sequence then you will get the exact delivery date.
    Purchasing Processing time + Plnd delivery time + GR processing time.
    Hope it will solve your  issue.
    Thanks / Karthik

  • Colour issues when Producing iBA assets from InDesign

    Hi there
    This is just a heads-up for those that produce any assets for eventual use in iBooks Author in InDesign. Watch out for colour matching issues.  The RGB values in inDesign do not often produce the same colours in iBA. Why would someone be using InDesign in the first place? Well you might use InDesign to work out page layouts, or to produce the TOC backgrounds (so that Chapters can feature individual colour ways), or for creating images with text for use in HTML widgets. It's just quicker/easier at handling text and managing styles.
    Anyway - here's the issue. Try this: Create an colour with a specific RGB value in InDesign, export it as a jpg, and import it to iBA. Then create a shape within iBA with exactly the same RGB values. The two colours may differ. We have tried selecting different colour management options in InDesign, and even turning it off completely, but the colours still differ.
    We created an image in Photoshop with a certain RGB value. That looked fine in iBA, and had kept the correct RGB value (using the colour sample tool to test it). We took a .jpg exported from InDesign (with the same RGB value within InDesign), opened it in Photoshop, and although the two images in Photoshop reported the same RGB value, they were clearly different to look at. When the InDesign image was brought into iBA, it's colour sample tool reported a differing set of RGB values.
    So, if you have some assets where you need a reliable colour match you have a few choices:
    1) Don't use InDesign - use Illustrator or Photoshop
    2) If you must use InDesign - then export the assets as RGB PDFs with no colour management, open in Photoshop and export to jpg from there.
    3) If you're using colour ways, create the image from InDesign, but don't use the same RGB values that InDesign has to create elements in iBA. Sample the image using the colour sampler, and use the resulting RGB values to create your items.
    Like I say - it's not really an Apple issue, but those who use iBA with InDesign are better off pre warned, so I thought that I would be better off posting it here than in Adobe's forums.

    Publisher can create CMYK files, you go save as, then choose PDF, then click on Options or something and change it to Commercial Press.  This is Microsoft's version of the Press Quality export setting in Indesign, with it converting all images to CMYK, downsampling to 300dpi etc.
    NEVER EVER EVER USE THIS WAY TO CREATE PRINT FILES FROM PUBLISHER!!!!
    Have I made myself clear? 
    The CMYK images created this way have a terrible sort of under colour removal.  Think for example of a dark blue garment, where most of the garment is  something like 100C 60M 0Y 60K, but in the shadows it goes darker than  that, up to 100K.  Well in that area of 95 to 100% black in the image Publisher will convert it to only that, with no other colours underneath it.  But the areas surrounding it will be rich black.  This won't show up on digital proofs, even hi res ripped inkjets, and won't even show up on a press pass unless the machine has drying, because it is not until the ink dries off that you notice these weird photos....  Anyway what I do has already been said above.
    1. Refry it first.
    2. You should be able to sync your settings.
    3. No, it just thinks it can.
    In this case I actually had the Publisher files as well, so I printed them to PDF using Acrobat, and the images were fine.  Problem is the client had gotten used to text and other elements the way they looked using Publishers crappy CMYK export so I had to combine that with the proper images by cropping in Indesign..
    Here's examples of what happens:
    CMY channels only, BAD!
    CMY channels only, GOOD!

  • Essbase Calculation issues from version 6 to 7

    Hi does any one know are there any calculation issue with essbase BSO cacl engine from version 6 to 7. Cube which calculates fine on 6 verison never ends to finish on version 7, does any one have ideas about number of max generations and levels possible under dense dimension in verison 7

    Not sure if it was a 6.5.1 to 7.1.5 issue, or if it was that 6.5.1 was on Win2K and 7.1.5 is on Solaris 5.9. But, I had one calc script that for total company on Windows and 6.5.1 ran in about 2 1/2 minutes, but same calc on same outline on Solaris and 7.1.5 ran in over 2 hours.
    Hyp support was able to offer some suggestions on Unix settings, and some undocumented script features that got the runtime down to around 10 minutes, but didn't get any farther than that.
    Luckily for me there also was some functions that were not resolving correctly in the script so I had to take the functions out (turned a 100 line script into an 800 line script), and wouldn't you know it that fixed the slow run time as well.
    Message was edited by:
    RobertR

  • Issue in enabling dbx rtc for memory leak analysis

    Any help on this is highly appreciated ...
    Following is the issue:
    pass@odcsmoke1> dbx -C xfer
    changes (topic)
    The major new features of this release relative to 6.1 are:
    o The dbx environment variable "rtc_use_traps" has been removed.
    Traps are used automatically as long as the hardware is UltraSparc.
    o There is now some basic support for looking at core files from
    different versions of Solaris. See `help core mismatch' for details.
    o Stepping to a specific function support. See `help step to' for details.
    o Fortran intrinsics support on Intel has been removed.
    o Dbx automatically translates some old dbxenv variables to their new
    names. See `help dbxenv' for details.
    o The default command-line editing mode is now emacs. See "How do I enable
    command-line editing?" in FAQ for details (`help FAQ').
    o Two new collector commands have been implemented: `pause' and `resume'.
    See `help collector' for details.
    o The collector enable_once command has been removed.
    o The collector store command has been extended to include experiment groups.
    See also `help changes61'
    To suppress this message, add the following line to your .dbxrc file:
    dbxenv suppress_startup_message 6.2
    Reading xfer
    Reading ld.so.1
    Reading librtc.so
    Reading libm.so.1
    Reading libnsl.so.1
    Reading libresolv.so.2
    Reading libc.so.1
    Reading libgen.so.1
    Reading libdl.so.1
    Reading librt.so.1
    Reading libpthread.so.1
    Reading libthread.so.1
    Reading libsocket.so.1
    Reading libxfermain.so
    Reading libpass.so
    Reading libarsapic.so
    Reading libarsrecordc.so
    Reading libiaconfig.so
    Reading libarsconfig.so
    Reading libclientsock.so
    Reading libaio.so.1
    Reading libmd5.so.1
    detected a multithreaded program
    (/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) check -all
    access checking - ON
    memuse checking - ON
    (/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) check -leaks
    leaks checking - ON
    (/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) stop in main
    More than one identifier 'main'.
    Select one of the following:
    0) Cancel
    1) `xfer`xfer.c`main
    2) `libxfermain.so`xfer.c`main
    a) All
    1(2) stop in main
    -d ecpix.conf -g y -P n <
    Running: xfer -f rbi_1.cfg -d ecpix.conf -g y -P n
    (process id 33)
    dbx: warning: A threaded program is not initializing libthread first!
    */opt/SUNWspro/WS6U2/lib/dbxruntime/librtc.so came before it.*
    dbx: warning: A threaded program is not initializing libthread first!
    /lib/libc.so.1 came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /lib/libnsl.so.1 came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /lib/libsocket.so.1 came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /lib/libresolv.so.2 came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /lib/libgen.so.1 came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /lib/libaio.so.1 came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /lib/libmd5.so.1 came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /lib/librt.so.1 came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /usr/pass/lib/sparc-sun-solaris2.8/libpass.so came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /usr/pass/lib/sparc-sun-solaris2.8/libclientsock.so came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /usr/pass/lib/sparc-sun-solaris2.8/libarsrecordc.so came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /usr/pass/lib/sparc-sun-solaris2.8/libiaconfig.so came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /usr/pass/lib/sparc-sun-solaris2.8/libarsapic.so came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /usr/pass/lib/sparc-sun-solaris2.8/libarsconfig.so came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /usr/pass/lib/sparc-sun-solaris2.8/libxfermain.so came before it.
    dbx: warning: A threaded program is not initializing libthread first!
    /usr/pass/etc/xfer came before it.
    stopped in main at line 461 in file "xfer.c"
    461 CHAR *Etc_Dir="/usr/pass/etc/";
    (/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) showmemuse
    dbx: warning: check -leaks/-memuse must be issued before the run command for showmemuse to be used(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx)
    pass@odcsmoke1> uname -a
    SunOS odcsmoke1 5.10 Generic_118822-30 sun4u sparc SUNW,Sun-Fire-V250

    Andrew is right, dbx 6.2 is very old; technically, it is supported on Solaris 10, but as you can see for yourself, there are issues to be fixed.
    Only limited support is available for this version, so if you have a support contract, please report this problem through the support channel. Better yet (and in case if you don't have support contract), upgrade to a more modern version. Since you are on Solaris 10, I'd recommend latest version of Sun Studio - 12 update 1; it is free for all uses and can be downloaded from here: http://developers.sun.com/sunstudio/downloads/.
    Should you have any questions about the upgrade, please post it here.

  • Regarding Goods Reversal and Goods Issue process for Production orders

    Hi,
    I have a issue regarding <b>Goods Reversal</b> and <b>Goods Issue</b> process for <b>Production orders</b>.
    Actually I am having a Z - Function Module in that i am passing <b>production order number other details</b> to
    make the <b>Goods Reversal</b> happen.
    The code for the above is as below:
                       i_mvtit-material      = wa_mdfa-matnr.
                        i_mvtit-plant         = i_resb-werks.
                        i_mvtit-spec_stock    = 'Q'.          "New
                        i_mvtit-stge_loc      = 'ZWIP'.
                        i_mvtit-stge_type     = i_resb-lgtyp. "New
                        i_mvtit-batch         = i_resb-charg. "New
                        i_mvtit-orderid       = i_resb-aufnr.
                        i_mvtit-spec_stock    = i_resb-sobkz.
                        i_mvtit-entry_qnt     = i_resb-enmng.
                        i_mvtit-entry_uom     = i_resb-erfme.
                        i_mvtit-entry_uom_iso = i_resb-meins. "New
                        i_mvtit-wbs_elem      = v_frwbs.
                        i_mvtit-move_type     = '262'.
                        i_mvtit-xstob         = 'X'.
                        i_mvtit-gr_rcpt       = i_resb-aufnr. "New
                        i_mvtit-reserv_no     = i_resb-rsnum.
                        i_mvtit-res_item      = i_resb-rspos.
                        APPEND i_mvtit.
    * HEADER ELEMENTS
                        k_gmvt_code-gm_code    = '03'.
                        k_gmvt_head-pstng_date = sy-datum.
                        k_gmvt_head-doc_date   = sy-datum.
    * CREATE GOODS MOVEMENTS
                        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
                          EXPORTING
                            goodsmvt_header = k_gmvt_head
                            goodsmvt_code   = k_gmvt_code
                          TABLES
                            goodsmvt_item   = i_mvtit
                            return          = i_return.
    The Above code does the <b>Goods Reversal</b> but then i will update one Z Table with fields like
    Production Order Number[AUFNR], Number of Reservation[RSNUM], Item Number of Reservation [RSPOS], Material Number [MATNR], Requirement Quantity [BDMNG], WBS element[PSPNR] etc. If Above BAPI runs sucessfully.
    That is happening correctly.
    But Then actual issue is i have do <b>Goods Issue</b> for those Z-Table records.
    There i will give Production order Number's & Storage Location in Selection-Criteria.
    Then i need to do <b>Goods Issue</b> for that order.
    The code i had written as follows.
    * POPULATE VALUES FOR BAPI CALL
            i_mvtit-material      = i_zpsi7603_01-matnr.
            i_mvtit-plant         = i_resb-werks.
            i_mvtit-spec_stock    = 'Q'.                "New
            i_mvtit-stge_loc      = p_sloc.
            i_mvtit-stge_type     = i_resb-lgtyp.       "New
            i_mvtit-batch         = i_resb-charg.
            i_mvtit-orderid       = i_resb-aufnr.
            i_mvtit-spec_stock    = i_resb-sobkz.
            i_mvtit-entry_qnt     = i_resb-enmng.
            i_mvtit-entry_uom     = i_resb-erfme.
            i_mvtit-entry_uom_iso = i_resb-meins.       "New
            i_mvtit-wbs_elem      = v_frwbs.
            i_mvtit-move_type     = c_261.
            i_mvtit-mvt_ind       = 'F'.                "New
            i_mvtit-xstob         = c_x.
            i_mvtit-gr_rcpt       = i_resb-aufnr.       "New
            i_mvtit-reserv_no     = i_resb-rsnum.
            i_mvtit-res_item      = i_resb-rspos.
            APPEND i_mvtit.
    * HEADER ELEMENTS
            k_gmvt_code-gm_code    = c_03.
            k_gmvt_head-pstng_date = sy-datum.
            k_gmvt_head-doc_date   = sy-datum.
    * CREATE GOODS MOVEMENTS
            CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
              EXPORTING
                goodsmvt_header = k_gmvt_head
                goodsmvt_code   = k_gmvt_code
              TABLES
                goodsmvt_item   = i_mvtit
                return          = i_return.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
              EXPORTING
                wait = c_x.
            READ TABLE i_return INDEX 1.
            IF i_return-type EQ c_s.
              DELETE FROM zpsi7603_01 WHERE aufnr = i_resb-aufnr AND
                                            rsnum = i_resb-rsnum AND
                                            rspos = i_resb-rspos.
            ENDIF.
    If i run above code for <b>Goods Issue</b> it is giving error can anybody tell me what changes i need to do to make it work.
    The <b>Error Message</b> i am getting is as below:
    <b>Qty and / or "delivery completed" ind. or final issue ind. are missing</b>
    <b>Error Number for the above is : 264.</b>
    Can anybody solve my issue.
    Any help will be appreciated.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi,
    Thanks boss.
    It is working now correctly.
    The issue is the  i_mvtit-XSTOB should be equal space in case of Goods issue while incase of Reversal it should be equal to X.
    Thanks for ur efforts.
    I had awarded you points.
    Thanks a lot.
    Thanks & Regards,
    Rayeez.

Maybe you are looking for