Posting Key - FB02 data upload

Hi,
I am uploading data from a flat file using BAPI to upload customer gl accounts.
The Posting Key ( BSCHL ) mentioned in the flat file is 01 ( for invoice ) , but when it is posted , in FB02 i am seeing it as 11 ( credit memo ).
i checked all the data passed on to the BAPI. it is "01" .
What could be the reason for this ?
Can any one help me in this?
Vikki.

Hi Max,
I debugged the BAPI. and went thro the subroutine FILL_ACC_TYPE.
in this subroutine, it is assigning the BSCHL.
I am not able to find out where in the BAPI it decides the SIGN of the AMOUNT.
Can you guide me .
My requirement is to pass on the POSTING KEY to the BAPI EXTENSION and get the SIGN of the amount automatically.
DATA: ld_bschh  LIKE accit-bschl,
        ld_bschs  LIKE accit-bschl,
        ld_umskz  LIKE accit-umskz.
  IF NOT gs_accit-ktosl IS INITIAL AND
     gs_accit-kstat IS INITIAL.
    CALL FUNCTION 'FI_GET_POSTING_KEY'
      EXPORTING
        i_ktosl       = gs_accit-ktosl
      IMPORTING
        e_bschs       = ld_bschs
        e_bschh       = ld_bschh
        e_umskz       = ld_umskz
      EXCEPTIONS
        error_message = 1.
    IF sy-subrc IS INITIAL.
      IF gs_accit-shkzg = 'S'.
        gs_accit-bschl = ld_bschs.
      ELSE.
        gs_accit-bschl = ld_bschh.
      ENDIF.
**     SHB-Vorgänge HR-Travel mit Ktosl 'HRV'
*      IF NOT ld_umskz IS INITIAL.
*        gs_accit-umskz =  ld_umskz.
**        keine Ableitung Zahlungsbedingung für SHB-Vorgänge
*        CLEAR gs_accit-zterm.
*      ENDIF.
    ELSE.
      PERFORM error_from_system
              USING gs_bapi_accit-parameter
                    gs_bapi_accit-tabix
                    'ACCT_KEY'.
    ENDIF.
  ENDIF.
  IF gs_accit-bschl IS INITIAL.
    CASE gs_accit-koart.
      WHEN 'D' OR 'V'.
        IF gs_accit-shkzg = 'S'.
          gs_accit-bschl = '01'.
        ELSE.
          gs_accit-bschl = '11'.
        ENDIF.
      WHEN 'K'.
        IF gs_accit-shkzg = 'S'.
          gs_accit-bschl = '21'.
        ELSE.
          gs_accit-bschl = '31'.
        ENDIF.
      WHEN 'S'.
        IF gs_accit-shkzg = 'S'.
          gs_accit-bschl = '40'.
        ELSE.
          gs_accit-bschl = '50'.
        ENDIF.
      WHEN 'A'.
        IF gs_accit-shkzg = 'S'.
          gs_accit-bschl = '70'.
        ELSE.
          gs_accit-bschl = '75'.
        ENDIF.
      WHEN 'M'.
        IF gs_accit-shkzg = 'S'.
          gs_accit-bschl = '40'.
        ELSE.
          gs_accit-bschl = '50'.
        ENDIF.
    ENDCASE.
  ENDIF.
  IF NOT gs_accit-umskz IS INITIAL.
    IF gs_accit-bschl+1 = '1'.
      gs_accit-bschl+1 = '9'.
    ENDIF.
  ENDIF.
Waiting for your reply.
Vikki.

