BAPI_PO_Change  can't add Confirmation date to PO

hi ,everyone
I want to use the BAPI function to insert the confirmation date of PO,but I can't insert the date by the below code ,I can't find out the problem ,pls help me ,thanks.
Création confirmation commande
MOVE GT_ITAB-EBELP              TO GS_POITEM-PO_ITEM.
      MOVE 'Z001'                     TO GS_POITEM-CONF_CTRL.
      APPEND GS_POITEM.
      MOVE GT_ITAB-EBELP              TO GS_POITEMX-PO_ITEM.
      MOVE 'X'                        TO GS_POITEMX-CONF_CTRL.
      MOVE 'X' TO GS_POITEMX-PO_ITEMX.
      APPEND GS_POITEMX .
      MOVE GT_ITAB-EBELN    TO GS_POHEADER-PO_NUMBER.
      MOVE 'X'              TO GS_POHEADERX-PO_NUMBER.
      MOVE GT_ITAB-EBELP    TO GS_POCONFIRMATION-PO_ITEM.
      MOVE GT_ITAB-EINDT    TO GS_POCONFIRMATION-DELIV_DATE.
      MOVE GT_ITAB-MENGE    TO GS_POCONFIRMATION-QUANTITY.
      MOVE 'Z1'             TO GS_POCONFIRMATION-CONF_TYPE.
      MOVE '0001'           TO GS_POCONFIRMATION-CONF_SER .
     MOVE 'T'              TO GS_POCONFIRMATION-DEL_DATCAT_EXT.
     MOVE 'D'              TO GS_POCONFIRMATION-DEL_DATCAT.
      APPEND GS_POCONFIRMATION .
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          PURCHASEORDER  = GT_ITAB-EBELN
          POHEADER       = GS_POHEADER
          POHEADERX      = GS_POHEADERX
        TABLES
          RETURN         = GS_RETURN2
          POITEM         = GS_POITEM
          POITEMX        = GS_POITEMX
         POSCHEDULE     = GS_POSCHEDULE
         POSCHEDULEX    = GS_POSCHEDULEX.
          POCONFIRMATION = GS_POCONFIRMATION
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT = 'X'.

Hi
The new Enjoy GUI transactions were not created for batch input. They were created for online processing not background.                                                                          
The fact is that the BDC is mainly screen-based and all new transactions (Enjoy transactions are designed as one-screen transactions) are more and more control-based.
So you have to use ME22 ( for create easily a BDC program  you can use transaction SHDB). Alternatively, for the confirmations, message type ORDRSP is provided. This will allow external system to send in new/updated confirmations.
For more information on EDI IDOC, please see online help documentation  
Materials Management (MM) >Purchasing (MM-PUR) >Vendor Confirmations    
>Confirmations from the Purchasing Viewpoint                            
>Receiving Vendor Confirmations via EDI                                                                               
Hope this can help
Regards,
Mauro.

