Chmod issues for deletion prevention

Hello all,
Been trying to lock down a folder on a remote machine so that it can only be read/write for all users, but deletion and renaming is forbidden aside from root user. To do this I have SSH into the machine and used the command "chmod 755 <name of folder>". Unfortunately this only works to stop deletion through the terminal but not for manipulation on the OS X Desktop GUI. It can still be moved to the trash and deleted thereafter.
Is there are workaround for this because the options given in the "get info" menu for files and folders is very limiting.
Regards
Jamie

The best tip i can give you is to use the command: man chmod
and read headline "modes". Everything you can do with chmod is described in man pages for chmod

Similar Messages

  • WRT610N NAS NTFS issue for deleting directory

    Dear all,
    I got one issue with the WRT610N and the NAS feature. This is really a nightmare. I have been looking everywhere, I found people with the same issue but never find any solution.
    I am running Vista on a laptop connected to the WRT610N via the 802.11n link but the issue is not here.
    I have a hard drive of 40GB (but same issue exist with another drive of 500GB) plug to the USB port. I can read all file without any issue. I can also add file without any problem. The problem come when I try to delete some directory. In this case I got the an 0x8007045D Error indicating that I need to have the right permission for doing this. However I do not have any issue in deleting files. In case I delete all files from a directory I can't delete the directory without the error. I map the drive to the windows explorer with the admin account which give read and write access.
     Without this fix the NAS feature can only be used in read only!
    Could you let me know if you had the same issue? If you solve this could you post the way to fix it? or maybe am i doing something wrong?
    Your help will be very appreciatated.
    Regards,
    PS: I am also running the latest firmware (v1.00.02 B10). The problem was also present with previous software.
    (Mod note: Edited post for guideline compliance. Thanks!)
    Message Edited by JOHNDOE_06 on 03-22-2009 10:28 AM

    I have been in contact with the on-line linksys support last week-end. They said that I should have a feedback of the issue by e-mail. I received the e-mail today from lynksys UK support. They asked for more details of the issue and then I just provided them more details of the issue including screenshots. I hope this will be fixed otherwise the NAS feature is just useless for me. I use the NAS for automatic backup which synchronizes files and therefore delete directories when they have been delated in the source. I got similar issue when using iTunes from MP3 database. I guess that the application try sometime to create directories when adding photo album to MP3 database. So basically a non reliable NAS is just useless. I found the WRT610N very attractive in terms of features, i.e. everything I need in single box but very disappointed of the various issue I had on the router regarding the DLNA issue, at least with the previous firmware.
    Having the hard drive in FAT32 instead of NTFS is also not a good option. It took 8 hours to copy about 400 GB of data on my western digital 2.5" (500 GB drive) when the drive is format as NTFS and attached to my PC. When using  FAT32 it took 5 to 5 days! FAT32 is very old and not reliable format (no journal file). NTFS is said as supported in other linksys product so I guess that it shoud be possible to have it on this prodcut. It sure that for a long time NTFS support on linux was not always easy for write access but I think that things have changed since that time. In case NTFS would not be possible they should provide other reliable and fast drive format such as Linux EXT2/EXT3 formant. However, I tried those format and it do not work. That is quite strange since this is a native linux format and the router is probably running on linux system.
    For your information, I also had some disk corruption when I did some delation of files/directory with a FAT32 drive. It was less reccurent than NTFS but still not reliable. However I did not try the latest firmware with a FAT32 drive.
    I will let you know when I will have feedback. If anybody has similar issue please just mention it here, at least we and linksys can be aware of the situation. Linksys should also take this opportunity to listen to their customers and enhance their product. I really believe that this product has been put on the market without the proper validation and I am suprise that it takes so many months to have updated firmwares.We can understand that bug could exist, but they should fixe it.

  • Posting period issue while deleting a confirmation posted for a limit PO

    Hi ..
    I am facing an issue whiel deleting a confirmation posted for a limit PO.
    Confirmation was posted for a limit PO in SRM and it created a service entry sheet in SAP. If I deleted that confirmation in the same posting period, then it is getting deleted. No issue here.
    But if I deleted that confirmation in the next posting period then the reversal document is going to error in process. RZ20 is showing the error "Positng only possible in periods 2012/2 and 2012/3".
    Posting date of reversal document is current date only and the backend posting period is 2012/3, but still it is failing with this posting period error.
    If I tried to delete a confirmation posted for a normal PO then I could able to delete it even in next posting period by just changing the posting date.
    Why this posting occurs while deleting the limit confirmation, even through the posting date is falls within the backenn posting periiod? Is it like, SAP system is trying to delete the service entry sheet in original posting period? Kindly help.
    I am in SRM 5.0 (server 5.5) SP12.
    Thanks,
    Arun

    OK.
    Well, if the variable is not used in any interval selection, then I would say "something happened to it".
    I would make a copy of the query and run it to check if I get the same problem with period 12.
       -> If not, something is wrong in the original query (you can proceed as below, if changes to original are permitted).
    If so, then try removing the variable completely from the query and hardcode restriction to 12.
       -> If problem still persists, I would have to do some thinking.
    If problem is gone, then add the variable again. Check.
       -> If problem is back, then the variable "is sick". Only quick thing to do, is to build an identical variable and use that one.
    If problem also happens with the new variable, then it's time to share this experience with someone else and consider raising an OSS.
    Good luck!
    Jacob
    P.S: what fisc year variant are you using?
    Edited by: Jacob Jansen on Jan 25, 2010 8:36 PM

  • Netflix says"Video Playback Error  Your device has a hardware issue, which is preventing Premium Video Playback. Contact Apple Support for more information. Error Code: S7363-1261-FFFFD000" What is wrong?

    My mac is working fine. No noticeable problems. Then went onto netflix everything was working apart from the watching of the film and it popped up
    "Video Playback Error  Your device has a hardware issue, which is preventing Premium Video Playback. Contact Apple Support for more information. Error Code: S7363-1261-FFFFD000".
    Not sure what is wrong but would appreciate any help

    Netflix not working with yosemite
    Re: I think there is a hardware issue with my computer and i am not sure what to do it won't let me play netflix
    Netflix streaming gives Error Code: S7363-1261-FFFFD000

  • Set Deletion Flag for the Preventive Maintenance Order

    Hi,
    I need to set the Deletion flag for the Service Order. Deletion flag available in the screen disabled. Please suggest.
    also I need know under which I shall be able to set such deletions.
    Thank you,
    Vijaya

    Hi Vijaya,
    Pls refer the help.sap.com related to deletion flag for PM/CS Orders. Some of the check criteria mentioned below for your reference.
    Before a deletion flag is set, the following requirements must be met:
    u2022 Any manually added purchase requisitions or purchase orders for the order must be deleted first.
    The balance of the actual costs for the order must be zero. This means that the deletion flag can only be activated if the order has already been settled, or if no actual costs were incurred for the order.
    u2022 Commitments relating to the order must be deleted.
    u2022 Unprocessed and incorrect goods movements must be processed.
    When the deletion flag is activated, all remaining capacity requirements are deleted. A deletion indicator is also set in any open material reservations.
    An order that has been flagged for deletion cannot be changed. However, you can cancel the deletion flag.
    Thanks
    Siva
    Edited by: sivakumar kasi on Sep 3, 2009 12:09 PM
    Pls set the Order as Techically completed (TECO) and check the deletion flag set.
    Thanks
    Siva

  • Having issue with PDEContentRemoveElem() for deleting PDEElements

    Hi,
    I am facing some problem in my code for deleting the PDEElements from the input pdf file. I used the
    method PDEContentRemoveElem() and still I am seeing no elements are getting deleted from the pdf
    file.  I gave the full code I have written for the element deletion.  Please point me if there is something
    wrong in my code..  Many thanks for you for going through my code...
    void DeleteElement(PDEElement pdeElement)
          PDEContent  content =  PDEContainerGetContent(reinterpret_cast<PDEContainer>(pdeElement));
          ASInt32  numElem =  PDEContentGetNumElems(content);
         for  (ASInt32  i = 0; i < numElem; i++)
              PDEElement element =  PDEContentGetElem(content, i);
              if  (PDEObjectGetType ((PDEObject)pdeElement) ==  kPDEContainer) 
                          DeleteElement (element);
              else
                        PDEContentRemoveElem(content,i);
    void  MAINFuntionForElementDeletion ()
          ASPathName aoPDFPathName = NULL;
          ASText pathText = ASTextNew();
          ASFileSys fileSys = NULL;
          pathText = ASTextFromScriptText("E:\\Temp\\INPUT.pdf", kASRomanScript);
          fileSys = ASGetDefaultFileSysForPath(ASAtomFromString("ASTextPath"), pathText);
          aoPDFPathName = ASFileSysCreatePathName (fileSys, ASAtomFromString("ASTextPath"), pathText, 0);
          AVDoc avDoc = AVDocOpenFromFile(aoPDFPathName,fileSys,pathText);
    DURING
          if(avDoc!=NULL)
                PDDoc pdDoc = AVDocGetPDDoc (avDoc);
                ASInt32  j, numElems;
                int numPages = PDDocGetNumPages (pdDoc);
                PDEContent aoPDEContent = NULL;
                PDPage aoPage = NULL;
                PDEElement  pdeElement;
                aoPage = PDDocAcquirePage(pdDoc, 0);
                aoPDEContent = PDPageAcquirePDEContent(aoPage, 0);
                numElems =  PDEContentGetNumElems(aoPDEContent);
                for  (j = 0; j < numElems; j++)
                     pdeElement =  PDEContentGetElem(aoPDEContent, j);
                      if  (PDEObjectGetType ((PDEObject)pdeElement) ==  kPDEContainer)
                                 DeleteElement(pdeElement);
                      else
                             PDEContentRemoveElem(aoPDEContent,j);
                // Commit the changes to the PDEContent.
                PDPageSetPDEContent(aoPage,  gExtensionID);
                PDPageReleasePDEContent(aoPage, 0);
        HANDLER
               // some code for logging
        END_HANDLER

    Always delete objects in reverse iteration.   Standard programming
    practice.

  • Mark vendor for deletion

    I have one doubt :  When we mark a 'vendor' for deletion, will it block transactions to be posted for this vendor  such as PO, PR, MIRO, payment, etc ?

    You should block an account for posting before you mark it for deletion. The only effect this deletion indicator has is to cause a warning to be issued every time you subsequently try to post to this account.
    When you block a vendor master record for posting, you prevent the system from posting to this account.
    Block a vendor account from posting as follows:
        Choose Master records ® Block/unblock.
        The system displays the initial screen.
        Enter the vendor's account number and, if required, the company code.
        If you do not enter a company code, you can only block posting for this vendor in all company codes.
        Select ENTER .
        The system displays the entry screen for the block indicators.
        Select for blocking either all company codes or the specified company code by clicking the appropriate field.
        Save your entries by choosing Vendor ® Save.
    The system displays the initial screen and a message that confirms that the data has been saved.
    Please refer http://help.sap.com/saphelp_45b/helpdata/en/01/a9b65c455711d182b40000e829fbfe/frameset.htm.
    Do test and let me know if this suffices.
    Regards
    Shailesh
    Edited by: Shailesh Rajan on Jul 6, 2011 7:17 PM

  • Profit Center - Mark For Deletion

    Hi all,
    I created one profit center and i have not used this profit center in any postings.But When i am using t code KE54 to delete profit centers, iam getting an error message in the status bar as
    "A profit center scenario is active in new General Ledger Accounting"...
    I want to set the deletion mark for this Profit center..
    Can anyone help me on this issue.

    Hi,
    Deleting Profit Centers (Individual Processing)
    You can delete a profit center in the Profit Center Accounting application menu, under Master Data u2192 Profit Center u2192 Individual Processing u2192 Delete (KE54).
    Prerequisites
    Before deleting the profit center, the system carries out a number of checks.
    The profit center cannot be deleted if transaction data has already been posted to it and/or the
    profit center is assigned to the following objects:
    • Cost centers
    • Materials
    • Business processes
    Assignments to other object types, however, do not prevent you from deleting the profit center.
    Only delete profit centers which you have never used productively, or have not used for a number of business periods. Should you decide to remove a profit center from
    the system which has already been used operatively, as you no longer need it, use the transaction Change profit center and restrict the future validity period of the profit center.
    Procedure
    1. Choose to mark the profit center for deletion.
    The system gives the profit center the status deletion inactive. The active status of the profit center, which can receive postings, is not yet deleted however. You can
    switch between the active and inactive status of the profit center by choosing .
    2. Should you decide to reverse the previous step, choose Edit u2192 Remove Inactive Version.
    3. The system does not delete the profit center entirely until you active the deletion by choosing Activate. The system now carries out the checks mentioned above. However, you can also carry out these checks before activation, by choosing "check".

  • Item Conversion Template Issue for Oracle Migration - Copy functionality

    Hi,
    I am working on Migration project which is from Radius ERP to Oracle 11.5.10.2.
    Currently working on Item Conversion. This Item conversion having the fileds like (ORGANIZATION_ID,SEGMENT1,DESCRIPTION,ITEM_TYPE,COST_OF_SALES_ACCOUNT,SALES_ACCOUNT,ATTRIBUTE_CATEGORY,ATTRIBUTE1,ATTRIBUTE2,ATTRIBUTE3,ATTRIBUTE4,ATTRIBUTE5,ATTRIBUTE6,ATTRIBUTE7,ATTRIBUTE8,ATTRIBUTE9,ATTRIBUTE10,ATTRIBUTE11,ATTRIBUTE12,ATTRIBUTE13,ATTRIBUTE14,ATTRIBUTE15,GLOBAL_ATTRIBUTE10,REF_INVENTORY_ITEM_ID,REF_ORGANIZATION_ID).
    I have validated those fields and loaded into interfacing to Oracle Successfully in the master Org and Validated through Frontend.
    when I close the form, I will be receiving the below warning message and telling that Template id needs to be assign to the item before assigning item to the Org. The message is showing like
    "*You have not applied a template to this item, please apply a template before assigning this item to an ORG.*"
    Please find the below package which I wrote for this conversion requirement.
    The customer is saying like need to achieve the copy functionality based on the "REF_INVENTORY_ITEM_ID and REF_ORGANIZATION_ID".
    The Issue is am not able to handle the copy functionality and getting above message. kindly refer the package and suggest me where i am doing the mistake. Its high priority issue for me.
    Thanks in advance.
    CREATE OR REPLACE PACKAGE APPS.xxxx_inv_items_conv_pkg
    AS
    PROCEDURE xxx_item_conversion_proc (
    errbuf OUT VARCHAR2,
    retcode OUT VARCHAR2,
    p_org_id IN NUMBER,
    -- p_commit_point IN NUMBER,
    p_load_code IN VARCHAR2
    IS
    <<Local Variables Declaration>> <<For space limit deleted these variables>>
    CURSOR cur_item_master (pc_org_code VARCHAR2)
    IS
    SELECT itemstg.*
    FROM xxx_inv_system_items_stg itemstg
    WHERE itemstg.organization_id = pc_org_code
    AND itemstg.status_flag IS NULL;
    CURSOR cur_item_master_dup (pc_org_code VARCHAR2)
    IS
    SELECT itemstg.segment1, itemstg.organization_id
    FROM xxx_inv_system_items_stg itemstg
    WHERE itemstg.ROWID <
    (SELECT MAX (b.ROWID)
    FROM xxx_inv_system_items_stg b
    WHERE b.segment1 = itemstg.segment1
    AND b.organization_id = itemstg.organization_id
    AND b.organization_id = pc_org_code
    AND itemstg.status_flag IS NULL
    AND b.status_flag IS NULL);
    BEGIN
    IF p_load_code = 'Insert'
    THEN
    l_transaction_type := 'CREATE'; -- Default Value in I/F Table
    ELSIF p_load_code = 'Update'
    THEN
    l_transaction_type := 'UPDATE'; -- Default Value in I/F Table
    END IF;
    DBMS_OUTPUT.put_line ( 'Validation Starts At :'
    || TO_CHAR (SYSDATE, 'DD-MON-YYYY HH24:MI:SS')
    --Checking for Duplicate Records items
    BEGIN
    UPDATE xxx_inv_system_items_stg a
    SET a.status_flag = 'E',
    a.error_message = 'Duplicate Record'
    WHERE a.ROWID >
    ANY (SELECT b.ROWID
    FROM xxx_inv_system_items_stg b
    WHERE a.segment1 = b.segment1
    AND a.organization_id = b.organization_id)
    AND a.organization_id = p_org_id
    AND a.status_flag IS NULL;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line ('Exception in updating duplicates'
    || SQLERRM
    END;
    DBMS_OUTPUT.put_line ('CheckPoint: Duplicate Record');
    BEGIN
    SELECT organization_id
    INTO l_organization_id
    FROM org_organization_definitions
    WHERE organization_id = p_org_id;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    DBMS_OUTPUT.PUT_LINE(p_org_id||' Org Does Not Exist');
    -- p_retcode := '2';
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.PUT_LINE('Exception in Getting Org Id'||'Cannot Proceed');
    -- p_retcode := '2';
    END ;
    DBMS_OUTPUT.put_line ('CheckPoint: Orgcode' || l_organization_id);
    /* IF p_retcode = '2'
    THEN
    RETURN;
    END IF;*/
    --Block             : Setting Master and Validation Orgs Flags
    BEGIN
    SELECT DECODE (master_organization_id, l_organization_id, 'Y', 'N'),
    master_organization_id
    INTO l_master_org,
    l_master_org_id
    FROM mtl_parameters
    WHERE organization_id = l_organization_id;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_master_org := 'N';
    l_master_org_id := NULL;
    DBMS_OUTPUT.PUT_LINE(p_org_id||' Org Does Not Exist');
    END ;
    DBMS_OUTPUT.put_line ('master_organization_id');
    SELECT fnd_profile.VALUE ('USER_ID')
    INTO l_user_id
    FROM DUAL;
    -- Block : Set the SET_PROCESS_ID
    l_set_process_id := l_organization_id;
    l_insert_count := 0;
    LOOP
    BEGIN
    SELECT COUNT (segment1)
    INTO l_insert_count
    FROM mtl_system_items_interface
    WHERE set_process_id = l_set_process_id
    AND transaction_type = l_transaction_type
    AND process_flag = 1;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_insert_count := 0;
    END;
    EXIT WHEN l_insert_count = 0;
    l_set_process_id := l_set_process_id + 10;
    END LOOP;
    DBMS_OUTPUT.put_line ('SET PROCESS ID -l_insert_count ' || l_insert_count);
    IF p_load_code = 'Insert'
    THEN
    BEGIN
    FOR recitem_data IN cur_item_master_dup (p_org_id)
    LOOP
    UPDATE xxx_inv_system_items_stg
    SET status_flag = l_processed_flag,
    error_message = l_error_message
    WHERE segment1 = recitem_data.segment1
    AND organization_id = recitem_data.organization_id
    AND status_flag IS NULL;
    COMMIT;
    END LOOP;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line ( 'Update of Duplicates Failed : '
    || SQLCODE
    || '--'
    || SQLERRM
    END ;
    END IF;
    FOR recitem_data IN cur_item_master (p_org_id)
    LOOP
    <<Local Variables Declaration>> <<For space limit deleted these variables>>
    IF p_load_code = 'Update'
    THEN
    l_error_message := 'Update Mode' || l_error_delimiter;
    END IF;
    --l_count := -1;
    BEGIN
    DBMS_OUTPUT.put_line ('CheckPoint: ItemValidationStart');
    SELECT DISTINCT inventory_item_id,
    restrict_subinventories_code,
    restrict_locators_code
    INTO l_inventory_item_id,
    l_restrict_subinventories_code,
    l_restrict_locators_code
    FROM apps.mtl_system_items_b msi
    WHERE msi.organization_id = l_organization_id
    AND msi.segment1 = UPPER (recitem_data.segment1);
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    l_count := 0;
    -- l_processed_flag := 'F';
    DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP' || l_inventory_item_id||'-'||l_processed_flag);
    DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP' || l_inventory_item_id||'-'||recitem_data.ref_inventory_item_id);
    WHEN OTHERS
    THEN
    l_count := -1;
    -- l_processed_flag := 'F';
    DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP' || l_inventory_item_id||'-'||l_processed_flag);
    END ;
    DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP'||recitem_data.ref_inventory_item_id);
    IF l_count = -1
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Exception - Checking Item already Present'
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ('Exception - Checking Item already Present'||l_processed_flag);
    ELSIF (l_count > 0 AND p_load_code = 'Insert')
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Item Already Exists In '
    || p_org_id
    || ' Organization '
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ('Exception - Checking Item already Present1'||l_processed_flag);
    ELSIF (l_count = 0 AND p_load_code = 'Update')
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Item Not Present In '
    || p_org_id
    || ' Organization '
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ('Exception - Checking Item already Present2'||l_processed_flag);
    END IF;
    BEGIN
    SELECT count(*)
    INTO l_seg_count
    FROM apps.mtl_system_items_b msi
    WHERE msi.organization_id = l_organization_id
    AND msi.segment1 = UPPER (recitem_data.segment1);
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    l_seg_count := 0;
    l_processed_flag:='F';
    l_error_message :=
    l_error_message
    || 'Item Not Present In Oracle'
    || p_org_id
    || ' Organization '
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ('inventory_item_id - l_seg_count ' ||l_seg_count||'-'||l_processed_flag );
    WHEN OTHERS
    THEN
    l_seg_count := -1;
    l_processed_flag:='F';
    l_error_message :=
    l_error_message
    || 'Item Not Present In Oracle'
    || p_org_id
    || ' Organization '
    || l_error_delimiter;
    END ;
    IF p_load_code = 'Insert'
    THEN
    IF l_organization_id != l_master_org_id
    THEN
    BEGIN
    SELECT COUNT (1)
    INTO l_org_item_count
    FROM apps.mtl_system_items_b msi
    WHERE msi.organization_id = l_master_org_id
    AND msi.segment1 = UPPER (recitem_data.segment1);
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    l_org_item_count := 0;
    DBMS_OUTPUT.put_line ('l_org_item_count ' ||l_org_item_count||'-'||l_processed_flag );
    WHEN OTHERS
    THEN
    l_org_item_count := -1;
    END ;
    IF l_org_item_count = -1
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Exception - Checking Item in Master '
    || l_error_delimiter;
    ELSIF l_org_item_count = 0
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Item Does Not Exist in Master '
    || l_error_delimiter;
    END IF;
    END IF;
    END IF;
    DBMS_OUTPUT.put_line ( 'CheckPoint: Iteminmasterorg'
    || l_org_item_count
    IF (recitem_data.description IS NULL AND p_load_code = 'Insert')
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message || 'Description is NULL' || l_error_delimiter;
    END IF;
    IF (recitem_data.sales_account IS NOT NULL)
    THEN
    BEGIN
    SELECT code_combination_id
    INTO l_sales_account
    FROM gl_code_combinations_kfv
    WHERE code_combination_id= recitem_data.sales_account;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    -- l_processed_flag := 'F'; --QUESTION
    l_error_message :=
    l_error_message
    || 'Sales Account Not Setup '
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ( 'CheckPoint: Salesacct_Validation'
    || l_sales_account||'-'||l_processed_flag
    WHEN OTHERS
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Sales Account Exception '
    || SQLERRM
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ( 'CheckPoint: Salesacct_Validation'
    || l_sales_account||'-'||l_processed_flag
    END ;
    END IF;
    IF (recitem_data.cost_of_sales_account IS NOT NULL)
    THEN
    BEGIN
    SELECT code_combination_id
    INTO l_cost_of_sales_account
    FROM gl_code_combinations_kfv
    WHERE code_combination_id =
    recitem_data.cost_of_sales_account;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'COGS Account Not Setup '
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ( 'l_cost_of_sales_account'
    || l_cost_of_sales_account||'-'||l_processed_flag
    WHEN OTHERS
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'COGS Account Exception '
    || SQLERRM
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ( 'l_cost_of_sales_account'
    || l_cost_of_sales_account||'-'||l_processed_flag
    END check_cogs_account;
    END IF;
    BEGIN
    select distinct organization_code
    into l_ref_org_code
    from org_organization_definitions
    where organization_id = recitem_data.ref_organization_id ;
    EXCEPTION
    WHEN OTHERS THEN
    l_ref_org_code:= NULL;
    l_processed_flag:='F';
    l_error_message :=
    l_error_message
    || 'Reference Org Not Present'
    || p_org_id
    || ' Organization '
    || l_error_delimiter ;
    DBMS_OUTPUT.put_line ('l_ref_org_code'|| l_ref_org_code||'-'||l_processed_flag);
    END;
    BEGIN
    select concatenated_segments
    into l_ref_inventory_item_code
    from mtl_system_items_kfv
    where inventory_item_id = recitem_data.ref_inventory_item_id
    and organization_id = recitem_data.ref_organization_id ;
    EXCEPTION
    WHEN OTHERS THEN
    l_ref_inventory_item_code :=NULL;
    l_processed_flag:='F';
    l_error_message :=
    l_error_message
    || 'Reference Item Not Present'
    || p_org_id
    || ' Organization '
    || l_error_delimiter;
    DBMS_OUTPUT.put_line ('l_ref_inventory_item_code'|| l_ref_inventory_item_code||'-'||l_processed_flag);
    END;
    IF (l_master_org = 'N' AND p_load_code = 'Insert')
    THEN
    BEGIN
    SELECT count(*)
    INTO l_description_count
    FROM mtl_system_items_tl
    WHERE organization_id = l_master_org_id
    AND inventory_item_id =
    (SELECT inventory_item_id
    FROM mtl_system_items_b
    WHERE organization_id = l_master_org_id
    AND segment1 = recitem_data.segment1);
    END ;
    IF l_description_count > 0 THEN
    l_processed_flag:='F';
    l_error_message :=
    l_error_message
    || 'Item Description Not Present'
    || p_org_id
    || ' Organization '
    || l_error_delimiter;
    END IF;
    END IF;
    IF l_processed_flag = 'S'
    THEN
    BEGIN
    INSERT INTO mtl_system_items_interface
    (organization_id,
    segment1,
    description,
    ITEM_TYPE,
    COST_OF_SALES_ACCOUNT,
    SALES_ACCOUNT,
    attribute_category,
    set_process_id,
    transaction_type,
    process_flag,
    copy_organization_code,
    copy_item_number,
    creation_date,
    created_by,
    last_updated_by,
    last_update_date
    --attribute_category
    , attribute1
    , attribute2
    ,attribute3
    ,attribute4
    ,attribute5
    ,attribute6
    ,attribute7
    ,attribute8
    ,attribute9
    ,attribute10
    ,attribute11
    ,attribute12
    ,attribute13
    ,attribute14
    ,attribute15
    ,global_attribute10
    VALUES (l_organization_id,
    recitem_data.segment1,
    recitem_data.description,
    recitem_data.ITEM_TYPE,
    recitem_data.COST_OF_SALES_ACCOUNT,
    recitem_data.SALES_ACCOUNT,
    recitem_data.ATTRIBUTE_CATEGORY,
    l_set_process_id,
    l_transaction_type, --,l_transaction_type
    l_process_flag,
    l_ref_org_code,
    l_ref_inventory_item_code,
    SYSDATE, l_user_id,
    l_user_id, SYSDATE
    -- l_attribute_category
    ,recitem_data.attribute1
    ,recitem_data.attribute2
    ,recitem_data.attribute3
    ,recitem_data.attribute4
    ,recitem_data.attribute5
    ,recitem_data.attribute6
    ,recitem_data.attribute7
    , recitem_data.attribute8
    ,recitem_data.attribute9
    , recitem_data.attribute10
    ,recitem_data.attribute11
    ,recitem_data.attribute12
    ,recitem_data.attribute13
    ,recitem_data.attribute14
    ,recitem_data.attribute15
    , substr(recitem_data.global_attribute10,1,length(recitem_data.global_attribute10)-1) --recitem_data.global_attribute10
    l_insert_count := l_insert_count + 1;
    /* IF (l_insert_count = NVL (p_commit_point, 10000))
    THEN
    -- l_set_process_id := l_set_process_id + 10; -- REVERT BACK CHANGE
    l_insert_count := 0;
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_processed_flag := 'F';
    l_error_message :=
    l_error_message
    || 'Error in Inserting Item '
    || SQLERRM
    || l_error_delimiter;
    END ;
    COMMIT;
    DBMS_OUTPUT.put_line ('CheckPoint: Insertion Completed in Intfacetable');
    END IF;
    BEGIN
    UPDATE xxx_inv_system_items_stg
    SET status_flag = l_processed_flag,
    error_message = l_error_message
    WHERE segment1 = recitem_data.segment1
    AND organization_id = recitem_data.organization_id
    AND status_flag IS NULL;
    COMMIT;
    DBMS_OUTPUT.put_line ('Error Message'||l_error_message);
    EXCEPTION
    WHEN OTHERS
    THEN
    fnd_file.put_line (fnd_file.LOG,
    'Error:Updating Item:'
    || SQLCODE
    || '-'
    || SQLERRM
    END;
    END LOOP; --FOR recitem_data IN cur_item_master
    DBMS_OUTPUT.put_line ( 'Validation Ends At :'
    || TO_CHAR (SYSDATE, 'DD-MON-YYYY HH24:MI:SS')
    DBMS_OUTPUT.put_line ('Number of records inserted into Table Successfully -->'|| l_insert_count);
    END;
    END xxxx_inv_items_conv_pkg;
    Edited by: 896170 on Apr 12, 2013 11:58 PM

    Issue got solved... changed the PO line amount as:
    <?xdoxslt:set_variable($_XDOCTX,'line_amt',xdoxslt:to_number(LINE_AMOUNT))?>
    Reference :Syntax for 'to_number'
    Regards
    Manikanta Panigrahi

  • Performance Issue for BI system

    Hello,
    We are facing performance issues for BI System. Its a preproductive system and its performance is degrading badly everyday. I was checking system came to know program buffer hit ratio is increaasing everyday due to high Swaps. So asked to change the parameter abap/buffersize which was 300Mb to 500Mb. But still no major improvement is found in the system.
    There is 16GB Ram available and Server is HP-UX and with Netweaver2004s with Oracle 10.2.0.4.0 installed in it.
    The Main problem is while running a report or creating a query is taking way too long time.
    Kindly help me.

    Hello SIva,
    Thanks for your reply but i have checked ST02 and ST03 and also SM50 and its normal
    we are having 9 dialog processes, 3 Background , 2 Update and 1 spool.
    No one is using the system currently but in ST02 i can see the swaps are in red.
    Buffer                 HitRatio   % Alloc. KB  Freesp. KB   % Free Sp.   Dir. Size  FreeDirEnt   % Free Dir    Swaps    DB Accs
    Nametab (NTAB)                                                                                0
       Table definition     99,60     6.798                                                   20.000                                            29.532    153.221
       Field definition     99,82      31.562        784                 2,61           20.000      6.222          31,11          17.246     41.248
       Short NTAB           99,94     3.625      2.446                81,53          5.000        2.801          56,02             0            2.254
       Initial records      73,95        6.625        998                 16,63          5.000        690             13,80             40.069     49.528
                                                                                    0
    boldprogram                97,66     300.000     1.074                 0,38           75.000     67.177        89,57           219.665    725.703bold
    CUA                    99,75         3.000        875                   36,29          1.500      1.401          93,40            55.277      2.497
    Screen                 99,80         4.297      1.365                 33,35          2.000      1.811          90,55              119         3.214
    Calendar              100,00       488            361                  75,52            200         42              21,00               0            158
    OTR                   100,00         4.096      3.313                  100,00        2.000      2.000          100,00              0
                                                                                    0
    Tables                                                                                0
       Generic Key          99,17    29.297      1.450                  5,23           5.000        350             7,00             2.219      3.085.633
       Single record        99,43    10.000      1.907                  19,41           500         344            68,80              39          467.978
                                                                                    0
    Export/import          82,75     4.096         43                      1,30            2.000        662          33,10            137.208
    Exp./ Imp. SHM         89,83     4.096        438                    13,22         2.000      1.482          74,10               0    
    SAP Memory      Curr.Use %    CurUse[KB]    MaxUse[KB]    In Mem[KB]    OnDisk[KB]    SAPCurCach      HitRatio %
    Roll area               2,22                5.832               22.856             131.072     131.072                   IDs           96,61
    Page area              1,08              2.832                24.144               65.536    196.608              Statement     79,00
    Extended memory     22,90       958.464           1.929.216          4.186.112          0                                         0,00
    Heap memory                                    0                  0                    1.473.767          0                                         0,00
    Call Stati             HitRatio %     ABAP/4 Req      ABAP Fails     DBTotCalls         AvTime[ms]      DBRowsAff.
      Select single     88,59               63.073.369        5.817.659      4.322.263             0                         57.255.710
      Select               72,68               284.080.387          0               13.718.442             0                        32.199.124
      Insert                 0,00                  151.955             5.458             166.159               0                           323.725
      Update               0,00                    378.161           97.884           395.814               0                            486.880
      Delete                 0,00                    389.398          332.619          415.562              0                             244.495
    Edited by: Srikanth Sunkara on May 12, 2011 11:50 AM

  • Transformation Issue for 2LIS_03_BF

    Dear All.
    I am facing very strange issue for 0IC_C03 with the transformation of 2LiS_03_BF the cube was first got loaded from our Sandbox and every thing was fine, latter we connect BW development with R/3 development.
    i have transfer all the data source for MM Inventory and try to create the transformation for 2LiS_03_BF for the infosource 2LIS_03_BF_TR but it did not map any field, but with the sand box client with the same data source it mapped all the fields.
    Also when i try to load the 2lis_03_bf it make all the key field values to 0 even the process key is determined correctly in the R/3 side and Industry determination is alo set and also in BF10 BW is selected.
    i try to debug the update rule and found that the process key and the value is updated correctly in the routine but after that there is an exception coming CX_RSROUT_SKIP_VAL.
    please help....

    Yes reinstalling the business contents solve the problem and it come up with all the mappings but the strange problem is that all of my key figures after loading showing '0' value.
    i try to simulate the DTP by applying a break point on one routine and during the debugging it is filling the correct values and after some steps its throwing a CX_RSROUT_SKIP_VAL exception which might deleting the target value.
    i am totally lost that why this exception is coming as before it never comes it only comes when we connect the development system and try to load the cube from there.
    in between can you please help me out for getting rid of this exception.
    thanks & best regards,

  • Issue in deleting an app installed in IOS 7

    I'm facing issue in deleting an app which was installed in IOS 7 in both iPhone & iPad. Installed the app from the hosted server, Installation is complete. But the app remain in the grayed out state.
    When I try to delete the app, it is not getting deleted. Please find the attached screenshot for reference. The device console log is as shown below during Installation.
    Oct  2 15:57:55 121945s-iPad itunesstored[101] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: KBLD83422Q.V-Spec (Placeholder) withPhase:0
    Oct  2 15:58:26 121945s-iPad SpringBoard[33] <Warning>: Killing KBLD83422Q.V-Spec for app installation
    Oct  2 15:58:26 121945s-iPad itunesstored[101] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: KBLD83422Q.V-Spec (Placeholder)
    Oct  2 15:58:26 121945s-iPad itunesstored[101] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: KBLD83422Q.V-Spec (Placeholder) withPhase:1
    Oct  2 15:58:26 121945s-iPad lsd[71] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Active; fractionCompleted=0.590000> to 1
    Oct  2 15:58:26 121945s-iPad installd[59] <Notice>: 0x1c1000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/1678854020200631213/4200727509532306323" requested by itunesstored
    Oct  2 15:58:33 121945s-iPad installd[59] <Notice>: 0x1c1000 MobileInstallationInstall_Server: Installing app com.toyota.vSpec
    Oct  2 15:58:36 121945s-iPad securityd[87] <Error>: OCSPResponse: now > latestNextUpdate
    Oct  2 15:58:36 121945s-iPad SpringBoard[33] <Warning>: Killing com.toyota.vSpec for termination assertion
    Oct  2 15:58:36 121945s-iPad installd[59] <Notice>: 0x1c1000 MobileInstallationInstall_Server: Staging: 7.61s; Waiting: 0.00s; Installation: 2.80s; LS Sync: 0.00s; Overall: 10.42s
    Oct  2 15:58:36 121945s-iPad lsd[71] <Warning>: LaunchServices: Updating identifier store
    Oct  2 15:58:36 121945s-iPad itunesstored[101] <Warning>: LaunchServices: installPhaseFinishedForProgress: KBLD83422Q.V-Spec.Installing - <NSProgress: phase=Installing; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
    Oct  2 15:58:36 121945s-iPad lsd[71] <Warning>: LaunchServices: installation ended for app KBLD83422Q.V-Spec
    Oct  2 15:58:37 121945s-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:837: front-facing-camera cannot generate notifications yet
    Oct  2 15:58:37 121945s-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: ipad is static and will never generate a notification
    Oct  2 15:58:37 121945s-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: any-telephony is static and will never generate a notification
    Oct  2 15:58:37 121945s-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: stand-alone-contacts is static and will never generate a notification
    Oct  2 15:58:37 121945s-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: still-camera is static and will never generate a notification
    Oct  2 15:58:37 121945s-iPad itunesstored[101] <Warning>: LaunchServices: installPhaseFinishedForProgress: KBLD83422Q.V-Spec.Loading - <NSProgress: phase=Loading; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
    Oct  2 15:58:37 121945s-iPad lsd[71] <Warning>: LSInstallProgress: In observeValueForKeyPath:userInfo.installState could not find parent progress for KBLD83422Q.V-Spec, it may have been removed
    The app is downloaded from internally hosted server.

    I also have this problem with ios app and have reproduced the problem on multiple devices. It only happens when i use OTA installation process with exported ipa. I am following the apple docs for ios distribution for testing. I am not using a 3rd party (testflight, betatesters etc.) for this, its an internet facing  web server (azure) with all the proper mime types etc. setup. The install works fine, meaning i get the correct prompts to install, my app installs and runs, but I end up with an additional phantom icon, usually hung in an "installing" state, basically like prabu4u shows in his scenario.This icon/app can't be deleted using standard means (via xcode, itunes, hard/soft resetting of device, changing device language settings).
    here is a brief section of console log, that is similar to prabu4u:
    .....prior consiole messages omitted for brevity sake.....
    Oct 12 13:02:55 Bob-Bisantzs-iPhone lsd[76] <Warning>: LaunchServices: Updating identifier store
    Oct 12 13:02:55 Bob-Bisantzs-iPhone itunesstored[95] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.lynn.Installing - <NSProgress: phase=Installing; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
    Oct 12 13:02:55 Bob-Bisantzs-iPhone lsd[76] <Warning>: LaunchServices: installation ended for app com.lynn
    Oct 12 13:02:55 Bob-Bisantzs-iPhone lsd[76] <Warning>: LSInstallProgress: In observeValueForKeyPath:userInfo.installState could not find parent progress for com.lynn, it may have been removed
    Oct 12 13:02:55 Bob-Bisantzs-iPhone lsd[76] <Warning>: LSInstallProgress: In observeValueForKeyPath:fractionCompleted could not find parent progress for com.lynn, it may have been removed
    Oct 12 13:02:55 Bob-Bisantzs-iPhone itunesstored[95] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.lynn.Loading - <NSProgress: phase=Loading; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
    Oct 12 13:02:55 Bob-Bisantzs-iPhone lsd[76] <Warning>: LSInstallProgress: In observeValueForKeyPath:userInfo.installState could not find parent progress for com.lynn, it may have been removed
    I do not believe this is a network, connectivity or web server issue. The udid of my device (and other test devices) are registered in the protal, they are all running updated version of ios7.
    I believe its an issue (caused by me) with the provision profile (probably the distribution) packaged in the app. I have validated that the profiles are in the portal and are synched with xcode5 using organizer->devices->iphone->provisioning profies. it shows both the ios team prov profile and the ios adhoc distribution profile created from my developer account.They both show valid profile status with expirations in 2014.
    I have done clean builds, rebuilds and redeploys of the exported ipa (generated using ad-hoc deployment scheme in xcode5), but the end result is the same. I always end up with the phantom icon.
    I have read other posts that say they use a 3rd party tool to delete the icon, which is fine, but I really want to avoid this by correctly developing and depploying the app.
    any ideas on where i made my mistake(s) ? thanks, bob

  • Issue while deleting Inbound delivery.

    Hello All,
    Here there is an issue while deleting Inbound delivery.
    GR ie 101 movement type is done for 1000 stocks.
    Later GR reversal ie 102 movement type is done for 200 stocks.
    So now in MD04 transaction inbound delivery is opened for 200 stocks.
    I am trying to delete Inbound delivery for 200 stocks but it doent allow.
    wht to do?please help

    I think you have used 102 and manully amend the qty.
    The inbound has 1000 qty, you reverse 200 qty. You should amend inbound delivery document qty to 800 and not delete it.
    Appreciate to revert is solution works for you.

  • BAPI FOR Deleting a Schedule Line Item from EKES and EKET tables

    Dear All,
    I would like to for deleting one of the line item from EKES (Po Confirmation ) and the respective line item from the EKET(PO Schedule Line Item Table).
    Assume that am allowing the user to select the lineitem from zprogram screen and collecting the PO and Its LIne Item details in an internal table.
    Can i Use
    <b>BAPI_PO_Change</b> , if so , can anybody tell me the steps to follow to use this bapi for deleting the PO lineItems, since i m going to try BAPI for First time.
    pls help me out
    Message was edited by: Raja K.P

    Hi raja ,
    loop at iekko1.
        w_index = sy-tabix.
        item-po_item   = itemx-po_item   = iekko1-ebelp.
        item-quantity  = iekko1-mng01.
        itemx-quantity = iekko1-mng01.
        if iekko1-wamng = iekko1-wemng.
        itemx-no_more_gr = item-no_more_gr = 'X'.
        else.
        itemx-no_more_gr = item-no_more_gr = ''.
        endif.
        append item.
        append itemx.
          clear return[].
          call function 'BAPI_PO_CHANGE'
               exporting
                    purchaseorder = iekko1-ebeln
               tables
                    return        = return
                    poitem        = item
                    poitemx       = itemx.
          if return[] is initial.
          commit work and wait.
          call function 'DEQUEUE_ALL'.
    search for deletion fields which u have to mark 'X'.
    before calling  this BAPi u have to lock the PO by using ENQUEUE.
    <b>
    FU BAPI_PO_CHANGE
    Text
    Change purchase order
    Functionality
    Function module BAPI_PO_CHANGE enables you to change purchase orders. The Change method uses the technology behind the online transaction ME22N.
    Alternatively, the IDoc type PORDCH1 is available. The data from this IDoc populates the interface parameters of the function module BAPI_PO_CHANGE.
    Functionality in Detail
    Authorization
    When you create (activity 02) an Enjoy purchase order, the following authorization objects are checked:
    M_BEST_BSA (document type in PO)
    M_BEST_EKG (purchasing group in PO)
    M_BEST_EKO (purchasing organization in PO)
    M_BEST_WRK (plant in PO)
    Controlling adoption of field values via X bar
    For most tables, you can use your own parameters in the associated X bar (e.g. PoItemX) to determine whether fields are to be set initial, values inserted via the interface, or default values adopted from Customizing or master records, etc. (for example, it is not mandatory to adopt the material group from an underlying requisition - you can change it with the BAPI).
    Transfer
    Purchase order number
    The PurchaseOrder field uniquely identifies a purchase order. This field must be populated in order to carry out the Change method.
    Header data
    The header data of the Enjoy purchase order is transferred in table PoHeader.
    Item data
    The item data of the Enjoy purchase order is stored in the tables PoItem (general item data). Changes regarding quantity and delivery date are to be made in the table PoSchedule.
    Use the table PoAccount to change the account assignment information.
    Services and limits
    Changes to existing items cannot be carried out with the Change method. It is only possible to create new items.
    Conditions
    Conditions are transferred in the table PoCond; header conditions in the table PoCondHeader. A new price determination process can be initiated via the parameter CALCTYPE in the table PoItem.
    Vendor and delivery address
    The vendor address in the table PoAddrVendor and the delivery address in the table PoAddrDelivery can only be replaced by another address number that already exists in the system (table ADRC). Changes to address details can only be made using the method BAPI_ADDRESSORG_CHANGE.
    Partner roles
    You can change all partners except the partner role "vendor" via the table PoPartner.
    Export/import data
    Export/import data can be specified per item in the table PoExpImpItem. Foreign trade data can only be transferred as default data for new items. Changes to the export/import data of existing items are not possible.
    Texts
    Header and item texts can be transferred in the tables PoTextHeader and PoTextItem. Texts for services are imported in the table PoServicesText. Texts can only be replaced completely.
    Version Management
    You can make use of the Version Management facility via the table AllVersions.
    Return
    If the PO was changed successfully, the header and item tables are populated with the information from the PO.
    Return messages
    Messages are returned in the parameter Return. This also contains information as to whether interface data has been wrongly or probably wrongly (heuristical interface check) populated. If a PO has been successfully created, the PO number is also placed in the return table with the appropriate message.
    Restrictions
    With this function module, it is not possible to:
    Create subcontracting components (you can only use existing ones)
    Create configurations (you can only use existing ones)
    Change message records (table NAST) and additional message data (this data can only be determined via the message determination facility (Customizing))
    Attach documents to the purchase order
    Change foreign trade data
    Change service data
    Change or reexplode BOMs
    A firewall prevents the manipulation of data that is not changeable in Purchasing according to the business logic of the purchase order (e.g. PO number, vendor, etc.).
    PO items with an invoicing plan cannot be created or changed using the BAPIs
    In this connection, please refer to current information in Note 197958.
    To change addresses with numbers from Business Address Services (cantral address management), please use the function module BAPI_ADDRESSORG_CHANGE.
    To change variant configurations, please use the function module BAPI_UI_CHANGE. More information is available in the BAPI Explorer under the Logistics General node.
    In the case of changes that are to be made via the BAPI_PO_CHANGE, a firewall first checks whether the relevant fields are changeable. This approach follows that of the online transaction. Here it is not possible to change the vendor or the document type, for example.
    Example
    Example of changes made to a purchase order with:
    1. Change in header data
    2. Change in item
    3. Change in delivery schedule
    4. Change in account assignment
    5. Change in conditions
    6. Change in partners
    Parameter: PURCHASEORDER 4500049596
    Parameter: POHEADER
    PMNTTRMS = 0002
    PUR_GROUP = 002
    Parameter: POHEADERX
    PMNTTRMS = X
    PUR_GROUP = X
    Parameter: POITEM
    PO_ITEM = 00001
    CONF_CTRL = 0001
    Parameter: POITEMX
    PO_ITEM = 00001
    PO_ITEMX = X
    CONF_CTRL =  X
    Parameter: POSCHEDULE
    PO_ITEM = 00001
    SCHED_LINE = 0001
    QUANTITY = 10.000
    PO_ITEM = 00001
    SCHED_LINE = 0003
    DELETE_IND =  X
    Parameter: POSCHEDULEX
    PO_ITEM =  00001
    SCHED_LINE =  0001
    PO_ITEMX =  X
    SCHED_LINEX =  X
    QUANTITY =  X
    PO_ITEM =  00001
    SCHED_LINE =  0003
    PO_ITEMX =  X
    SCHED_LINEX =  X
    DELETE_IND = X
    Parameter: POACCOUNT
    PO_ITEM = 00001
    SERIAL_NO = 01
    GL_ACCOUNT = 0000400020
    Parameter: POACCOUNTX
    PO_ITEM = 00001
    SERIAL_NO = 01
    PO_ITEMX = X
    SERIAL_NOX = X
    GL_ACCOUNT = X
    Parameter: POCOND
    ITM_NUMBER = 000001
    COND_TYPE = RA02
    COND_VALUE = 2.110000000
    CURRENCY = %
    CHANGE_ID = U
    Parameter: POCONDX
    ITM_NUMBER = 000001
    COND_ST_NO = 001
    ITM_NUMBERX = X
    COND_ST_NOX = X
    COND_TYPE = X
    COND_VALUE = X
    CURRENCY = X
    CHANGE_ID = X
    Parameter: POPARTNER
    PARTNERDESC =  GS
    LANGU =  EN
    BUSPARTNO = 0000001000
    Help in the Case of Problems
    1. Note 197958 lists answers to frequently asked questions (FAQs). (Note 499626 contains answers to FAQs relating to External Services Management.)
    2. If you have detected an error in the function of a BAPI, kindly create a reproducible example in the test data directory in the Function Builder (transaction code SE37). Note 375886 tells you how to do this.
    3. If the problem persists, please create a Customer Problem Message for the componente MM-PUR-PO-BAPI, and document the reproducible example where necessary.
    Customer Enhancements
    The following user exits (function modules) are available for the BAPI BAPI_PO_CREATE1:
    EXIT_SAPL2012_001 (at start of BAPI)
    EXIT_SAPL2012_003 (at end of BAPI)
    The following user exits (function modules) are available for the BAPI BAPI BAPI_PO_CHANGE:
    EXIT_SAPL2012_002 (at start of BAPI)
    EXIT_SAPL2012_004 (at end of BAPI)
    These exits belong to the enhancement SAPL2012 (see also transaction codes SMOD and CMOD).
    There is also the option of populating customer-specific fields for header, item, or account assignment data via the parameter EXTENSIONIN.
    Further Information
    1. Note 197958 contains up-to-date information on the purchase order BAPIs.
    2. If you test the BAPIs BAPI_PO_CREATE1 or BAPI_PO_CHANGE in the Function Builder (transaction code SE37), no database updates will be carried out. If you need this function, please take a look at Note 420646.
    3. The BAPI BAPI_PO_GETDETAIL serves to read the details of a purchase order. The BAPI cannot read all details (e.g. conditions). However, you can use the BAPI BAPI_PO_CHANGE for this purpose if only the document number is populated and the initiator has change authorizations for purchase orders.
    4. Frequently used BAPIs for purchase orders are BAPI_PO_CREATE, BAPI_PO_CREATE1, BAPI_PO_CHANGE, BAPI_PO_GETDETAIL, BAPI_PO_GETITEMS, BAPI_PO_GETITEMSREL, and BAPI_PO_GETRELINFO.
    5. For more information on purchase orders, refer to the SAP library (under MM Purchasing -> Purchase Orders) or the Help for the Enjoy Purchase Order, or choose the path Tools -> ABAP Workbench -> Overview -> BAPI Explorer from the SAP menu.
    Parameters
    PURCHASEORDER
    POHEADER
    POHEADERX
    POADDRVENDOR
    TESTRUN
    MEMORY_UNCOMPLETE
    MEMORY_COMPLETE
    POEXPIMPHEADER
    POEXPIMPHEADERX
    VERSIONS
    NO_MESSAGING
    NO_MESSAGE_REQ
    NO_AUTHORITY
    NO_PRICE_FROM_PO
    EXPHEADER
    EXPPOEXPIMPHEADER
    RETURN
    POITEM
    POITEMX
    POADDRDELIVERY
    POSCHEDULE
    POSCHEDULEX
    POACCOUNT
    POACCOUNTPROFITSEGMENT
    POACCOUNTX
    POCONDHEADER
    POCONDHEADERX
    POCOND
    POCONDX
    POLIMITS
    POCONTRACTLIMITS
    POSERVICES
    POSRVACCESSVALUES
    POSERVICESTEXT
    EXTENSIONIN
    EXTENSIONOUT
    POEXPIMPITEM
    POEXPIMPITEMX
    POTEXTHEADER
    POTEXTITEM
    ALLVERSIONS
    POPARTNER
    Exceptions
    Function Group
    2012
    </b>
    regards
    prabhu
    Message was edited by: Prabhu Peram

  • Partner selection at sales order entry: ship-to's flagged for deletion

    Hi All,
    I need some inputs for the following issue.
    For Partner selection at sales order entry level: ship-to's flagged for deletion are also proposed as it is entered in customer master. I dont want to delete the ship-to's marked for deletion in the customer master.
    In short - only the ship-to's that are not marked for deletion should get populated.
    Kindly suggest if there is an userexit for the same.
    Regards
    KCB

    Hi,
    You can try Blocking option for the particular Ship to Party.
    But this will not disable it appearing in the Partner Function Selection Pop up.
    Once you block it; though it appear in the selection pop up, you cannot select & proceed, as it gives a error message.
    You can set this block in 2 ways.
    1 - Tx: XD05
    Go to the Tx give the customer number, sales area & Pres enter.
    There you can set different type of blocks depend on your scenario.
    Save
    2 - Tx: XD02
    Go to TX, Give the Customer number (Ship to Party) & go in. Since you have marked him as a delete, you'll get a warning message there too.
    Select Menu option -> Extras -> Blocking Data
    You'll coime to the same screen as above.
    Maintain relevant blocks & Save
    Check whether it satisfy your requirement.
    Best regards,
    Anupa

Maybe you are looking for

  • How do I edit the song order in a playlist?

    can you move songs around in an established playlist or do you just have to start over?

  • Due analysis reports

    I have  a Posting date ,0calday,doctype,amount field in the ARcube. During runtime User can enter the 0calday-current date no ofdays based on that current date -posting date I have to caluclate no of days Report format is posting date docutype amount

  • Using the included business catalyst space

    With full Adobe Create Cloud membership I get 5 websites from Business Catalyst included. Cool! But what if I am not interested in the Adobe CMS tools, and want to install say a Wordpress of Drupal webiste in this Business Catalyst space (this 20GB o

  • Sybase database error

    this error happened today and when i restart the process it works for awhile and comes back. Nothing was done to the server (5.1.x) for months This is what I get: ERROR Assertion failed: 200601 (7.0.2.1583) Page for requested record not a table page

  • Contact form 3 hours off

    when I get a message from my website using the contact form. in the message information, the time is 3 hours off.. what can i do to this $nowTime=date("H:i:s"); to make it the right time??? and possibly not 24 hour time.