IDOC_INPUT_BLAORD updates EKKO-ZBD1T,ZBD2T,ZBD3T,ZBD1P,ZBD2P fileds as zero

Hi all, Please let me know if you encountered the same issue.
Thru FM IDOC_INPUT_BLAORD, am posting contracts (IDOC type: BLAORD03). I am only passing terms of payment through E1EDK01-ZTERM. I am assuming that relevant data for the payment term will be picked up from configuration,OBB8. I am not passing these values through the idoc.
ZBD1T     Cash (Prompt Payment) Discount Days
ZBD2T     Cash (Prompt Payment) Discount Days
ZBD3T     Cash (Prompt Payment) Discount Days
ZBD1P     Cash Discount Percentage 1
ZBD2P     Cash Discount Percentage 2
But these fileds are populated with zeros (initial values) , please suggest any note?
ECC 6.0
Thanks in Advance

Hello,
make sure you are passing the NO DATA Indicator '/' as value for those fields.
best regards,
Jacques Nomssi Nzali

Similar Messages

  • Update EKKO table

    Hi,
    I have got the requirement to update EKKO table while creating PO. The exact scenario is, I need to update email address based on some condition while creating PO.
    This is what I have found:
    When we create PO, the ADRNR field of EKKO would have a value. But when we change address in the PO manually then it would have ADRNR field value in EKKO. It will not change address in the vendor master record. In stead it is maintaining separate entry in ADRC.
    My issue is I have written the logic in EXIT_SAPMM06E_012 to generate ADRNR while creating PO. I do not know where to update the field ADRNR of EKKO. Am I following right step. Please advise.
    Thanks,
    Ramesh

    Hi,
    The sandard SAP approach is, whenever you change an address in address tab of PO the ADRNR field in the EKKO will be generated and corresponding record will be created in table ADRC.
    If your only requirement is to only store mail address, based on certain condition in PO and for that PO only, then you can store then mail address in any unused field at the header level in PO which is big enough to store the mail address or you can store the mail address in any header level text which you are not using.
    If this fulfil your requirement without affecting any other functionality you can dissucc with your functional consultant and decide which way to adopt.
    Regards,
    Pratik

  • Updating EKKO within user exit ZXM06U22 (EXIT_SAPLEBND_002)

    I am trying to update EKKO table (2 new fields that I added to CI_EKKODB) in user exit ZXM06U22 (EXIT_SAPLEBND_002).  I am populating E_CEKKO (the 2 new fields) with this information, but for some reason, it is not saving to the database (EKKO table) after I save my ME21N or ME22N transaction.  The very first thing i do in this user exit is:
    move-corresponding I_CEKKO to e_cekko.
    Does anyone have any ideas for other code that I need to add to this user exit to get these new field values in EKKO to save to database table?
    Thanks!
    Sarah.

    You should use SMOD enhancement MM06E005 to do this
    EXIT_SAPMM06E_006, EXIT_SAPMM06E_007, EXIT_SAPMM06E_008

  • UPDATING EKKO-PROCSTAT FOR A SAG (ME32L)

    Hi experts,
    I have a requirement that I need to update the ekko-procstat field.
    I found a bapi BAPI_SAG_CHANGE that I think its possible to do it, but when I use it always appears the following message:
    'Scheduling agreements with time-independent conditions are not supported'.
    Do you know what's the difference between time-independent and time-dependent's SAG's???
    Does anyone knows how to configure a SAG as time-dependent or configure the bapi to support these time-independent's SAG ???
    Or even if you have another idea for update ekko-procstat???
    Tks in advance!
    Gabriel

    Hi,
    In customizing you can define document types for scheduling agreements.
    There you can indicate whether time-dependent or time-independent conditions can be specified.
    OLME > Scheduling Agreement > Define Document Type
    Hope it help you.
    Best regards,
    Rodrigo

  • Update EKKO table for the custom field through BAPI

    Hi Experts,
    I need to create an Custom field in EKKO table through Include Structure.
    Now I have to update that custom field in my program.
    I have gone through the following but could not solve my question.
    Update EKKO table
    User Exit for ME21 PO Creation at the time of saving--Urgent
    I don't need to update when I hit the save button or any thing
    I have the PO's which needs to be updated with that field...
    Any suggestions would be greatly helpful.
    Thanks,
    Chaithanya...
    <removed_by_moderator>
    Edited by: Julius Bussche on Jul 7, 2008 10:47 PM

    Hi Patrick,
    Sorry Patrick you are right.. The structure is at header level.
    I have made the changes still I could not achieve it.
    I have made the following
    In EKKO table I have append the structure with a custom field ZZBUY.
    Now I have also appended BAPI_TE_MEPOHEADER and BAPI_TE_MEPOHEADERX with the custom field
    ZZBUY.
    Here is my program
    Data: wa_bapi_poheader  type BAPIMEPOHEADER,
             wa_bapi_poheaderx type BAPIMEPOHEADERX.
    Data: it1_bapi_poheader  like BAPI_TE_MEPOHEADER,
             it1_bapi_poheaderx like BAPI_TE_MEPOHEADERX.
    CALL FUNCTION 'BAPI_PO_GETDETAIL1'
      EXPORTING
        PURCHASEORDER            = wa_DATA-ebeln
    *   ACCOUNT_ASSIGNMENT       = ' '
    *   ITEM_TEXT                = ' '
    *   HEADER_TEXT              = ' '
    *   DELIVERY_ADDRESS         = ' '
    *   VERSION                  = ' '
    *   SERVICES                 = ' '
      IMPORTING
        POHEADER                 = wa_bapi_poheader
    *    POEXPIMPHEADER           =
      TABLES
        RETURN                   = it_bapireturn
    it1_bapi_poheader-ZZBUY = 'X'.
    it1_bapi_poheaderx-ZZBUY = 'X'.
    it_extensionin-structure = 'BAPI_TE_MEPOHEADER'.
    it_extensionin-valuepart1 = it1_bapi_poheader.
    append it_extensionin.
    Clear  it_extensionin.
    it_extensionin-structure = 'BAPI_TE_MEPOHEADERX'.
    it_extensionin-valuepart1 = it1_bapi_poheaderx.
    append it_extensionin.
    Clear  it_extensionin.
       CALL FUNCTION 'BAPI_PO_CHANGE'
         EXPORTING
           PURCHASEORDER                = wa_data-ebeln
           POHEADER                     = wa_bapi_poheader
           POHEADERX                    = wa_bapi_poheaderx
    *      POADDRVENDOR                 =
    *      TESTRUN                      =
    *      MEMORY_UNCOMPLETE            =
    *      MEMORY_COMPLETE              =
    *      POEXPIMPHEADER               =
    *      POEXPIMPHEADERX              =
    *      VERSIONS                     =
    *      NO_MESSAGING                 =
    *      NO_MESSAGE_REQ               =
    *      NO_AUTHORITY                 =
    *      NO_PRICE_FROM_PO             =
    *    IMPORTING
    *      EXPHEADER                    =
    *      EXPPOEXPIMPHEADER            =
         TABLES
           RETURN                       = it_bapireturn
    *      POITEM                       =
    *      POITEMX                      =
    *      POADDRDELIVERY               =
    *      POSCHEDULE                   =
    *      POSCHEDULEX                  =
    *      POACCOUNT                    =
    *      POACCOUNTPROFITSEGMENT       =
    *      POACCOUNTX                   =
    *      POCONDHEADER                 =
    *      POCONDHEADERX                =
    *      POCOND                       =
    *      POCONDX                      =
    *      POLIMITS                     =
    *      POCONTRACTLIMITS             =
    *      POSERVICES                   =
    *      POSRVACCESSVALUES            =
    *      POSERVICESTEXT               =
           EXTENSIONIN                  = it_extensionin
    *      EXTENSIONOUT                 =
    *      POEXPIMPITEM                 =
    *      POEXPIMPITEMX                =
    *      POTEXTHEADER                 =
    *      POTEXTITEM                   =
    *      ALLVERSIONS                  =
    *      POPARTNER                    =
    *      POCOMPONENTS                 =
    *      POCOMPONENTSX                =
    *      POSHIPPING                   =
    *      POSHIPPINGX                  =
    *      POSHIPPINGEXP                =
    *      POHISTORY                    =
    *      POHISTORY_TOTALS             =
    *      POCONFIRMATION               =
    It gives me messages saying that
    Please also populate interface parameter POHEADERX
    No data changed
    Where am I going wrong..
    Waiting for your replies....
    Thanks,
    Chaitanya

  • Updating EKKO table using E1BPPAREX

    Hi all,
    My requirement is to update ekko table using E1BPPAREX segement. I have gone through so many posts regarding this.
    In my case, PO number is not yet created. I am using BAPI_PO_CREATE1 for creating this . From PI side, if they pass the custom field value in the appropriate postion of VALUEPART field of E1BPPAREX, will it get updated to the ekko table automatically.
    Regards,
    Sajith

    Hi Sajith,
      you have to do is populate structure extensionin. You'll have to implement the fm DDIF_NAMETAB_GET to look for the right place (offset) in order to add the field on the structure extension in.
    Example:
      CALL FUNCTION 'DDIF_NAMETAB_GET'
        EXPORTING
          tabname   = c_ext_table   --> ''BAPI_TE_MEPOHEADER
        TABLES
          dfies_tab = lt_tab
        EXCEPTIONS
          not_found = 1
          OTHERS    = 2.
      CLEAR l_offset.
      LOOP AT lt_tab.
        CASE lt_tab-fieldname.
          WHEN c_yourfield.
            w_extin-valuepart1+l_offset = p_yourfield.
        ENDCASE.
        ADD lt_tab-leng TO l_offset.
      ENDLOOP.
      MOVE c_ext_table TO w_extin-structure.
      APPEND w_extin TO p_i_extin.
    Regards,
    Carlos.

  • Can ME_PURCHDOC_POSTED use to update ekko data

    hi all,
    can i use ME_PURCHDOC_POSTED to update ekko data..i tested but it didnt work, it will update ekko data provided i changed ekpo data...
    pls advise

    Try writing a personalization on the PO screen that adds the following condition to the where clause
    "and authorization_status !='APPROVED'
    However, I will be careful with a blanket restriction like this. There are situations when you need to modify an existing PO. So you should code some exceptions for this rule.
    Hope this helps,
    Sandeep Gandhi

  • Update EKKO Z field using Inbound Idoc

    I have an requirement where  I have to update Z field in EKKO while creating PO using inbound Idoc.
    Basic Idoc Type: PORDC103
    Function module: BAPI_PO_CREATE1
    Extended POHEADER and EKKO with z field.
    I am using exit EXIT_SAPL2012_001 to populate Z field while creating PO as below.
    poheader-zfield = '123'.
    extensionin-structure =  'Z_HEADER'.
    extensionin-valuepart1 =  '123'.
    APPEND extensionin.
    PO is getting created but z fields is not populated. Do i need to add any thing else apart from the above steps?.
    Any help appreciated.

    Rajitha,
    Add your Z field in structure BAPI_TE_MEPOHEADER and a corresponding flag in BAPI_TE_MEPOHEADERX.
    extensionin-structure = 'TE_MEPOHEADER'.
    extensionin-valuepart1 = '__________123'                      "'10 spaces than value for the field'.  
    APPEND extensionin.
    extensionin-structure = 'TE_MEPOHEADERX'.
    extensionin-valuepart1 = '__________X'                      "'10 spaces than X.  
    APPEND extensionin.
    You don't need to implement/use any exit for filling the custom fields.
    Regards,
    Diwakar

  • Trying to update from OS X 10.6.8 operating with zero problems to 10.9.2. Install over current OS results in inability to cold boot to mavericks. Must use option key to select 10.9.2 volume to boot to.

    Will boot from cold start sometimes but eventually will not boot at all. Just white screen. Have tried safe boot and cleaning out folders suggested by Apple care advisor. This helps temporarily. But white screen issue returns. Have removed all periferals problem persists. Have tried reseting Pram. This results in the Mac booting up into 10.6.8. ( I keep a backup clone on a different internal physical drive.) I've tried a clean install using migration assistant to bring over all my stuff. This results in a permissions mess that disk utility cannot fix.) I've tried migrating my data from snow leopard during the install process. Same permissions mess. Snow leopard works great but I'm concerned about lack of support with security updates going forward. I have three macs in the family. Have been a mac user since 2002. Paid the premium because Macs just WORK and I've not had to mess with them to stay alive. Mavericks has changed all that. I want to get past this and go back to just using my Mac. Open to help please. Two other things. In all instances of trying to use Mavericks I cannot get finder to retain my preference settings. They always return to default when I reboot. Microsoft Entourage always opens with a new email draft now instead of just opening to the inbox like under Snow Leopard when started from the dock. When started from applications Entourage opens to the inbox normally. Thanks

    Here is how I solved this issue on my early 2008 Mac Pro- Formatted and  zeroed my boot drive. Disconnected all periferals except monitor (Dell  DVI), wired mac keyboard, Logitech wireless usb 2 mouse. Removed my ATI  5770 upgrade Video card and replaced with original Nvidia card. Did  clean 10.9 install. Immediately updated to 10.9.2. Checked finder  preference retention issues- Gone. Checked reboot and boot after PRAM  reset issue. Still boots back to 10.6.8. Hmmmm though about how the  order of my physical drives in the bays was now different than before  10.9. Previously 10.6 startup was in bay 3 and my 10.6 clones were in  bay 4. Never had a clone boot on startup. Now 10.6 is in bay 2 and 10.9  is in bay 3. Does the mac start looking for a boot volume in bay 1 then  2,3,4. Answer- Yes! When I moved the 10.9 drive to bay 1 kept 10.6 in  bay 2 the crazy start up switch no longer occurs. So, I used the system  like that for a couple of days rebuilding my files and reinstalling  applications. Then I pulled the nVidia card and put the ATi 5770 back  in. All is well. The system works perfectly no more issues. This has  been a lot of work and I can't tell what the specifict conflict was, but  I'm up and running Mavericks with no problems. All my hardware is back  as it was before. All periferals working fine. Glad I am still able to  make use of my ATi video card because it is superior.  Hope this helps  others use mavericks on their older Macs.

  • Just downloaded last update for my iPhone5 and drained the battery to zero overnight. I will never update again.

    What the heck goes on with updates? Fixes bugs? hah. Drained the battety overnight to less than a red line. I had turned everything 'off' last time after 'updating' to the point where the **** thing is useless,

    I just did it again (another hard reset) and presto, I got about an additional 5-7% in charge. I guess if I keep rebooting my iPad Air every 20 minutes or so, I'll never run out charge!

  • BADI for payment terms

    Dear sap gurus
    i'm FI functional consultant and we have a real issue which is our client gives customers a cash discount of 2% for imported goods and 4% for local manufactured goods
    and the payment terms is not like this concept
    NOW we want the the two cash discounts to be active during the payment as the invoice may contain imported items (with cash discount 2%) and local items(with cash discount 4%)
    is there any BADI for this issue??

    Hi,
    In ACCIT you have these fields, that you change (for customer records, in this userexit you have all items of FI doc).
    ZBD1T
    ZBD2T
    ZBD3T
    ZBD1P
    ZBD2P
    The question is to change them or it. Other question is to have two items for customer (one for imported, other for manufactured goods), so, check the summarizing of FI with Note 36353 - AC interface: Summarizing FI documents, because you must that all amount will be merged in one item. After, you have the structure VBRPVB where you have all items of invoice. Check that you have the information in VBRPVB without the need to do selects in the enhancement (to avoid performance troubles).
    I suggest to set a break point in the include ZX* and see the data, do a good analysis about what you need (perhaps you will need populate any field in VBRPVB to know if material is imported or manufactured).
    I hope this helps you
    Regards
    Eduardo

  • SQL Statement Dump

    hi
    We are getting the following sql statement dump, and i am not able to understand what should be done here, would anyone please advise
    Registered qb: SEL$1 0xc4c8a150 (PARSER)
    QUERY BLOCK SIGNATURE
    signature (): qb_name=SEL$1 nbfros=1 flg=0
    fro(0): flg=4 objn=272221 hint_alias="BSAD"@"SEL$1"
    SPM: statement not found in SMB
    SPM: statement not a candidate for auto-capture
    Automatic degree of parallelism (ADOP)
    Automatic degree of parallelism is disabled: Parameter.
    PM: Considering predicate move-around in query block SEL$1 (#0)
    Predicate Move-Around (PM)
    PM: PM bypassed: disabled due to star transformation.
    OPTIMIZER INFORMATION
    ----- Current SQL Statement for this session (sql_id=82mdu08rbcnyy) -----
    EXPLAIN PLAN SET STATEMENT_ID='SAP_STMT' FOR /*+ 142235 */ SELECT "MANDT" , "BUKRS" , "KUNNR" , "UMSKS" , "UMSKZ" , "AUGDT" , "AUGBL" , "ZUONR"
    , "GJAHR" , "BELNR" , "BUZEI" , "BUDAT" , "BLDAT" , "CPUDT" , "WAERS" , "XBLNR" , "BLART" , "MONAT" , "BSCHL" , "ZUMSK" , "SHKZG" , "GSBER" ,
    "MWSKZ" , "DMBTR" , "WRBTR" , "MWSTS" , "WMWST" , "BDIFF" , "BDIF2" , "SGTXT" , "PROJN" , "AUFNR" , "ANLN1" , "ANLN2" , "SAKNR" , "HKONT" , "FK
    ONT" , "FILKD" , "ZFBDT" , "ZTERM" , "ZBD1T" , "ZBD2T" , "ZBD3T" , "ZBD1P" , "ZBD2P" , "SKFBT" , "SKNTO" , "WSKTO" , "ZLSCH" , "ZLSPR" , "ZBFIX
    " , "HBKID" , "BVTYP" , "REBZG" , "REBZJ" , "REBZZ" , "SAMNR" , "ANFBN" , "ANFBJ" , "ANFBU" , "ANFAE" , "MANSP" , "MSCHL" , "MADAT" , "MANST" ,
    "MABER" , "XNETB" , "XANET" , "XCPDD" , "XINVE" , "XZAHL" , "MWSK1" , "DMBT1" , "WRBT1" , "MWSK2" , "DMBT2" , "WRBT2" , "MWSK3" , "DMBT3" , "W
    RBT3" , "BSTAT" , "VBUND" , "VBELN" , "REBZT" , "INFAE" , "STCEG" , "EGBLD" , "EGLLD" , "RSTGR" , "XNOZA" , "VERTT" , "VERTN" , "VBEWA" , "WVER
    W" , "PROJK" , "FIPOS" , "NPLNR" , "AUFPL" , "APLZL" , "XEGDR" , "DMBE2" , "DMBE3" , "DMB21" , "DMB22" , "DMB23" , "DMB31" , "DMB32" , "DMB33"
    , "BDIF3" , "XRAGL" , "UZAWE" , "XSTOV" , "MWST2" , "MWST3" , "SKNT2" , "SKNT3" , "XREF1" , "XREF2" , "XARCH" , "PSWSL" , "PSWBT" , "LZBKZ" , "
    LANDL" , "IMKEY" , "VBEL2" , "VPOS2" , "POSN2" , "ETEN2" , "FISTL" , "GEBER" , "DABRZ" , "XNEGP" , "KOSTL" , "RFZEI" , "KKBER" , "EMPFB" , "PRC
    TR" , "XREF3" , "QSSKZ" , "ZINKZ" , "DTWS1" , "DTWS2" , "DTWS3" , "DTWS4" , "XPYPR" , "KIDNO" , "ABSBT" , "CCBTC" , "PYCUR" , "PYAMT" , "BUPLA"
    , "SECCO" , "CESSION_KZ" , "PPDIFF" , "PPDIF2" , "PPDIF3" , "KBLNR" , "KBLPOS" , "GRANT_NBR" , "GMVKZ" , "SRTYPE" , "LOTKZ" , "FKBER" , "INTRE
    NO" , "PPRCT" , "BUZID" , "AUGGJ" , "HKTID" , "BUDGET_PD" , "KONTT" , "KONTL" , "UEBGDAT" , "VNAME" , "EGRUP" , "BTYPE" , "PROPMANO" , "YYSTORE
    " , "YYDELGRP" , "YYBOLNR" FROM "BSAD" WHERE "MANDT" = :A0 AND "KUNNR" IN ( :A1 , :A2 , :A3 , :A4 , :A5 ) AND "BUKRS" = :A6 AND "AUGDT" = :A7
    user_id=27 user_name=SAPSR3 module=RSXPLORA action=7093
    sql_id=82mdu08rbcnyy plan_hash_value=1162638466 problem_type=3
    ----- Current SQL Statement for this session (sql_id=82mdu08rbcnyy) -----
    EXPLAIN PLAN SET STATEMENT_ID='SAP_STMT' FOR /*+ 142235 */ SELECT "MANDT" , "BUKRS" , "KUNNR" , "UMSKS" , "UMSKZ" , "AUGDT" , "AUGBL" , "ZUONR"
    , "GJAHR" , "BELNR" , "BUZEI" , "BUDAT" , "BLDAT" , "CPUDT" , "WAERS" , "XBLNR" , "BLART" , "MONAT" , "BSCHL" , "ZUMSK" , "SHKZG" , "GSBER" ,
    "MWSKZ" , "DMBTR" , "WRBTR" , "MWSTS" , "WMWST" , "BDIFF" , "BDIF2" , "SGTXT" , "PROJN" , "AUFNR" , "ANLN1" , "ANLN2" , "SAKNR" , "HKONT" , "FK
    ONT" , "FILKD" , "ZFBDT" , "ZTERM" , "ZBD1T" , "ZBD2T" , "ZBD3T" , "ZBD1P" , "ZBD2P" , "SKFBT" , "SKNTO" , "WSKTO" , "ZLSCH" , "ZLSPR" , "ZBFIX
    " , "HBKID" , "BVTYP" , "REBZG" , "REBZJ" , "REBZZ" , "SAMNR" , "ANFBN" , "ANFBJ" , "ANFBU" , "ANFAE" , "MANSP" , "MSCHL" , "MADAT" , "MANST" ,
    "MABER" , "XNETB" , "XANET" , "XCPDD" , "XINVE" , "XZAHL" , "MWSK1" , "DMBT1" , "WRBT1" , "MWSK2" , "DMBT2" , "WRBT2" , "MWSK3" , "DMBT3" , "W
    RBT3" , "BSTAT" , "VBUND" , "VBELN" , "REBZT" , "INFAE" , "STCEG" , "EGBLD" , "EGLLD" , "RSTGR" , "XNOZA" , "VERTT" , "VERTN" , "VBEWA" , "WVER
    W" , "PROJK" , "FIPOS" , "NPLNR" , "AUFPL" , "APLZL" , "XEGDR" , "DMBE2" , "DMBE3" , "DMB21" , "DMB22" , "DMB23" , "DMB31" , "DMB32" , "DMB33"
    , "BDIF3" , "XRAGL" , "UZAWE" , "XSTOV" , "MWST2" , "MWST3" , "SKNT2" , "SKNT3" , "XREF1" , "XREF2" , "XARCH" , "PSWSL" , "PSWBT" , "LZBKZ" , "
    LANDL" , "IMKEY" , "VBEL2" , "VPOS2" , "POSN2" , "ETEN2" , "FISTL" , "GEBER" , "DABRZ" , "XNEGP" , "KOSTL" , "RFZEI" , "KKBER" , "EMPFB" , "PRC
    TR" , "XREF3" , "QSSKZ" , "ZINKZ" , "DTWS1" , "DTWS2" , "DTWS3" , "DTWS4" , "XPYPR" , "KIDNO" , "ABSBT" , "CCBTC" , "PYCUR" , "PYAMT" , "BUPLA"
    , "SECCO" , "CESSION_KZ" , "PPDIFF" , "PPDIF2" , "PPDIF3" , "KBLNR" , "KBLPOS" , "GRANT_NBR" , "GMVKZ" , "SRTYPE" , "LOTKZ" , "FKBER" , "INTRE
    NO" , "PPRCT" , "BUZID" , "AUGGJ" , "HKTID" , "BUDGET_PD" , "KONTT" , "KONTL" , "UEBGDAT" , "VNAME" , "EGRUP" , "BTYPE" , "PROPMANO" , "YYSTORE
    " , "YYDELGRP" , "YYBOLNR" FROM "BSAD" WHERE "MANDT" = :A0 AND "KUNNR" IN ( :A1 , :A2 , :A3 , :A4 , :A5 ) AND "BUKRS" = :A6 AND "AUGDT" = :A7
    sql_text_length=2001
    ----- Explain Plan Dump -----
    ----- Plan Table -----
    ============
    Plan Table
    ============
    | Id | Operation | Name | Rows | Bytes | Cost | Time |
    | 0 | SELECT STATEMENT | | | | 2 | |
    | 1 | INLIST ITERATOR | | | | | |
    | 2 | TABLE ACCESS BY INDEX ROWID | BSAD | 1 | 601 | 2 | 00:00:01 |
    | 3 | INDEX RANGE SCAN | BSAD~1 | 1 | | 1 | 00:00:01 |
    Predicate Information:
    3 - access("MANDT"=:A0 AND (("KUNNR"=:A1 OR "KUNNR"=:A2 OR "KUNNR"=:A3 OR "KUNNR"=:A4 OR "KUNNR"=:A5)) AND "BUKRS"=:A6 AND "AUGDT"=:A7)
    Content of other_xml column
    ===========================
    db_version : 11.2.0.1
    parse_schema : SAPSR3
    plan_hash : 1162638466
    plan_hash_2 : 3684135643
    Outline Data:
    /*+
    BEGIN_OUTLINE_DATA
    IGNORE_OPTIM_EMBEDDED_HINTS
    OPTIMIZER_FEATURES_ENABLE('11.2.0.1')
    DB_VERSION('11.2.0.1')
    OPT_PARAM('query_rewrite_enabled' 'false')
    OPT_PARAM('_optim_peek_user_binds' 'false')
    OPT_PARAM('_optimizer_extended_cursor_sharing_rel' 'none')
    OPT_PARAM('_optimizer_adaptive_cursor_sharing' 'false')
    OPT_PARAM('_optimizer_use_feedback' 'false')
    OPT_PARAM('star_transformation_enabled' 'true')
    OPT_PARAM('optimizer_index_cost_adj' 20)
    OPT_PARAM('_fix_control' '4728348:0 5483301:0 5705630:1 6626018:1 6440977:1 6972291:1 6399597:1 6430500:1 5099019:1 9196440:1 9495669:1 8
    937971:1')
    ALL_ROWS
    OUTLINE_LEAF(@"SEL$1")
    INDEX_RS_ASC(@"SEL$1" "BSAD"@"SEL$1" ("BSAD"."MANDT" "BSAD"."KUNNR" "BSAD"."BUKRS" "BSAD"."AUGDT" "BSAD"."AUGBL" "BSAD"."GJAHR" "BSAD"."B
    ELNR" "BSAD"."BUZEI" "BSAD"."BUDAT"))
    END_OUTLINE_DATA
    Query Block Registry:
    SEL$1 0xc4c8a150 (PARSER) [FINAL]
    call(in-use=194136, alloc=229336), compile(in-use=233336, alloc=338904), execution(in-use=540368, alloc=544176)
    End of Optimizer State Dump
    Dumping Hints
    =============
    ====================== END SQL Statement Dump ======================
    thx
    Jonu Joy

    would anyone please advise It looks OK to me.

  • Range valuses in Select statment.

    Hi experts,
    i am retriving the data from the data base table and in where cluse im using the RANGE tables i difiened and appending the values of sign option low ,high to it.
    i have defined as:
    ranges:post for bsak-budat.
    post-sign   = post_dat-sign .
    post-option = post_dat-option.
      post-low    = post_dat-low.
      post-high   = post_dat-high.
      append post.
    comp-sign = comp_code-sign .
      comp-option = comp_code-option.
      comp-low  = comp_code-low.
      comp-high = comp_code-high.
      append comp.
    vend-sign   =  vendor-sign  .
      vend-option =  vendor-option  .
      vend-low    = vendor-low.
      vend-high   = vendor-high  .
      append vend.
    select bukrs gjahr belnr
             xblnr lifnr wskto
             skfbt waers wrbtr
             wmwst augdt budat
             bldat cpudt zfbdt
             zterm zbd1t zbd2t
             zbd3t zbd1p zbd2p
             zlsch  from bsak into  corresponding fields of table g_bsak
                                                 where
                                                 budat in  post and
                                                 bukrs in comp and
                                                 lifnr in vend .
    but in select i am not getting any rows retrieval but entries are there in Table for same condition.
    Plz help me how to code ranges values in select statement where condition and in anything wrong in my code mentioned above.
    Mahesh
    Edited by: mahesh s on Sep 4, 2009 10:59 AM

    Hi,
    Thats true if you are using select-options to get the values then its not required for you to move into ranges...
    but stil if you want to move them into ranges....
    use the following code...
    ranges:post for bsak-budat.
    loop at post_dat.
    move post_dat to post.
    append post.
    endloop.
    loop at comp_code.
    move comp_code to comp.
    append comp.
    endloop.
    loop at vendor.
    move vendor to vend.
    append vend.
    endloop.
    select bukrs gjahr belnr
    xblnr lifnr wskto
    skfbt waers wrbtr
    wmwst augdt budat
    bldat cpudt zfbdt
    zterm zbd1t zbd2t
    zbd3t zbd1p zbd2p
    zlsch from bsak into corresponding fields of table g_bsak
    where
    budat in post and
    bukrs in comp and
    lifnr in vend .
    Regards,
    Siddarth

  • Invoice - discount

    Hi Guys,
    I want to find out the discount amount a customer can take on a invoice (not the discount a customer has taken).
    Do i have to go back to the billing document for that. But on the billing document i dont find anything like this. Is it a calculated field?
    Please help me out with it.
    Thanks,
    MS

    look the following fields in table bseg:
    ZTERM
    ZBD1T
    ZBD2T
    ZBD3T
    ZBD1P
    ZBD2P
    SKFBT
    SKNTO
    WSKTO
    A.

  • Table for field net due date

    Hi,
    In which table we will find field net due date.
    Regards,

    Hi
    ZFBDT is the field for the Baseline date and ZBD1T, ZBD2T, ZBD3T are the days for disc.calculations....you can caluculate the Net due date based (ZFBDT  + [ZBD1TZBD2TZBD3T]) and accordingly the discounts(ZBD1P, ZBD2P) also
    VVR

Maybe you are looking for

  • Error in SO_NEW_DOCUMENT_ATT_SEND_API1. Unable to open the pdf attachment

    Hi all, I'm currently using SO_NEW_DOCUMENT_ATT_SEND_API1 to send out the email and together with a pdf attachment. However when I tried to open the attachment, it has the decoded incorrectly error. What am I missing? Thanks. Below is the code, this

  • Urgent  regarding table names

    Hi All, can anyone tell me the names of the fields or tables from which i can refer the fields for the following Pick status --date n time WM activities ---date n time Confirmation ---date n time Packed ---date n time it is related to  SD Points will

  • Table maintaince generator

    in table mintaince generaton when we give values why we click 2 times in local objects?plzz tell

  • TOOL WINDOWS PALETTE showing only pen icon at start up

    My tool palette often has every tool icons in it disapear except the PEN tool. The way I've found to make them re-appear is to unattach palette (tool icons re-appear) then replace my tool palette wherre it was. But, it'S a neverending process everyti

  • Missing plugin "GB Synth"

    I installed Garageband for iPad and discovered it creates a very cool Theremin-like sound with the "Fifties SciFi" keyboard. I exported a sample song with a Fifties SciFi track into iTunes and then into Garageband 11, which I saved. The track sounds