Similar Messages

  • ITunes is saying that I have over 4.78 GB under the category of "other", making it so my iPhone 4 can't add any data (music, apps, pictures, etc.). I'm currently using only 1.3 GB of storage on my iPhone, and the rest is "other". How do I fix this?

    iTunes is saying that I have over 4.78 GB under the category of "other", making it so my iPhone 4 can't add any data (music, apps, pictures, etc.). I'm currently using only 1.3 GB of storage on my iPhone, and the rest is "other". How do I fix this?

    Not if you sync your contact to itunes using the program provide i.e outlook..etc

  • How can I add the date at the top of the screen along with the day and time display?

    Hello,
    How can I add the date at the top of the screen along with the day and time display?
    Thanks so much!

    Open System Preferences>Date & Time:
    Ciao.

  • How can I add the date to my locked screen on iPhone 5, i0S7

    How can I add the date to my locked screen on iPhone 5, i0S7

    The date is not showing up on the locked screen since I updated to the latest software.  Trust me, I looked for it before posting

  • Can you add the date of the reviews in appstore?

    Hi there :-)
    Can you add the date with the reviews in the appstore?
    It will make it a lot easier to make choises when we like to try an app or even buy it.
    It's very common on fora on the www.
    Kind regards.

    Apple is not here. Apple ddoes not answer questions here. This is a user to user forum.
    http://www.apple.com/feedback/

  • Can't add cellular data

    I want to add cellular data to my ipad(3rd gen) with verizon.I tried to reset reprovision account, reset account,turn on, off, everything, but when I go to my cellular data account I can't connect and comes a message wich says: connection failed, tray again later.I've benn doing it for a while but nothing,please what's going on?

    I call them, but they want to sell me a new sim card, the girl says that my account stay without using it for more than 30 days.I tried to confirm that and log in with my son's ipad, that one stays always without cellular data, because he uses only to play.This one let me add it, I'm really confused?

  • Can Mail add the date of an email and a link to the email in Address Book?

    I seem to remember back in the days when I used Entourage, that there was a feature that allowed me to have the email program add a date and link to the email in the address book file for the email recipient. Is there a script or anything that would allow that automation?
    I would like to be able to open a persons address book file and see all of the emails I sent to that person in Address Book. I know I could do a search in Mail for that address, but it would be sweet if I could have a record of all the emails sent to a given person with a link to each email directly from within Address Book.
    Am I crazy or is this something others would like? Or, am I missing a little box somewhere that I need to click somewhere?...

    What you're wanting is not a feature in any mail client, so I wouldn't hold your breath waiting for it to appear in Mail, or Address Book.
    If you want to keep track of all the emails sent to or from a particular person, you'd need to create Smart Mailboxes for all of them and rules to route Sent mail from each person's address to those respective mailboxes. If that's too much work for you, you can still do a search by name in Mail and select whether you're looking for mail sent From, or To that person and all of them will appear, except any you may have deleted.
    Mulder

  • Can you add the data information to the data points in a chart

    I am trying to add the data information to the data points in a line chart.  can this be done?

    You can add Value labels to the series to show the numerical value at each data point. The control is in the Series section of the Chart Inspector (see green arrow).
    If you are asking about text labels, such as the "Test 1", "Test 2", etc. in column A of the table, You can add these by copy/paste into a text box placed in front of the chart, or use a formula ( =Table 1::A1 ) to transfer the text into a single cell table placed appropriately on the chart.
    Using single cell tables will allow automatic updating of the label if the content of the Table 1 cell(s) changes. Neither method will automatically reposition the label if there's a change in the data feed to the chart.
    Regards,
    Barry

  • Can I add anniversary dates to Ical?

    I want to add anniversary dates to Ical from Address Book.  How do I do that?

    CMW,
    You may want to consider Dates to iCal, by John Maisey.

  • How can I add the date next to time in menu bar?

    Hi, I'd like to see today's date next to the "time" on the right-hand side of the menubar. I called Apple tech support twice about it and no one could help. The last guy suggested I post the question here, and someone might know of a third-party app... I don't want a calendar on my desktop, I don't want to click anything to see the date. I want it in the menubar with the time. It would be so handy.

    SOOO AWESOME -- THANK YOU! I spent over an hour on the phone with two different tech support people and they said it couldn't be done. Have to admit it's sort of a dodgy workaround, but thanks for the link, V.K, I am SO pleased! I was even able to add a couple of extra spaces to keep the time and date spaced apart. (Maybe the next OS can resolve this in a simpler manner...)

  • How can I add a date picker in Word for Mac 2008 with more than 25 items? I need to select calendar days so I need 31 items.

    I am building a form for customers to complete. I want them to be able to click on a pull down menu and select the day of the month 1-31. The drop down form field only allows 25 entries. How can I get 31 entries? I'm on a Macbook Pro running Mountain Lion.

    Hello,
    This forum is for troubleshooting Apple Software Update for Windows, a software package for Windows designed to update Apple products that run on Windows, and not related to Microsoft Office in any way. I suggest you post Office related questions on Microsoft's own forums for their Mac products.
    http://www.officeformac.com/productforums

  • How can I add the date to my home page screen, maybe next to the time.

    mini IPAD 8.2 . I would like the date to apprear on my home screen just like the time . Is there a way to do this?

    No. However, the Calendar App always has the current Day of the week and Day of the month displaying like so:
    Tuesday
    10
    Cheers,
    GB

  • How can I add the date to a PDF file that always displays today's date?

    I am trying to convert a word document into a PDF file. The word document has a field code for the date, but when I convert it to PDF format, the field code is not preserved.

    Convert using what?  Acrobat?  PDF Pack?  Microsoft Office?

  • How can I add date to photos taken on my iphone 4s

    How can I add a date to photos taken on my iphone 4s?

    That's correct - Photos supports geotagging, but only allows viewing of that information. Once an image is in Photos, geotags cannot be added, deleted, or edited. This post suggests some apps for editing geotags outside of the Photos app. As you mentioned, you can edit the geotags in iPhoto, export to the finder and then import to Photos. I would guess (and hope!) we'll see this added in an update, and hopefully soon!

  • Can I add date to time in status bar

    Can I add the date to the time in the iPad status bar?

    Not possible for now.
    Contact to apple for your feedback: http://www.apple.com/feedback/ipad.html
    Cheers,Dennis

Maybe you are looking for

  • Network HDD Options

    Hi I am hoping someone can offer me some advice. I have purchased an AE all up and running. I have my printer wich is not wireless, attached to the AE via usb works fine. What i am looking for is an easy way to connect cheaper external HDD to the AE.

  • Case Insenstive Search using CLOB

    Can you do case insenstive search in CLOB, using DBMS_LOB.instr or any other way or is it necessary to install inter media for that??

  • How To Enable Group Layout When Creating Chart in Crystal Reports XI

    Hi I Created a chart, and i placed the same on Report Header, when i want to change the layout Option As Group, it is disabled, how to enable the Group Layout Option.

  • Problem with License My Add-On

    1.when i generate AddOn Indentifier for solution. which license key name I must use between BASxxxxxxx or BASxxxxxxx_MMS 2.when i use AddOn Indentifier in source code and run My-AddOn . when run to this code " SBOGuiApi.Connect(sConnectionString) " t

  • Good practice to be followed?

    Hi Experts I have a scenario where i to load sold to party field in FIAR DSO. I can think of 2 options. 1. Enhance extractor to pull this information from VBAK/VBRK tables from R3 system. 2. populate this in end routine by lookup on COPA DSO. Which i