A/R Custemer Master

A/R Experts,
Can I create a bill to and related to a ship to in customer master for A/R. Or do I need SD for this? but at teh same time  I may want to create invoices for only ship to cusmers, and in dome cases for bill to customers as well how can I achieve this goal.
Regards,
Frank

Hi Frank,
Please go through the link you can understand different partner functions and it clears you the total process:
http://help.sap.com/saphelp_45b/helpdata/en/12/084cca470311d1894a0000e8323352/frameset.htm
Regards,
Satish Muvva.

Similar Messages

  • Bdc two transactions at a time

    Hello frendz,
    How do i call two transactions in bdc simultaneously in one bdc program.
    Can anyone send me steps or document for the same(to do above process for pb10, pb30, 9005 and 9007).
    Pls help me its urgent.
    Regards,
    Ameet

    Hi ameet,
                     U can call two Transaction in BDC program by using Call transaction Method But one by one it ll process
    like :
             1. Fisrt upload ur source file it may be Excel Sheet or Text to ur program (it_data internal table)
             2. u r having recorded code (it should be seperate for each transaction)
             2. what are all the data required for First transaction u can pass and finish
             3. what are all the data required for Second transaction u can pass and finish..thats all
    Refer the following code:
    here called
    1. perform bdc_transaction using 'F-58'
    2.perform bdc_transaction using 'FBZ5'.
    *&   Report   ZPAYMENT2 For Payment with printout Data
                                      upload  Using  BDC.
    *&         Payment with printout Data upload Using  BDC.
    *&           TCODE: F-58.
    *&           METHOD: CALL TRANSACTION.
    REPORT ZPAYMENT2  no standard page heading line-size 255.
    Table Bkpf for Accounting Document Header
    Table Bsak for Clear item
    Table Bsik for open  item
    Tables:Bkpf,Bsak,Bsik,t001.
          logic   for posted
    1. User can give either reference no or Acct doc no. REference Doc
                                                     takes preceedance
    2. If REference no is gvien
    *     2.1 Fetch all the records from bkpf table with field
    *          'BUKRS' = comp code
    *          'XBLNR' = refernce doc no
    *          'BLART' = 'RE'(hardcode)
    *     2.2 Search for that accounting document(BELNR and GJAHR) for that
                       Vendor in BSAK (cleared item ) and BSIK (open item)
    *          2.2.1 if the document is not there in both tables
    *                    Show error as 'the document doesnt exists'
    *          2.2.2 if the document is there in BSAK (cleard item)
    *          Show error as ' There is no open items for the doc'
    *          2.2.3 if ther documet is there in bsik (open item)
    *          Assign the acct doc no to that record and *process it.
    *          Note : No Document will not be there in both tables.
    3. If Account doc is given
    *     3.1 if the document is not there in both tables
    *               Show error as 'the document doesnt exists'
    *     3.2 if the document is there in BSAK (cleard item)
    *               Show error as ' There is no open items for the doc'
    *     3.2 if ther documet is there in bsik (open item)
    *          Assign the acct doc no to that record and process it.
              Note : Document should be posted only when all the line
                      items are valid
          If there is any items with error then the document should not be
                                                                posted.
    INCLUDE BDC*******************************
    include zbdcinclude.
       DO NOT CHANGE - the generated data section - DO NOT CHANGE    ***
    Generated data section with specific formatting - DO NOT CHANGE  ***
    TYPES: BEGIN OF file_format,
               New_doc(2),      "1.New document
              Comp_code(4),    "2.Cmpany code
               Pay_method(1),   "3.Payment method
               Hous_bank(5),    "4.Housing bank
               Check_lot(4),    "5.Check lot
               Post_date(10),   "6.Posting date
               Doc_date(10),    "7.Document date
               ref_text(15),    "  Reference Text
               doc_htext(25),   "8.Document header text
               Branch(4),       "9.Business area (bank)
               Amount1(16),     "10.Amount in document currency
               Bank_AccTxt(50), "11.Bank account text
               Vendor_no(10),   "12.Vendor number
               Ref_doc(16),     "13.Reference document number
               Acc_docu(10),    "14.Account document number
               Partial(2),      "15.Partial payment indicator
               Pay_Amount(15),  "16.Payment amount
               Item_text(50),   "17.Item text
               Bank_no(4),      "18.Bank number
           End of file_format.
      "File format for select the account document number
    TYPES: Begin of file_format1,
             acc_doc(10),    "1.Account document number
             fiscal_lay(4),  "2.Fiscal layer
             cmp_code(4),    "3.Company code
             Ref_dno(16),    "4.Reference document number
             doc_type(2),    "5.Document type
          End of file_format1.
    TYPES: Begin of file_format2,
            acc_dno(10),    "1.Account document number
            fiscal_lay(4),  "2.Fiscal layer
           End of file_format2.
      "Work area
    TYPES: Begin of file_format3.
           include type file_format.
           include type file_format2.
    TYPES: End of file_format3.
    TYPES: Begin of l_opayf1.
           include type opayf.
    TYPES: End of l_opayf1.
    data:l_opayf type l_opayf1.
    Constants:
        comp_code(4) type c value '5000'.
    DATA: IT_Ndoc TYPE STANDARD TABLE OF file_format3,
          WA_DATATAB4  TYPE file_format3,
          print_opt    type OPAYF.
      "Work area
    DATA: WA_DATATAB1 TYPE file_format1,
          WA_DATATAB2 TYPE file_format2,
          WA_DATATAB3 TYPE file_format2.
    ******Internal table generated *****************
    DATA: IT_DATA TYPE STANDARD TABLE OF file_format,
          WA_DATATAB  TYPE file_format,
          WA_DATATABH TYPE file_format.
    DATA: IT_RAW TYPE TRUXS_T_TEXT_DATA,
          NO_OF_LINES TYPE F,
          xbelnr type bkpf-belnr.
    data:cnt type i value 1,
         status(02),
         status1(02).
    End generated data section ***
    START OF SELECTION ************
    START-OF-SELECTION.
      PERFORM LOAD_FILE_DATA.
      PERFORM REPORT_HEADER.
    PERFORM PROCESS_DATA.
      DESCRIBE TABLE IT_DATA LINES NO_OF_LINES.
          READ THE INTERNAL TABLE                                      *
            .PERFORM THE BDC.......
    *FORM PROCESS_DATA.
    LOOP AT it_data into wa_datatab.
            LINE_NO = sy-tabix.
            add 1 to line_no . "Because header is deleted from excel
    IF Wa_datatab-New_doc = 'X'.
       IF wa_datatab-New_doc = 'X' and status <> 'X' and
          status1 = 'S' and sy-tabix <> 1.
                PERFORM PROCESS_BDC.
                Status = ''.
                Status1 = ''.
                Clear   it_ndoc.
                Refresh it_ndoc.
                Clear Wa_datatabH.
       Endif.
        "Check initial screen entry and some fiels
          IF    wa_datatab-vendor_no  is initial or
               wa_datatab-comp_code  is initial or
                wa_datatab-Pay_method is initial or
                wa_datatab-Hous_bank  is initial or
                wa_datatab-Check_lot  is initial or
                wa_datatab-Amount1    is initial .
              write:/2 line_no,20 'E',25 'Enter initial screen entry first'.
              Status = 'X'.
          Else.
          "Read the header data store in work area
              READ TABLE IT_DATA INDEX CNT INTO Wa_datatabH.
                perform validate_data1.
          ENDIF.
    ELSE.
                perform validate_data2.
        "Allow onely partial partial payment
         IF wa_datatab-Partial = 'X' or wa_datatab-Partial = 'x'.
              IF   Wa_datatab-ref_doc    is initial and
                   wa_datatab-acc_docu    is initial.
              write:/2 line_no,20 'E',25 'Enter ref_no or acc_no'.
              Status = 'X'.
              ELSE.
        "Select the document number from account heaser table(bkpf)
            IF not wa_datatab-ref_doc is initial.
    select  single belnr gjahr bukrs xblnr blart from bkpf into wa_datatab1
                                    where ( blart = 'RE' or blart = 'KR' )
                                                   and
                                         bukrs =  comp_code and
                                         xblnr =  wa_datatab-ref_doc.
            Else.
                IF not wa_datatab-acc_docu is initial.
    select  single belnr gjahr bukrs xblnr blart from bkpf into wa_datatab1
                                     where ( blart = 'RE' or blart = 'KR' )
                                                    and
                                          bukrs =  comp_code and
                                          belnr =  wa_datatab-acc_docu.
                ENDIF.
            ENDIF.
       "Check the document number is exist or not in acc header(bkpf)
           IF wa_datatab1-acc_doc is initial.
              write:/2 line_no,20 'E',25 'The document doesnot exit',
                       wa_datatab1-acc_doc.
              status = 'X'.
            Else.
       "Select the document number from clear item table(bsak)
              select single belnr gjahr from bsak into wa_datatab2
                        where lifnr = wa_datatabH-vendor_no     and
                              gjahr = wa_datatab1-fiscal_lay   and
                              belnr = wa_datatab1-acc_doc      and
                              bukrs = comp_code.
      "Select the document number from open item table(bsik)
              select single belnr gjahr from bsik into wa_datatab3
                        where lifnr = wa_datatabH-vendor_no     and
                              gjahr = wa_datatab1-fiscal_lay   and
                              belnr = wa_datatab1-acc_doc      and
                              bukrs = comp_code.
       "Check the document number is exist or not  in both table
            IF ( wa_datatab2-acc_dno is initial OR
                 wa_datatab2-fiscal_lay is initial ) and
                ( wa_datatab3-fiscal_lay   is initial OR
                 wa_datatab3-acc_dno  is initial ).
                write:/2 line_no,20 'E',25 'The document doesnot exit',
                         wa_datatab1-acc_doc.
                status = 'X'.
              Else.
      "Check the document number is exist or not in clear item table(bsak)
                IF not wa_datatab2-acc_dno  is initial and
                   not wa_datatab2-fiscal_lay is initial.
         write:/2 line_no, 'E',25 'There is no open items for the document',
                           wa_datatab1-acc_doc.
                  status = 'X'.
                Else.
      "Check the document number is exist or not in open item table(bsik)
                     IF not wa_datatab3-acc_dno    is initial and
                        not wa_datatab3-fiscal_lay is initial.
                        Status1 = 'S'.
                    move-corresponding  wa_datatab  to wa_datatab4.
                    move-corresponding  wa_datatab3 to wa_datatab4.
                       APPEND wa_datatab4 to IT_NDOC.
                     ENDIF.
              ENDIF.
            ENDIF.
          ENDIF.
          ENDIF.
      ENDIF.
    ENDIF.
        CLEAR wa_datatab.
        CLEAR wa_datatab1.
        CLEAR wa_datatab2.
        CLEAR wa_datatab3.
        CLEAR wa_datatab4.
        add 1 to cnt.
      ENDLOOP.
    *ENDFORM.
    IF status <> 'X' and status1 = 'S'.
    PERFORM  PROCESS_BDC.
    Endif.
    PERFORM WRITE_ERR_FILE.
         FORM PROCESS_BDC.
    FORM PROCESS_BDC.
    DATA:
          search_line(2) type n,
          search_line1(2) type n,
          FIELD_NAME(20) TYPE C,
          line_indx(3) type n.
          add 1 to line_indx.
           perform bdc_dynpro      using 'SAPMF05A' '0129'.
           perform bdc_field       using 'BDC_OKCODE'
                                         '/ENV'.
           perform bdc_field       using 'BDC_CURSOR'
                                         'BSEG-WRBTR'.
           perform bdc_dynpro      using 'SAPMF05A' '0130'.
           perform bdc_field       using 'BDC_CURSOR'
                                         'OPAYF-PSTAP'.
           perform bdc_field       using 'BDC_OKCODE'
                                         '=MW'.
           perform bdc_field       using 'OPAYF-BUKRS'
                                      comp_code.
           perform bdc_field       using 'OPAYF-RZAWE'
                                      wa_datatabH-Pay_method.
           perform bdc_field       using 'OPAYF-HBKID'
                                      wa_datatabH-Hous_bank.
           perform bdc_field       using 'OPAYF-PSTAP'
                                      wa_datatabH-Check_lot.
           perform bdc_dynpro      using 'SAPMF05A' '0129'.
           perform bdc_field       using 'BDC_CURSOR'
                                         'BKPF-XBLNR'.
           perform bdc_field       using 'BDC_OKCODE'
                                         '=PA'.
           perform bdc_field       using 'BKPF-BLDAT'
                                      wa_datatabH-Doc_date.
           perform bdc_field       using 'BKPF-BUDAT'
                                      wa_datatabH-Post_date.
           perform bdc_field       using 'BKPF-XBLNR'
                                      wa_datatabH-ref_text.
           perform bdc_field       using 'BKPF-BKTXT'
                                      wa_datatabH-doc_htext.
           perform bdc_field       using 'BSEG-WRBTR'
                                      wa_datatabH-Amount1.
           perform bdc_field       using 'BSEG-GSBER'
                                      Wa_datatabH-Branch.
           perform bdc_field       using 'BSEG-SGTXT'
                                      wa_datatabH-Bank_AccTxt.
           perform bdc_field       using 'OPAYF-LIFNR'
                                     wa_datatabH-vendor_no.
         perform bdc_field       using 'RF05A-XPOS1(01)'
                                        record-XPOS1_01_012.
           perform bdc_field       using 'RF05A-XPOS1(03)'
                                         'X'.
           perform bdc_dynpro      using 'SAPMF05A' '0730'.
           perform bdc_field       using 'BDC_CURSOR'
                                         'RF05A-VONWT(01)'.
           perform bdc_field       using 'BDC_OKCODE'
                                         '=SL2'.
           perform bdc_dynpro      using 'SAPMF05A' '0608'.
           perform bdc_field       using 'BDC_CURSOR'
                                         'RF05A-XPOS1(04)'.
           perform bdc_field       using 'BDC_OKCODE'
                                         '=ENTR'.
         perform bdc_field       using 'RF05A-XPOS1(01)'
                                    record-XPOS1_01_010.
           perform bdc_field       using 'RF05A-XPOS1(04)'
                                         'X'.
         Enter item document number in search screen
           perform bdc_dynpro      using 'SAPMF05A' '0731'.
           perform bdc_field       using 'BDC_CURSOR'
                                         'RF05A-SEL01(01)'.
         Loop at IT_NDOC into wa_datatab4.
          add  1 to search_line.
          CONCATENATE 'RF05A-SEL01(' search_line  ')' INTO FIELD_NAME.
          perform bdc_field       using FIELD_NAME
                                        wa_datatab4-acc_dno.
          if search_line = 10.  "if items are more than 10
            perform bdc_field       using 'BDC_OKCODE'
                                          '/00'.
            perform bdc_dynpro      using 'SAPMF05A' '0731'.
            perform bdc_field       using 'BDC_CURSOR'
                                          'RF05A-SEL01(01)'.
            search_line = 0.
          endif.
        Endloop.
           perform bdc_field       using 'BDC_OKCODE'
                                         '=PA'.
         Enter the amount of partial payments
           perform bdc_dynpro      using 'SAPDF05X' '3100'.
           perform bdc_field       using 'BDC_OKCODE'
                                        '=PART'.
           search_line = 1.
       Loop at IT_NDOC into wa_datatab4
                where  Partial = 'X' or  Partial = 'x'.
           search_line = sy-tabix.
                      "select the item as first item
           perform bdc_dynpro      using 'SAPDF05X' '3100'.
           perform bdc_field       using 'BDC_OKCODE'
                                         '/00'.
           perform bdc_field       using 'RF05A-ABPOS'
                                          search_line.
           perform bdc_dynpro      using 'SAPDF05X' '3100'.
           perform bdc_field       using 'BDC_OKCODE'
                                               '/00'.
           perform bdc_field       using 'DF05B-PSZAH(01)'
                                        wa_datatab4-Pay_Amount.
       Endloop.
        Simulate the all
          perform bdc_dynpro      using 'SAPDF05X' '3100'.
          perform bdc_field       using 'BDC_OKCODE'
                                        '=BS'.
          perform bdc_field       using 'BDC_CURSOR'
                                        'DF05B-PSZAH(01)'.
       Give the line number and Item text
    Loop at IT_NDOC into wa_datatab4.
           add 1 to line_indx.
       Click the detial icon
         perform bdc_dynpro      using 'SAPMF05A' '0700'.
         perform bdc_field       using 'BDC_CURSOR'
                                       'RF05A-NEWBS'.
         perform bdc_field       using 'BDC_OKCODE'
                                      '=PI'.
       Chose the line item
         perform bdc_dynpro      using 'SAPMF05A' '0610'.
         perform bdc_field       using 'BDC_CURSOR'
                                      '*BSEG-BUZEI'.
         perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
         perform bdc_field       using '*BSEG-BUZEI'
                                        line_indx.
        Enter the text and click document over view (AB)
         perform bdc_dynpro      using 'SAPMF05A' '0302'.
         perform bdc_field       using 'BDC_CURSOR'
                                       'BSEG-SGTXT'.
         perform bdc_field       using 'BDC_OKCODE'
                                       '=AB'.
         perform bdc_field       using 'BSEG-SGTXT'
                                  wa_datatab4-Item_text.
    Endloop.
    *Save or post
        perform bdc_dynpro      using 'SAPMF05A' '0700'.
        perform bdc_field       using 'BDC_CURSOR'
                                  'RF05A-NEWBS'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=BU'.
      perform bdc_field       using 'BDC_OKCODE'
                                     '=D'.
        perform bdc_transaction using 'F-58'.
        get parameter id 'BLN' field xbelnr.
      inserted by ganesh*******************
      perform bdc_dynpro      using 'SAPMFCHK' '0750'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'OPAYF-PSTAP'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=DRUK'.
      perform bdc_field       using 'BKPF-BELNR'
                                        xbelnr.
      perform bdc_field       using 'OPAYF-BUKRS'
                                       '5000'.
      perform bdc_field       using 'BKPF-GJAHR'
                                    wa_datatab4-fiscal_lay.
      perform bdc_field       using 'OPAYF-RZAWE'
                                   wa_datatabH-Pay_method.
      perform bdc_field       using 'OPAYF-PSTAP'
                                   wa_datatabH-Check_lot.
    l_opayf-bukrs = '5000'.
    l_opayf-PPRIZ = 'DEFA'.
    l_opayf-PPRIA = 'DEFA'.
    l_opayf-PSTAP =  wa_datatabH-Check_lot.
    l_opayf-PSOFO = 'X'.
    l_opayf-RZAWE = wa_datatabH-Pay_method.
    *CALL FUNCTION 'FORM_PRINT_AFTER_POSTING'
        EXPORTING
             i_belnr      = xbelnr
             i_gjahr      = wa_datatab4-fiscal_lay
             i_opayf      = L_OPAYF
            I_REPRI      =
       EXCEPTIONS
            ADDR_MISSING = 1
            CANCEL       = 2
            OTHERS       = 3
    *IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
       loop at   YT042I.
       endloop.
    *CLEAR L_OPAYF.
    perform bdc_dynpro      using 'SAPLF028' '0101'.
    perform bdc_field       using 'OPAYF-ABPOS'
                                  wa_datatabH-Bank_no.
    perform bdc_field       using 'BDC_OKCODE'
                                   '=PI'.
    perform bdc_dynpro      using 'SAPLF028' '0101'.
    perform bdc_field       using 'BDC_CURSOR'
                                   'T042I-HBKID(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                   '=PI'.
    perform bdc_dynpro      using 'SAPMFCHK' '0750'.
    perform bdc_field       using 'BDC_OKCODE'
                                   '/n'.
    perform bdc_dynpro      using 'SAPMFCHK' '0750'.
    perform bdc_field       using 'BDC_OKCODE'
                                   '/n'.
      perform bdc_transaction using 'FBZ5'.
        if not xbelnr is initial.
          clear allmessages.
          allmessages-line_no = line_no.
          allmessages-msg_type = 'S'.
          concatenate
             'Document '
             xbelnr
             ' created successfully.'
          into
             allmessages-msg_desc.
          append allmessages.
          perform write_to_screen.
         perform print_cheque.
        endif.
        clear xbelnr.
        set parameter id 'BLN' field xbelnr.
    ENDFORM.
          FORM HEADER_DETAILS                                           *
    FORM REPORT_HEADER.
      new-line.
      uline.
      WRITE :  AT 10 '  BDC to upload Custemer master data Extending',
                  70 'Date : ',
                  80 SY-DATUM.
      NEW-LINE.
      WRITE : AT 70 'Time : ',
                 80 SY-UZEIT.
      uline.
      WRITE : AT 2 ' LINE NO  ',
                15 'MSG TYPE  ',
                25 '     DESCRIPTION'.
      ULINE.
    ENDFORM.
       FORM LOAD FILE DATA
    FORM LOAD_FILE_DATA.
      refresh: IT_DATA,
               ALLMESSAGES.
      clear: IT_DATA,
             ALLMESSAGES.
      data: IT_RAW TYPE TRUXS_T_TEXT_DATA.
    Load the GL Master File to the Internal table
      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     = IT_DATA[]    "ACTUAL DATA
        EXCEPTIONS
           conversion_failed        = 1
           OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        STOP.
      ENDIF.
    ENDFORM.
       FORM convert into internal format (unpack)
    form convert_internal changing field.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
           EXPORTING
                INPUT  = field
           IMPORTING
                OUTPUT = field.
    endform.
       FORM validate data
    form validate_data1.
      perform convert_internal changing wa_datatabh-vendor_no.
    perform convert_internal changing wa_datatabh-COMP_CODE.
    endform.
    form validate_data2.
    perform convert_internal changing wa_datatab-ref_doc.
    perform convert_internal changing wa_datatab-Acc_docu.
    endform.
       FORM WRITE ERROR MESSAGE TO SCREEN
    FORM WRITE_TO_SCREEN.
    NEW-LINE.
    write : AT  2 line_no ,
            AT 25 ALLMESSAGES-MSG_DESC.
            IF ALLMESSAGES-MSG_TYPE = 'E'.
              WRITE: AT 17 ALLMESSAGES-MSG_TYPE COLOR COL_NEGATIVE.
            ELSE.
              WRITE: AT 17 ALLMESSAGES-MSG_TYPE.
            ENDIF.
    ENDFORM.
       FORM WRITE ERROR MESSAGE TO SCREEN
    form print_cheque.
      clear print_opt.
      print_opt-BUKRS = comp_code.
      print_opt-RZAWE = wa_datatabH-Pay_method.
      print_opt-HBKID = wa_datatabH-Hous_bank.
      print_opt-PSTAP = wa_datatabH-Check_lot.
      print_opt-PPRIZ = 'DEFA'.  "default printer
      print_opt-PPRIA = 'DEFA'.  "default printer
      print_opt-PSOFO = 'X'.  "print imm
      print_opt-PESPR = 'X'.  "Text in receipient lang
      print_opt-LIFNR = wa_datatabH-vendor_no.
      select single * from t001 where bukrs = comp_code.
    CALL FUNCTION 'GL_ACCOUNT_FOR_PAYMENT'
         EXPORTING
              I_BUKRS = comp_code
              I_HBKID = wa_datatabH-Hous_bank
              I_LAND1 = t001-land1
              I_WAERS = 'INR'
              I_ZLSCH = wa_datatabH-pay_method.
       IMPORTING
            E_HKONT =
            E_HKTID =
    CALL FUNCTION 'PAYMENT_FORM_PRINT'
         EXPORTING
              I_OPAYF = print_opt
              I_VBLNR = xbelnr
    endform.
    Regards,
    ganesh

  • What are the mandatory fields while creation of material master in differen

    what are the mandatory fields while creation of material master in different views?

    Hi Gopi,
      This is purely depends on the function configuration, which would be done MM consultants.  Kindly check with them.
    thanks & regards
    Kishore Kumar Maram

  • Can not refresh page after save properly(When not saving master record)

    I am using jdeveloper 11g R2 (11.1.2.3) JSF Facelet
    In some use case I have Address as master table and Person as detail table
    For some business reason I need to don't save same addresses
    eg:
    If +1 Test St+ is in database already and new user coming and adding this address with new person
    I need to use the row in database not creating a new address
    I do saving in doDML method of Address with some hashing algorithm and it is fine
    My problem is that I can not refresh page after save properly
    User coming to page think Adding a new address and a new person but in fact no new
    address added because of business I describe above
    Any ideas how I can implement this?
    Appreciate that
    Regards
    Mohsen

    Hi,
    from your description it is not clear why the page doesn't refresh. It could be a problem in your implementation code - who knows. What if you perform the address check on a command button that actually submits the new address? If the check returns true (address exists) you would call row.refresh(forget new row); and re-query the view object so the address coming from the database is displayed. If you wanted to use the doDML then yuou need to be aware that doDML doesn't help removing the row the user created. It just ignores the database update but the entity is still around, which in my suggested solution wont be the case.
    Frank

  • Can not refresh snapshot changes after importing data of master site

    Hello !
    I have two database computer,one as master site,one as snapshot site.Because the error of the hard disk of master computer,I use the exporting data file to recover my database.after importing ,I found I can't refresh the refreshgroup on snapshot,who can tell me why?
    thinks in advance!
    (exp system/manager full=y inctype=complete file='/home/save/backdata/xhsdcomp.dat')
    (imp system/manager inctype=system full=Y file='/home/save/backdata/xhsdcomp.dat'
    imp system/manager inctype=restore full=Y file='/home/save/backdata/xhsdcomp.dat')
    null

    You haven't listed the errors that you're receiving when attempting to refresh your refresh group, but if your snapshots are attempting to fast refresh, I suspect it's because the creation timestamp of the snapshot log on the master site is newer than the creation timestamp of the snapshot. In this case you will need to do a complete refresh of the snapshot (or drop and recreate the snapshot) before you will be able to fash refresh it again.
    If this is not the case, please post the errors you are receiving when you attempt to refresh the refresh group.
    HTH,
    -- Anita
    Oracle Support Services
    null

  • Can not find master data in the cube

    ItemNo is an navigation attribute of 0Material. We are using 0material in a cube. When I display the cube data include ItemNo, I don't find the data I am looking for. For example:
    In 0Material:
    0Material      ItemNo    Description
    AAA                001           Test
    BBB                002           Test
    In the cube I expect to see:
    0Material             ItemNo            On Hand Qty
    AAA                      001                      1000
    BBB                      002                       2000
    Instead I saw:
    0Material             ItemNo            On Hand Qty
    AAA                                                1000
    BBB                                                2000
    0Material got refreshed after cube data got loaded. Is that why I don't find the refreshed Master data?
    Thank you!

    Hi,
    When you laod the cube, the Values for Master are automatically get created in the master data (If they are not present earlier and with "Data Update Type in the Data Tragets" setting in InfoPackage).
    Now when you are loading your cube with 0Material and Item Number, the values for Item Number seems blank. Thats the reason why you are not able to see the Item Number in Cube though it is present in Master. Because now these are two different keys, one with Item Number value and other without Item Number value.
    Regards,
    Yogesh.

  • Unable to capture field values in Master agreement  Line Items

    I am trying to get the field values from master agreement line items page. I have written the following code to get the line item details which is working fine to capture part number and quantity->
    agreementBean = doc.getRootParentIBean();
    lineItemCollection = agreementBean.getLineItems();
    collectionsize = lineItemCollection.size();
    for(i=0;i<collectionsize;i++){
         collectionbean = lineItemCollection.get(i);
         partNum = ""+collectionbean.getPartNumber() ;
         Quantity = ""+collectionbean.getQuantity();     
         throw doc.createApplicationException(null,partNum + " , " + Quantity );
    Now, my problem is that I am unable to capture the following field item values in the master agreement > line items page.
    1. Price Unit
    2. Unit Price
    3. Product Category
    4. Plant
    Please help me to find the values.
    Thankx in Advance.
    Su
    Edited by: subrataindra on Aug 10, 2010 11:11 AM

    This will return the name of the plant.
    .getExtensionField("PLANT").get().getDisplayName(session);
    Check if this returns the product category
    collectionbean.getExtensionField("ITEM_CAT").get().getDisplayName();
    This will Return the Price
    collectionbean.getExtensionField("PRICE").get().getPrice();
    (return type :BigDecimal)
    This will return the currency
    collectionbean.getExtensionField("PRICE").get().getCurrency;
    (Return type:String)
    Similarly to retrieve other fields for which there are no standard functions, use .getExtensionField("Field ID")
    Hope this helps
    Regards,
    Immanuel

  • Failure to install Creative Cloud Master for Windows

    Hi all,
    I am using an Enterprise Creative Cloud and have packaged the Adobe CC Master for Windows.
    I have followed the rules of installation by installing Acrobat XI first.
    Upon installation of Acrobat, I proceeded to install Creative Cloud by going to the Build folder and install the Setup.exe by running as an Administrator. I have also disabled my anti-virus scanner as well. It starts to scan my harddisk and there is a progress bar that displays. Mid-way down the installation process, it just stops installing and it immediately uninstalls by displaying the progress-bar back to the start.
    Why is this so? I understandthat by having an Entreprise account does not need you to go by the normal way of going to the Creative Cloud Manager to download and have a password to type in right?
    Can anyone help me?
    Thanks!

    Hi Romit Sinha,
    Thanks for your prompt response.
    For some strange reasons, after I restarted my computer, disabled my anti-virus again and run the setup.exe using the administrator rights, it manages to install the CC apps within the build folder.
    However, may I know how do I install both Edge Reflow and Edge Code? As I am using an enterprise edition, I don't see these 2 products within the Build or Exclusions folder. Must I log in to the Creative Cloud (using my Adobe ID and password) to download them?
    If I log-in using my adobe account, will Adobe start charging me which will be ludicrous as I already have an enterprise edition.
    What gives?
    Thanks and Regards

  • Master data is not getting displayed in the Report in Quality

    HI Experts,
    I have ZESP_Num as master for my transaction data.
    I have loaded the data in the Development and designed and checked my report. It is working fine.
    But after moving it to Quality. My report is not getting the master data.
    When I try to do right click manage ZESP_Num.
    I'm getting message like this.
    The data from the InfoProvider ZESP_NUM involved could not be checked
    Message no. DBMAN242
    Diagnosis
    A participating InfoProvider is virtual and aggreement between results and selections cannot be guaranteed.
    Can anyone plz help me.
    Thanks

    Hi,
    Please check the SNOTE Note 1364083 u2013 Message text will appear unexpectedly in surface.
    Hope helpful.
    Regards,
    RAO

  • Master data is not getting displayed in the Query Designer

    Hi,
    I have a DSO in which I have an InfoObject called Emp No. in the Data Field.
    The Emp.No is being maintained as master with (Emp Name, Address, Telephone No, DOB) as attributes.
    I have loaded the data in the Emp. No. master. Then tried loading the transaction data in DSO.
    The Emp.No is there in the DSO active data, but in the query designer its not getting displayed.
    Hope its clear.
    Please help.
    Thanks

    Hi,
    I have brought the Emp. No. in the Key Field and also have activate the master data again.
    Yet my Query Designer doesn't have the Emp. No.
    I have done a full load for both Master and Transaction.
    Please advice me what the other alternative.
    Thanks

  • Installation problem on CS4 Master Collection

    WHen I attempt to install CS4 master collection on Vista Ultimate X64
    While the installer is "checking system profile" the next window shows "Loading Setup"
    I then get a System Check error page. The window label is "Adobe Creative Suite 4 Master Collection Installer - Alerts"
    In the box it says, System Check.
    Critical Errors were found in setup for Adobe Creative Suite 4 Master Collection.
    Session has dependencies that cannot be satisfied.
    please see the Setup log file for details. click Quit to exit Setup."
    Then there is a Quit button, that is the only option.
    Any ideas which services need to be enabled to be able to install creative suite?

    I do have service pack 1 for vista ultimate x64.
    Here is the end of the log....
    [ 436] Thu Oct 30 19:12:48 2008 DEBUG
    PayloadPolicyInit: BEGIN Updating installstate for payloads
    PayloadPolicyInit: END Updating installstate for payloads
    PayloadPolicyInit: BEGIN Creating policyNodes
    PayloadPolicyNode._SetPayloadAction: none for {092DF7B0-6E10-4718-9763-9704CC4E6EF9} Adobe Anchor Service CS4
    [ 436] Thu Oct 30 19:12:48 2008 ERROR
    Unable to load fileOptions from C:\Program Files (x86)\Common Files\Adobe\Installers\49b2c0059f3cb852831867eec06474a\resources\pages\Install\Options\Op tions.js
    Log of: object
    name {string}: TypeError
    message {string}: 'collectionID' is null or not an object
    number {number}: -2146823281
    description {string}: 'collectionID' is null or not an object
    [ 436] Thu Oct 30 19:12:48 2008 DEBUG
    updating path to Win32
    WizardControl: loading page "Progress" from C:\Program Files (x86)\Common Files\Adobe\Installers\49b2c0059f3cb852831867eec06474a\resources\pages\Install\Progress\P rogress.js
    updating path to Win32
    WizardControl: loading page "Register" from C:\Program Files (x86)\Common Files\Adobe\Installers\49b2c0059f3cb852831867eec06474a\resources\pages\Install\Register\R egister.js
    updating path to Win32
    WizardControl: loading page "Finish" from C:\Program Files (x86)\Common Files\Adobe\Installers\49b2c0059f3cb852831867eec06474a\resources\pages\Install\Finish\Fin ish.js
    HTML data complete: Welcome
    HTML data complete: Eula
    HTML data complete: Progress
    HTML data complete: Register
    HTML data complete: Finish
    [ 436] Thu Oct 30 19:12:48 2008 ERROR
    Critical errors were found in setup for Adobe Creative Suite 4 Master Collection:
    - Session has dependencies that cannot be satisfied.
    Please see the Setup log file for details. Click Quit to exit Setup.
    [ 436] Thu Oct 30 19:17:23 2008 INFO
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    END - Installer Session
    Doesn't really make sense to me....

  • Questions on Master-Detail HTMLDB HOW-TO

    Hi all
    I have created a 3 page application based on the master detail how-to given at http://www.oracle.com/technology/products/database/htmldb/howtos/index.html
    Instead of DEPT and EMP tables I have PERSON and PERSON_ADDR tables. The PK of PERSON is the person_id and the PK of PERSON_ADDR is the person_id and addr_start_dt. Person_id column in PERSON_ADDR is obviously the FK to the master table PERSON(person_id).
    At first I had problems trying to create the pages themselves because the wizard always hides the person_id column on all the forms(and I don't want that,even though it is a sequence number I still want people to see it) , it being the PK, then somehow I managed it to display the person_id by replacing the EDIT link with the person_id itself. Now if a person already has an address and I click on EDIT then it copies the person_id values and others to the next page and all looks good but when I try to create a new address it does it ?? (It should take across the person_id as well)
    My PERSON report is on page 1, when I click edit against a person it takes me to page 2 where I can see+change all the person details plus I can see the person_addr details. When I click edit against a person address it takes me to page 3 and I can edit all the address details nicely copied to the new page but when I click CREATE on the page 2, then all the fields appear as NULL on page 3( all the fields but the person_id should be null here). How can I fix this ?
    Also, for my person address I would like to validate the address dates , there should be no overlapping start and end dates for a person's address. How to do this ? I think I will need to create a function to which I pass the person id and the new start and end dates and this function returns error message,if any, or null. I had a play around with validation and I think I need to use "function returning error text", what should I put in the "validate expression 1" box then...just something like
    begin
    my_function(param_1,param_2)
    end;
    If yes, then what variables would store the new start date and new end date of an address.
    Lastly, for every table do I have to user a sequence number or a trigger to define a primary key, what if the primary key is just a character code and I want the users to add it ?
    Thanks a lot in advance !!

    thanks Marc.
    Yes you are right, I used the 1.5 viewlet. I will try the master-detail wizard now.
    With the primary key problems, for things to work nicely in HTMLDB, do you suggest each and every tables should have a sequence number generated primary key ? We have some tables for various statuses like ACTIVE,CLOSED where these codes themselves are the primary keys, so you suggest making these codes unique keys but still have a sequence number PK ? Also when I want the users to enter the primary key themselves I will let them enter new ones but not update existing ones, so data entegrity is maintained.
    I was able to work out how to create validations using "functions returning error text" but my problem is I need to be able to compare what the user has just updated/entered with the data that already exists in the table. I have a table called person_Address having columns like person_id, start_dt,end_dt and various other fields. The primary key is person_id and start_dt and I need to put a validation which avoids any overlapping addresses. Overlap as in there can be only 1 active address for a given start and end date range. Does HTMLDB has something like :new.start_dt the way we can write database triggers ? Please suggest a way to do this.
    Lastly, how does HTMLDB handles error messages raised by table triggers. Can they be shown along with the item on the page as we can with the other HTMLDB validations ? I have many tables with all sorts of triggers and if any validation fails I generally do...raise_application_error(-20001,get_my_message(234));
    get_my_message function returns the message text for message number 234 . Will this message be displayed somewhere or not ? Do I have to duplicate my validations , once in the triggers and then in HTMLDB as well ?

  • TS2518 Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the

    Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the library. I have tried every thing. I updated the other libr but now it will not open the main to update. What do I do?

    Try starting Aperture with the command and option keys held down.  You'll get 3 options.
    Try each, starting at the top, in order, checking after each to see if it fixes the issue.

  • Creating Master to show only rows for which valid entries exist in Detai

    I have created a Master-Detail Form in my Apex application based off of views to tables in a private remote Database.
    In the Master-Detail Creation Wizard, at the "Link Master and Detail" page, I specified that the defined Primary Key in the Master Column should be equal to the corresponding Foreign Key in the Detail Column.
    My goal is to have my Master Form only display rows for which a valid corresponding entry exists in the Detail Form. Yet, the above setup returns all of the rows from the Master Table, even where the corresponding Detail entry is blank.
    Can you provide some light on what I'm doing wrong, and how I can accomplish what I want to do?
    Thank you!

    I have created a Master-Detail Form in my Apex application based off of views to tables in a private remote Database.
    In the Master-Detail Creation Wizard, at the "Link Master and Detail" page, I specified that the defined Primary Key in the Master Column should be equal to the corresponding Foreign Key in the Detail Column.
    My goal is to have my Master Form only display rows for which a valid corresponding entry exists in the Detail Form. Yet, the above setup returns all of the rows from the Master Table, even where the corresponding Detail entry is blank.
    Can you provide some light on what I'm doing wrong, and how I can accomplish what I want to do?
    Thank you!

  • Error while creating money market transaction - payment details not retrieving from BP master data.

    Hello friends
                      I have error while creating financial transaction. Payment details are not retrieving from BP master data to creating financial transaction screen.
    No payment details entered for transaction
    Message no. FTR0030
    Please advise to set off this.
    Thanks & Regards
    Swami

    Dear Swami,
    Please select one payment details in Business partner and use assigned tab from top selection parameter from standing instruction to assigned bank details to product type.
    It will open other window like above example for each product of treasury, then assign bank details to product. Once assigned and save.
    System will pick payment details in deal automatically based on business partner.
    Hope this solve your issue.
    Regards,
    Jain
    Message was edited by: Jain Varghese

Maybe you are looking for

  • System Image Utility - Error

    I noticed when useing the System Image Utility to create a NetInstall set that the Percent listed in the log files goes from 87.2938 to -1. The process does continue working and eventually does complete, but the NetInstall set doesn't work. Has anyon

  • I cant Sync My Ipod

    I have a 16GB ipod, 5th Gen. i tried to sync a song to it and it deleted all of the songs on my ipod. So i tryed to sync all of my songs again and nothing happens. Does anyone know what to do

  • Best Video Filter for blown footage

    I have footage shot with the iris open too wide.  Can anyone suggest the best filter or combination of filters to use to correct the footage or am I completely hosed?  Currently I've tried a combination of brightness/contrast and gamma corrections an

  • Who can receive iOS Calendar invites?

    Sounds quite basic I know but this has been bugging me. If I have e-mail addresses for two contacts, one running Windows Phone and one running Android, who will be able to receive my iOS Calendar invite Thank you in advance for your time-

  • How do make sure only legitimate people an get into Conference using SX20

      Customer Scenario-( I) :Customer has SX20 registered with CUCM9.x, there is no TP Server and no TMS for Scheduled conference.  I understand the concept of secure conferencing but this would be between the Endpoint and the Server-UC Application: Sec