BAPI_BATCH_CHANGE get error : "The format of internal date   .  . "

Hi experts,
In my program, i call BAPI_GOODSMVT_CREATE co create Material Doc, then i call BAPI_BATCH_CHANGE to update Last Good Receipt date of material batch. But get the error: "The format of internal date   .  . is not correct" of field Shelf Life Expiration Date, although i didn't update this field.
I also tried BDC and another FM to update batch but got the same error. The result is OK if i run BAPI_BATCH_CHANGE in a independent program, but request is 'update batch immediately after create material doc'.
Could you pls help me experts,
Thanks so much,
Hung .

I passed plant adi,
I call BAPI as follow:
    call function 'BAPI_BATCH_CHANGE'
      exporting
        material         = ls_material
        batch            = ls_batch
        plant             = ls_plant
        batchattributes  = wa_batchattributes
        batchattributesx = wa_batchattributesx
      tables
        return           = lt_return.

Similar Messages

  • I get error "audio format not compatable" when downloading music from the itunes store

    I get error "audio format not compatable" when syncing ipod classic.  Music purchased from itunes store.

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copy of the track and try redownloading a fresh one. See the following document for instructions:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the item, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.

  • Diadem Error: Cannot Store Complete Internal Data

    I am trying to save data in my portal to a TDM, but I get the error: "Cannot store complete internal data in the file "FILENAME.TDM" with the format "TDM".  I'm not sure how to diagnose the problem, since the error does not provide much information.
    I have a script that pulls together two seperate files, a *.dat and an *.atfx file.  It searches through the data to find certain measurments, and then averages a few channels and adds these averages to a new group. I have 16 groups and 257 channels.  The file is fairly large, so maybe I am exceeding some limits? 
    Any ideas? 
    Thanks.

    Perhaps this is related.  While I have the data loaded that cannot be saved in the TDM, and I am browsing he help file.  I get an error claiming that there is not enough memory for this task.  I click ok and diadem abruptly closes.  I have attached a screen shot of the error, also showing available system resources, and it seems like I should have plenty available.  I have 1.5GB of available memory, and 46GB of available disk space.  Why am I getting this error.  Is there some setting that limits how much resources diadem can use? 
    I have also attached a screen shot showing system resources AFTER diadem closed. 
    Attachments:
    Not enough memory error.JPG ‏190 KB
    Not enough memory error - Post diadem close.JPG ‏74 KB

  • Getting Error - CREATE_CASH : ORA-01403: no data found

    When i use api AR_RECEIPT_API_PUB.CREATE_CASH in loop then i get error 'CREATE_CASH : ORA-01403: no data found' for second record.
    AR_RECEIPT_API_PUB.CREATE_CASH(p_api_version => 1.0
    ,p_init_msg_list => fnd_api.g_true
    ,p_commit => fnd_api.g_true
    ,p_receipt_number => i_receipt_number
    ,p_receipt_date => TRUNC(SYSDATE)
    ,p_gl_date => TRUNC(SYSDATE)
    ,p_amount => i_receipt_amount
    ,p_currency_code => g_currency_code
    ,p_receipt_method_id => i_receipt_method_id
    ,p_customer_id => i_customer_id
    ,p_cr_id => l_cr_id
    ,p_org_id => i_org_id
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data
    I run it for different org. First org it's running fine but for second it's fail -
    Here is output -
    Start, Org ID - 84
    l_receipt_number - 43164
    l_receipt_amount - 74.55
    g_currency_code - USD
    l_receipt_method_id - 4000
    l_customer_id - 7040
    l_cr_id -
    l_return_status -
    l_msg_count -
    l_msg_data -
    Status - S
    Start, Org ID - 81
    l_receipt_number - 43166
    l_receipt_amount - 30
    g_currency_code - USD
    l_receipt_method_id - 4000
    l_customer_id - 7047
    l_cr_id -
    l_return_status -
    l_msg_count -
    l_msg_data -
    Error count/msg - 2-
    Error msg - CREATE_CASH : ORA-01403: no data found
    Error msg - ORA-01403: no data found in Package AR_RECEIPT_API_PUB Procedure Create_cash
    PLease help it's urgent

    Here is code which i am using...
    IF l_ar_pay_rec > 0 THEN
    l_receipt_number := ar_cash_receipts_s.NEXTVAL;
    FOR r_ar_org_records IN cr_ar_org_records
    LOOP
    IF r_ar_org_records.org_id = 81 THEN
    l_resp_id := 50677;
    ELSE
    l_resp_id := 50681;
    END IF;
    MO_GLOBAL.INIT('AR');
    MO_GLOBAL.SET_POLICY_CONTEXT('S',r_ar_org_records.org_id);
    FND_GLOBAL.APPS_INITIALIZE(g_user_id,l_resp_id,l_appl_id,0);
    DBMS_OUTPUT.PUT_LINE('User,Resp,App,Org - '||g_user_id||','||l_resp_id||','||l_appl_id||','||r_ar_org_records.org_id);
    -- Derive Receipt Method ID
    BEGIN
    SELECT receipt_method_id
    INTO l_receipt_method_id
    FROM ar_receipt_methods
    WHERE name = g_receipt_method;
    EXCEPTION
    WHEN OTHERS THEN
    g_ar_error := 'Y';
    g_ar_error_msg := g_ar_error_msg||'Receipet Method Not Found, ';
    FND_FILE.PUT_LINE(FND_FILE.LOG,'Error While Derive Receipt Method ID');
    END;
    -- Derive Customer ID
    BEGIN
    SELECT customer_id
    ,SUM(AMOUNT_PAID)
    INTO l_customer_id
    ,l_receipt_amount
    FROM xxar_third_party_validation
    WHERE raf_code = i_raf
    AND receipt_date = i_date_paid
    AND org_id = r_ar_org_records.org_id
    AND customer_id is not null
    GROUP BY customer_id;
    EXCEPTION
    WHEN OTHERS THEN
    g_ar_error := 'Y';
    g_ar_error_msg := g_ar_error_msg||' Customer ID Not Found, ';
    FND_FILE.PUT_LINE(FND_FILE.LOG,'Error While Customer ID');
    END;
    fnd_msg_pub.initialize;
    l_return_status := NULL;
    l_msg_count := NULL;
    l_msg_data := NULL;
    l_cr_id := NULL;
    g_currency_code := 'USD';
    DBMS_OUTPUT.PUT_LINE('Start, Org ID - '||r_ar_org_records.org_id);
    -- Create Cash for Customer
    DBMS_OUTPUT.PUT_LINE('l_receipt_number - '||l_receipt_number);
    DBMS_OUTPUT.PUT_LINE('l_receipt_amount - '||l_receipt_amount);
    DBMS_OUTPUT.PUT_LINE('g_currency_code - '||g_currency_code);
    DBMS_OUTPUT.PUT_LINE('l_receipt_method_id - '||l_receipt_method_id);
    DBMS_OUTPUT.PUT_LINE('l_customer_id - '||l_customer_id);
    DBMS_OUTPUT.PUT_LINE('l_cr_id - '||l_cr_id);
    DBMS_OUTPUT.PUT_LINE('l_return_status - '||l_return_status);
    DBMS_OUTPUT.PUT_LINE('l_msg_count - '||l_msg_count);
    DBMS_OUTPUT.PUT_LINE('l_msg_data - '||l_msg_data);
    AR_RECEIPT_API_PUB.CREATE_CASH(p_api_version => 1.0
    ,p_init_msg_list => fnd_api.g_true
    ,p_receipt_number => l_receipt_number
    ,p_receipt_date => TRUNC(SYSDATE)
    ,p_gl_date => TRUNC(SYSDATE)
    ,p_amount => l_receipt_amount
    ,p_currency_code => g_currency_code
    ,p_receipt_method_id => l_receipt_method_id
    ,p_customer_id => l_customer_id
    ,p_cr_id => l_cr_id
    ,p_org_id => r_ar_org_records.org_id
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data
    DBMS_OUTPUT.PUT_LINE('Status - '||l_return_status);
    IF l_return_status <> 'S' THEN
    g_ar_error := 'Y';
    DBMS_OUTPUT.PUT_LINE('Error count/msg - '||l_msg_count||'-'||l_msg_data);
    IF l_msg_count = 1 THEN
    g_ar_error_msg := g_ar_error_msg||l_msg_data;
    DBMS_OUTPUT.PUT_LINE('Error msg - '||l_msg_data);
    ELSIF l_msg_count > 1 THEN
    LOOP
    l_msg_data := fnd_msg_pub.get (fnd_msg_pub.g_next
    ,fnd_api.g_false);
    IF l_msg_data IS NULL THEN
    EXIT;
    END IF;
    g_ar_error_msg := g_ar_error_msg||l_msg_data;
    DBMS_OUTPUT.PUT_LINE('Error msg - '||l_msg_data);
    END LOOP;
    END IF;
    xxar_log_error(r_ar_org_records.record_id,SUBSTR(g_ar_error_msg,1,120));
    ELSE
    DBMS_OUTPUT.PUT_LINE('Status - '||l_return_status);
    FOR r_ar_records IN cr_ar_records(r_ar_org_records.org_id)
    LOOP
    fnd_msg_pub.initialize;
    l_return_status := NULL;
    l_msg_count := NULL;
    l_msg_data := NULL;
    l_cr_id := NULL;
    l_receipt_amount := r_ar_records.amount_paid;
    l_trx_number := r_ar_records.transaction_number;
    g_currency_code := r_ar_records.currency_code;
    l_receipt_date := SYSDATE;
    l_gl_date := SYSDATE;
    -- Apply payments for the RAF and Date Paid
    AR_RECEIPT_API_PUB.APPLY(p_api_version => 1.0
    ,p_init_msg_list => fnd_api.g_true
    ,p_commit => fnd_api.g_false
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data
    ,p_receipt_number => l_receipt_number
    ,p_trx_number => l_trx_number
    ,p_amount_applied => l_receipt_amount
    ,p_org_id => r_ar_org_records.org_id
    IF l_return_status <> 'S' THEN
    g_ar_error := 'Y';
    IF l_msg_count = 1 THEN
    g_ar_error_msg := g_ar_error_msg||l_msg_data;
    ELSIF l_msg_count > 1 THEN
    LOOP
    l_msg_data := fnd_msg_pub.get (fnd_msg_pub.g_next
    ,fnd_api.g_false);
    IF l_msg_data IS NULL THEN
    EXIT;
    END IF;
    g_ar_error_msg := g_ar_error_msg||l_msg_data;
    END LOOP;
    END IF;
    xxar_log_error(r_ar_records.record_id,SUBSTR(g_ar_error_msg,1,240));
    ELSE
    DBMS_OUTPUT.PUT_LINE('Sucess 2 - ');
    NULL;
    /* -- Call Adjustment API for Contractual Allowance
    IF NVL(r_ar_records.contractual_allowance_amt,0) > 0 THEN
    xxar_third_party_rcpt_adj(r_ar_records.record_id
    ,r_ar_records.transaction_number
    ,r_ar_records.contractual_allowance_amt
    ,i_user_id
    END IF; */
    END IF;
    END LOOP;
    END IF;
    DBMS_OUTPUT.PUT_LINE('Error Flag AR - '||g_ar_error);
    IF g_ar_error = 'Y' THEN
    xxar_log_error(r_ar_org_records.record_id,SUBSTR(g_ar_error_msg,1,240));
    END IF;
    END LOOP;

  • Why do I get "Error 1 occured at Config Data Registry.vi(get data) invalid object 0" while starting my application?

    Why do I get "Error 1 occured at Config Data Registry.vi(get data) invalid object 0" when starting my application created in LabVIEW 7.1?  I am starting the application in a PXI rack running Windows XP.  I have an executable written in LabVIEW 7.0 that runs without this error.  After clicking the Continue button in the error, the application seems to continue happily.
    Is there something I need to include when I make the executable?
    I would like to understand and eliminate this start up error.
    Thanks in advance.
    BobNorth

    Hi Bob,
    I looked through the program and I figured out where the error is coming from, and potentially what is causing it. In a lot of the cases of the program you are searching a 1-D array for the name of the case, and if you don't find it then it skips the function and gives "Error 1 occurred at Config Data Registry.vi(CASENAME) invalid object 0". I attached a screenshot that shows what I mean. The Search 1-D Array.vi is returning a -1 which means it didn't find the case. The reason I believe this is happening is because the shift register for that array is not initialized. While the other cases "reset" and "register" interact with the array shift registers and most likely create the array you need, if the program defaults to the "get data" case then it will try to run that before registering and won't have an array to search. This would also explain why it only has this problem at first and seems to run just fine after that. To fix this you should either make an initial array and wire it into the shift register or make the "reset" case the default as opposed to the "get data" case.
    Regards,
    Peter W.
    Attachments:
    Config Data Registry.png ‏55 KB

  • I am trying to create a community addition, but just keep getting *Error occurred while saving your data.

    I am trying to create a community addition, but just keep getting   *Error occurred while saving your data.
    Trying to add the following community addtion for:     http://technet.microsoft.com/en-us/library/cc755631(v=ws.10).aspx
    In the above website do NOT copy the command, you have to type it in.  Webpage Error.
    You can use both    dsquery server –hasfsmo schema    and    dsquery server -forest –hasfsmo schema
    The problem is, I believe, a hidden character in the command on this webpage which follows the Paste function and results in the error Unknown Parameter error.

    Hi John,
    You might have better luck posting this in the library feedback forum here:
    http://social.msdn.microsoft.com/Forums/en-us/home?forum=libraryfeedback&filter=alltypes&sort=lastpostdesc
    It seems odd to me that the TechNet library feedback forum lives under the MSDN branding, but that seems to be the case.
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • Server error: "The attempt to read data from the server '(null)' failed"

    Multiple times during each day my client (Mail.app) puts up a little exclamation mark "!" next to the mail account hosted on our Leopard Server. Clicking on this little alert icon pops up a message that reads:
    +There may be a problem with the mail server or network. Verify the settings for account “Leopard Server Account” or try again.+
    +The server returned the error: The attempt to read data from the server “(null)” failed.+
    I can make the "!" go away by choosing Mailbox>Synchronize>Leopard Server Account. And everything seems peachy but it inevitably pops up again in another hour or two. It's annoying because I'm not sure if mail is getting through or not when the "!" is up.
    Any ideas why this is happening?

    MY SOLUTION REPOSTED FROM ANOTHER THREAD:
    I've just solved a similar issue.
    I have a dedicated server running Plesk 9.5 and when I upgraded to iLife 11 and Snow Leopard this error appeared. I could quickly click "get mail" and I'd get all my mail, but only 3-4 of my 9 mail accounts would connect. Theo others would have the error:
    "The server error encountered was: The attempt to read data from the server..."
    I found solutions for those using IMAP mail:
    modify the /etc/courier-imap/imapd configuration file and change MAXDAEMONS from 40 to 80 and MAXPERIP from 4 to 40. This allows all the machines behind my home firewall to connect to multiple accounts on the e-mail server with mailbox caching enabled.
    I'd made this change on my server but it didn't seem to have any effect. It dawned on me that I'm using POP, not IMAP. So I found in /etc/courier-imap/pop3d the same settings. I changed the MAXDAEMONS from 40 to 80 and MAXPERIP from 4 to 40 and voila, all my connections concurrently worked.
    This has taken me more than two days to fix and I hope posting this helps someone else with the same issue.

  • Cannot setup Blackberry Internet Mail - get error: The site cannot be accessed in this manner.

    I am trying to setup email on my Blackberry, when i load the link I get error:
    The site cannot be accessed in this manner. Please use the URL or link provided to you by your service provider.
    Please help..
    Cathy

    I'm not sure why that is not working for you.
    North American Carriers - scroll down to select your carrier and login.
    WorldWide Carriers - Find your carrier on the list
    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

  • I am getting error "The connection to the server was reset while the page was loading" whenever i am trying to view one perticular page asset?.

    Hi Experts,
    i am getting  error "The connection to the server was reset while the page was loading" whenever i am trying to view one perticular page asset. i am directly view page asset through contribute editor. Please tell me what is the issue.
    Thanks
    Satya

    Hello.
    Can you provide more details? Is there more information in the logs (what's the stacktrace)? What version are you working with?
    Regards,
    Raul.

  • PLEASE HELP i get error:The operation couldn't be completed. (com.apple.installer.pagecontroller error -1.) when trying to open a .pkg file downloaded from microsoft store. they said it needs to be dmg but how?

    i get error:The operation couldn’t be completed. (com.apple.installer.pagecontroller error -1.) when trying to open a .pkg file downloaded from microsoft store. they said it needs to be .dmg file but how?

    Student_245,
    are you certain that you’ve completely downloaded the .pkg file — that the download didn’t end prematurely?

  • Getting error "The request failed with HTTP status 401: Unauthorized " for _vti_bin/Authentication.asmx

    Hi All,
    My Web application is FBA application and I am using the lists.asmx services in my custom webpart. To run this lists.asmx service in FBA enabled site we need to use Authentication.asmx service..
    I referred this link:
    http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/21867e28-75d5-42c8-850b-bfb5c5894eed .
    I wrote a code as mentioned in this article but now I am getting  error "The request failed with HTTP status 401: Unauthorized " for Authentication.asmx service itself. Can somebody help me why it is not working even everything looks
    correct?
    Thank you.
    Regards,
    Rahul Shinde.

    Hi Rahul,
    Give permissions to the user on the web application.
    Central Admin -->Application Management --> Application Security -->Policy for web application --> Select the
    web application --> Add User
    For more information, refer to
    http://microsoftdev.blogspot.com/2009/10/sharepoint-web-services-access-give.html
    http://www.codeproject.com/Articles/24244/Access-a-Forms-Based-SharePoint-Site-s-Web-Service
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • While installing itunes with windows 7, i get error -the feature you are trying to us is on a network resource that is unavailable-

    While installing itunes with windows 7, i get error -the feature you are trying to us is on a network resource that is unavailable-

    That doesnt work for me. I removed itunes through the windows cleaner method as shown in other posts and re-installed itunes. Now im getting this error
    iTunes was not installed correctly. Please reinstall iTunes
    Error 7 (Windows error 126)
    Also my Microsoft office has stopped working after i deleted Itunes which is really strange.
    Can somebody provide me a solution please....

  • HT1338 Update bundle just released for Aperture 3.4.2, Safari 6.0.2, and iPhoto 9.4.2 will not install.  Keep getting error "The operation couldn't be completed. (NSURLErrorDomain error -3001.)(102)"  Any one else having this issue?  Please help.

    Update bundle just released for Aperture 3.4.2, Safari 6.0.2, and iPhoto 9.4.2 will not install.  Keep getting error "The operation couldn't be completed. (NSURLErrorDomain error -3001.)(102)"  Any one else having this issue?  Please help.

    Hi there!
    Yes, same problem too; I've already sent an email to apple support and just received a very vague and unpractical response with "call apple support in your country" as main advice. I've obviously emailed back stating that I need a clearer response and I don not have any intention to spend money calling for support when updates is a free tool. I do also believe this is a probem generated on Apple's end, I just wish they learned to say "sorry, it's us;  working on it!"
    Message was edited by: MacLuc

  • TS1424 When attempting to download iTunes I keep getting error The system administrator has set policies to prevent this installation.  This is home PC and I am administrator.  Any help is appreciated.

    When attempting to download iTunes I keep getting error The system administrator has set policies to prevent this installation.  This is a home PC and I am the administrator.  Any help would be appreciated.

    Hi PSpark!
    I have an article here that I believe will help you troubleshoot this issue a little further. That article can be found right here:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • Boot camp 4.0 getting error the installer disc could not be found

    boot camp 4.0 getting error the installer disc could not be found.

    See if Windows 8 RP x64 works as an experiment.
    Usually slowest burn speed will.
    I am assuming that smething changed but there are I presume a number of other people who have, and folks with new MacBook Air too.

Maybe you are looking for

  • Schedule line, delivered quantity disappeared

    We have a sales order with four line items. All are the same material, except the quantities and prices are different. On several of these positions we have had (partial) deliveries. When we check the schedule lines we can clearly see which quantity

  • Trying to install an Adobe program from CC (CC is on a network drive)

    So I will try to explain this the best that I can.  Under our Adobe license we have enough to cover all of the computers in our facilities.  When we re-image computers it installs the basic Adobe programs that we need but some of the staff need other

  • HTML Snippets not working for most browsers

    I have a page with a flash movie in the background, which uses the following code in an HTML snippet: <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#v ersion=

  • Paper size and Cell size don't match

    I'm running Windows Vista 64-bit, and using a Shinko 2145 printer.  I've been able to print 4 x 6 's with no problem but now I've loaded the printer witih 5 x 7 paper.  I've gone into the control panel and changed the setting to 5 x 7 paper size, and

  • Maximize report at run time

    hi every body please any body tell me when i run report it will not display on full screen user maximize report to see all page data by mouse click i want when user run report the report maximize automaticaly thanks is advance allaha hafiz