Closing of PR if PO Created ref. to PR

Hi,
I want to know how we can get the PR close status,
I have cretaed One PR and ref. to that PR in ME21N i have cretaed PO my process is complte  but second time again when i try to create ref. to same PR system have not given me any error   i want that if the PR is comleted system should not allow again to create PO ref. to that PR.   also i have created attachment to PR btu when i made PO ref. to that PR the attachment not come in the PO i want that attachment should also come if we create PO ref. to PR.
CAN U HELP ME ON THIS ISSUE
regards,
  zafar

HI zafar,
Once a Po ref. to PR Created and next time you want to create Po ref. to same Pr system will generate Error message
Materials of requisition xxxxxxxx  item 00010 alr. ordered in full Message no. 06076
In case system allowing you to create Po ref. to same Pr, Check System messages in SPRO
*SPRO. > Material Managment > Purchasing > Environment Data > Define Attributes of System Messages >click on System Messages > check message no. 076 Materials of requisition & item & alr. ordered in full
regards,
Vraj

Similar Messages

  • Once contract created PR should be closed

    Hi,
    We want to close PR automatically when Contract created with reference to this PR? I tried this but my PR is not closed.Is there any way closing PR automatically when Contract created with refe. with this PR?
    Any solution for this? or This is SAP standard functionality???
    With Regards,
    Jaheer

    Make sure that the document type of the purchase requisition is RV
    Once a contract is created the status in the PR changes to K.
    By default SAP will not propose such requisitions when you create a contract, the user has to remove a flag if he wants even already processed PR in contract creation:
    Make the messages 06053 and 06076 an error and it should be impossible to create 2 contract for one PR.

  • Set automatically closed indicator in PR while contract/agreement created

    Hi experts,
    Is there any possibilities that we can set automatically closed indicator in PR while contract/agreement created?
    Normally, PR closed indicator is set when PO created refer to the PR.
    Is there any IMG configuration to utilize this matter?
    Thanks
    MD

    Hi,
    You can try this using the Userexit in PR.So once the RFQ or Agreement is created for the PR then the ststus will be changed.
    Check this user exit.MEREQ001            Customers' Own Data in Purchase Requisition
    Regards,
    Raj

  • Create XML element without closing tag using Visual C++

    I know how to create xml element with closing tag (using WriteStartElement and WriteEndElement methods)
    <tag id="1234">
    </tag>
    but is there a way in Visual C++ to produce xml element like this
    <tag id="1234"/>
    i.e. without closing tag?

    Hi adamay,
    Please refer to this thread.
    http://stackoverflow.com/questions/8182245/create-xml-element-without-closing-tag-using-xslt
    I think you could try the way of write your own class derived from XmlWriter.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • A/R invoice is created as CLOSED

    Hi,
    I have an issue that occurs sometimes for one of our customers in 2007-PL48.
    Some A/R invoices are created as CLOSED, even if there is
    - No credit memo based on it
    - No incoming payment based on it (the money bag is not accessible from the invoice itself)
    - No manual reconciliation
    - Nobody who manually closed it
    - No add-on that might close it via DI / API
    There is only one instance in the CHANGE LOG (so in ADOC) and no PaidToDate amount
    I've read threads #7334754 and #8672340 but this doesn't answer to my problem.  I've done several tries and I'm unable to reproduce it...
    Does someone have an idea of what can be the cause of the problem ?
    Thanks
    Luce

    Hi,
    as I told you, I'm unable to reproduce the issue by myself, so even if I upgrade to the latest patch, that won't mean that the problem is fixed...
    I have some code in the stored procedure regarding the Object type 13, in Add mode, but this might not cause the DocStatus to be closed when the invoice is created.  The only thing that is done is the following :
    DECLARE @COST_INV1 NUMERIC(18,6)
    DECLARE @PRICE_INV1 NUMERIC(18,6)
    DECLARE @MARGE_INV1 NVARCHAR(10)
    DECLARE @ITEM_INV1 NVARCHAR(30)
    DECLARE line_INV1 cursor for select ITEMCODE,PRICE,GROSSBUYPR,U_MARGE_VALIDE from INV1 where docentry = cast(@list_of_cols_val_tab_del as int)
    open line_INV1
    Fetch NEXT FROM line_INV1 INTO @ITEM_INV1,@PRICE_INV1,@COST_INV1,@MARGE_INV1
    while (@@FETCH_STATUS <> -1) AND (@Error <> 1)
      begin
        if @MARGE_INV1 ='NON' and (@PRICE_INV1-@COST_INV1)/@PRICE_INV1 < 0.2
          begin
            set @error = 1
            set @error_message = 'Item ' + @ITEM_INV1 + ' a une marge inferieur a 20% svp valider '
            break
          end
        Fetch NEXT FROM line_INV1 INTO @ITEM_INV1,@PRICE_INV1,@COST_INV1,@MARGE_INV1
      end
    CLOSE line_INV1
    DEALLOCATE line_INV1
    So this should not affect the DocStatus... 
    And no, I'm not printing the A/R invoices in a PDF file...
    Thanks,
    Luce

  • Ref Movie created on Mac won't play on Windows machine

    I created a Ref Movie on a Mac. Copied Ref Movie and full movie to a WinPC. Got -2048 error. Could view full movie. Also, Ref Movie file size was reported as 0k on WinPC.
    Used WinPC to access and run both movies from the Mac. Same problems.
    Created Ref Movie on WinPC, copied both to Mac. Mac played the both just fine. However, Mac reported file size of the Ref Movie as 0K.
    Can I created Ref Movies on a Mac that can be used on a WinPC (I realize full movie has to also be available on WinPC)?

    Turns out the problem is file system related. When OSX copies a file to a Win machine, it also creates a hidden file with additional information. It my case, OSX is creating the following two files on my WinPC:
    MyRefMovie.mov
    ._MyRefMovie.mov (a hidden file on a Windows machine)
    The application I use to create the ref movie seems to generate my problem, because it is putting the ref movie data into the hidden file, not the unhidden file. Apple's MakeRefMovie utility puts the information into the unhidden file. The behavior of creating hidden files is part of OSX (though there is a utility called BlueHarvest that can control it), but what goes into the files seems to be an application level issue. Hope this helps others who have the problem.

  • Auto closing the PR if contract is created.

    Dear All,
    I have a scenario.
    Once I create a contract by reffering the PR then the system should automatically tick the closed indicator in the PR.
    Is there any setting available wherein the system will put the closed indiactor once contract is created.
    Thanks in advance.
    Any suggestions are required fast.
    Regards
    Yogesh Chaudhari.

    Dear Yogesh
    As per your suggestion I will not be able to create PO / Contract of quantity more than PR but this is not suitable to me .
    Is there any setting so that while creating contract i can mark the requisition as closed. ( Like it is available in PO in the delivery schedule tab).
    Regards
    Yogesh Chaudhari

  • Ref No in Vendor Aging Report

    Hello,
    i experienced the phenomenon that in the aging reports the ref number is not always there. although in the invoice documents the field is filled out.
    when i look at the report in the designer i just see that this field has its data from a variable.
    can anybody help me? did anyone has the same problem?
    best regards, philipp

    Have you tried to print preview the report ?
    In my PL30 version, even if the A/P invoice has been closed, I can update the vendor ref no.
    SO, I suggest you to cut the vendor ref no.in the invoice no. where its vendor ref no. is not available in the aging report, then update it. After that, you paste it and update it.
    Let us know if the vendor ref no. is available or not.
    if not, submit a ticket to SAP support or upgrade to PL37
    Rgds

  • Creating Smart Mailbox Folders in Mail.app (Lion): they do not save and disappear every time the application closes....

    Hello there -
    Hopefully someone can help, because this is just frustrating and weird.  In Mail on Mac OSX Lion, I can create all the Smart Mailboxes I want, but if I try to create a Smart Mailbox folder, it shows up just fine in the sidebar.  But, as soon as I close Mail, then re-open, the Smart Mailbox Folder is gone as if it never existed.  This happens whether or not I actually put any Smart Mailboxes in the folder.  Anyone else seen this issue and have suggestions?

    Okay, I think I just discoverd a workaround. This will work if you're lucky enough to already have a smart-mailbox folder that persists after close. (Somehow I had two such folders that already existed and weren't subject to the mysterious disappearances on closing the app; perhaps I created them in a previous OS X release?) Anyway, here goes:
    Locate an already existing smart mailbox folder that's working properly. Select the folder (in the sidebar).
    Duplicate that folder using the "Duplicate Smart Mailbox" Command. (It's on the contextual pop-up menu or available via the gear icon in the lower left of the window). This should produce and exact copy of the folder and the boxes inside, appearing at the bottom of the smart mailbox list.
    Edit the duplicate folder to put the smart mailboxes you want in it, and delete the previous mailboxes (duplicates) that you don't want.
    The new folder structure should now persist between launches of the app.
    There you go. Not the most elegant process, but workable. Don't know if there's a method if you don't have at least one smart mailbox folder already though.

  • Bulk create Active Directory Users and Groups in PowerShell using Excel XLSX source file instead of CSV

    Hi Scripting Guy.  I am a Server Administrator who is very familiar with Active Directory, but new to PowerShell.  Like many SysAdmins, I often need to create multiple accounts (ranging from 3-200) and add them multiple groups (ranging
    from 1 - 100).  Previously I used VBS scripts in conjunction with an Excel .XLS file (not CSV file).  Since VBS is essentially out the door and PowerShell is in - I am having to re-create everthing.
    I have written a PowerShell script that bulk creates my users and adds them to their corresponding groups - however, this can only use a CSV file (NOT an XLS file).  I understand that "CSV is much easier to use than Excel worksheets", but
    most times I have three sets of nearly identical groups (for Dev, QA and Prod).  Performing Search and Replace on the Excel template across all four Worksheets ensures the names used are consistent throughout the three environments.
    I know each Excel Worksheet can be exported as a separate CSV file and then use the PowerShell scripts as is, but since I am not the only SysAdmin who will be using these it leads to "unnecessary time lost", not to mention the reality that even
    though you clearly state "These tabs need to be exported using this naming standard" (to work with the PowerShell scripts) that is not the result.
    I've been tasked to find a way to modify my existing PowerShell/CSV scripts to work with Excel spreadsheets/workbooks instead - with no success.  I have run across many articles/forums/scirpts that let you update Excel or export AD data into an Excel
    spreadsheet (even specifying the worksheet, column and row) - but nothing for what I am trying to do.
    I can't imagine that I am the ONLY person who is in this situation/has this need.  So, I am hoping you can help.  How do I modify my existing scripts to reference "use this Excel spreadsheet, and this specific worksheet in the spreadsheet
    prior to performing the New-ADUser/Add-ADGroupMember commands".
    For reference, I am including Worksheet/Column names of my Excel Spreadsheet Template as well as the first part of my PowerShell script.  M-A-N-Y T-H-A-N-K-S in advance.
       Worksheet:  Accounts
         Columns: samAccountName, CN_DisplayName_Name, sn_LastName, givenName_FirstName, Password, Description, TargetOU
       Worksheets:  DevGroups / QAGroups / ProdGroups
         Columns:  GroupName, Members, MemberOf, Description, TargetOU
    # Load PowerShell Active Directory module
    Write-Host "Loading Active Directory PowerShell module." -foregroundcolor DarkCyan # -backgroundcolor Black
    Import-Module ActiveDirectory
    Write-Host " "
    # Set parameter for location of CSV file (so source file only needs to be listed once).
    $path = ".\CreateNewUsers-CSV.csv"
    # Import CSV file as data source for remaining script.
    $csv = Import-Csv -path $path | ForEach-Object {
    # Add '@saccounty.net' suffix to samAccountName for UserPrincipalName
    $userPrincinpal = $_."samAccountName" + "@saccounty.net"
    # Create and configure new AD User Account based on information from the CSV source file.
    Write-Host " "
    Write-Host " "
    Write-Host "Creating and configuring new user account from the CSV source file." -foregroundcolor Cyan # -backgroundcolor Black
    New-ADUser -Name $_."cn_DisplayName_Name" `
    -Path $_."TargetOU" `
    -DisplayName $_."cn_DisplayName_Name" `
    -GivenName $_."givenName_FirstName" `
    -SurName $_."sn_LastName" `
    -SamAccountName $_."samAccountName" `
    -UserPrincipalName $userPrincinpal `

    Here is the same script as a function:
    Function Get-ExcelSheet{
    Param(
    $fileName = 'C:\scripts\test.xls',
    $sheetName = 'csv2'
    $conn = New-Object System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source = $fileName;Extended Properties=Excel 8.0")
    $cmd=$conn.CreateCommand()
    $cmd.CommandText="Select * from [$sheetName$]"
    $conn.open()
    $cmd.ExecuteReader()
    It is called like this:
    Get-ExcelSheet -filename c:\temp\myfilename.xslx -sheetName mysheet
    Do NOT change anything in the function and post the exact error.  If you don't have Office installed correctly or are running 64 bits with a 32 bit session you will have to adjust your system.
    ¯\_(ツ)_/¯
    HI JRV,
    My apologies for not responding sooner - I was pulled off onto another project this week.  I have included and called your Get-ExcelSheet function as best as I could...
    # Load PowerShell Active Directory module
    Write-Host "Loading Active Directory PowerShell module." -foregroundcolor DarkCyan # -backgroundcolor Black
    Import-Module ActiveDirectory
    Write-Host " "
    # JRV This Function Loads the Excel Reader
    Function Get-ExcelSheet{
    Param(
    $fileName = 'C:\scripts\test.xls',
    $sheetName = 'csv2'
    $conn = New-Object System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source = $fileName;Extended Properties=Excel 8.0")
    $cmd=$conn.CreateCommand()
    $cmd.CommandText="Select * from [$sheetName$]"
    $conn.open()
    $cmd.ExecuteReader()
    # Set parameter for location of CSV file (so source file only needs to be listed once) as well as Worksheet Names.
    $sourceFile = ".\NewDocClass-XLS-Test.xlsx"
    # Add '@saccounty.net' suffix to samAccountName for UserPrincipalName
    $userPrincinpal = $_."samAccountName" + "@saccounty.net"
    # Combine GivenName & SurName for DisplayName
    $displayName = $_."sn_LastName" + ". " + $_."givenName_FirstName"
    # JRV Call the Get-ExcelSheet function, providing FileName and SheetName values
    # Pipe the data from source for remaining script.
    Get-ExcelSheet -filename "E:\AD_Bulk_Update\NewDocClass-XLS-Test.xlsx" -sheetName "Create DocClass Accts" | ForEach-Object {
    # Create and configure new AD User Account based on information from the CSV source file.
    Write-Host " "
    Write-Host " "
    Write-Host "Creating and configuring new user account from the CSV source file." -foregroundcolor Cyan # -backgroundcolor Black
    New-ADUser -Name ($_."sn_LastName" + ". " + $_."givenName_FirstName") `
    -SamAccountName $_."samAccountName" `
    -UserPrincipalName $userPrincinpal `
    -Path $_."TargetOU" `
    Below is the errors I get:
    Exception calling "Open" with "0" argument(s): "The 'Microsoft.Jet.OLEDB.4.0'
    provider is not registered on the local machine."
    At E:\AD_Bulk_Update\Create-BulkADUsers-XLS.ps1:39 char:6
    + $conn.open()
    + ~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidOperationException
    Exception calling "ExecuteReader" with "0" argument(s): "ExecuteReader
    requires an open and available Connection. The connection's current state is
    closed."
    At E:\AD_Bulk_Update\Create-BulkADUsers-XLS.ps1:40 char:6
    + $cmd.ExecuteReader()
    + ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidOperationException

  • Goods Return or AP Credit Memo Creation if AP Reserve Inv created

    Hi All,
    Can anyone tell me how to create good return or ap credit note if ap reserve invoice is used. GRPO created with reference to ap reserve invoice always closed.
    Regards

    Hi,
    We cannot create neither Goods Returns based on GRPO which is based on A/P Reserve
    Invoice, nor Credit Memo based on A/P Reserve Invoice on which GRPO is
    based.
    To cancel GRPO based on A/P Reserve Invoice, create Goods Returns NOT
    based on any document whith exactly the same data as in GRPO that should
    be cancelled. Next, Copy this return to AP Credit memo.
    If you have created a payment based on AP reserve invoice, cancel it, it should reopen the AP reserve invoice document status in 2007 A. Then you can easily create AP credit memo.
    Please try in test environment first.
    Regards
    Preety Goel
    SAP Business One Forums Team

  • Want to display no. of ser. orders closed with in 1 day and outside 1 day

    Hi Experts,
    Im displaying a summary report for Closed call.
    I want to display the Number of Service Orders Closed With in 1 day and Out side 1 day.
    For example:
    Brand......ASP...................With in 1day...............................Outside 1 day
    ABC1........ALPHA Tec...........24................................................5
    BCD2..........BETA Tec.............76................................................7
    The difference of days I have brought using 2 variables (1. is for closed date and 2. is for service order created date)
    In the Formula Variable I have (Subscrated Closed date - Created Date)
    I'm not very sure how to bring the count of the service order that are closed with in 1 day and outside 1day.
    Please help.
    Thanks

    Hi,
    This could be achieved through Data model level as well:
    1. By assuming you have two date char Created date and closing date.
    2. Create a char (On-time) flag and populate flag by ABAP coding if Closing - Created = 1 then field should be Check ("X").
    3. Restrict your report with this Flag to find out number of Service orders on-time.
    4. Define a counter KYF in your data model and maintain fixed value = 1 in your cube / ODS.
    This is one approach let me know if any further information is required.
    Regards,
    Venkat

  • ITunes can't sync. "sendMuxSegment connection was closed"

    My iPad 2 can't seem to sync.
    I've rebooted the Mac and the iPad several times.
    I've check the computer with Disk First Aid and all checks out fine.
    I thought it might have something to do with the iPad not being on the latest iOS, so I upgraded to 6.1.3, but iTunes continues to behave the same way.
    It is able to get through the backup, and didn't have any issues with teh upgrade to 6.1.3, but as soon as it starts the last step of syncing, it finishes. When I checked the Console application it said:
    2013-03-27 8:03:07.632 PM com.apple.usbmuxd[67]: MuxTCPInputSCE received RST for 0x7-[REDACTED]@0xfd130000:49353->0x10020d6a0-MDCrashReportTool/NULL:41729: sendMuxSegment connection was closed
    I have the latest XCode installed and am doing ad hoc distribution to my iPad 2. (Not sure if it's relevant.) When I launched XCode after update it started pulling "symbols" from the iPad. Then it, too, threw the same error.
    2013-03-27 8:19:28.149 PM com.apple.usbmuxd[67]: MuxTCPInputSCE received RST for 0x7-[REDACTED]@0xfd130000:49543->0x100502850-Xcode/com.apple.dt.Xcode:12034: sendMuxSegment connection was closed
    Neither iTunes or XCode created any alerts about the error. Both fail completely silently except for the notation in the Console.
    Any help would be great!
    Thanks,
    Colin
    iTunes 11.0.2
    Mac OS X 10.8.3
    XCode 4.6.1
    iPad 2 6.3.1

    Resolved.
    A few months ago, I enabled some restrictions on the iPad to prevent my son (4) from getting constant requests for in-app purchases, including restricting installing or deleting apps. I assumed this would be limited to someone interacting directly with the iPad, not extend to an iTunes sync session.
    Really, Apple? You couldn't spare a little warning: "Please enable app installation on the iPad and re-sync."

  • ECC 6.0 Closing Cockpit Functionaility

    Hi,
    We plan to use the Closing Cockpit functionality of ECC 6.0 for Period-end closing.
    How does the Closing Cockpit help in period-end closing activities?
    Is the following possible using the Closing Cockpit functionality?
    1. Can standard period-end SAP transactions including recurring entries, Period-end assessments / distributions  be automatically executed?
    2. Does this help only in Scheduling the period-end activities?
    Regards,
    R.Rajaraman

    R.
    1.  Yes.  Similar to the previous solution (Schedule Manager), the closing cockpit allows you to create task plans that include various tcodes or programs.  You can add KSU5, KSV5, and any others that you want.
    2.  It helps in scheduling.  You can establish relationship between the programs (finish-start relationships).  But I think the bigger help is in monitoring the entire close process...  you'll be able to view in a timeline format all of the steps that you've defined and what their current status is.  This is particularly helpful where some of those steps are executed de-centrally.
    -nathan

  • Credit note linked to a closed AR invoice

    Hi!
    I have a problem: I need to create a Credit Note for an invoice with status 'closed' but i noticed that the copy feature is disabled and
    i wanted to know if there was a SAP note that refers to this problem.

    Dear Mr D'Alessandro,
    If the invoice is closed and you did not create a credit memo yet it means that the invoice was closed by payment.
    If you now need to create the credit memo you should cancel that payment to reopen the invoice and create the credit memo using create from or create to.
    Please, note that the payment by Bill of Exchange must be cancelled through the Bill of Exchange management under banking. For the other payments it is possible to right click on the payment window and click cancel.
    Kind regards,
    Marcella Rivi
    SAP Forums Team

Maybe you are looking for

  • HP Pavilion 15t Issues with Limited Internet Connectivity on Windows 8

    So, I just received my new HP Pavilion 15t-e000 CTO Notebook PC last week, it runs Windows 8, & it's a 64 bit. The only problem I've had is staying connected to my wireless Internet. The connection will cut out at random intervals saying "Limited" in

  • Sytem should not allow to save the sales order based on risk category

    Hi, My user want to control the creation of sales orders based on risk category in credit control area. We created a new risk category - 30 Not authorized. And we made necessary configs also , like assignment of risk category and company code in OVFL

  • Is this possible to make work in ApEx?

    Look at the link: http://www.comlinebrokers.com/index.php?id=5 "floating" table header is really amazing...is that possible to create in ApEx? THX!

  • Using named anchors

    Hi everybody, Let's say I have a two column layout with a series of links inside the left column (sidebar). Is it recommended to use named anchors to link text in one DIV to text inside another? Can I create a menu inside the sidebar and then target

  • Formating questions

    Question 1: How can i use a different font in the posts? I prefer Courier font when i copy and paste query results from sqlplusw Question 2: How can i highlight words in colours(other than black) in the posts? I don't think i would be doing it, but i