MANDT field not getting considered in database view.

Hi,
I have created a database view with tables MARA, MAKT and MVKE. The joi conditions are as below:
MARA-MANDT     =     MVKE-MANDT
MARA-MATNR     =     MVKE-MATNR
MARA-MANDT     =     MAKT-MANDT
MARA-MATNR     =     MAKT-MATNR
However, the MANDT of the logon client is not considered and when I execute the view, same Material code M0001 appears twice as it exists in clients 110 and 120.
Where am I going wrong?
Kindly assist.
Thanks in advance.

If you don't specify CLIENT SPECIFIED and if the table or view is client-dependent the current client should be used by the SQL interface
- Are you giving the full key of a single record : MATNR, VKORG, VTWEG, SPRAS ?
- Is MANDT in the view in first position ?
Regards,
Raymond

Similar Messages

  • User defined fields does not get added into database

    Hello Experts
                              User defined fields does not get added into database , when i click add button it
    shows data added sucessfully , but when i check data base no entry is made , only entry is made for
    B1 fields , like DocEntry ,DocNum etc.., no entry is made for U_fields..
    I have check every thing databound is also set to true
    Actually first few 6 data was added properly but now its not geeting added for user fields
    I have used 2 document row  child table for 2 matrix and for remaining Document table
    What might be the problem
    reply soon
    plz suggest

    Hello sir
    I have checked Default form , in that entry is made into database
    but running the form in screen painter in preview mode or through coding it does not get added for user field
    this id my binding code
    LoadFromXML("updateopd.srf")
                oForm = SBO_Application.Forms.Item("updopd")
                oForm.DataBrowser.BrowseBy = "txtpatid"
                'Adding combo in Obervation
                oItem = oForm.Items.Item("txtpatid")
                oEdit2 = oItem.Specific()
                oEdit2.DataBind.SetBound(True, "@UPDATE", "U_PID")
                oItem = oForm.Items.Item("txtmnane")
                oEdit3 = oItem.Specific()
                oEdit3.DataBind.SetBound(True, "@UPDATE", "U_FName")
                oItem = oForm.Items.Item("txtlname")
                oEdit3 = oItem.Specific()
                oEdit3.DataBind.SetBound(True, "@UPDATE", "U_LName")
    Plz suggest

  • Workday field not getting populated in BAPI_ENTRYSHEET_CREATE

    Hi MM gurus,
    I am trying to upload service entry sheets using bapi's , i checked the note 420334 and its working fine now.But, i want to populate  the workday field also in the service entry sheets, but this field is not getting populated even if i enter this field in the test data directory.
    Can anyone give me the reason for this?

    Hi
    Are you trying to populate the workdays field using BAPI in SE37 transaction??
    If you are executing the BAPI in SE37 then the data would not get updated in database.
    You need to run the BAPI FM & another BAPI "BAPI_TRANSACTION_COMMIT" in sequence in SE37 to post the data in database.
    I hope this helps.
    Thanx
    Prasad

  • Workflow message modifications not getting saved into database

    Hello Friends,
    I am working on iProcurement module (11i) and have a requirement to remove the 'View' & 'Edit' links which appear in notification/Emails in Requisition Approval Workflow.
    I found a metalink note "How to Remove Related Application Links From Approval Notifications for AME [ID 1100805.1]" for the same.
    We have to delete some attributes from the workflow message to remove the links but the same is not getting saved in database.
    I am uploading the wft file through Workflow Definition Loader program with the 'force' option. And to check the changes , i am again downloading the file but i could not see the changes.
    Can't attributes be deleted from the message?
    Any suggestions ?
    Thanks...
    Regards,
    Amit

    Hi Hussein,
    Thanks.
    Here are the details :
    RDBMS : 11.2.0.2.0
    Oracle Applications : 11.5.10.2
    OS : Windows XP
    Log :
    Concurrent request completed successfully
    Current system time is 01-DEC-2011 08:29:12
    Oracle Workflow Definition Loader 2.6.4.0.
    Access level: 20, Mode: FORCE
    Uploaded 3 ITEM_TYPE record(s) to database.
    Uploaded 55 LOOKUP_TYPE record(s) to database.
    Uploaded 32 MESSAGE record(s) to database.
    Uploaded 182 ACTIVITY record(s) to database.
    Uploaded 0 ROLE record(s) to database.
    Regards,
    Amit

  • Enhanced Datasource fields not getting displayed in Transformation

    Hi,
         Eventhough after replicating the datasource, the Enhanced Datasource fields not getting displayed in Transformation.
      Eg I have done mapping of 6 fields in transformation from datasource to DSO
    Now the datasource is enhanced with 8 fields...........The transformation is not showing the added 2 fields
    I am deleting the existing transformation.Is this the only solution?
    Kindly suggest your answers.
    Thanks,
    Sonu.

    HI,
    Deleting is not solution as it is common scnerio.
    Go to the data source in BW and in change mode check the option "transfer" for this two fields and then see if its coming or not.
    Thanks
    Ajeet

  • Date and time fields are not getting updated in database

    Hi,
    I am Using the bapi SD_SHIPMENT_HEADER_CHANGE in my program ...
    I  am using bapi_shipemnt_create for creating shipment document but, trying to enter the date fileds using this bapi .
    can anybody please tell me how shud i pass this variables exactly ...
    i tried giving test data and checked this bapi .. the result in changing parameters is also appearing but in databade itself the date fields are not getting reflected ...
    The fields ate DTDIS ,UZDIS, DATEN,UATEN. ( i am trying to map these fields in changing parameters)
              gw_vttkvb_new-mandt = sy-mandt.
              gw_vttkvb_new-tknum = gw_return-message_v1(passing shipment number )
              gw_vttkvb_new-dtdis = gi_ship_doc-dtdis.
              gw_vttkvb_new-daten = gi_ship_doc-daten.
              gw_vttkvb_new-uzdis = gi_ship_doc-uzdis.
              gw_vttkvb_new-uaten = gi_ship_doc-uaten.
              APPEND gw_vttkvb_new TO gi_vttkvb_new.
              CALL FUNCTION 'SD_SHIPMENT_HEADER_CHANGE'
              EXPORTING
                i_tvtk                             =  '
              I_DESTINATION                      =
              I_DEPARTURE                        =
              OPT_DIALOG                         = 'X'
            IMPORTING
              E_SERV_AGENT_FROM_DELIVERY         =
              E_ROUTE_FROM_DELIVERY              =
              E_LEG_DETERMINATION_DONE           =
              E_NUMBER_OF_CHANGED_LEGS           =
                 TABLES
                   c_xvttk                            = gi_xvttk
                   c_yvttk                            = gi_yvttk
                   c_xvttp                            = gi_xvttp
                   c_yvttp                            = gi_yvttp
                   c_xvtts                            = gi_xvtts
                   c_yvtts                            = gi_yvtts
                   c_xvtsp                            = gi_xvtsp
                   c_yvtsp                            = gi_yvtsp
                   c_xvbpa                            = gi_xvbpa
                   c_yvbpa                            = gi_yvbpa
                   c_xvbadr                           = gi_xvbadr
                   c_yvbadr                           = gi_yvbadr
                   i_xtrlk                            = gi_vtrlk
                   i_xtrlp                            = gi_vtrlp
              I_DEPARTURE_SEQUENCE               =
              I_XVTFA                            =
              I_YVTFA                            =
                 CHANGING
                   c_xvttk_new                        = gi_vttkvb_new
                EXCEPTIONS
                  invalid_change                     = 1
                  route_insert_failed                = 2
                  tdlnr_insert_failed                = 3
                  status_planned_failed              = 4
                  status_registrated_failed          = 5
                  status_loading_start_failed        = 6
                  status_loading_end_failed          = 7
                  status_completion_failed           = 8
                  status_shipment_start_failed       = 9
                  status_shipment_end_failed         = 10
                  OTHERS                             = 11.
              IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
             ELSE.
                 **** Save shipment created
               CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
           EXPORTING
             WAIT          =
                  IMPORTING
                    return        = gw_return.
              ENDIF.
    Regards,
    shilpa talluri .

    Hi,
    Try this
    DATA: wa TYPE zvariant.
    wa-mandt     = sy-mandt.
    wa-z_var     = 'test'.
    wa-projid      = 'test'. 
    wa-relid        = 'test'.
    wa-srtf2       = 'test'.
    wa-clustr      = 'test'.
    wa-clustd     = ''test'. 
    INSERT zvariant CLIENT SPECIFIED FROM wa.
    Raul Natu

  • Fields not getting updated in the database through BAPI enhancement

    Hi Experts,
    I have added 4 custom fields in the transaction FB60. The fields are getting displayed in vendor line item.
    I have to fill these fields from an inbound idoc which uses the BAPI_ACC_DOCUMENT_POST bapi. I have implemented the BADI BADI_ACC_DOCUMENT to pass my custom fields to the bapi and it is processing correctly by adding the custom field values to the extension table that is getting passed to the standard program of the BAPI from the BADI.
    But I think, I have missed to append my fields in one of the standard structures. I have added the fields in BSEG, CI_COBL( which is getting called in BAPICOBL_CI, ACCIT).
    Can anybody tell me which other standard structure I should add my custom fields so that it functions properly and gets added to the BSEG table.
    Regards,
    Sangeeta.

    Solved on own.

  • Contract item customer fields not getting saved from ITS side??

    Hi there,
    I have had to add "account assignment" details to a contract item (3 fields: account assignment, G/L account and cost center)...
    All is going fine....in fact the 3 fields have been added on the contract item level in function group BBP_CTR_UI_ITS screen 4100. I followed the instructions in SAP note number 458591 "user defined fields: preparation and use"...
    The 3 fields I added where "generated" down to SAP table level and now appear in table BBP_PDIGP...
    Also when I create a contract from transaction BBP_CTR_MAIN and fill my 3 new fields in on the item level all works fine when I release the contract...the contract item gets created and the 3 new fields appear nicely in table BBP_PDIGP....so from the GUI side all is PERFECT...
    I have worked on the ITS side of things quite a bit but now I clearly don't understand something...
    I go to "internet service" BBP_CTR_MAIN - template SAPLBBP_CTR_UI_ITS 4100.....I have added my code and my 3 fields display perfectly on the web page....for each contract item.....
    As I said I can make the contract with the 3 new fields filled perfectly via the GUI (transaction BBP_CTR_MAIN)....and if I VIEW that contract on the web it also displays perfect with the 3 filled in fields....
    If I COPY that contract.....and save the new one, the 3 fields are still fine, all saved.
    NOW COMES THE PROBLEM:-)
    If I create a new contract from the web, fill in my 3 fields on the contract item level THE 3 FIELD VALUES SEEM TO NOT GET POSTED BACK AND SAVED IN THE SRM DATABASE...
    I have tried everything from using FIELD-GET, FIELD-SET...the note I mentioned above mentions some BADI's that I could possibly use:
    BBP_CUF_BADI_2 (modify screen methods etc)
    BBP_DOC_SAVE_BADI
    All I really want to try understand is how interaction between the user clicking on the web page and the SAP GUI screen flow is really happening.....I mean I see in function group BBP_CTR_UI_ITS there are a number of function modules with ITS in them, are those function modules just called when the user is clicking on the web (via ITS etc) - I would assume so...
    Bottomline is I need what is happening in the SAP GUI to happen on the web as well.....it is almost there, I just need a push in the right direction so that I can grab the fields from the web page, in the most standard way possible.
    Thanks for the help, I am very curious to see how this sort of solved.
    Regards
    Lynton

    He Yann,
    We are running SRM 3.0, EBP 4.0 - support pack 8
    Thanks for the help
    Lynton

  • Can not get data from database

    hi all,
        there is a problem ,  when i write like below :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs
                AND hkont = p_hkont.
    p_bukrs , p_hkont are all on the selection screen , and p_bukrs = 1200 another is eq blank. i can not find any data , but with the same condition i can find some data in database , when i debeg i found that p_hkont is initial.
        when i write like this :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs .
    this time i can find the data like the database.
        so , does someone know where the problem is , why i can not get data ?
    kind regards
    kevin

    hi,
    if u r  using bukrs and hkont as parameters in selection screen then
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs = p_bukrs
    AND hkont = p_hkont.
    this will work.
    if u r using then as select-option then the above does n't work.
    bcoz select-options work as internal table bcoz of that u have use the query like this
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs IN p_bukrs
    AND hkont IN p_hkont.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Edited by: Alvaro Tejada Galindo on Aug 15, 2008 5:25 PM

  • SAP Fields not getting displayed on the BDT screen

    Hello Gurus,
    I am trying to add 2 custom fields on to the claims management screen. The following steps were followed to add 2 fields on to the claims Management subclaim screen.
    1. Create a field group Zxxxxx1 with the two fields attached to it as input enabled.
    2. Create a View Zxxxxx2 attach the created field group Zxxxxx1, then create a subscreen screen add two fields to the screen and make them as input enabled. Then attached the subscreen to the View.
    3. Create a PBO and PAI function modules for the screen and attach it to the View Zxxxxx2.
    4. Create a section Zxxxxx3 and attach the view Zxxxxx2 to the section.
    5. Attach the section to the Subclaim Overview Screen.
    6. Inspite of doing all the above steps the screen is not getting displayed or the Function module PAI / PBO / FMOD is not being called.
    Since I am attaching the section to a standard screen sequence I am not doing any modification to the screen sequence and screen sequence catagory.
    Kindly let me know the steps I am missing in the configration of 2 new fields via BDT.
    Reagrds,
    Shiva

    Hi Shiva,
    did you create your own Z BDT application? Is it set to be active?
    I have no access to any claims management system: Does the claim object support divisibility? If so, have you assigned the correct data set in your view?
    Also, if you have your own Z BDT application and the claim object does support divisibility, did you assign the Z application to the divisibility view?
    Regards,
    Frank
    Message was edited by: Frank Vieregge

  • Newly added field not getting displayed in ALV output

    Hi All,
       I'm adding one more field/column to be displayed in an old existing program that uses REUSE_ALV_FIELDCATALOG_MERGE to generate the ALV fieldcat.
    DATA: BEGIN OF it_salary OCCURS 0,
            pernr LIKE pa0000-pernr,
            ename LIKE pa0001-ename,
            rtext like lv_rtext, -
    added field
            waers LIKE pa0008-waers
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = driver
          i_internal_tabname     = 'IT_SALARY'
          i_client_never_display = 'X'
          i_inclname             = driver
        CHANGING
          ct_fieldcat            = lv_fieldcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program      = driver
          it_fieldcat             = lv_fieldcat[]
          i_default               = 'X'
          i_save                  = 'A'
          is_variant              = lv_tmplt
          is_layout               = lv_ls_layout
         i_callback_user_command = 'USER_COMMAND'
        TABLES
          t_outtab                = it_salary
        EXCEPTIONS
          program_error           = 1
          OTHERS                  = 2.
    The newly added field is not getting populated in the lv_fieldcat table. Tried running programs BALVBUFDEL,
    BCALV_BUFFER_DEL_SHARED then logging off and logging in but of no help.
    Please provide suggestion for this issue.
    Regards,
    Sridevi S

    Hi,
    Fieldcat is buffered - so use
    I_BYPASSING_BUFFER = 'X'
    Since a while CL_GUI_ALV_GRID is available which does NOT need any fieldcat (is determined internally using RTTI). It is worth playing around whith this class if you have some time. This class is recommended for ALV Output by SAP (but no edit is possible - was never supported officially).
    A simple use would be:
    data: gt_output type standard table of (adjust!).
    *simple ALV output
    data go_alv type ref to cl_salv_table.
    data go_functions type ref to cl_salv_functions_list.
    data go_columns type ref to cl_salv_columns_table.
    data go_column type ref to cl_salv_column_table.
    *Exceprion handlig
    data: go_exception  type ref to cx_root,
          gv_errortext   type string.
    ** fill table gt_output ...
    ** ALV output
    if not gt_output is initial.
        try.
            call method cl_salv_table=>factory
              importing
                r_salv_table = go_alv
              changing
                t_table      = gt_output.
          catch cx_salv_msg into go_exception.
            gv_errortext = go_exception->get_text( ).
            message gv_errortext type 'A'.
        endtry.
    * enable all standard ALV functions
        go_functions =  go_alv->get_functions( ).
        go_functions->set_all( ).
    * hide MANDT
        go_columns = go_alv->get_columns( ).
        go_column ?=  go_columns->get_column( columnname = 'MANDT' ).
        go_column->set_technical( ).
        go_alv->display( ).
    Kind regards,
    Holger

  • Quantity field not getting update in PCA document for Goods Receipt

    We have the Purchase Account activated for our company code.
    For movement type 101 (Goods Receipt), I am getting the quantity field updated for GR/IR account and Stock Account (B/S item).
    But the quantity field is not getting updated for the "Purchase Account" and the "other offsetting PL A/C).
    Please advice whether I am missing something.
    Regards
    B.Mohanty

    Hi Aravind,
    Check SAP notes  1063198 and 1117587.
    FAGLL03 display quantity which is updated in FAGLFLEXA, BSEG is not
    relevant in this case. This is clearly explained in the note 1063198.
    The quantity posts through to FI on the 'goods receipt' items, but not on the
    'invoice receipt' items.
    In the FI normally the Quantity is not a 'real' important field, as it
    is more related to the MM area.
    But in the old 'Profit Center Accounting' and the old' Special Ledger'
    the field has been important.
    As the same logic of these areas to 'store' the Quantity is also used
    in the NewG/L the field get only filled in the line, where it make
    'sense' from our point of view, because only in the 'goods receipt'
    lines a 'real' Quantity is posted to the system.
    So as before in the PCA and SL, now also in the NewG/L the Quantity is
    filled in the correct and important lines and postings.
    In the BSEG ('old document segment table') the field is filled 'just'
    as it is send to the FI, but this is not completely correct from the
    business point of view.
    This can also lead to issues with the reporting and summation to this
    field. So with creating the new logic in the NewG/L the 'correct'
    standard of the 'writing' for the Quantity has also been taken over.
    So in the end, the update and display is correct according  SAP standard behavior.
    Actually,Quantities within G/L are never reliable,
    because the purpose of FI is a view on the data according to amount
    but not according to quantity.
    In the FI normally the Quantity is not a 'real' important field, as it
    is more related to the MM area.
    I hope I could be of assistance.
    Regards,
    Fernando

  • AET fields not created due to database limit

    Hi Experts,
    I am trying to create AET fields for BUT000 transaction table. But when i click on the 'Save and Generate' button for the AET field, i get a message 'Field enhancement for place INCL_EEW_BUT000 is not possible due to database limit'. Please help me understand how can i create the AET fields. Are any settings required to increase the database limit.
    Ay pointers would be highly appreciated.
    Regards,
    Radhika

    Hi Radhika,
    Its a normal scenario when you have exceeded the no. of fields allowed to be added for a business transaction. The initial settings for AET settings is such that *a prefix 'ZA' is attached to each AET extension which gets created when create a field through AET*. Now since you have exceeded this limit, go to SPRO->CRM->UI Frame Work-> UI Frame Work Definition->AET->Define System Settings.
    Here you can change the generation prefix from A to B. Now the system will allow you to add as many extra fields as you did for prefix 'ZA'. The only change you'll see is that the AET extension prefix will now be 'ZB' instead of 'ZA'.
    When you have exceeded number of fields even for 'ZB' extension, you can change the prefix to 'C' to add further more fields.
    Hope this helps.
    Thanks
    Vishal

  • Fields not getting displayed in Sapscript

    Hi Guyz,
    I have a customized Sapscript form ZPV_INVOICE and its print program RVADIN01. This form outputs the Sales Invoice. When the print preview is triggered, Material number (MATNR) is not getting displayed on the form. However, when the form is debugged, MATNR values are properly fetched and showed (while debugging only, not in output).
    Can somebody please let me know the reason, why the MATNR is not getting displayed on the output, even though it is showing values while debugging.
    Thanks in advance !

    Hi ,
    Then check matnr  field which is display  is same  what you are checking  in debugging  .
    COnfirm  the field   and check whether data stays till end of module   .
    regards
    Deepak.

  • Screen fields not getting displayed after Line 16

    Hi All,
    There is a screen exit created in IW51, now the new requirment is to add 3 more fields.  I added the fields below the exiting fields, in line number 15 , 16 &17. After executing the Tcode I could find that the field created in line 17 is not getting displayed in runtime. I have increased the screen length. The fields if moved to line numbers below 16 then they are getting displayed. Can anyone help me to find why it is not getting displayed after line 16.

    Hi,
    Can you give me the Enhancement name?
    I searched for the exits using package , but i did not find any screen exists for that IW51 Tcode?

