Problem with po receipts confirmation customization

hi
i have a problem with po receipts confirmation customization
previously once po is approved and run the po receipts confirm concurrent
program then work flow will be triggered
they add 15 days more to the due date
but my requirement i s have to add 15 days to the po approved date.
in the PORCPTWF .get_order_info procedure they wrote a code
due date is standard attribute in the po confirm receipts workflow....
they assign due date to
x_exp_receipt_date := wf_engine.GetItemAttrDate ( itemtype => itemtype,
itemkey => itemkey,
aname => 'DUE_DATE');
and then
x_due_date_plus_15 := x_exp_receipt_date + 15;
wf_engine.SetItemAttrText ( itemtype => Itemtype,
itemkey => Itemkey,
aname => 'DUE_DATE_PLUS_15',
avalue => x_due_date_plus_15 );
but i need to get po aproved date so there is a select statement in the same procedure i have added approved_date from po_headers and retrived into
a variable x_approved_date;
SELECT poh.segment1,
pov.vendor_name,
poh.agent_id,
poh.note_to_receiver,
poh.approved_date -- i added this
INTO x_po_number,
x_supplier_name,
x_buyer_id,
x_note_to_receiver,
x_approved_date -- i added this
FROM PO_HEADERS poh,
PO_VENDORS pov
WHERE po_header_id = x_po_header_id
AND poh.vendor_id = pov.vendor_id (+);
then
i have created a approved_date attribute in the po confirm receipt workflow
since there is no standard attribute related to approved dat
and in this procedure i wrote
x_approved_date_plus_15 := x_approved_date + 15;
wf_engine.SetItemAttrText ( itemtype => Itemtype,
itemkey => Itemkey,
aname => 'APPROVED_DATE',
avalue => x_approved_date_plus_15 );
but its not working
any suggestions....please

I see that the steps you have performed is correct.
1. You created an Item Attribute APPROVED_DATE in PO Confirm Receipts workflow definition.
2. In a function activity, queried approved date from PO Headers and added 15 to it and set this new value to Item Attribtue APPROVE_DATE. (Though it is ok, you may use SetItemAttrDate for a Date Type Item Attribute as a good practice).
3. You should be able to access this Item Attribute in any of the function activities after the above activity or assign this Item Attribute in a Message Attribute and display it in a Notification Message.
I would need more information on What is not working (?) in this in order to provide assistance.
Thanks
Vijay

