How to cancel/delete SO which has a PO, but the PO has archive

Dear,
I have a SO with PO. I want to cancel the SO. The PO has been archived ,but I still can't delete the SO.
From the document flow, The PO is exist although PO is been archived.
How to reslove the question, thanks.

Hello,
Are you sure that the purchasing document was archived?
In order to check if sales documents can be archived you Could use the program S3VBAKPTS (Preprocessing step for the archiving object SD_VBAK)
In the selection screen specify as selection parameters the sales document, the tick all the checkboxes.
I had a look at the source code of the ABAP program S3VBAKPTS in routine that performs the archiving check of the sales documents vs. purchasing documents.
If a purchase order exists in the sales document flow, then the program checks if it exists in the database table EKKO . If itu2019s true, you cannot archive the sales order.
Thus, if the purchase order was archived, it should not exist in the database and then the sales document might be archivedu2026
Maybe  you only launched the pre-processing program for the archiving object  MM_EKKO, which sets the deletion flag only, but doesnu2019t delete the purchasing document from the database.
Please could you verify?
Regards,
Andrea

Similar Messages

  • How do i delete photos which were being imported and are now stored in a folder which i can't access

    how do i delete photos which were being imported and are now stored in a folder which i can't access

    Go to your Pictures Folder and find the iPhoto Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
    Look there for a Folder called 'Import' or 'Importing'.
    Drag it to the Desktop. *Make no other changes*.
    Start iPhoto. Does that help?
    If it does then look inside that folder on your desktop. Does it contain anything you want? If not you can trash the folder.

  • How to handle user preference which has "_" and " " in the name

    Hi Experts,
    I have a question how to handle value which has like "_" and "space" etc in user preference.
    If setting "a_b-c d", I could not retrieve this because it's escaped in database.
    So this code can't get value even though I can set it.
    Is there any restriction of name? Is there any documentation how to code user prefernece which has non alphabet and number in the name?
    I know it's possible to handle the data like adding escaped data. But I don't think this is the best way to retrieve the data. Because nobody confirm it's not problem in the future.
    Could you tell me the best way to get these user preference?
    Thanks in advance,
    Masaaki Tada
    Here is a sample.
    <%@ page contentType="text/html;charset=Shift_JIS" %><%@ page language="java" import="com.plumtree.remote.portlet.*, com.plumtree.remote.prc.*, java.util.*" %>
    <%
    /** * UserInfo - Simple Page * Display User Information*/
    // VariablesIPortletContext oPortletContext = null;IPortletRequest oPortletRequest = null;IPortletUser oPortletUser = null;IPortletResponse oPortletResponse = null;IRemoteSession s;IUserManager oUser;
    /* Get Portlet Objects */
    try{oPortletContext = PortletContextFactory.createPortletContext(request, response);oPortletRequest = oPortletContext.getRequest();oPortletUser = oPortletContext.getUser();oPortletResponse = oPortletContext.getResponse();} catch (Exception e) {oPortletContext = null;oPortletRequest = null;oPortletUser = null;oPortletResponse = null;}
    String val = oPortletRequest.getSettingValue( SettingType.User, "a_b-c d" );String hoe = oPortletRequest.getSettingValue( SettingType.User, "abcd" );out.println( "a_b-c d: " + val );out.println( "abcd : " + hoe );
    oPortletResponse.setSettingValue( SettingType.User, "a_b-c d", "aiueo" );oPortletResponse.setSettingValue( SettingType.User, "abcd", "bbbb" );%>

    Plumtree recommends that user preference names have only alphanumeric characters in them (a-z, A-Z, 0-9). Any non-alphanumeric characters will be encoded by the EDK.
    I strongly suggest that you change your user pref name to something that's alphanumeric. However, if that is not possible, you can use the following workaround: in the web service editor, enter the encoded name for the user pref. There are several ways to get the encoded name.
    One way is to encode the pref manually, yourself. Plumtree uses the %u encoded format: each non alphanumeric character is converted into %uxxxx, where xxxx is the Unicode representation of the character. For all ASCII characters, just look at the ASCII hex chart. For example, character "-" has a hex value of 2d. So, a preference name "jane_pref" would be encoded to "jane%u002dpref", and you'd enter the latter value on the preferences page in the web service editor.
    The other way to find out the encoded value is to set a preference programmatically and use the HTTP tunnel tool to look at HTTP traffic between the portal server and remote server. The remote server will be sending a HTTP header to the portal server (the header name will probably be CSP-User-Pref) and inside the header you should see the pref name, encoded with %u. Just copy it out of there and into the web service editor.
    Hope this helps,
    Jane

  • How to cancel sales order which I placed?

    How to cancel sales order which I placed? And this order had not been delivered.

    Rejection SO & Cancellation SO both are same. So please follow the below steps-
    1. Use Tcode VA02
    2. Enter Sales order number which you want to cancel.
    3. Click "enter"
    4. Click the icon "Reject Document"
    5. Select suitable u2018Reason for rejectionu2019.
    6. Save
    Many Thanks & Regards,
    Susanta K Senapati

  • How to upload a file which has more than 999 line item  through BDC ?

    Hello Techards
    Hi to all
    Can any body tell me how to upload a file which has more than 999 line item  through BDC for traction F-02 ?
    Thanks in advance.
    Shovan

    Hello Shovan,
    You split it up to post two accounting documents with the help of a "suspense" a/c.
    Say, you have to post the following line items below:
    line 1 - dr. - GL a/c X - $1000
    line 2 - cr. - GL a/c Y - $1
    line 3 - cr. - GL a/c Y - $1
    line 1001 - cr. - GL a/c Y - $1
    You cannot post the above as a single doc in SAP (because of technical reasons), so you need to break it up into 2 documents as below:
    Doc1
    line 1 - dr - GL a/c X - $1000
    line 2 - cr - GL a/c Y - $1
    line 3 - cr - GL a/c Y - $1
    line 998 - cr - GL a/c Y - $1
    line 999 - cr - SUSPENSE a/c - $3
    Doc2
    line 1 - dr - SUSPENSE a/c - $3
    line 2 - cr - GL a/c Y - $3
    Note that there is no incorrect impact on accounting as first we credit suspense a/c by $3 and next we debit the same suspense a/c by $3 as a result the effect is nil. Similarly, we credit $997 to GL a/c Y (which is less by $3) in the first doc which is compensated by the second doc by crediting the shortfall of $3.
    Hope this helps,
    Cheers,
    Sougata.

  • HT1535 I have "Camera roll" and "Photo Stream" - effectively storing my photo's twice - how do I delete and which one do I delete?

    I have "Camera roll" and "Photo Stream" - effectively storing my photo's twice - how do I delete and which one do I delete?

    your photos are in events -
    the most common cause of not seeing the events is bad camera dates or event sort being wrong so you are looking in the wrong place - see the view menu ==> sort events to correct sort - if the camera date is off select a photo and right click and show event to find it - then use the adjust time and date command to correct it
    and you can drag photos to the desktop - what happens when you do? probably a better work flow with more flexibility is to select the photo(c) and export them (file menu ==> expoprt) to a desktop folder
    LN

  • My google map that was on my website now has been replaced with a sign that says (mobileme is colsed).  I have tried to delete this and reinstall google maps, but the same thing appears. Can anyone help?

    My google map that was on my website now has been replaced with a sign that says (mobileme is colsed).  I have tried to delete this and reinstall google maps, but the same thing appears. Can anyone help?

    See this page for info about Google maps...
    http://www.iwebformusicians.com/iweb-snippets/map-tutorial.html
    ... how to get the code and paste it into an HTML Snippet.

  • I just purchased the new Nokia windows phone.  How do I delete an app that I installed but really don't want to keep?

    I just purchased the new Nokia windows phone.  How do I delete an app that I installed but don't want to keep?

    You are welcome! I played with the 928 in a Verizon store and really liked it. Besides the great camera and Nokia Maps, I'd be pretty excited about Nokia Music, too. As I understand it, this free app lets you create playlists from its entire music library, which can be stored on your device to listen to any time.
    There are a few members on the WP board who are really knowledgeable about Nokia and WP, so let us know if you have more questions.

  • I have "ghost" events on my printed calendars repeating daily after the original event. How can I delete these as they only appear on the printed calendars and not on the on screen version?

    I have "ghost" events on my printed calendars repeating daily after the original event. How can I delete these as they only appear on the printed calendars and not on the on screen version?

    I had a similar situation.  My credit card bill shows a charge on Sept 8 and Sept 9, both for $55.99.  I called Apple but they said that I was the victim of identity theft so I cancelled my credit card.  They have not refunded my money.

  • How can I delete some music from my iCloud but not from my iTunes in my computer? please??

    how can I delete some music from my iCloud but not from my iTunes in my computer? please??

    iCloud doesn't store your music.

  • How do I delete an app from my phone but not the computer? Is there a way to deactivate it so it doesn't add it back when it syncs?

    How do I delete and app from my phone but not from the computer? Is there a way to do this so it doesn't add it back in when it syncs?

    In iTunes under the Apps tab for the iPhone device just uncheck any app you don't want synced to the phone. When you next sync the app will be removed from the phone but remain in the iTunes library.

  • I bought a used iPhone and found him email iCloud does not affect me so how can I deleted this email in order to use the device freely and privacy

    I bought a used iPhone and found him email iCloud does not affect me so how can I deleted this email in order to use the device freely and privacy
    help me please

    You can't. Return the phone for a refund, if you can, because without the previous owner's Apple ID/Password, you will not be able to re-activate the phone. It will be useless to you.
    Apple can't/won't help you with this.

  • How do I delete my user ID photo, taken with the camera in the MacBook Pro.  It keeps appearing randomly when I sign in....even after I make changes.

    How do I delete my user ID photo, taken with the camera in the MacBook Pro (when you first buy and set up the computer...).  The photo keeps appearing randomly, even after I've changed it to a "better picture".  I can't get the change to "stick".  Anyone else having trouble with this?  Thanks!

    what OS are you using?

  • How do you delete music off of your iphone on the new i0s7?

    how do you delete music off of your iphone on the new i0s7?

    What happens when you swipe?
    Also double check your restrictions in settings.

  • How do i delete messages from i phone and clear the name/number from appearing in my message list?

    How do i delete messages from i phone 4 but make sure the line/number/details clears from my list on messages so i don't have a long list in there??

    To delete a conversation, you can either swipe left to right, and delete the conversations, or use the edit button.  If you have a conversation selected, edit will allow you to delete specific messages.

Maybe you are looking for

  • SWF not working in IE7

    For some reason my swf file is playing fine in Firefox, but not in IE7. Here is the link: http://www.landmarkmg.com/featured-property What could be causing this? Thanks!

  • Need pdf file links for different scenarios

    Hi folks, I am new to PI.Please can any body provide me pdf file links for different scenarios like   File to File, File to JDBC,JDBC to File,File to RFC, RFC to File, File to IDOC, IDOC to File, Http to RFC, Web services to RFC, File to Mail,ABAP to

  • HT201077 Starting Photo Stream in iPhoto

    When I try to turn Photo Stream on in iPhoto, it's directing me to MobileMe. I can't get through to turn it on. What should I do?

  • Cant find my pics from photostream in my icloud

    The memory on my iphone 4 is running low, so i want to get the photos from my photostream out. I thought they automatically loaded into my icloud account but when i go there i do not see a folder for pictures. Anynone know what i am doing wrong?

  • How do I remain the mp4 video quality after rotate it?

    I was just trying to rotate few videos. I tried but the quality seems so pixelated. I want to know exactly the setting to remain the mp4 quality? Anyone can help? Many thanks!