CommPr01-TC { how to update product status(locked,Archived etc) via Program}

Hi all,
TCode: Commpr01 ( how to update material product status as Locked or Archived Via report program. Can any one suggest me what FM's
i have to use and what inputs i have to pass. I already checked with "COM_PRODUCT_MAINTAIN_STATUS" it is not working properly.
May be i passed wrong input to that function module i think off.
Thanks,
Anbusundaram A

Hi,
Its good that u pasted the complete log file. In your environment you have to run this upgrade tool only once from any of the middle tier.
And with respect to your error that u got in precheck is quite simple. All u have to do is just run this script from by connecting to portal schema using sqlplus.
Run dropupg.sql
Location-------- /raid/product/OraHome_1/upgrade/temp/portal/prechktmp/dropupg.sql
Later you re-run the upgrade tool and let me know the status.
Good luck
Tanmai

Similar Messages

  • How to update the status of Outbound IDOC in case of error

    I want to know about how to update the status of Outbound IDOC in case of error.
    I am using message control functionality here.

    HI,
    If u r using the standard message and basic type
    u can do it in the FM attached to the basic and message type.There u need to write ur own message instead of standard SAP message..chek if there r any userexits available in the FM..where u can overwrite ur own message ..
    If u r using the Zmessage and Zbasic type
    then u need to declare an internal table of EDIDS structure and then append ur message to the internal table..
    idoc_status-docnum   = idoc_contrl-docnum.
      idoc_status-msgty    = <message type>
      idoc_status-msgid    = message-id.
      idoc_status-msgno    = message-number.
      idoc_status-msgv1    = message-message_v1.
      idoc_status-repid    = sy-repid.
      idoc_status-status   = <give the error status>.
      APPEND idoc_status.
    Reward if u find useful
    Regards,
    Nagaraj

  • How to update resource status to productive when SFC start

    Hello,
    When SFC X starts at resource A, how can we make status of A to Productive automatically?
    I've heard that the operator starts some work. Then, the resource becomes productive.
    But I can't do that. Is there any setting or operation?
    Best Regards,
    Takahiro Uesugi

    Takahiro,
    Not sure if I understand your question - so if the info below does not answer it, please specify the request with more details.
    Status of Resource is defined in Resource Maintenance, "Status" field. If Stutus = Productive and no SFCs are in work at the Resource, then all time is recorded against Statndby column of Resource Utilization Summary Report. As soon as any SFC is started at the Resource, the time is tracked as Productive. If the status is changed to any other value, then no matter if there is active SFC or not - the time will be tracked against the corresponding column in Resource Utilization Summary Report.
    Regards,
    Sergiy

  • How to update my status here on the Adobe Forums?

    I am here on this forum and on the left it says, "You haven't updated your status". OK I click on the link and off it sends me to where I should go to do this but I can not see anywhere as to how or where to do this. I do a Ctrl-F for a "Find" and type in the word ''status' should my eyes be failing me as to where this can be done, but nothing shows up. So I'm lost here.

    Hi Thanks to all of you. I agree this isn't FB. so I was wondering what they meant by Status. I was hoping that once there I would know whether I'd want to or not, But if it is a thing similar to FB or if  it has been disabled then problem solved :-)

  • How to update user status in the QM notifications

    Dear Experts,
    PLz tell  how to update/change user status in the QM notifications..I have maintained the user status profile and assigned the same to the notification type,but user status are not getting updated in the notifications..
    Thanks in advance
    Ankush

    Hi,
    SPRO - Quality Management - Quality Notifications - Overview of Notification Type.
    In that select the concerned notification and click on the status profile and there you can assign the status profile for the concerned notification Type.
    There will be two types,
    status profile for notifications and status profile for tasks, assign as per the requirement.
    Regards,
    Naveen.

  • How to update task status from custom task in state machine workflow

    i m using custom task for state machine workflow
    i am using
    if(this.onTaskChangedSupervisorAction_AfterProperties.ExtendedProperties["Workflowstatus"].ToString().Contains("Approved"))
    if above is true moving forward its working fine but i want to update the status field of task as i can update the title and due date for the task but how can i change the status once approved it
    should show the status as approved it's only showing in progress
    this.CreateTaskSupervisorAction_TaskProperties.Title="supervisor task"
    MCTS,ITIL

    If your task shows In Progress state then I think you need to look at your workflow and make sure you are using Complete Task activity and if you are already using Complete Task Activity then verify the Correlation ID. Ideally you are not required to set
    this value in workflow. You simply use the Complete Task Activity.
    If you are running into issue where your workflow is staying in In Progress state even after the task is complete then you can look at the following blog post.
    How to programmatically complete Approval workflow task
    Amit

  • How to Update Product category in bidder data of business Partner

    Hi Experts,
    I am new at SRM,
    While Doing Supplier Registration i am creating Bidder and Business Partner Using these two bapi
    'BBP_CREATE_ORGANIZATION
    BBP_CREATE_CONTACT_PERSON
    Now i also want to update Product Category , that should be display on
    Procurement -> Business partner -> Bidder -> select bidder - > Bidder data
    Please tel me any fuction module can be used
    Thanks & Regards
    Prashant Gupta

    Hi Prashant,
    Please share the solution.
    I am having the same problem.
    thank you
    Tumelo

  • How to update Activity Status in PS

    Dear Sir,
    We have defined various Activities under a WBS Element .  Instead of Updating the Status of the Activity from the CJ20n screen , We want to confirm the Activities using a Z program ( utilizing BAPI etc ... ) . 
    Kindly guide us about the steps need to be followed for the same pl .
    With Thanks and Rgds
    S Agarwal

    you can use BAP to confirm, write LSMW via transaction CN25 or write a Z program via CN25 or CN22 to update status etc

  • How does "update" work at Wal-Mart etc?

    Ok, I'm new to this so bear with me. I have confirmed with one of
    of my local AT&T stores that I have 2 3GS's eligible for the upgrade price ($199/$299). Unfortunately they closed the preordering before I could do so. So I was planning on getting to the AT&T store around 4am to purchase one. If for some reason they run out of phones before I get one, can I go to Wal-Mart, Best Buy, Radio Shack etc. And get one for the upgrade price?
    How would they know about current contract etc?

    IMO, i'd go to radio shack.. just because no one likes radio shack LOL i actually reserved mine yesterday.. and i'm 10th on their list.. and every best buy around here stopped taking pre-orders
    (i also live in the DC/Maryland/Virginia area.. and it's REAL populated here... many of the stores around here stopped taking pre-orders/reservations.. i just ended up making phone calls to every store within 2 hr radius ..LOL )

  • How to update user status in CRM Order depending the delivery status in R/3

    Hi All,
    In my scenario the partial delivery allowed to the customer while creating the CRM Order. But as per my requirement the status should be updated when the complete order and delivery takes place.
       Let me describe you clearly:
    Suppose I want to deliver 5 quantities products to the customer but initially I want to deliver only 3 quantities and rest 2 quantities later. When I do the post goods issue of 3 quantities in R/3 system the status should not change in CRM system. When I will do the rest 2 quantities in post goods issue in R/3 then the user status should change in CRM Order. But in current when I do the delivery of 3 quantities the user status is changing in CRM Order.
    I need the user status should change in CRM only when the entire deliverytakes place in R/3.
    Thanx
    Chinmaya

    Whenever an item is fully delivered, by standard, a "Completely Delivered" status will be updated into the item. If the I suppose by referring to that you will know an item is partial or completely delivered. When all items in the order is fully delivered, the standard header status will set to "Completed". So, you will also know if the whole order is partial or completely delivered.
    If you want to add a user status, the simplest, you can make use of the ORDER_SAVE Badi. Just call the function CRM_STATUS_MAINTAIN_OW. You can update both header and item status.

  • How to check the status - Locked or Unlocked?

    I was using a iphone 5 unlocked version, and recently i got replaced with a new phone. But now when i check online for the status (http://iphoneimei.info/) if its locked or unlocked it shows me it is locked. Im currently not using any sim card

    If Apple replaced the iPhone and the donor was unlocked lawfully then the replacement should alo be unlocked
    Only Applecare in you couuntry can legitimately tell you of the iphones Carrier status

  • How to update deletion status to backend PO

    Hi guys,
        we are using SRM 5.0 and ECC 5.0 for backend . After we have deleted the PO ,the status of corresponding PO  is not updated in backend system. That is to say , the PO in backend is not deleted and the PR is not opened again..
        any guys can help us ? thanks in advance.

    Hello,
    usually SRM functions a little bit others... PO can be deleted in backend then the corresponding Positions in SRM become Status 'Following Document deleted'.
    Your functionality possible with the additional Job, which will delete PO's in Backend.
    Regards,
    Konstantin

  • How to update the status of Credit memo request as "Close" by putting reason of rejection

    Dear All,
    Our requirement is to close credit memo request, We already cancelled the subsequent document i.e. billing. In credit memo request we are trying to close it by putting "Reason of Rejection", but instead of closed is coming as " Being Process". I already did the required configuration at Item Level for G2N in VOV7, but still the status is "Being Process".
    Please let me know if I m missing config.
    Thanks,
    Sumeet Sah

    Hi
    Check this below link. I had faced this issue years ago and got a strange solution which is still applicable.
    Open status of Credit Memo after rejecting all line items
    Thank$

  • How to UPDATE a big table in Oracle via Bulk Load

    Hi all,
    in a datastore target as Oracle 11g, I have a big table having 300milions of record; the structure is One integer key + 10 columns attributes .
    In IQ Source i have the same table with the same size ; the structure is One integer key + 1 column attributes .
    What i need to do is to UPDATE that single field in Oracle from the values stored in IQ .
    Any idea on how to organize efficiently the dataflow and the target writing mode ? bulk load ? api ?
    thank you
    Maurizio

    Hi,
    You cannot do bulk load when you need to UPDATE a field. Because all a bulk load does is add records to your table.
    Since you have to UPDATE a field, i would suggest to go for SCD with
    source > TC > MO > KG >target
    Arun

  • How to determine host status in a task via python api

    Hello all,
    using the python api I am having some issues trying to determine the status of a host within a task. For example I have a job, with one task and 10 hosts associated with that task. Eight hosts finish the task, 2 fail. However via the api I can only seem to determine the status of the job and the task. What I want is to be able to generate a report that basically matches what you see via the gui (ie 8 hosts ok, 2 hosts failed). The data structure OnStageTaskData gives me a status and a list of hosts, but not a status for each host. (Note I am not using any of the depricated functions/data structures). Currently my code looks like (minus the api init, etc)...
    # list all the jobs for last week
    joblist = api.GetJobs()
    for job in joblist:
    # if the job occured in the last week
    if job.c_time > reportstarttime:
    print "\nJob name %s Time %s " %(job.name, time.ctime(job.c_time))
    try:
    jobdetails = api.GetOnStageJob(job.id)
    except COsApiJobNotFoundException:
    print "Can't find job %s details" %job.name
    continue
    for tasks in jobdetails.job_data.tasks:
    for hostid in tasks.task_data.target:
    try:
    hostinfo = api.GetHostGroup(hostid)
    except OsApiHostNotFoundException:
    print "Can't find host details %s" %tasks.task_data.name
    print "Hostname %s Status %s" %(hostinfo.name, tasks.status)
    which generates output like...
    Job name chg233146-sol9 Time Sun Jan 13 10:31:42 2008
    Hostname tacnomsrv02 Status Failed
    Hostname tacpthsrv01 Status Failed
    anyone have another way to doing this or suggestions? Or is this kind of info not available via the api? Thank you.

    Hi ConnectSolutions,
    As you correctly pointed out, there is some bug in our code
    that keeps the room active and you dont receive any events or
    notification if you are entering as guest and waiting and the host
    arrives. Also, since you havent entered yet i.e your role is still
    5 i.e. UserRoles.LOBBY , you can't access any of the UserManager's
    collections and will get a length of 0 always. We will be fixing
    this with priority .
    But you can get around the problem as of now, by having a
    small shared model of yours ( any collectionNode or sharedModel
    will do) where you create a node and publish a message on it from
    the Owner's side whenever the owner/host enters to notify everyone
    that he has entered. Just remember to set the accessmodel of
    NodeConfiguration of node on which you are publishing to LOBBY ie.
    role = 5 , and make the publishModel = 100 so that only owners can
    publish on this node. In this way , any users waiting will be
    receiving this message and will know the host has arrived. If you
    can't get this sharedModel concept to work, let me know. I will try
    to run on my side.
    And as of our side regarding actual fix, we will fix this use
    case and put in the next drop of SDK and also update in forum about
    it.
    On the host side though, he is always notified when he enters
    if there are pending users knocking to enter. See the KnockingQueue
    example in case you want to explore that.
    Thanks
    Hironmay Basu

Maybe you are looking for

  • How do I convince my parents to let me have my own MacBook?

    I'm going into 8th Grade in September and I want my own MacBook so I have a resource whenever I need it because I'm going to be getting a lot more work then I ever have before. Seeing as how my dad is using our only other working (surprisingly) Dell

  • Computer shuts down when I connect my Ipod Touch to it.

    Each time I go to connect my Ipod touch to my computer, I get the blue screen of death appear on my computer with a huge error message and then it shuts down, 'To protect itself' I have tried to connect my Ipod Nano and thats fine, works no problems.

  • SSI of HTML file using SpryAssets

    Hi, I've saved a navigation header for my website in a nav.html file. I'm trying to get another file, test.shtml, to use server-side includes to include nav.html into it. However, the nav.html file was built in DW using a Spry Menu Bar, which stores

  • Watermark in pdf.

    Hi All, Can you anybody help me on how to apply watermark on adobe interactive form.The watermark should not overlap the data that is being currently shown. Cheers, Tubai

  • How can I get Autofill to start filling out my contact info. on forms?

    I prefer not having to spend the time givin my address, email address , etc.