Lead time from catalog does not consider factory calender

Hi,
we are working with SRM 2.0 classic scenario. I have following problem:
We take over lead time from a supplier catalog via OCI in EBP. This works but the lead time does not consider holidays and weekends. How can I activate the Factory Calender?
Thanks Thomas

Hello,
I just sniff arround and found out that EBP 3.0  does not support factory calendar.
You should use BBP_DOC_CHECK_BADI or BADI BBP_CATALOG_TRANSFER and call within this BADI the function modules requesting the factory calendar data via RFC on the backend.
i.e.
get the target system of the follow-on document            
    SELECT log_sys from BBP_DET_LOGSYS INTO wa_logsys-log_sys
    WHERE CATEGORY = ls_item-category.                       
    ENDSELECT.                                                                               
read table T001WK                                          
    CALL FUNCTION 'META_READ_TABLE'                          
      EXPORTING                                              
        query_table    = 'T001W'                             
        logical_system = wa_logsys-log_sys                   
      TABLES                                                 
        options        = options                             
        fields         = fields                              
        data           = tabcont                             
      EXCEPTIONS                                             
        OTHERS         = 1.
fill the internal table xt001w                         
    LOOP AT tabcont INTO la_tabcont.                     
      MOVE la_tabcont-content+3(4) TO la_xt001w-werks.   
      MOVE la_tabcont-content+61(2) TO la_xt001w-fabkl.  
      APPEND la_xt001w TO xt001w.                        
    ENDLOOP.                                             
    SORT xt001w BY werks.                                                                               
get the fabric calendar related to the plant           
    READ TABLE xt001w INTO ma_XT001W                     
    with KEY werks = ls_item-BE_PLANT.                   
check if delivery date is a working day                
    CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'          
      DESTINATION wa_logsys-log_sys                      
      EXPORTING                                          
        DATE                 = ls_item-DELIV_DATE        
        FACTORY_CALENDAR_ID  = ma_XT001W-fabkl           
      IMPORTING                                          
        WORKINGDAY_INDICATOR = W_IND.                                                                               
get an error message if delivery date is not a working date             
    IF W_IND = '+'.                                                                               
CLEAR ls_message.                                                                               
ls_message-msgty   = 'E'.                                           
      ls_message-msgid   = 'ZBBP'.                                        
      ls_message-msgno   = 'xxx'.                                         
      ls_message-msgv1   = 'error message text, e.g. delivery date not    
working date'.                                                            
      ls_message-item_guid = ls_item-guid. "assign message to item        
      APPEND ls_message TO et_messages.                                                                               
ENDIF.                                                                               
endloop.