Maybe you are looking for

  • IPod touch no longer playing video podcast

    Hi there...bit new to all this so please bear with me. Since getting my iPod touch at xmas I have been enjoying a weekly video podcast...it downloaded to my iPod either via iTunes or by by iTunes wi-fi on the touch and I had no problems. All of a sud

  • Help me ! Related to PLD

    hey Experts, I want do display UDT,UDF In Print . Through QPLD We can get the UDT and UDF But i want to  dislpay in Print through PLD how i can open UDT and UDF   In That? then if i choose QPLD  i can retreive only some tables or i want to select rel

  • Correlation Collect pattern in  SAP XI

    Hi,    Could some one please clearly and simply explain me about the correlation and collect pattern in BPM. Your help is really appreciate.

  • YouTube on wifi not working

    I have a problem with my iPhone YouTube App when connecting through my home wifi (DSL) I usually get errors like format is not supported when I switch to 3G instantly the same video just works, it is frustrating, I have an iPhone 4 and iOS 4.2.1. I n

  • Downloading iTunes to Windows XP Home Edition

    When I open Itunes I get this error message: iTunes has encountered a problem and needs to close. Error signiture AppName: itunes.exe App Ver 7.0.1.8 Modname Unknown ModVer: 0.0.0 offset 10001040 It also says This error report includes: information r