Similar Messages

  • FB01 uploading problem with posting keys

    Hi Gurus!
    I created this program to upload the FB01 transaction froma  csv file using 'BAPI_ACC_DOCUMENT_CHECK'.
    Everything seems to be working fine except for the fact that even when my csv file has the posting key of 31 for the  vendor and 40 for the gl it picks up 21 and 50 from somewhere and posts that which is wrong. I am not sure why this is happening and where its picking up the posting keys from inspite of the file indicating 31 and 40 respectively.
    My file is as follows:
    02232010;KR;2000;02222010;;CAD;154085;009571;31;925049;20706.84;V005;02222010;C;213728;40;3998;20706.84;1;EA;002;730019;730019 and as you see the 31 and 40 are mentioned in the file but after i run teh program and see the FB03 for the postings it shows me as follows.
    2000     1     000001     21     2000     Trade Accts Payable                    6,935.41     CAD               730019               
    2000     2     000002     50     3998     Trade AR Conversion                    6,935.41-     CAD          730019     730019     
    Could anyone please tell me why is it picking up other posting key istead of mine being provided in the file.
    Thanks

    I followed this:
    ***Vendor account check***
        CLEAR wa_ap.
        wa_ap-itemno_acc         = 1.                           "Item No
        wa_ap-vendor_no         = tw_upload-newko.              "Vendor account no
        wa_ap-item_text         = tw_upload-sgtxt.
        APPEND wa_ap TO ta_ap.
    ***General Ledger account check***
        CLEAR wa_gl.
        wa_gl-itemno_acc         = 2.                           "Item No
        wa_gl-gl_account         = tw_upload-newko_2.           "General ledger account
        wa_gl-item_text          = tw_upload-sgtxt_2.
    *    wa_gl-fis_period         = tw_upload-monat.
        wa_gl-pstng_date         = wa_header-pstng_date.
        wa_gl-costcenter         = tw_upload-kostl.             "Cost center
        wa_gl-profit_ctr         = tw_upload-prctr.             "Profit center
        APPEND wa_gl TO ta_gl.
    ***Currency check***
        CLEAR wa_curr.
        wa_curr-itemno_acc       = 1.
        wa_curr-currency         = tw_upload-waers.
        wa_curr-amt_doccur       = tw_upload-wrbtr .
        APPEND wa_curr TO ta_curr.
        CLEAR wa_curr.
        wa_curr-itemno_acc       = 2.
        wa_curr-currency         = tw_upload-waers.
        wa_curr-amt_doccur       = tw_upload-wrbtr_2 * -1 .
        APPEND wa_curr TO ta_curr.
    **Bapi check for the record to post
        CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
          EXPORTING
            documentheader = wa_header
          TABLES
            accountgl      = ta_gl
            currencyamount = ta_curr
            return         = ta_return
            accountpayable = ta_ap. " If return contains no errors then post documents

  • Regarding dates(posting key ,clearing key ,key due ,base line)

    HI Friends,
    I am new to bi,could you please can any one explain me significance of the below dates .
    1) Posting key date
    2)clearing key date
    3)key due date
    4)base line date
    5)key date for due date
    Above date regarding FI-AP Report.
    Thanks in advance,
    Vas.

    1) posting date: the date, when a FI-position is posted (booked). (to differentiate with create date = the date when a FI-document is created)
    2) clear date: the date, when a position is payed (cleared) from Vendor (Supplier)
    3) due date: the date, when the position has to be payed (payment date)
    4) baseline date is more a self-defined date (company depending), where the company has a basis to calculate some cindition like the trade discount or due date... Ask your FI-Colleagues for more details.
    5) key date: It is more a input field when you execute a query. Based on this input field you can make a calculation or comparision (with certain requirements/conditions).
    For example: a FI-position is still open when the posting key date <= posting date. The position is cleared when clear key date > clear date and posting key_date < posting date.
    Another example: a FI-position is overdue when a key date for due date > due date and a posting key date > posting date.

  • Posting keys for Open Vendor/Custor and GL accounts during data migration

    Dear experts,
    May I know what are the posting keys to be used for Open Debit Vendor Line item, Open Credit Vendor line item, Open Debit Customer line item, Open Credit Custtomer line item, Open Debit GL line item and Open Credit GL Line item?
    Thank you.

    Dear,
    SAP has provided standard posting keys. Please go to OB41 , there you will find posting keys with their descriptions.
    Regards

  • Data upload:F-02: each documnet number to be generated for each line item

    Dear ABAP experts,
    I have a requirement.
    When we uplaod customer or vendor invoices ,a document number will be generated or posted.
    Similarly, my requirement is :When I do the same kind of uploads, for each line item in an excel file each document number has to be generated or posted .This upload is using Tcode: F-02.
    How do I generate each document number for each line item (for each vendor or customer).
    Please do the needful.Either send me a sample code or an idea how to proceed.
    Thanks,
    Hema.

    Hi,
    using below code you can generate document number  for each line Item.
      PERFORM bdc_dynpro      USING 'SAPMF05A' '0100'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        IF  wa_final-field1 NE c_space.
    convert date to user format
          MOVE wa_final-field1 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
          PERFORM bdc_field       USING 'BKPF-BLDAT'
                                        v_date1.          " Document Date
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
        PERFORM bdc_field       USING 'BKPF-BLART'
                                      wa_final-field4.          " Document Type
        PERFORM bdc_field       USING 'BKPF-BUKRS'
                                      wa_final-field2.          " Company Code
        IF  wa_final-field3 NE c_space.
    convert date to user format
          MOVE wa_final-field3 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
          PERFORM bdc_field       USING 'BKPF-BUDAT'
                                         v_date1.          " Posting Date
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
        PERFORM bdc_field       USING 'BKPF-WAERS'
                                      wa_final-field5.          " Currency
        PERFORM bdc_field       USING 'BKPF-KURSF'
                                      wa_final-field6.          " Rate
        PERFORM bdc_field       USING 'BKPF-XBLNR'
                                      wa_final-field7.          " Reference
        PERFORM bdc_field       USING 'BKPF-BKTXT'
                                      wa_final-field8.          " Document Header Text
        PERFORM bdc_field       USING 'RF05A-NEWBS'
                                      wa_final-field9.          " Cr.Posting Key
        PERFORM bdc_field       USING 'RF05A-NEWKO'
                                      wa_final-field10.         " Cr.Vendorcode or GL Account
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0302'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEG-HKONT'
                                      wa_final-field11.         " Dr.Alternative Recon A/c
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      wa_final-field12.         " Dr.Amount in Document Currency
    Begin of changes by someshwar
       IF v_field5 NE 'jpy' OR v_field5 NE 'JPY'.
        TRANSLATE v_field5 TO UPPER CASE.
        IF v_field5 NE 'JPY'.
          PERFORM bdc_field       USING 'BSEG-DMBTR'
                                        wa_final-field13.         " Dr.Amount in Local Currency
        ENDIF.
    Changes end
        PERFORM bdc_field       USING 'BSEG-GSBER'
                                      wa_final-field14.         " Dr.Business Area
        PERFORM bdc_field       USING 'BSEG-ZTERM'
                                      wa_final-field15.         " Dr.Payment Terms
        IF  wa_final-field16 NE c_space.
    convert date to user format
          MOVE wa_final-field16 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
    *Begin of changes by someshwar
         IF  wa_final-field16 NE '00000000'.
          PERFORM bdc_field       USING 'BSEG-ZFBDT'
                                        v_date1.         " Dr.Baseline date
         ENDIF.
    *Changes end
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
    *Begin of changes by someshwar
       IF wa_final-field17 NE ''.
        PERFORM bdc_field       USING 'BSEG-ZLSCH'
                                      wa_final-field17.         " Dr.Payment Method
       ENDIF.
    *changes end
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      wa_final-field18.         " Dr.Assignment
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      wa_final-field19.         " Dr.Text
    *Perform Save posting
        PERFORM save_post.
      ELSE.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0302'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEG-HKONT'
                                      wa_final-field11.         " Dr.Alternative Recon A/c
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      wa_final-field12.         " Dr.Amount in Document Currency
    *Begin of changes by someshwar
       IF v_field5 NE 'jpy' AND v_field5 NE 'JPY'.
        TRANSLATE v_field5 TO UPPER CASE.
        IF v_field5 NE 'JPY'.
          PERFORM bdc_field       USING 'BSEG-DMBTR'
                                        wa_final-field13.         " Dr.Amount in Local Currency
        ENDIF.
    Changes end
        PERFORM bdc_field       USING 'BSEG-GSBER'
                                      wa_final-field14.         " Dr.Business Area
        PERFORM bdc_field       USING 'BSEG-ZTERM'
                                      wa_final-field15.         " Dr.Payment Terms
        IF  wa_final-field16 NE c_space.
    convert date to user format
          MOVE wa_final-field16 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
          PERFORM bdc_field       USING 'BSEG-ZFBDT'
                                        v_date1.         " Dr.Baseline date
         ENDIF.
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
        PERFORM bdc_field       USING 'BSEG-ZLSCH'
                                      wa_final-field17.         " Dr.Payment Method
      ENDIF.
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      wa_final-field18.         " Dr.Assignment
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      wa_final-field19.         " Dr.Text
    *Perform Save posting
          PERFORM bdc_field       USING 'RF05A-NEWBS'
                                        '40'.                     " Cr.Posting Key
          PERFORM bdc_field       USING 'RF05A-NEWKO'
                                        '999996'.                 " Cr.Vendorcode or GL Account
          PERFORM bdc_dynpro      USING 'SAPMF05A' '0300'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        'BU'.
    *&      Form  BDC_TRANSACTION
    FORM bdc_transaction  USING    p_tcode.
      DATA: l_v_string TYPE string.
      REFRESH i_messtab.
      CALL TRANSACTION p_tcode USING i_bdcdata
                       MODE   g_mode
                       UPDATE 'S'
                       MESSAGES INTO i_messtab.
      IF NOT i_messtab[] IS INITIAL.
        READ TABLE i_messtab WITH KEY msgtyp = 'E'.
        IF sy-subrc EQ 0.
          LOOP AT i_messtab.
            IF i_messtab-msgtyp = 'E'.
              PERFORM fill_error_table USING i_messtab-msgtyp
                                             i_messtab-msgid
                                             i_messtab-msgnr
                                             i_messtab-msgv1
                                             i_messtab-msgv2
                                             i_messtab-msgv3
                                             i_messtab-msgv4.
            ENDIF.
          ENDLOOP.
          v_error = v_error + v_count.
        ENDIF.
        READ TABLE i_messtab WITH KEY msgtyp = 'S' msgnr = 312.
        IF sy-subrc EQ 0.
          SELECT SINGLE * FROM t100 WHERE sprsl = sy-langu
                                    AND   arbgb = i_messtab-msgid
                                    AND   msgnr = i_messtab-msgnr.
          l_v_string = t100-text.
          REPLACE  '&' WITH i_messtab-msgv1 INTO l_v_string .
          PERFORM fill_error_table USING i_messtab-msgtyp
                                             'ZMSG_FI'
                                             '025'
                                             i_messtab-msgv1
                                             wa_final2-field2
          v_success = v_success + 1.
        ELSE.
          LOOP AT i_messtab.
            IF i_messtab-msgtyp = 'S'.
              PERFORM fill_error_table USING  'E'
                                                   i_messtab-msgid
                                                   i_messtab-msgnr
                                                   i_messtab-msgv1
                                                   i_messtab-msgv2
                                                   i_messtab-msgv3
                                                   i_messtab-msgv4.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
      CLEAR :  t100 , l_v_string .
    ENDFORM.                    " BDC_TRANSACTION
    Regards,
    Siva.

  • Assignment field is not getting populated in KSB1 for posting key 50

    Hi All,
    We are uploading entries thru excel in SAP.
    For posting key 50 assignment field is not getting populated in KSB1.
    But for posting key 40 it is getting populated correctly.
    All setting (FSG, posting key details) are same for both the keys.
    No substitution defined in SAP.
    There is no issue for FBL3N for both the posting keys, only issue with KSB1.
    Any idea what could be the reason for this?
    Thank you.
    Akash

    KSB1 is CCtr report..
    if it is revenue normally it will be treated as statistical posting in CCtr accounting- for the cost element when it is defined as revenue element.. - check Cost elements - whether it is Cost and cost reducing or revenue element--
    possibility this can be one of the reason.
    check and confirm

  • Basic Data Upload to MATERIAL  Using LSMW is not working

    HI All,
      we are using LSMW    /SAPDMC/SAP_LSMW_IMPORT_TEXTS  program to upload the  basic text of the material, all steps are executed correctly and shows  records are transfered correctly , but the  in MM03 the text is not uploading..
    EPROC_PILOT - MASTER - TEXT_UPLOAD Basic long text 1line
    Field Mapping and Rule
            /SAPDMC/LTXTH                  Long Texts: Header
                Fields
                    OBJECT                       Texts: Application Object
                                        Rule :   Constant
                                        Code:    /SAPDMC/LTXTH-OBJECT = 'MATERIAL'.
                    NAME                         Name
                                        Source:  LONGTEXT-NAME (Name)
                                        Rule :   Transfer (MOVE)
                                        Code:    /SAPDMC/LTXTH-NAME = LONGTEXT-NAME.
                    ID                           Text ID
                                        Source:  LONGTEXT-ID (Text ID)
                                        Rule :   Transfer (MOVE)
                                        Code:    /SAPDMC/LTXTH-ID = LONGTEXT-ID.
                    SPRAS                        Language Key
                                        Source:  LONGTEXT-SPRAS (Language Key)
                                        Rule :   Transfer (MOVE)
                                        Code:    /SAPDMC/LTXTH-SPRAS = LONGTEXT-SPRAS.
                                                 * Caution: Source field is longer than target field
                /SAPDMC/LTXTL                  Long Texts: Row
                /SAPDMC/LTXTL                  Long Texts: Row
                    Fields
                        TEXTFORMAT                   Tag column
                                            Rule :   Constant
                                            Code:    /SAPDMC/LTXTL-TEXTFORMAT = 'L'.
                        TEXTLINE                     Text Line
                                            Source:  LONGTEXT-TEXTLINE (Text Line)
                                            Rule :   Transfer (MOVE)
                                            Code:    /SAPDMC/LTXTL-TEXTLINE = LONGTEXT-TEXTLINE.
    and at last it displaying as follws
    LSM Workbench: Convert Data For EPROC_PILOT, MASTER, TEXT_UPLOAD
    2010/02/01 - 10:14:25
    File Read:          EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.read
    File Written:       EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.conv
    Transactions Read:                    1
    Records Read:                         1
    Transactions Written:                 1
    Records Written:                      2
    can any one tell us what could be problem
    Regards
    Channappa Sajjanar

    Hi , thanks for your reply,
      i run the all the steps .
      when i run the program it gives message as follows
    Legacy System Migration Workbench
    Project:                              EPROC_PILOT     eProcurement Pilot
    Subproject:                           MASTER          Master data Upload / Change
    Object:                               TEXT_UPLOAD     Basic long text 1line
    File :                                EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.conv
    Long Texts in Total:                  1
    Successfully Transferred Long Texts:  1
    Non-Transferred Long Texts:           0

  • SPl G/L posting Due on Date field should mandatory field .

    Hi ,
    while posting special G/l code 'G', (Advances from vendor with posting Key-29 ) I need  Due on Field as Mondatory field, (Baseline date for due date calculation
    Date to which the periods for the cash discount deadline and the due date for net payment refer. This is the case for line items in open item accounts.) it is giving other Spl G/l code except this code, it is in suppress mode. anybody can help me how get this field as reqd.( I have given same field status group and same reconciliation account also, for which I am getting it is a mondatory field eventhough it is not showing)
    Regards,
    SYReddy.

    1) use validation :  OB28
    2) tcode OB41
    A.

  • Difference between field staus group for posting key and GL account

    Hi all,
    can anyone tell me what is the difference of usage for field status group in posting key and GL account as i notice the fileds are the same. during data entry, system will check both field status or how?
    thanks.

    Hi
    Both are to control the field status of the line item.
    But, the FSG of the Posting Key and the GL FSG status should not clash like below.
    Take 'Assignment' field as example :
    Posting key FS - Suppress & GL FS - Required    - will give you error message at the time of posting
    Posting key FS - Required & GL FS - Suppress    - will give you error message at the time of posting
    Otherthan the above, all other combination works
    VVR

  • Using a "Posting Key" relevant for the calculation of sales

    Hi All,
    if I make a posting by F-02 using a "Posting Key" relevant for the calculation of sales, I wonder: in which table SAP registers the data of sales?
    Is there the way to modify the relevance for sales of that posting?
    Thanks

    Hi
    As far I know, sales figures are getting updated in the following summary tables:
    KCN1 for Customer related.
    LFC1 For Vendor realted.
    Regards

  • Master data upload into SAP system

    Hello,
    I want to know if there is any standard method to upload material master, customer master, vendor master and finance master data into SAP system.
    I am not referring to LSMW's, BDC's and using BAPI's. I am aware of standard programs like RMDATIND for material master upload, RFBIDE00 for customer master upload and RFBIKR00 for vendor master upload. But these are using direct input method and SAP recommends this only for testing purpose. I am not sure if this could be really used in actual live scenarios.
    From some other posts in the forum, I came to know about some transactions like BDLR, SXDB and BMVO. Can some one tell me how to use these T.Codes?
    If some one has any detailed documentation on these T.codes or in general standard master data upload techniques please send it to [email protected]
    Thanks in advance,
    CMV

    Hi,
    Define the following attributes, using the F4 input help and F1 field help:
    Report
    Name of a registered program for this program type
    Variant
    You can only specify a variant with programs that are started directly.
    With direct input, data from the data transfer file undergoes the same checks as with the online transaction and is then transferred directly into the SAP System. The database is updated directly with the transferred data.
    For the documentation of other transactions please refer the correponding program documentation..which is more helpful,
    <b>Reward points if helpful,</b>
    Regards,
    jinesh

  • BW upgrade EHP1, data uploads should stop?

    Dear experts,
    we have plan for system upgrade. current system is BW 7.0 sp 17, Now planned for EHP1 and SP9.
    I know the there some post upgrade activities, which include consistancy check for objects (infoobject, transfer rules, cubes,dso, etc...)
    Could some one pls confirm, do we need to stop the data uploads/stop process chains during system upgrade?
    Thanks in advance!
    Best Regards,
    Mannu

    Hi Ingo,
    RSRT was giving proper results. We have now implemented few SAP notes and the issues got resolved.
    The following are the notes:
    1499233 - MDX:bXML flattening, unbalanced hierarchy, empty columns
    1485648 - MDX: bXML flattening and hierarchies and displaced columns
    1446245 - MDX: Error when RSR_MDX_BXML_GET_GZIP_DATA is called
    1441767 - MDX: No data for bXML if only ALL member is requested
    1438091 - MDX: basXML: Object MEASURE 0 not found
    1435844 - MDX:Wrong no. decimal places for basXML flattening interface
    1432162 - MDX: Flattening problems when using hierarchies
    1420169 - MDX: bXML flattening: Subsequent note
    1411491 - MDX: bXML flattening in transac. MDXTEST: Selecting packages
    1404328 - MDX: bXML flattening and PROPERTIES: Columns overwritten
    Thanks for your inputs.
    Regards,
    shesha.

  • How to get data from COSP table, field HRKFT as the key to data from PM?

    Dear ladies and gentlemen!
    I need to get data from COSP table, field HRKFT as the key to data from PM tables (AFKO and AUFK).
    The problem is that it is a key field to the COSP, and all non-key fields as an alternative to HRKFT are not suitable for this task.
    All this is necessary for the extractor, which loads the data from the R \ 3 systems in the BW-system. I need to perform SELECT from a table COSP and maybe also JOIN, most likely between tables COSP and AUFK.
    What should I do in this case?
    Thank you very much in advance!

    From information on help.sap.com I've made a conclusion that one of possible solutions in theory is to modify standard extractor PM_OM_OPA_1 in order to make HRKFT field available for work, because by default it is hidden by SAP and not available for use as a key field.
    Of course, it's not a very good solution, but for now I know no other way to solve this problem.
    Maybe someone knows better ways? In this case I will be very grateful for any help!
    Moderator: You'd better post it on BI forums

  • Incorrect posting key when using BAPI to post the document

    Dear Gurus,
    We are using a document upload program using BAPI_ACC_DOCUMENT_POST. It is for making payments to employees vendors via a mass mode.
    Now the payment to then is getting reflected as posting key 21, but we want to use key 25, so that in vendor report the line items for payments gets grouped together.
    How can we change this posting key in this BAPI?
    Cheers,
    Bhavesh

    Hi,
    This BAPI have the posting keys hardcoded based on account type, debit credit etc. You cannot change that in this BAPI.
    However I can find an OSS note 487722 which says some extension about this BAPI structure. You can try that to include the Posting Key Field:-
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=487722]
    Regards,
    Gaurav

  • FB01 Enter Trading Partner for Posting Key 01 (Customer Invoice)

    Dear Experts,
    I would like to ask is it possible to enter the Trading Partner for the FI Document line item with Posting Key 01.
    I can modify the Trading Partner for Posting Key 40 and 50 but I cannot find field in the More Data Button.
    Can anyone help me to solve this issue?
    Thanks.

    hi,
    Check whether the document type you are using to post is allowed to enter the trading partner.
    To check use the TCODe OBA7  and select the relevent document type. then select the check box enter trading partner under control data.
    and also check the customer you assigned for that posting key 01 is got assigned trading partner in the master record or not(TCOD XD02/XD03).
    thanks.