Similar Messages

  • I try to drag a photo folder into lightroom 4 on my MAC, lightroom fails to open and a 'Corrupt Catalog Detected' screen pops up.  Clicking on 'repair catalog' does not work either.  Any suggestions?

    I try to drag a photo folder into lightroom 4 on my MAC, lightroom fails to open and a 'Corrupt Catalog Detected' screen pops up.  Clicking on 'repair catalog' does not work either.  Any suggestions?

    I'll have to get a better instructor on deleting the preferences since when I've doen it in the past nothing is there when I open LR the catalog is gone. I assumed that was what was supposed to happen so I start importing all over again.  But that is a different issue...
    The problem has been happening since at least the beta of 3 came out and I saw other posts back then saying they had similar issues but I assume it was a beta thing...  But since the full version came out and through each incremental change I haven't seen an improvement. If anything it has gotten a little worse with time.
    I have to try to be careful to not be in a hurry and start clicking around in the catalog as it seems fragile until it has cataloged all the photos in the library. When starting you will see the numbers populate the folders very slowly and I try not to click on a folder that hasn't had the number of photos pop up yet. Also draging the slider down to see more of the cataloge can have the same affect and crash the system.
    I wish I had more to go on.. I believe it may be a resources issue but as I went from 3-4 Gig I thought it would get better. I don't have big programs running but did have outlook and word running in the background along with firefox and chrome.
    And yes it only happens on this HP desktop (it's 2+ yrs old) and may be showing it's age a bit. My laptop which has less resources doesn't have the issue.. I have them sharing the catalog. (not at the same time) just when I'm working in other places in the house.
    Jeff

  • Creating pdf from clipboard does not import images or formatting

    Creating PDF from clipboard works perfect in acrobat X however in acrobat XI no images are imported and the text just defaults to times roman font. My wife uses acrobat for her craft patterns and copies from the web all the time with no issues in Acrobat X. She tried it on Acrobat XI and it just looks like garbage. The text is there but the images that were copied along with the text are not. I have examples that she did using the exact same clipboard in both X and XI.

    Bill@VT wrote:
    I guess I must not understand how you are transferring the items to the clipboard. Is the browser the same one you used with AA X?
    Yes, I used the same browser (Chrome) with AA X and AA XI.
    Bill@VT wrote:
    When I did it with AA XI, I used the mouse (on a PC) to select the text and figures in my browser and copied that info to the clipboard (ctrl-C on the PC and I assume similar on the MAC).
    Yes, the procedure for copying info to the clipboard is similar for a Mac and a PC. I select the info (in this case, text and graphics) with the mouse, and can copy it to the clipboard with either Command-C (Mac equivalent of ctrl-C), or by right-clicking on the highlighted info and choosing "copy" from the pop-up window.  I do not have to use Print Screen in conjunction with this procedure. If I use Print Screen, it copies everything that my monitor displays and the results of a paste are an image.
    Is there something I am missing about getting the web page parts wanted to the clipboard? If you clip the items into a graphics packages, does the graphics show up as desired?
    No, you are not missing anything. All of the web page parts are in the clipboard. The problem is that only the text is showing up when I use the create PDF from clipboard option in AA XI. I do not have a graphics package installed; however, if I paste the clipboard contents into Word, both the text and graphics show up.
    I checked the PDF created with my AA XI and found the text as text and the the graphic as graphic, not simply a graphic as you suggested. Is it possible the graphic is shown with a place holder or just space for the graphic. If that is the case, check the preferences that you have "view large images" turned on.
    As I explained ad nauseum, the PDF I try to create with AA XI using create PDF from clipboard does not include the graphics; it only has the text. I just checked the preferences and "view large images" is turned on. I could not find any other preference settings that would seem to help with the problem I am having.
    I can paste the clipboard contents directly into Word and print the document to a PDF. When I do that, though, I usually have to spend a lot of time editing the Word document, because the contents are not in the same format. The paragraphs are usually squashed together, or the photos are too large and I have to change the size. This just takes up more time than I have to spend.
    The bottom line is that it seems to me Adobe must have changed something in the Mac version of AA XI that causes it to not work the same way it does in AA X. The PC version is obviously okay, because you are able to get the feature to work.
    I guess I am going to have to give up on this problem and stick with using AA X.
    Thanks again for all your help.

  • The past few days my Mail app has started downloading multiple copies of e-mails from all pop servers.  This is only happening on my Macbook not other macs.  Deleting mail from server does not help. I ran ClamXav found 2 viruses deleted problem continues

    opps.  Long title there... The past few days my Mail app has started downloading multiple copies of e-mails from all pop servers.  This is only happening on my Macbook not other macs.  Deleting mail from server does not help. I ran ClamXav found 2 viruses deleted those.  Checked for software update and installed suggested downloads.  Problem still contintues.  Any suggestions?

    Folks,
    even after having repaired the inbox folder under "properties" a few times, I still had some e-mails where the contents are different from the subject line.
    In other words in the inbox there are two e-mails: one with subject line "abc", and another one with subject line "def".
    When I display the e-mail with the subject line "abc", the contents are from the e-mail with the subject line "def" in the in-basket.
    What else can be done to correct this problem?
    Thanks and best regards.
    Fred Kunz-Shirzad
    Chemin Ronzeures 6A
    1297 Founex VD
    Switzerland
    [email protected]

  • Field catalog does not agree with the fields of the functional area

    G'day everyone,
    I am using a generic extractor via infoset to extract data from R/3 source system.
    Using RSA3, I have obtained an error message and no further details.
    ****ERROR MESSAGE
    "Field catalog does not agree with the fields of the functional area
    Message no. RSUQ134
    ****ERROR MESSAGE
    I have checked and adjusted my infoset in SQ02 and they seems fine but still obtain the same error.
    In BW, replicated the datasource and activate the transfer rules but still obtain the same error.
    Anyone knows how to get more details for this type of error? Or how to fix this problem?
    Regards
    Wayne

    I think I have just solved it.
    Transaction RS02 delete and recreate after checking the structure in BW and Source system are the same.
    Cheers

  • OSA11i / Express database Error: 'SO.CATALOG does not exist...'

    Hi All,
    I'm working with Express and Oracle Sales Analyzer (OSA11i). After years of faithful service, suddenly on attempting to open OSA11i we get the following error message which prevents us from opening the database in OSA.
    "Error opening in database, the following error occurred in Express. SO.CATALOG does not exist in any attached database"
    I tried to access via the OSA Database Manager to attempt to manage the catalogs but when I try to open the database I receive the same error.
    I'm very new to administration of this application, could you please help me to solve my problem or point me in the direction of resources (I understand the product is old and now de-supported)...
    Kind regards

    Hi,
    Try posting in the OLAP forum:
    OLAP
    Thanks, Mark

  • HT201250 Time Machine App does not start under OS X Lion

    I tried to restore an item from my back-up, however the Time Machine App does not start.
    I use the latest version of OS X Lion 10.7.5 (Build 11G63).
    I used the work around by opening my back-up volume with the finder and copied the wanted item.
    However, this is not the correct approach I think.
    Does anybody have a solution to my problem?

    Just the last addition to my question.
    The modifications of the access rights took very, very long. In the end I cancelled the process.
    Nevertheless, time machine now works correctly. As far as I can see it.
    If annybody runs into similar problems. The solution is I think just to modify the access rights on the back-up volume to read and write access for everyone.
    Probably OS X Lion added an undocumented feature to the time machine.

  • Planning Proposal -  Transport.plan.pnt from data profile not considered!

    Dear Gurus,
    When clicking on the Planning Proposal to manage my deliveries I have the following 2 messages of error:
    1-  Transport.plan.pnt from data profile not considered!
    2-   Shipment type from data profile not considered!
    What does that mean and how can I modify this situation
    Many thanks in advance for your help
    Chris

    Closed

  • Time From field is not getting displayed in correct format in Activities

    Hello Experts ,
    We are facing one problem in UI , when we search for Activities in Web UI . In the field "Time From" we are not getting the time in correct format , ie is instead of  getting time as say 13::38 we are getting time as 13::3 , but when we place cursor on it the field it shows correct format say 13::38.
    Can any one suggest how to display in correct format ?
    Regards
    Vinayak

    Hi,
    Its an SAP Product error.
    Please check note 1151821 ,if you facing the greyed button in time.Also the other note 1136402 needs to be applied for time display issue
    - Bobby

  • Is there another way i could turn my phone on? it wont turn on or show me the battery screen to show its charging. i already tried to hold the on and home button at the same time but it does not want to turn on. please help?

    is there another way i could turn my phone on? it wont turn on or show me the battery screen to show its charging. i already tried to hold the on and home button at the same time but it does not want to turn on. please help?

    Device Not Recognised
    For PC
    http://support.apple.com/kb/TS1538
    For Mac
    http://support.apple.com/kb/ts1591

  • Version 8.1 Can't Activate, Can't Update, Can't create/export NX *.prt Files to 3D PDF. Screen Capture feature does not properly represent Model/Bodies. Printing from NX does not recognize Adobe Acrobat 3D as a printer to try and export.

    Version 8.1 Can't Activate, Can't Update, Can't create/export NX *.prt Files to 3D PDF. Screen Capture feature does not properly represent Model/Bodies. Printing from NX does not recognize Adobe Acrobat 3D as a printer to try and export.
    I was able to register it though.

    Not a surprise. The Acrobat 8 product family passed into End of Support back in 2011.
    Be well...

  • The time machine Icon does not does not show up in my menu bar

    The time machine icon does not appear in my menu bar. The desk top icon for the external hard drive is green. I've checked preferances and the time machine is turned on and the box is checked that has the icon appear in my menu. I've turned off the time machine and rebooted and then turned it on and rebooted again. Nothing seems to work. I'm running Mavericks and I have an Intel I5 processor.

    the box is checked that has the icon appear in my menu
    Uncheck it and check it again. Any change? If not, see below.
    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • Music file transfered from PC does not appear in t...

    Some of my music files transfered from PC does not appear in the music player in the cellphone but they appear as rigntone..NOKIA N81
    How will i resolve it??
    Can someone help me?
    Please reply, it's urgent.

    Hi Irosenth
    Thanks for the answer. I am not sure I understand your question though.
    We have a collection of reader enabled pdfs that the user can open in a webbrowsercomponent in a .Net winform.
    We used to (Reader 9.4 and before) replace the Readers "save pdf" button with our own "save pdf" button that
    - saves the pdf
    - exports its data as xml
    - send a message to the .Net winform that the pdf has been saved.
    We implemented our own save button and its functions using a plug-in.
    Now I can't find our "save pdf" button in Reader X. That is my problem.
    So I try to create a new toolbar and place our "save pdf" on this new toolbar as you adviced me.
    I expect the toolbar to show up in the Tools pane in the webbrowser component in Reader X.
    But it doesn't. There is no Tools pane when I open the PDF in the webbrowser.
    (btw all the keyboard shortcuts we have created in the plugin (ie CTRL, ALT, L) works fine - so the plugin generally works).
    When I couldn't find my toolbar with its button in the webrowser, I tried to open one of the reader enabled pdfs in the Reader X as a standalone application.
    This was just as a test to see if it worked any different from the browser plugin. It is not part of our use case.
    But I noticed that in the standalone Reader X I do have a Tools pane, and my new toolbar but no "save pdf" button.
    This is how it looked with Reader 9.4 and before:
    OK the red text in the screenshot is quite difficult to read. It says (from above)
    "We have replaced the Readers save button with our own save button in the plugin.
    This is the (selvcreated save) button I miss in Reader X"
    "This is a Reader enabled PDF shown in a webbrowser component in a .Net Winform"
    "The users only have the Reader, not Acrobat"
    Best regards
    Jan
    Message was edited by: Dafolo_Jan

  • I am having issues with adjusting the duration of time for each still frame and transition in imovie 11.  Each time that I adjust these times, the app does not accept the change, and automatically enters its own time. Am I doing something wrong?

    I am having issues with adjusting the duration of time for each still frame and transition in imovie 11.  Each time that I adjust these times, the application does not accept the change, and instead automatically enters its own time. Is there a work around this? Or am I doing something wrong? Please Help!
    Thank you,
    lagrl

    Have you tried turning off automatic transitions ? Choose file - project properties and follow the dialogue box to change duration with a slider.  iMovie also doesn't allow a transition to be more than 50% duration of the clip its attached to. In other words if the clip is 4 seconds the transition cannot be more than 2 seconds and remember that relates to the first clip as the following clip (right side) is pulled back to overlay it.
    Does this help.  Perhaps you already know this ?

  • HT1937 i have a white iphone 4 that says it was approved but restoring from itunes does not show (congrats unlocked message)

    i have a white iphone 4 that says it was approved but restoring from itunes does not show (congrats unlocked message)
    hel

    MaDCrackeR wrote:
    Email from AT&T says the IMEI number was approved for unlocking
    ..........4S that worked fine and it shows the message "congrats unlocked" in itunes
    When restored. But the 4 does not. AT&T insists its unlocked but they are only going off
    Of the request and IMEI number. Is there a way from the phone i can verify it was unlocked?
    If AT&T e-mail says it is unlocked, then believe it is so. Insert non-AT&T SIM inside and after backing up restore in iTunes again. Unlock gets attached.
    You can check the status of the unlock request on AT&T web-site.

Maybe you are looking for

  • DSO - Key figure  summation

    Hi Experts. I have a question on how BW is thinking when updating DSOs. If I mark the keyfigures in the DSO to summarize, what will then be the effect. If I compare to a SQL sentence I will sum the keyfigures for sure. But will i Group by all the oth

  • Transfer data from old iMac to new iMac

    Wish to transfer all data EXCEPT iTunes from old iMac (500 GB) to new iMac (2 TB).  Have read this is possible using Firewire connection, is this possible, if so what is the procedure, and how long does it take? Is another method preferable in terms

  • Muse CC 204.3 - Bad installation catalog

    Hi, I've updated Muse via CC and installation went to C:\Program Files\Adobe\ - there is no folder like Adobe Muse CC 2014.3 - like in previous version 2014.2 and less.

  • MacBook Pro 17" compatibility with SSD Drive

    Hi everyone                Please Help!!!!   I have a MacBook Pro 6,1 Mid 2010 2.66 core i7 memory 8 gb.   I want to put in a SSD hard drive the Samsung 840 Pro 256 gb I have tried to research so much that I am more confused as to it compatibility  I

  • Firefox 5 request to restart in 32-bit mode when using hotmail ... again .... :(

    Firefox 5 request to restart in 32-bit mode when using hotmail ... again .... :(