Problem in BAPI_PO_CREATE1 with delivery date option

Hi Experts,
I'm using BAPI_PO_CREATE1 for uploading user excel file to create purchase orders.
The issue is PO is created successfully but the delivery date is not picking properly. System is picking some other delivery date.
Can any one help me out from this?????????
Any USEFUL INPUTS for solving this issue will be rewarded.
Code :
REPORT zmm_bapi_po_create.
*                             ''~``
*                            ( o o )
*    +------------------.oooO--(_)--Oooo.------------------+
*    | ZMM_BAPI_PO_CREATE -To create Purchase orders       |
*    |                                                     |
*    |                    .oooO                            |
*    |                    (   )   Oooo.                    |
*    +---------------------\ (----(   )--------------------+
*&    Program Name     : ZMM_BAPI_PO_CREATE
*&    Transaction Code :
*&    Module Name      : MM
*&    Developer        : Lakshmiraj.A
*&    Functional       : Xavier
*&    Transport Request:
*&    Program Type     : Report
*&    SAP Release      : 46C
*&****************************REVISION LOG*****************************
*&  Log     Date         Author              Description
*&------------------------ TABLE USED --------------------------------*
*&---------------------- VARIABLE DECLARATION ------------------------*
*  For Storing file name.
DATA  : filename1 TYPE string.
*  Flag to identify the matching entries
DATA  : flag(1).
*  For Display Message
DATA  : g_msg(80) TYPE c.
*  Declaring that as a character with length 4096.
TYPES truxs_t_text_data(4096) TYPE c OCCURS 0. "  Type Group : TRUXS
*  Containing RAW Data
DATA : it_raw TYPE truxs_t_text_data.
*&------------------------- INTERNAL TABLE ---------------------------*
DATA: gstest LIKE bapimepoheader.
DATA: g_ebeln LIKE bapimepoheader-po_number.
DATA: BEGIN OF g_bapimepoheader OCCURS 0.
        INCLUDE STRUCTURE bapimepoheader.
DATA: END OF g_bapimepoheader.
DATA: BEGIN OF g_bapimepoheaderx OCCURS 0.
        INCLUDE STRUCTURE bapimepoheaderx.
DATA: END OF g_bapimepoheaderx.
DATA: BEGIN OF g_bapimeposchedule OCCURS 0.
        INCLUDE STRUCTURE bapimeposchedule.
DATA: END OF g_bapimeposchedule.
DATA: BEGIN OF g_poschedulex OCCURS 0.
        INCLUDE STRUCTURE bapimeposchedulx.
DATA: END OF g_poschedulex.
*DATA: BEGIN OF g_bapieikp OCCURS 0.
*        INCLUDE STRUCTURE bapieikp.
*DATA: END OF g_bapieikp.
DATA: BEGIN OF g_bapimepoitem OCCURS 0.
        INCLUDE STRUCTURE bapimepoitem.
DATA: END OF g_bapimepoitem.
DATA: BEGIN OF g_poitemx OCCURS 0.
        INCLUDE STRUCTURE bapimepoitemx.
DATA: END OF g_poitemx.
DATA: BEGIN OF g_bapiret2 OCCURS 0.
        INCLUDE STRUCTURE bapiret2.
DATA: END OF g_bapiret2.
DATA: BEGIN OF itab OCCURS 0,
doc_type       LIKE    bapimepoheader-doc_type,
vendor         LIKE    bapimepoheader-vendor,
purch_org      LIKE    bapimepoheader-purch_org,
pur_group      LIKE    bapimepoheader-pur_group,
comp_code      LIKE    bapimepoheader-comp_code,
incoterms1 LIKE bapimepoheader-incoterms1,
incoterms2 LIKE bapimepoheader-incoterms2,
po_item        LIKE    bapimepoitem-po_item,
material       LIKE    bapimepoitem-material,
short_text     LIKE    bapimepoitem-short_text,
quantity       LIKE    bapimepoitem-quantity,
plant          LIKE    bapimepoitem-plant,
delivery_date  LIKE    bapimeposchedule-delivery_date,
END OF itab.
DATA: it_itab LIKE itab OCCURS 0 WITH HEADER LINE.
*&------------------------ SELECTION SCREEN --------------------------*
SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME TITLE text-100.
PARAMETERS : p_file LIKE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK blk.
*&-----------------------AT SELECTION SCREEN -------------------------*
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
* For getting input filename
  PERFORM get_filename.
*&-----------------------START OF SELECTION---------------------------*
START-OF-SELECTION.
* Open the Excel file and Update with the internal table
  PERFORM update_inttable.
  PERFORM bapi_upload.
*       FORM bapi_upload                                              *
FORM bapi_upload.
  it_itab[] = itab[].
  SORT itab BY vendor material.
  DELETE ADJACENT DUPLICATES FROM itab COMPARING vendor.
  LOOP AT itab.
    g_bapimepoheader-comp_code = itab-comp_code.
    g_bapimepoheader-doc_type = itab-doc_type.
    g_bapimepoheader-creat_date = sy-datum.
    g_bapimepoheader-created_by = sy-uname.
    g_bapimepoheader-vendor = itab-vendor.
    g_bapimepoheader-purch_org = itab-purch_org.
    g_bapimepoheader-pur_group = itab-pur_group.
    g_bapimepoheader-incoterms1 = itab-incoterms1.
    g_bapimepoheader-incoterms2 = itab-incoterms2.
    APPEND g_bapimepoheader.
    g_bapimepoheaderx-comp_code = 'X'.
    g_bapimepoheaderx-vendor = 'X'.
    g_bapimepoheaderx-doc_type = 'X'.
    g_bapimepoheaderx-purch_org = 'X'.
    g_bapimepoheaderx-pur_group = 'X'.
    g_bapimepoheaderx-incoterms1 = 'X'.
    g_bapimepoheaderx-incoterms2 = 'X'.
    APPEND g_bapimepoheaderx.
    LOOP AT it_itab WHERE vendor = itab-vendor.
      MOVE-CORRESPONDING it_itab TO g_bapimepoitem.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
           EXPORTING
                input  = it_itab-material
           IMPORTING
                output = it_itab-material.
      g_bapimepoitem-material = it_itab-material.
      APPEND g_bapimepoitem.
      g_poitemx-po_item = it_itab-po_item.
      g_poitemx-po_itemx = 'X'.
      g_poitemx-item_cat = 'X'.
      g_poitemx-plant = 'X'.
      g_poitemx-stge_loc = 'X'.
      g_poitemx-net_price = 'X'.
      g_poitemx-acctasscat = 'X'.
      g_poitemx-material = 'X'.
      g_poitemx-short_text = 'X'.
      g_poitemx-matl_group = 'X'.
      g_poitemx-quantity = 'X'.
      g_poitemx-po_unit = 'X'.
      g_poitemx-orderpr_un = 'X'.
      g_poitemx-trackingno = 'X'.
      g_poitemx-delete_ind = 'X'.
      APPEND g_poitemx.
      g_bapimeposchedule-po_item = it_itab-po_item.
      g_bapimeposchedule-sched_line = '001'.
      g_bapimeposchedule-del_datcat_ext = 'X'.
      g_bapimeposchedule-delivery_date = it_itab-delivery_date.
      g_bapimeposchedule-quantity = it_itab-quantity.
      APPEND g_bapimeposchedule.
      g_poschedulex-po_item = it_itab-po_item.
      g_poschedulex-sched_line = '001'.
      g_poschedulex-po_itemx = 'X'.
      g_poschedulex-sched_linex = 'X'.
      g_poschedulex-del_datcat_ext = 'X'.
      g_poschedulex-delivery_date = 'X'.
      g_poschedulex-quantity = 'X'.
      g_poschedulex-deliv_time = 'X'.
      g_poschedulex-stat_date = 'X'.
      APPEND g_poschedulex.
    ENDLOOP.
    CALL FUNCTION 'BAPI_PO_CREATE1'
         EXPORTING
              poheader         = g_bapimepoheader
              poheaderx        = g_bapimepoheaderx
         IMPORTING
              exppurchaseorder = g_ebeln
              expheader        = gstest
         TABLES
              return           = g_bapiret2
              poitem           = g_bapimepoitem
              poitemx          = g_poitemx
              poschedule       = g_bapimeposchedule
              poschedulex      = g_poschedulex.
    IF NOT g_ebeln IS INITIAL.
      COMMIT WORK.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
           EXPORTING
                wait = ''.
      REFRESH : g_bapimepoitem,
                g_bapimepoheader,
                g_bapimepoheaderx,
                g_bapiret2,
                g_poitemx,
                g_bapimeposchedule,
                g_poschedulex.
    ENDIF.
  ENDLOOP.
ENDFORM.
*       FORM GET_FILENAME                                             *
FORM get_filename.
  CALL FUNCTION 'F4_FILENAME'
       EXPORTING
            program_name  = sy-cprog
            dynpro_number = sy-dynnr
            field_name    = ''
       IMPORTING
            file_name     = p_file.
ENDFORM.
*       FORM UPDATE_INTTABLE                                          *
FORM update_inttable.
  REFRESH : itab[] , itab.
  CLEAR : itab.
  IF NOT p_file IS INITIAL.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
     EXPORTING
*     I_FIELD_SEPERATOR         =
       i_line_header            =  'X'
       i_tab_raw_data          =  it_raw         "  WORK TABLE
       i_filename               =  p_file
     TABLES
       i_tab_converted_data     = itab[]    "  ACTUAL DATA
     EXCEPTIONS
       conversion_failed        = 1
       OTHERS                   = 2.
    IF sy-subrc NE '0'.
      PERFORM callerr USING 'File Error!'.
      STOP.
    ENDIF.
  ELSE.
    PERFORM callerr USING 'Choose the file'.
    STOP.
  ENDIF.
ENDFORM.
*       FORM CALLERR                                                  *
*  -->  TEXT                                                          *
FORM callerr USING text TYPE string.
  CALL FUNCTION 'FC_POPUP_ERR_WARN_MESSAGE'
       EXPORTING
            popup_title  = 'ZMM_BAPI_PO_CREATE'
            is_error     = 'X'
            message_text = text
            start_column = 30
            start_row    = 8.
ENDFORM.
Regards
~Lakshmiraj~

Hi,
1. In Which system you are trying to run this ????  Are you running in IDES or currently running system?
   The reason may be if you are running in IDES , the factory calender may not be correctly positioned.
2. Also this error will occur at situations like....if your factory calendar will be of 2007 year....but the delievery date which you are giving is of 2008 . So error "delivery date exceeds factory calendar" occurs.
Some useful info for you,
Factory calander is must to run SAP. All the scheduling are calculated based on this only. You can define halidays for factory and assign to the calander. You can have 365 days calander / Sat& SU holiday calander or the holiday can be your wish.
The T code is SCAL.  create holidays first. create holiday calendar and assign the holidays in holiday calendar. create factory calender and assign the holiday calendar in factory calendar.The Factory calendar is client specific
Rgds,
Lakshmiraj

Similar Messages

  • Scheduling problem with delivery date in purch.req and requirement date

    Dear all,
    I have the problem, that the calculated delivery date in the purchase requisition does not correspond with the requiement date of the production or planned order.
    I would like to use planned delivery times in the material master.
    Example:
    Planned delivery time: 20 days
    Todays date 01.10
    Case 1)
    Requiement date of planned order 10.10
    Case 2)
    Requiement date of planned order 20.09
    This situation can happen in our envirnoment, as the engineering process still continues after start of production. In this case I would like to have the following result:
    Case 1)
    Delivery date is 10.10 minus the goods receipt time
    Case 2)
    Delivery date is day of MRP or one or two days more
    I made the setting that dates in the past are not allowed. This solves my first smal problem. I tried to set the scheduling margin key but these settings do not help me, as they are relevant for all materials. I need of course individual planned delivery dates per material.
    So, I want to change the standart MRP procedure that in the case of the "wished requirement date" not the calculated date is beeing taken, but the "wished date". Usually you receive an exeption for this case and you would need t solve this manually. But this we dont want to do.
    Can s.o. please help me? Thank you all very much, I really dont know what to do in this case.
    With best regards,
    Bjoern

    The question cannot be answerd by SAP standart as I see. We will go through a workaround.

  • Load a sales order with delivery date in the past

    Hi,
    We want to load in the system a sales order with delivery date in the past, and maintain the schedule delivery date in the past. To do that, in the customizing Sales And Distribution / Basic Functions / Delivery Scheduling and Transportation Scheduling / Define Scheduling By Sales Document Type, I selected the flag Blackwards. But the problem is that the rest of the dates in the scredule line: goods issue date, loading date, material avail.date and transportation Plan Date, are in blank and you cannot enter any data because the system deletes it.
    How can I have these dates informed with dates in the past?
    Thanks in advance,

    You can control this using the "Message Control" in the SAP IMG.
    Supplier Relationship Management>SRM Server>Cross-Application Basic Settings>Message Control>Influence Message Control
    Using this you convert Error to Warning or even swith off this message.
    Please refer this thread for complete steps:
    Re: How to change an error message to a warning message in SRM
    Note: you need to suppress the messages relevant to your case here.
    Regards
    Kathirvel

  • Order with delivery date always on perticular day

    Hi,
    My clients requirement is
    orders should always be ordered with delivery date Tuesdays for one sales organisation say X.
    planning calender wont work here because in order confirmed delivery date calculate with many criteria taking into
    consideration.
    then How to customize user's this perticular requirement?
    regards,
    Anup

    Hi anup12         
    Go to T.Code VOV8 & select your Sales  document type.In Requested delivery date mention the Lead time in days as 1 & save it
    --Raise sales order in VA01 & enter the material & check the requested delivery date.
    Let me know if your problem is solved
    Regards
    Pradeep

  • Problem in working with Japanese data

    Hello,
    We have an application, which should work for both English and Japanese languages. Our application is working fine for English data but in case of Japanese, we are facing problems. In the application, there is a language setting, where the user can select either English or Japanese. This changes the language of the labels to English or Japanese. We are handling this thru' ResourceBundles. But the data that is entered can be independent of this. In English setting also, the data entered or diplayed could be Japanese. Now we are facing problems at vaious places -
    1. When we enter Japanese data and save it, it gets copied into the bean and if there is any error in the saving, the same data from bean comes back on the screen. This data doesn't appear properly in Japanese.
    2. When we try to retrieve the already saved data from database, it doesn't show poperly in Japanese.
    We are using our own 'toUnicode' function, which converts the data to Unicode before saving the data to database. Similarly, we have tried different encodings like SJIS / Shift_JIS / ISO-2022-JP at various places i.e. in 'Page' directive or in HTML Meta tag or various combinations of these two. Nothing is working reliably. Sometimes for some combination, data retained in the first case is correct but it can't be saved. Sometimes it works with Unicode, sometimes without Unicode. Some combination affects the Japanese labels as well. Otherwise the labels at least are displayed properly.
    The same code with just Shift_JIS setting in 'page' directive, worked well in IIS Server for both English and Japanese.
    What could be the problem in WebLogic? Does it matter if WL is installed on English or Japanese machine?
    Kindly answer ASAP, since the project is getting delayed.
    Thanking in anticipation...
    -Medha

    Hi,
    is there a difference in handling Japanese and Chinese chars? If not I
    might be able to give you some hints.
    Daniel
    -----Original Message-----
    From: JSB [mailto:[email protected]]
    Posted At: Monday, February 12, 2001 6:22 PM
    Posted To: internationalization
    Conversation: Problem in working with Japanese data
    Subject: Re: Problem in working with Japanese data
    Have u solved this yet, and how ?
    Medha <[email protected]> wrote in message
    news:[email protected]...
    >
    Hello,
    We have an application, which should work for both English andJapanese
    languages. Our application is working fine for English data but in case
    of
    Japanese, we are facing problems. In the application, there is a
    language
    setting, where the user can select either English or Japanese. This
    changes
    the language of the labels to English or Japanese. We are handling this
    thru' ResourceBundles. But the data that is entered can be independent
    of
    this. In English setting also, the data entered or diplayed could be
    Japanese. Now we are facing problems at vaious places -
    1. When we enter Japanese data and save it, it gets copied into thebean
    and if there is any error in the saving, the same data from bean comes
    back
    on the screen. This data doesn't appear properly in Japanese.
    2. When we try to retrieve the already saved data from database, itdoesn't show poperly in Japanese.
    We are using our own 'toUnicode' function, which converts the datato
    Unicode before saving the data to database. Similarly, we have tried
    different encodings like SJIS / Shift_JIS / ISO-2022-JP at various
    places
    i.e. in 'Page' directive or in HTML Meta tag or various combinations of
    these two. Nothing is working reliably. Sometimes for some combination,
    data
    retained in the first case is correct but it can't be saved. Sometimes
    it
    works with Unicode, sometimes without Unicode. Some combination affects
    the
    Japanese labels as well. Otherwise the labels at least are displayed
    properly.
    The same code with just Shift_JIS setting in 'page' directive,worked
    well in IIS Server for both English and Japanese.
    What could be the problem in WebLogic? Does it matter if WL isinstalled on English or Japanese machine?
    Kindly answer ASAP, since the project is getting delayed.
    Thanking in anticipation...
    -Medha

  • Cannot Load Text Without Cheking the (With Master Data option)

    Hi,
    Suppose I want to create a Characteristic Infoobject, that will have only <b>text</b> but no attributes or hierarchies.
    For that in the Master data/texts tab of the Infoobject definition I checked the WITH TEXTS option but unchecked the WITH MASTER DATA option.
    But when I was trying to load the text to the infoobject it was not giving an error. But when I checked the WITH MASTER DATA option I was able to load the text.
    Can any one say why this happens, that though we do not want to load attributes, we have to check the with master data option for loading texts only.
    Thanks in advance.

    Can You tell us the error description..
    You donot need to check the master data option..
    Texts can be loaded without checking that option..
    If you tell us the error message we would be able to help you identify the real cause..
    Check for error log in SM37 or ST22
    ashish

  • For Dynamic Credit Check replacing Material Availability date with Delivery date

    Hi All,
    Our client has this requirement, where they want to change the standard SAP functionality which Checks whether a schedule line item in a sales order is with in horizon or not based on "Material Availability Date" VBEP-MBDAT. They want in place of this Delivery date of schedule line should be used i.e. VBEP-EDATU. I did some research and found out that this could be done technically by updating the BADI "BADI_SD_CM".
    Now we are stuck as to what needs to be changed? has anybody worked on this kind of requirement before?
    Please share your past experience.
    Thanks and Regards,
    Prateek Maheshwari.

    As you know, VBELN-Currency-POSNR-ETENR-MBDAT is standard exposure key of sales order but my ex-colleague changed it into VBELN-Currency-POSNR to compress exposure data for certain CCA.
    In this case, of course, that CCA should meet some biz requirements(User-exit. etc) like no partial delivery. etc.... for integrity of exposures..
    This case is different because you want to change value of key....and it's Date!!!!
    Anyway I think it's techinically possible but it's very risky in live system because existing exposures would be not removed even if delivered, changed, deleted or blocked.
    So you have to delete all exposures and rebuild after program changed.
    I'm writing it's possible now but I refused when my customer want to change it because I don't have any way to rebuild huge data in live system.

  • Order confirmation with delivery date in past

    Hello everybody,
    In the SNC portal, we have a lot of old Purchase order which are not confirmed, and when we try to confirmed them, we have the error below :
    Order XXXXXXXX, item 00010, schd. line 0000000002: delivery date lies in past
    My client wish create a super user (admin ?) who can confirmed a Purchase Order item with a delivery date in past (for example 06/08/2011).
    Is it possible to create such profiles? If so how to configure it in SNC.
    Are there other solutions ?
    Thank you very much for your help.
    Stéphane.

    Hi Stéphane,
    Normally in a standard SAP settings Purchase order confirmation in past gives warning message but you can have PO confirmation in past from warning to error or Information.
    Go to SPRO>Supply Network Collaboration>Basic Settings>Validation>Own Settings-->Maintain Settings in Validation Profiles
    Maintained below setting if you want message as information (No error or warning message)
    Profile:POC2
    Validation check:PO_DELVRY_DATETIME_IN_PAST
    Msg.Type:I
    Save Mode:Save Message as Valid
    Continuation Mode:Continue checks
    Profile:POC3
    Validation check:PO_DELVRY_DATETIME_IN_PAST
    Msg.Type:I
    Save Mode:Save Message as Valid
    Continuation Mode:Continue checks
    Maintained below setting if you want message as error
    Profile:POC2
    Validation check:PO_DELVRY_DATETIME_IN_PAST
    Msg.Type:E
    Save Mode:DO not Save Message
    Continuation Mode:Discontinue checks
    Profile:POC3
    Validation check:PO_DELVRY_DATETIME_IN_PAST
    Msg.Type:E
    Save Mode:DO not Save Message
    Continuation Mode:Discontinue checks
    Maintained below setting if you want message as warning
    Profile:POC2
    Validation check:PO_DELVRY_DATETIME_IN_PAST
    Msg.Type:W
    Save Mode:Save Message as Valid
    Continuation Mode:Continue checks
    Profile:POC3
    Validation check:PO_DELVRY_DATETIME_IN_PAST
    Msg.Type:W
    Save Mode:Save Message as Valid
    Continuation Mode:Continue checks
    Above setting is a generic setting for all user and If you need User specific setting then it is a customization required.
    Regards,
    Nikhil

  • PO Confirmation with Delivery Date Validation Check

    Dear Experts,
    We have requirement in SNC to restrict PO confirmation within a agreed Delivery Date tolerance. This Delivery date validation should work similar to the Quantity validation we have in SAP standard through the PO_ITMUNDERDELIVERY/ PO_ITMOVERDELIVERY validation profiles.
    So the business wants that the Suppliers can only Confirm a PO when the Delivery date in the confirmation is within agreed tolerance (-5 / +1 day ) of the requested delivery date.
    Can you please let us know if there is some standard way through configurations to achieve this. I looked for validation profiles available for delivery date, but could see only for Quantity validations.
    Another option we looked for was to have a Z Table to store this Delivery date tolerance (-5/+1 days), and implement the BAdi /SCMB/BOL_VALFRMWRK to achieve through custom developments.
    Please let me know what solution options we can have for this requirement, as it is urgent.
    Thanks & Regards.
    Shiv.

    Hi Shiv,
    I think there is no need for Z-customization and you can achieve this standard way only thing you have maintained OWN validation:
    After below setting whenever Supplier try to give confirmation which is out side tolerance then system won't allow him to save the confirmation and if supplier is EDI which sends ROC_IN confirmation XML will fail in SNC (You can see that XML in SXI_MONITOR tcode in SNC).
    SPRO>Supply Network Collaboration>Basic Settings> Validation>Own Settings-->Maintain Settings in Validation Profiles
    And maintain below setting
    Profile:POC3
    Val.Check:PO_ACCEPTED_CONF_PUBLISH     
    Status:Active 
    Msg.Type:E(Error )
    Save Mode:DO Not Save message
    Continuation mode:Discontinue checks
    Checked
    Checked
    1-Error
    Profile:POC8
    Val.Check:PO_ACCEPTED_CONF_PUBLISH     
    Status:Active 
    Msg.Type:E(Error )
    Save Mode:DO Not Save message
    Continuation mode:Discontinue checks
    Checked
    Checked
    1-Error
    If you want alert whenever PO confirmation is not within tolerance activate the alert type 7035
    Path:SPRO>Supply Network Collaboration>Exceptions>Alert Type Activation>Activate Alert Types
    Alert type=7035
    History=<Blank>leave this entry blank.
    save this entry.
    If you want receive alert as email then maintain email alert notification:
    See the below link:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8009bba5-7806-2d10-0b80-fa26d8bcb07c?QuickLink=index&overridelayout=true
    In the above link you need to change alert type from 7051 to 7035.
    Regards,
    Nikhil

  • Shopping Cart created with delivery date outside factory calendar

    The user specified 13.08.2207 as the delivery date.  The Cart was approved and converted to a Purchase Requisition.  Status is now 'error in process' and of course no Requisition exists in table EBAN.  We cannot change the Cart because it is approved.  What other options do we have?

    Hi,
    Please check OSS note 814100.
    Also you can maintain calendar in SPRO or transation SCAL
    And you can also use BBP_DOC_CHECK badi to implement your own logic.
    Kind regards,
    Yann

  • Issue with delivery date in schedule line ??

    Dear Members,
    I have created a sales order on 05/18/2009.I am getting delv date on schedule line as 06/12/2009, due to this problem, I am unable to create a delv. What should I do now ?/
    I have checked the availbility of material and material is available on 05/18/2009.
    Also Checked on config of order type in V0V8 T-code, and lead time in not maintained.
    please let me know, where should I check.
    Thank you.
    Madhu

    hello, friend.
    on the schedule lines tab, try changing the date to the present and see if delivery can be confirmed.  another way is to run the "check item availability" functionality in the sales order.
    on the document header, check what date is being proposed for "Requested Delivery Date".  this date could be proposed based on settings for the document type.  but since you indicated that there was no lead time maintained, you will have to check lead times in:
    1.  the shipping point (deliveries processing, picking, packing, etc.)
    2.  in the MRP views of the material master
    3.  transportation lead times (routes, etc.)
    4.  if externally procured, purchasing lead times
    hope this helped you.
    regards.

  • Quoatation with Delivery date

    Dear SAP Gurus,
    During Creation of Quotation  the system has to provide the delivery date of the material considering the PP Masters (Routing,).
    Thanks in advance..
    Rgds
    Deepak singhal

    Thanks for the feedback but there is one more issue when the PR was created on 14.01.2011 the Planned Deilvery time was showing as 30 days and the delivery date was showing as 14.01.2011 (date on which PR was created) . This is a PR with account assignment F where we could see in the order Planned Delivery time was showing as 30 days . My question is then why is the Delivery date in the PR line item showing as 14.01.2011 (date on which PR created) and not taking the Planned delivery time into consideration while calculating the Delivery date of the PR .
    Thanks

  • Report: PO with delivery date

    Hi friends,
    I want to see the purchase orders for which the delivery date is over but item is not supplied yet. Is there any standard report for this?

    Hi
    in SE16
    use table EKET
    U will get desired report as per requirement
    If u want modify report as per need..Go to setting>Format list>choose fields
    I hope u will get required info by this report
    Award point if usefull ans.
    Vishal...

  • Use BAPI_SALESORDER_CREATEFROMDAT2 with delivery date in Header

    Hi all,
    In my current project I try to use BAPI_SALESORDER_CREATEFROMDAT2 to create the SO ,
    I can create the SO without setting delivery date in header.
    but after I set the delivery date like following, the error message occured. Could someone help me?
    ORDER_HEADER_IN-REQ_DATE_H = '20110330'
    ORDER_HEADER_IN-DATE_TYPE = '1'
    I try to add the requirment delivery date in schedule line ,but fail too.
    ORDER_SCHEDULES_IN-REQ_DATE =  '20110405'
    ORDER_SCHEDULES_IN-DATE_TYPE =  '1'

    Nothing special,
    TYPE: e
    ID: V4
    NUMBER: 219
    MESSAGE :Sales document  was not changed
    I  try to see the log in ST22 too. but nothing in there.
    I also try to use BAPI_SALESORDER_SIMULATE to generat SO ITEM to fill
    the ORDER_ITEMS_IN (after some data formate translated) but, still got the same result.
    My codes in VS as following:
    when without delivery date setting, the SO is OK, So I belive the data transport is fine.
    The promble is mainly occur in BAPI.
                   IRfcFunction function = repo.CreateFunction("ZCMT_RFC_SO_CREATE2");
                    //importing parameter
                    IRfcStructure salehd = function.GetStructure("ORDER_HEADER_IN");
                    IRfcStructure salehdx = function.GetStructure("ORDER_HEADER_INX");
                    //Tables
                    IRfcTable returntable = function.GetTable("RETURN");
                    IRfcTable item = function.GetTable("ORDER_ITEMS_IN");
                    IRfcTable itemx = function.GetTable("ORDER_ITEMS_INX");
                    IRfcTable partner = function.GetTable("ORDER_PARTNERS");
                    IRfcTable schedule = function.GetTable("ORDER_SCHEDULES_IN");
                    IRfcTable schedulex = function.GetTable("ORDER_SCHEDULES_INX");
                    //IRfcTable condition = function.GetTable("ORDER_CONDITIONS_IN");   //commented
                    //IRfcTable conditionx = function.GetTable("ORDER_CONDITIONS_INX");   //commented
    //* Build order header
                    salehd.SetValue("DOC_TYPE", "ZOR");       
                    salehd.SetValue("SALES_ORG", "2011");    
                    salehd.SetValue("DISTR_CHAN", "01");     
                    salehd.SetValue("DIVISION","00");       
                    salehd.SetValue("REQ_DATE_H", "20110412");
                    salehd.SetValue("DATE_TYPE", "1");
                    salehd.SetValue("PURCH_NO_C", "test");       
                    salehd.SetValue("PRICE_DATE", "20110331");
                    salehd.SetValue("PMNTTRMS", "0002");       
                    salehdx.SetValue("UPDATEFLAG", "I");       
                    salehdx.SetValue("DOC_TYPE","X");       
                    salehdx.SetValue("SALES_ORG","X");    
                    salehdx.SetValue("DISTR_CHAN","X");     
                    salehdx.SetValue("DIVISION","X");       
                    salehdx.SetValue("REQ_DATE_H", "X");
                    salehdx.SetValue("DATE_TYPE", "X");
                    salehdx.SetValue("PURCH_NO_C", "X");       
                    salehdx.SetValue("PRICE_DATE", "X");
                    salehdx.SetValue("PMNTTRMS", "X");       
    //* Build order item(s) - Only 1 is used in this example
                    item.Append();
                    item[0].SetValue("ITM_NUMBER", "000010");       
                    item[0].SetValue("MATERIAL", "HMS690C-T002-A1");       
                    item[0].SetValue("PLANT", "2011");      
                    item[0].SetValue("TARGET_QTY", "3.000");      
                    item[0].SetValue("SALES_UNIT", "PCS");      
                    itemx.Append();
                    itemx[0].SetValue("UPDATEFLAG", "I");       
                    itemx[0].SetValue("ITM_NUMBER", "000000");       
                    itemx[0].SetValue("MATERIAL", "X");       
                    itemx[0].SetValue("PLANT", "X");      
                    itemx[0].SetValue("STORE_LOC", "X");  
                    itemx[0].SetValue("TARGET_QTY", "X");      
                    itemx[0].SetValue("SALES_UNIT", "X");      
                    schedule.Append();
                    schedule[0].SetValue("ITM_NUMBER", "000010");
                    schedule[0].SetValue("SCHED_LINE", "0001");
                    schedule[0].SetValue("REQ_QTY", "3.000");
                    schedule[0].SetValue("REQ_DATE", "20110331");
                    schedule[0].SetValue("DATE_TYPE", "1");
                    schedulex.Append();
                    schedulex[0].SetValue("UPDATEFLAG", "I");
                    schedulex[0].SetValue("ITM_NUMBER", "000010");
                    schedulex[0].SetValue("SCHED_LINE", "0001");
                    schedulex[0].SetValue("REQ_QTY", "X");
                    schedulex[0].SetValue("REQ_DATE", "X");
                    schedulex[0].SetValue("DATE_TYPE", "X");
    //* Build partner information
                    partner.Append(2);
                    partner[0].SetValue("PARTN_ROLE", "AG");       
                    partner[0].SetValue("PARTN_NUMB", "C10006");       
                    partner[1].SetValue("PARTN_ROLE", "WE");       
                    partner[1].SetValue("PARTN_NUMB", "C10006");

  • Problem with 'restrict data' option in Web Analysis' Analysis Tool

    I feel like i'm in the twilight zone.
    We have made a report in web analysis, withh essbase as a source, and works fine.
    We want to restrict data for customers that generate more than 1,000,000 revenue, for example
    So, we go to Analysis tools, restrict data. The dialog window opens
    We hit 'Select Column...' and nothing happens. No Column is shown, thus being unable to complete the dialog.
    Should we enable something in essbase to allow this? We are newbies, but we think this should be pretty straightforward.
    We have also tried to do that with the Analysis tools administrator, with the same result.
    We are using Web Analysis 9.3.1.
    Any feedback will be appreciated.
    Thank you
    Edited by: hectorsosar on 22/06/2009 02:31 PM

    It got fixed by removing a filter from a dimension, and placing that dimension as a page.
    Thanks,
    Hector

Maybe you are looking for

  • How to create Report group in GR55

    Hi gurus, I have to create new report group for special purpose ledger for getting report in GR55 please assist me how to create the new report group? Initiatives are highly appreciated and rewards with points. Regards Chandra

  • Scrambled order of images via Apple TV from shared folder

    When I select a folder of images on my computer which are sorted in ascending number in the folder, the set of images I then view on my TV is partially scrambled!  Why don't they appear in the numeric order which I created in the folder?  I have adde

  • 6110 Navigator: Missing videos after closing camer...

    Hello. I was shooting some video scene, and in a rush, closed the sliding cover before pressing the "STOP" button. I thought that would save the captured video as well, but alas, the video file could not be found at all in the memory card. Pretty sad

  • FRM-40735 error message

    Hi! I have a strange problem. I have a working application developed with Forms 5.0.6.8.0. The app uses a stored proc to lock tables for inserts/updates. It works with Oracle8 on NT4S and Oracle 7.3 on DEC Alpha. We have a database (Oracle 7.2 NT4WS)

  • Sound from video plays after video player removed from stage

    I have a website http://www.droolpigs.com when I go there if I click the video archives button then play a video  then click on the home or photos button or one of the alternate  background buttons on the left the video goes away as it should but not