Similar Messages

  • HT1933 Hi. I have a problem with this receipt no. 190048666494.  I did not purchase or Aurthorize this purchase request a refund or cancel this purchase. Thank you.

    Hi. I have a problem with this receipt no. 190048666494.  I did not purchase or Aurthorize this purchase request a refund or cancel this purchase. Thank you.

    These are user-to-user forums, you are not talking to Apple here.
    You can contact iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Problem with Goods receipt

    Hi MM gurus,
        Kindly help me in solving this problem.
        When I post the Goods receipt, system is posting the goods receipt with the
    message Material document xxxxxxxxxx posted. But, when I go to display mode
    to view the material document, system says Document xxxxxxxxxx doesn't
    exist. What exactly is the problem? How to solve this?
    Regards
    Yoga

    Hi Yoga
    Though its very silly to ask you to check but please check once if you are posting the document in a client differnt from where you are displaying the MM document.
    regrds
    Yogesh

  • Problem with goods receipt posting - edi

    Hello,
      Iam using MBGMCR/MBGMCR02 BAPI_IDOC_INPUT1 for posting some goods movements.
    Through the same idoc i will be receiving a returns order number and the item details.With that i need to post the GR for the returns delivery posting the stock in returns.
    How can i automate this process when i use the sales order no and the movement type as 915 it errors out saying  goods receipt not posssible for 915 iam using mvt code '05'
    also i could not find a stock type indicator for returns stock...
    can any one help...
    thanks
    larry

    Better you check with SD Functional consultant . the error message clearly said that. "good Reciept not possible with movement type 915"

  • Problems with RFC transport confirmation in a BPM

    Hi everyone.
    I have an interface that is stopped now. The problem is that XI tried to send a RFC and the R3 backend is down.
    Now i have this interface waiting for a transport confirmation (since last sunday morning).
    is there any way to 're-send' the RFC or 'unlock' this situation?
    Regards.

    Hi.
    Status of the RFC is ok. At the right side of the status, i have a green '?' due to no-confirmation os the transport of the RFC. In the bpm i have set the property 'transport acknowledge' in every RFC i try to send to R3 backend. XI is waiting for the ACK but no ACK is arriving so i would like to 're-send' angain teh RFC.
    Is that possible?
    Regards

  • Problem with itunes receipts

    I changed my email for my itunes store account a while ago and everything works perfectly except for the receipts! The only things that wont go to my new email account are the receipts that are emailed to you when you buy a song. I want to delete my old email account but I feel uneasy about it because of this.
    Is there any way to solve this and make itunes send the receipts to my new email?
    Thanks in advance.

    Well I've noticed two things with receipts.
    For one, I don't think they always send RIGHT away after a purchase, it goes on like a schedule or something, so this way if you buy multiple songs over the course of a few days, they will all appear on one receipt in the e-mail.
    If not that, check the Spam Folder/Filter of your new e-mail, to see if your nw account filters those as spam and not regular messages
    Besides that, thats all I'd guess

  • URGENT: Prob with Production Order Confirmation

    Hi Gurus,
    I have a problem with Production Order Confirmation.
    When I am confirming a Prod Order and if the components present are more than '999', then error is being thrown and Material Document Number is not being created.
    I want to split the records into 500 slots and pass them at a time for the creation of the Production Order so that it doesnt throw me an error while creating a Material Document No.
    While saving the Production Order confirmation order, it should split the records into 500 slots each and then create Material Document No for each slot.
    Can anyone please help me out in this regard, how to solve this.
    Thanks & Regards,
    Harish Kalla

    Hi Harish,
    This problem is addressed in OSS Note : 36353
    The Symptom reads like this
    ==========================================================================
    When you post documents using the AC interface (from SD, MM or other applications), items appear in the FI document which are identical in all or in almost all fields.
    This can also cause error message F5 727 ("Maximum number of items in FI reached"). The system issues this error if more than 999 items occur in an FI document.
    ===========================================================================
    This Note is an elaborate one..
    Hence, go through this and ask your FI Consultant to help you in this regard.
    All the best..
    Regards,
    Siva

  • Problem with Material Confirmation (Availability Check)

    Dear All,
    There is a problem with the availability check. when i place order system does availability check and confirms the order. Now say for example i have 100qty of material - X and i created order for 50qty, system confirmed and then i went on creating orders for this , say i have created orders for it for 150qty, so system has confirmed 100 and 50 on future date.
    Now when i try to do the delievry for the first order(50 qty), system gives me an error that "0" qty is available.
    Can you please tell me what may be the reason for this.
    Thanks,

    You can also check in T-code Co09 of the availability. Best and easy one to read for me has been MD04 Transaction code.
    What system does in Sales Order is that it plans the requirement taking into consideration Material availability and if material doesn't exist but sees that in a few days in the future material will be available so system confirms it. Note that physically the material may not even be present. You find out if you really have physical stock in the delivery. For example in the sales order in the future the system sees that a Purchase Order will take place so system confirms it. Even though physically you have not even done a goods receipt for that PO. So any Sales Order which has been created before holds that reservation. So if you make a PO goods receipt in the future all those sales order has taken up this stock even. So the new sales order you created may not even have physical stock present or available as back order  exists.
    If you delete Deliveries that have not had PGI done to them this will take the requirement out of the list of Deliveries you can see this in MMBE if you scroll to the right. You can also do reason for rejection for other old orders to take out reservation in MD04.
    Good Luck
    Ali Lozada

  • Help - Problem with BAPI confirmation (co11n)

    Hi gurus,
    Please , i need some help with some problems i am having with BAPIs for confirmations.
    I have found this one : BAPI_PRODORDCONF_GET_TT_PROP, to get the propose data, but i i can't figured out how to fill the goodmovements table. I need to do this, because i want to know the proposal of goodmovements, just exactly that sap's does when i enter to the tx CO11N, enter the YIELD quantity and then press "goods movements" button.
    Please, is there some trick or something to make this work? ( i have already put "X" in the import "PROPOSE - GOODMOVEMENTS" , but still is not working).
    If get this, i could put this values in BAPI_PRODORDCONF_CREATE_TT and that's it... i suppose.
    Please help me
    Thanks a lot!

    Hi ,
    Before going into BAPI's , Auto goods movement happens in two ways.
    1. check whether Auto goods receipt is checked in T.code OPKP.
    2. The other way is to assign a Control Key to the operation which has a Auto GR checked.
    Please check these two and then trigger confirmation using your BAPI.
    Hope this helps.
    Best Regards.

  • Problem with OData Collection in Template Customization Web IDE

    Hi Experts,
    I created my simple service in SEGW and I try use it in the application created in SAP Web IDE.
    I'm creating new project from menu File, New, Project from Template. I'm choosing SAP Fiori Master Detail Application giving a name of project. 
    I have a problem with step 3rd - Data Connection and 4th - Template Customization. I can easily select the system (which previously plugged) and the service, but in the next step I have problem. In step fourth I can't add OData Collection for Master or Detail Section.
    In my opinion my system is connected properly, because other (any) services allows me to choose a Odate Collection - including those created by me alone in SEGW.
    I'll add that service which allow to choose OData Collection was created using BAPI. Service which are posing the problem was created from DDIC Structure, but I don't know if it's relevant. Furthermore, all services created by me have implemented the methods GET_ENTITYSET and GET_ENTITY.
    Can You help me?
    Thanks in advance
    Marcin

    I make sure and my service returning metadata at
    http://<destination>:<port>/sap/opu/odata/sap/ZXXX/$metadata
    What's more, my service show data stored in collection dirrectly in browser at 
    http://<destination>:<port>/sap/opu/odata/sap/Z_Service_Name_XXX/Collection_Name_XXX
    and in GW Client.

  • Problems with goods movements cancelling network confirmations

    Hello experts,
    I'm having some problems with goods movement when cancelling network confirmations.
    I assign a component for a operation in the project builder (CJ20N). Then when I execute a confirmation for that operation in CN25 everything works correctly, I can assign the time for the confirmation and SAP automatically carries the component assigned to the operation. Once I have done the confirmation the goods movements and the hours have a correct account assignment.
    The problem is that if I cancel this confirmation, the hours are correctly cancelled but the component is still there. If I try to cancel the goods movement with MIGO it is no possible because the system says that must be cancelled with the corresponding transaction (CN29) but, as I have said, the system does not cancel it.
    On the other hand, If the goods movement goes to COGI transaction and then I post-process the error, If later I cancel the confirmation, everything works correctly.
    Does anybody know why this could happen?
    Thanks and regards
    Laura

    Hi
    I think this question was raised earlier also. The best way is to allot a fixed time slot for your users so as to avoid clash. I suppose i explained that the master data of any material is stored at one place only and if you schedule a background job for this then all your good movement transaction will be in que and performed in orderly manner.
    If automatic posting is not possible then use the time slot method.
    Krishna

  • 140063685933 this is the receipt no Apart of two purchase there all rest I never received was a problem with the system they couldn't be download and naw you are charging me  Haw unprofessional is that and more than an hour can't find how to get to custom

    140063685933 this is the receipt no
    Apart of two purchase there all rest I never received was a problem with the system they couldn't be download and naw you are charging me
    Haw unprofessional is that and more than an hour can't find how to get to customer service to correct the mistake
    Just so fed up will never ever pitches anything waiting of time and money  

    Apple is not here. Apple does not answer questions here. There are only volunteer users here.
    The charge to your credit card takes place before you download the app.
    If you are having problems downloading the apps that you bought, you will need to explain the issue in detail if you wish someone to help you.

  • Blackberry Tour Facebook problem with confirming "Friend requests"

    Until yesterday, my Facebook app worked perfectly on my Blackberry Tour.  As of yesterday, I get an error when I try to "confirm" a "Friend request."  I took out my battery and restarted, but the problem persists.  Any advice is appreciated.  Thanks in advance.
    Solved!
    Go to Solution.

    Likely server problems, not a problem with your FB app or device.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Who can confirm - problems with versions/w straighten adjustments

    As in other posts mentioned, I have mega problems getting new Versions from Images which include Metadata and Adjustments.
    It seems like that my Images which I used the straighten tool with are the biggest problem.
    Can anyone confirm this???? (same problem still in 1.1.2)

    or possible a time out with large libraries!

  • Does anyone have problems with some websites where text is overwritten and it is impossible to navigate the site as the buttons to for example confirm purchases do not work?

    I am having problems with some websites - e.g. Easyjet and more recently the Sport Relief website, where the text overwrites other text and images and it means it is impossible click to accept, confirm or find further information?

    lindsayfromstow on the wold wrote:
    I am having problems with some websites - e.g. Easyjet and more recently the Sport Relief website, where the text overwrites other text
    Post a screen shot.
    What browser and what version are you using?
    Have you tried a different browser?

Maybe you are looking for

  • Help on Delete Link

    Help on Link I have report with following query select htf.anchor('DELETE_empno?p_id='||id,empno) delete, id download , from emp I get Link for Delete on empno when i press the Link My procedure is executing but page is not refreshing The page is shw

  • In Oracle 10g, How to call a report since an option of a menu (*.mmb)

    Hello In Oracle 10g, working since the browser, how to call a report since an option of a menu (*.mmb)? I know to call it in a form (*.fmb), therefore uses the fields bean area and the objects reports, but in a menu there is not neither canvas, neith

  • Video calling with kindle fire

    I cannot get this to work! I can't find my contacts how to call and no one can call me. It just keeps routing me back to my profile or to no where screens telling me to get skype.

  • ITunes instalation failure

    Well I posted the same question several months ago and eventually gave up and havnt used my iTouch since. While instaling iTunes everything goes fine until it goes to instal Bojour then it fails. I cannot get around this problem and have tried everyt

  • I Cloud help please

    Good morning - I am trying to set up ICloud on my up to date MAC laptop and it does not offer me the Icloud under settings.  It has Mobile Me on the cloud icon and that will not let me in.  Help???.