Maybe you are looking for

  • Display non-english contacts in zen mi

    i have no problem getting chinese songs to display correctly on my zen micro using v2 firmware and wmp0, but some of my outlook contacts have chinese names and addresses, they don't show up when sync'd. anybody got non-english contact information to

  • How to  Instantiate Oracle BPM Process Webservice from the OSB

    Hi, In our project we have one requirement i.e Instantiate Oracle BPM Process Webservice from the OSB.After register BPM service in to OSB I am creating one Message flow to instantiate BPM Process. first call to startSession Operation, then use respo

  • I can't activate Acrobat Pro license

    Hello after the inconveniences and the impossibility to connect and sync my documents with Creative Cloud Connection, now it is the turn of Acrobat Pro to giving me trouble. I can't activate Acrobat Pro license, so I can't use it. After launching Acr

  • How to see hidden files on my memory stick?

    I have 4 memory sticks and 2 are completly useless now having all 4GB full of deleted files that are still on the stick somehow but can only been seen when I plug it into my PS3 and click 'see all'. Is there anyway or apps to see everything on my mem

  • TS3276 Cannot send an email to more than 9 contacts?

    Unable to send an email with more than 9 contacts.  Get the following issue - The server response was: #4.5.3 Too many recipients. The email will send on ipad/iphone but doesnt on imac using both apple mail & air mail? Imac has Maverick installed. An