Cost Distribution - Sender to be selected with Real Cost Center / Stats IO

hi CO allocation gurus,
our company has a unique requirement. we want to identify cost by Cost Center/stats IO combination. We have a scenario wherein one cost center will have multiple Stats IO combination and these Stats IO can be used across multiple cost centers.
The reason is that the Stats IO are cost portions identifiers and they are repetitive across cost centers. So instead of creating multiple cost centers, we create a combination in the coding block.
During cost allocation we want to move cost based on a particular cost combination. As Stats IO are not cost allocatble, the system completely ignores the combination and total cost for the cost center/cost element combination is selected.
The stats IO information is stored in COEP as OBJNR_N1 field. However this is not available in the Tcode KCIV ( maintain Sender / receiver combination ). 
Has anybody come across this scenario and did some enhancement, are there any speciific userexits  to address this ?
any help would be appreciated...
regards,

hi CO allocation gurus,
our company has a unique requirement. we want to identify cost by Cost Center/stats IO combination. We have a scenario wherein one cost center will have multiple Stats IO combination and these Stats IO can be used across multiple cost centers.
The reason is that the Stats IO are cost portions identifiers and they are repetitive across cost centers. So instead of creating multiple cost centers, we create a combination in the coding block.
During cost allocation we want to move cost based on a particular cost combination. As Stats IO are not cost allocatble, the system completely ignores the combination and total cost for the cost center/cost element combination is selected.
The stats IO information is stored in COEP as OBJNR_N1 field. However this is not available in the Tcode KCIV ( maintain Sender / receiver combination ). 
Has anybody come across this scenario and did some enhancement, are there any speciific userexits  to address this ?
Can i do this with costing substitution rule, if so what user exit ?
any help would be appreciated...
regards,

Similar Messages

  • Internal order for AUC with cost center - 'Please Select proper plant code'

    Hi All,
    User is getting error 'Please Select proper plant code', while inserting 'cost center' in field 'Responsible CCtr' for new Internal order which is for AUC.
    In Devlopment server also when we try to create asset through internal order we get same error.
    For your information this is new Plant, profit center and cost center for which we are trying to create internal order for AUC.
    If we try to post without Cost centre entry is saved. But we want to add cost center.
    Please help to resolve.

    Hi,
    If it is a custom message then please check whether any Validation or USer exit is maintained for the IO master data. If yes, then update the cost centre accordingly.
    Regards
    Sreekanth

  • Functional Area derivation as obligatory checkbox in Cost Center distribution cycle?

    Dear All,
    We are using Cost of Sales accounting with FI-CO online integration. Derivation of Functional Area for Cost Center assessment cycles is an obligatory indicator. Nevertheless I may create Cos Center distribution cycles without this option (what affects FI-CO online integration). Can anybody explain a system logic behind it?
    Can I set Functional Area derivation as an obligatory checkbox for Cost Center distribution cycles too?
    Bartlomiej Seidel

    Hi,
    I have searched for any useful note, but without result so far. The point is that any new distribution or assessment cycle (cost centers) in our company must work with Functional Area derivation (than FI-CO online integration works correctly). With our current SAP setup I must select this indicator for every assessment cycle - it is obligatory. But is not obligatory for distribution cycles - and I don't know why?
    I would like to protect everybody from crating distribution cycles without FA derivation indicator (like it works now for assessment cycles).  How may I do it?
    Bart

  • Effect of Cost Center Distribution in COPA

    Hi,
    We are running the cost center distribution to transfer the cost from one cost center to another cost center.It is creating the controlling document but in COPA  reports the cost is not getting transfered from one cost center to another. How can we transfer the cost from  one cost center to another with the subsequent effect in COPA.
    Thanks
    Ariel

    Hi Ariel,
    when you refer to the cost center in COPA, are you talking about the field "sender cost center"?
    That field shows the costs center that the costs came from when they were transferred from cost center to COPA through an assessment cycle (KEU5). When you transfer costs from one cost center to another AFTER running the assessment cycles in KEU5, then that transfer cannot have any effect on COPA. You would have to first transfer from one cost center to the other and THEN run the COPA assessment in KEU5.
    I hope I have understood your question correctly
    Nikolas

  • Send an e-mail with an attachment

    Hi all,
    The requirement is to send an e-mail with an attachment containing sales cycle information. The mail-ids will be got from the distribution list mentioned on the selection screen.
    I have to add a select-option with no intervals so that it can accept the distribution list. I also have to check the distribution list for its validity.
    How do I go about it?
    Please help.
    Thanks and regards,
    Anishur

    REPORT  zspooltopdf.
    PARAMETER: p_email1 LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_sender LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_delspl  AS CHECKBOX.
    *DATA DECLARATION
    DATA: gd_recsize TYPE i.
    Spool IDs
    TYPES: BEGIN OF t_tbtcp.
            INCLUDE STRUCTURE tbtcp.
    TYPES: END OF t_tbtcp.
    DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
          wa_tbtcp TYPE t_tbtcp.
    Job Runtime Parameters
    DATA: gd_eventid LIKE tbtcm-eventid,
          gd_eventparm LIKE tbtcm-eventparm,
          gd_external_program_active LIKE tbtcm-xpgactive,
          gd_jobcount LIKE tbtcm-jobcount,
          gd_jobname LIKE tbtcm-jobname,
          gd_stepcount LIKE tbtcm-stepcount,
          gd_error    TYPE sy-subrc,
          gd_reciever TYPE sy-subrc.
    DATA:  w_recsize TYPE i.
    DATA: gd_subject   LIKE sodocchgi1-obj_descr,
          it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          gd_sender_type     LIKE soextreci1-adr_typ,
          gd_attachment_desc TYPE so_obj_nam,
          gd_attachment_name TYPE so_obj_des.
    Spool to PDF conversions
    DATA: gd_spool_nr LIKE tsp01-rqident,
          gd_destination LIKE rlgrap-filename,
          gd_bytecount LIKE tst01-dsize,
          gd_buffer TYPE string.
    Binary store for PDF
    DATA: BEGIN OF it_pdf_output OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA: END OF it_pdf_output.
    CONSTANTS: c_dev LIKE  sy-sysid VALUE 'DEV',
               c_no(1)     TYPE c   VALUE ' ',
               c_device(4) TYPE c   VALUE 'LOCL'.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Write statement to represent report output. Spool request is created
    if write statement is executed in background. This could also be an
    ALV grid which would be converted to PDF without any extra effort
      WRITE 'Hello World'.
      new-page.
      commit work.
      new-page print off.
      IF sy-batch EQ 'X'.
        PERFORM get_job_details.
        PERFORM obtain_spool_id.
    Alternative way could be to submit another program and store spool
    id into memory, will be stored in sy-spono.
    *submit ZSPOOLTOPDF2
           to sap-spool
           spool parameters   %_print
           archive parameters %_print
           without spool dynpro
           and return.
    Get spool id from program called above
    IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
        PERFORM convert_spool_to_pdf.
        PERFORM process_email.
        if p_delspl EQ 'X'.
          PERFORM delete_spool.
        endif.
        IF sy-sysid = c_dev.
          wait up to 5 seconds.
          SUBMIT rsconn01 WITH mode   = 'INT'
                          WITH output = 'X'
                          AND RETURN.
        ENDIF.
      ELSE.
        SKIP.
        WRITE:/ 'Program must be executed in background in-order for spool',
                'request to be created.'.
      ENDIF.
          FORM obtain_spool_id                                          *
    FORM obtain_spool_id.
      CHECK NOT ( gd_jobname IS INITIAL ).
      CHECK NOT ( gd_jobcount IS INITIAL ).
      SELECT * FROM  tbtcp
                     INTO TABLE it_tbtcp
                     WHERE      jobname     = gd_jobname
                     AND        jobcount    = gd_jobcount
                     AND        stepcount   = gd_stepcount
                     AND        listident   <> '0000000000'
                     ORDER BY   jobname
                                jobcount
                                stepcount.
      READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
      IF sy-subrc = 0.
        message s004(zdd) with gd_spool_nr.
        gd_spool_nr = wa_tbtcp-listident.
        MESSAGE s004(zdd) WITH gd_spool_nr.
      ELSE.
        MESSAGE s005(zdd).
      ENDIF.
    ENDFORM.
          FORM get_job_details                                          *
    FORM get_job_details.
    Get current job details
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
           IMPORTING
                eventid                 = gd_eventid
                eventparm               = gd_eventparm
                external_program_active = gd_external_program_active
                jobcount                = gd_jobcount
                jobname                 = gd_jobname
                stepcount               = gd_stepcount
           EXCEPTIONS
                no_runtime_info         = 1
                OTHERS                  = 2.
    ENDFORM.
          FORM convert_spool_to_pdf                                     *
    FORM convert_spool_to_pdf.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid              = gd_spool_nr
                no_dialog                = c_no
                dst_device               = c_device
           IMPORTING
                pdf_bytecount            = gd_bytecount
           TABLES
                pdf                      = it_pdf_output
           EXCEPTIONS
                err_no_abap_spooljob     = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_destdevice       = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                OTHERS                   = 12.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings
      LOOP AT it_pdf_output.
        TRANSLATE it_pdf_output USING ' ~'.
        CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~ '.
      DO.
        it_mess_att = gd_buffer.
        APPEND it_mess_att.
        SHIFT gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    ENDFORM.
          FORM process_email                                            *
    FORM process_email.
      DESCRIBE TABLE it_mess_att LINES gd_recsize.
      CHECK gd_recsize > 0.
      PERFORM send_email USING p_email1.
    perform send_email using p_email2.
    ENDFORM.
          FORM send_email                                               *
    -->  p_email                                                       *
    FORM send_email USING p_email.
      CHECK NOT ( p_email IS INITIAL ).
      REFRESH it_mess_bod.
    Default subject matter
      gd_subject         = 'Subject'.
      gd_attachment_desc = 'Attachname'.
    CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
      it_mess_bod        = 'Message Body text, line 1'.
      APPEND it_mess_bod.
      it_mess_bod        = 'Message Body text, line 2...'.
      APPEND it_mess_bod.
    If no sender specified - default blank
      IF p_sender EQ space.
        gd_sender_type  = space.
      ELSE.
        gd_sender_type  = 'INT'.
      ENDIF.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_mess_bod
                                          it_mess_att
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'PDF'
                                          gd_attachment_name
                                          gd_attachment_desc
                                          p_sender
                                          gd_sender_type
                                 changing gd_error
                                          gd_reciever.
    ENDFORM.
          FORM delete_spool                                             *
    FORM delete_spool.
      DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
      ld_spool_nr = gd_spool_nr.
      CHECK p_delspl <> c_no.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
           EXPORTING
                spoolid = ld_spool_nr.
    ENDFORM.
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables it_message
                                              it_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
    data:   t_packing_list like sopcklsti1 occurs 0 with header line,
            t_contents like solisti1 occurs 0 with header line,
            t_receivers like somlreci1 occurs 0 with header line,
            t_attachment like solisti1 occurs 0 with header line,
            t_object_header like solisti1 occurs 0 with header line,
            w_cnt type i,
            w_sent_all(1) type c,
            w_doc_data like sodocchgi1.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.

  • Exchange 2010 can't send or receive email with attachments.

    Hello,
    We have an Exchange 2010 server, running under Windows 2008R2. Both the server and Exchange are current for Windows and Exchange updates. Exchange is on SP3 installed about a month ago with no errors reported in the event logs.
    The problem is that attachments over about 1 MB do not send or receive and no error message is returned. If I send an email message with a 3 MB attachment to myself, it reports as sent in Outlook. On the Exchange server the message queue shows nothing in
    the queue. I try to use Exchange mail flow tracking tool and it hangs when selecting “messages received from” option. I gave up waiting after 5 minutes for the display to populate.
    As the server is set attachments should be able to send and receive up to 20 MB.
    I checked and verified all settings I could find related to this. I checked with the Exchange Management Console per the following article:
    http://www.msexchange.org/articles-tutorials/exchange-server-2010/management-administration/managing-limits-exchange-server-2010-part1.html
    I also checked using the Exchange Power Shell using the following article:
    http://eightwone.com/2010/09/29/exchange-message-size-limits/
    Both show that all settings are suitable. Details are below
    I would appreciate feedback on this problem.
    Thank you!
    Details from the articles noted above:
    First test was to attach a 3 mb text file in Outlook sent from my in house account to my in house account. After 5 minutes the test message was not received nor was there an error message returned.
    Checked The Exchange server mail queue and there was nothing in the queue. Checked the Exchange mail flow tracking tool and it hung when selecting “messages received from” option.
    Reviewed and verified settings per the following 2 articles:
    Article #1
    http://www.msexchange.org/articles-tutorials/exchange-server-2010/management-administration/managing-limits-exchange-server-2010-part1.html
    Organization Configuration>Hub Transport>General Settings>Global Settings>Transport Settings set to max receive size (KB) = 20480
    Settings set to max send size (KB) = 20480
    Organization Configuration> Hub Transport> Send Connectors tab.
    Maximum message size (KB) set to 20480
    Exchange Management Console> Server Configuration> Hub Transport> and then on the right side, select the desired server.
    A list of all Receive Connectors will be shown below
    There are 3 receive Connectors
    #1) named Client XXXXXXXXXX
    Maximum message size (KB) set to 20480
    #2) named Default  XXXXXXXXXX
    Maximum message size (KB) set to 20480
    #3) named relay
    Maximum message size (KB) set to 20480
    Use Exchange Management Shell to check settings
    #1) Get-ADSite
    Returns:
    Name                           HubSiteEnabled
    Default-First-Site-Name        False
    #2) Get-ADSiteLink
    Name                      ADCost     ExchangeCost    Sites
    DEFAULTIPSITELINK         100                        {xxxx.local/Configuration/Si...
    #3) Get-ADSiteLink | select Max*
    MaxMessageSize
    unlimited
    Exchange Management Console>Expand Organization Configuration>Click on Hub Transport item>Click on Transport Rules tab
    No rules
    Article #2 
    http://eightwone.com/2010/09/29/exchange-message-size-limits/
    COMMAND: Get –TransportConfig
    results:
    ClearCategories                     : True
    ConvertDisclaimerWrapperToEml       : False
    DSNConversionMode                   : UseExchangeDSNs
    ExternalDelayDsnEnabled             : True
    ExternalDsnDefaultLanguage          :
    ExternalDsnLanguageDetectionEnabled : True
    ExternalDsnMaxMessageAttachSize     : 10 MB (10,485,760 bytes)
    ExternalDsnReportingAuthority       :
    ExternalDsnSendHtml                 : True
    ExternalPostmasterAddress           :
    GenerateCopyOfDSNFor                : {}
    HygieneSuite                        : Standard
    InternalDelayDsnEnabled             : True
    InternalDsnDefaultLanguage          :
    InternalDsnLanguageDetectionEnabled : True
    InternalDsnMaxMessageAttachSize     : 10 MB (10,485,760 bytes)
    InternalDsnReportingAuthority       :
    InternalDsnSendHtml                 : True
    InternalSMTPServers                 : {}
    JournalingReportNdrTo               : <>
    LegacyJournalingMigrationEnabled    : False
    MaxDumpsterSizePerDatabase          : 18 MB (18,874,368 bytes)
    MaxDumpsterTime                     : 7.00:00:00
    MaxReceiveSize                      : 20 MB (20,971,520 bytes)
    MaxRecipientEnvelopeLimit           : 500
    MaxSendSize                         : 20 MB (20,971,520 bytes)
    MigrationEnabled                    : False
    OpenDomainRoutingEnabled            : False
    Rfc2231EncodingEnabled              : False
    ShadowHeartbeatRetryCount           : 12
    ShadowHeartbeatTimeoutInterval      : 00:15:00
    ShadowMessageAutoDiscardInterval    : 2.00:00:00
    ShadowRedundancyEnabled             : True
    SupervisionTags                     : {Reject, Allow}
    TLSReceiveDomainSecureList          : {}
    TLSSendDomainSecureList             : {}
    VerifySecureSubmitEnabled           : False
    VoicemailJournalingEnabled          : True
    HeaderPromotionModeSetting          : NoCreate
    Xexch50Enabled                      : True
    COMMAND: 
    Set-TransportConfig –MaxReceiveSize 20MB –MaxSendSize 20MB
    C:\Windows\system32>Set-TransportConfig -MaxReceiveSize 20MB -MaxSendSize 20MB
    WARNING: The command completed successfully but no settings of 'Transport Settings' have been modified.
    COMMAND: 
    Get-SendConnector
    Identity                                AddressSpaces                         
     Enabled
    Internet                                {SMTP:*;1}                             
    True
    COMMAND: 
    Set-SendConnector -Identity Internet -MaxMessageSize 20MB
    WARNING: The command completed successfully but no settings of 'Internet' have been modified.
    COMMAND: 
    Get-ReceiveConnector
    Identity                                Bindings                                Enabled
    XXXXXXXXXX\Default XXXXXXXXXX           {0.0.0.0:25}                           
    True
    XXXXXXXXXX \Client XXXXXXXXXX     {:::587, 0.0.0.0:587}                   True
    XXXXXXXXXX \relay                        {0.0.0.0:25}                           
    True
    COMMAND: 
    Get-ReceiveConnector | fl Identity,MaxMessageSize
    Identity       : XXXXXXXXXX \Default XXXXXXXXXX
    MaxMessageSize : 20 MB (20,971,520 bytes)
    Identity       : XXXXXXXXXX \Client XXXXXXXXXX
    MaxMessageSize : 20 MB (20,971,520 bytes)
    Identity       : XXXXXXXXXX \relay
    MaxMessageSize : 20 MB (20,971,520 bytes)
    COMMAND: 
    Get-AdSiteLink | fl Name,*max*
    Name           : DEFAULTIPSITELINK
    MaxMessageSize : unlimited
    COMMAND: 
    Get-RoutingGroupConnector <ConnectorID> | FL Name, *Max*
    No routing group connectors are installed
    Individual
    Recipient Configuration > Mailbox>Properties of the User> Activate tab Mail Flow Settings> Properties>Message Size Restrictions settings:
    Set to 20480 for send and receive for all.
    Re-tested and had the same problem. 
    Post on Technet.

    ExchangeITPro,
    Thank you for your reply.
    >what SP are you at?
    As noted in the first paragraph: "We have an Exchange 2010 server, running under Windows 2008R2. Both
    the server and Exchange are current for Windows and Exchange updates. Exchange is on SP3 installed about a month ago with no errors reported in the event logs."
    >try restarting the transport services.
    Done previously as well as the entire server. No change.

  • Cost center report with Vendor name

    Hi All,
    I need a cost center report which shows Vendor name and number.
    I tried with report S_ALR_87013611 but it is not displaying Vendor name for the expenses which is posted in MIGO.
    It is showing the offset A/c as GR/IR clearing a/c.
    Any other report or query I can make this.
    Thanks in Advance.
    Regards
    Shanu

    Hi Shanu
    There is a workaround
    When you post expense Dr to Vendor Cr - Use substitution exit RGGBS000 and populate Vendor no / name in a Text Field like SGTXT/.. You need to write FI Substitution in OBBH for this
    After this, implement the exit COOMEP01 to fetch SGTXT in CO Line item reports KSB1... It will also be visible in S_ALR reports
    Include SGTXT in the Structure CI_RKPOS
    Sample code of COOMEP01 is as below
    The code is written in include ZXKAEPU01 of EXIT_SAPLKAEP_001
    SELECT SINGLE vbel2 SGTXT FROM bseg
      INTO (cs_record-vbel2, cs_record-SGTXT)
                 WHERE bukrs = cs_record-refbk
                   AND belnr = cs_record-refbn
                   AND gjahr = cs_record-refgj
                   AND buzei = cs_record-refbz.
    br, Ajay M

  • Why is iMessage taking my incoming emails and then not making them available for my PC to get?  Why can I not send a text msg with photos when iMessage is turned off (but MMS is still on).

    Apple is great!
    Why is iMessage taking my incoming emails and then not making them available for my PC to get?  Why can I not send a text msg with photos when iMessage is turned off (but MMS is still on).
    I compose an iMessage with the destination as my email address and I attach 2 photos I want on my PC.  I send them several times from my iPhone 5C but they never arrive. I look at my ipad later and realize that it's iMessage app is getting ( and swallowing) these emails. I then turn the ipad off.  Still can't get the photos through because iphone is now getting them on it's iMessage.  I turn off the iMessage feature and try to send photos from text msging.  Phone tells me it can't send photos unless iMessage it turned on.  What happened to regular MMS text messaging?  I go and try to send photos as an email attachment and see that there is no option to attach from the stupid email program.  I look up online to learn about the brave new world of apple attachments and send them.
    Why is iMessage taking my incoming emails and then not making them available for my PC to get?
    The email program on my iphone is not configured to remove messages from the server.
    If iMessage is turned off I don't have the issue.
    Why can I not send a text msg with photos when iMessage is turned off (but MMS is still on).

    Did not work. I've selected iMessage to ON and left it. After a few hours I recieved a message "activation unsuccessful. Turn on iMessage to try again". This has been going on for the past 3 days.

  • MSSQLServer4 - Accessing columns from a select with the same name

    The following describes a problem I'm encountering using the MSSQLServer4 driver...I have the following 2 tables (greatly simplified):
    Create Table BOOK( BookId int, Name varchar(50), AuthorId int )
    Create Table AUTHOR( AuthorId int, Name varchar(30) )
    and my select is
    Select BOOK.*, AUTHOR.*
    From BOOK Inner Join AUTHOR On BOOK.AUTHORID = AUTHOR.AUTHORID
    As you can see, the ResultSet from this select will have 2 identically named columns called "Name". I realize I could use an alias to differentiate the column names, but then I must list out every column in each table (quite ugly). I had EXPECTED to be able to do a resultSet.getString( "Author.Name" ), but that doesn't appear to work either. Next, I thought I could use the ResultSetMetaData.getTable()/ResultSetMetaData.getColumnName() to determine the ordinal value, but getTable() always returns "". Is there anyway to distinguish these two columns without using an alias?
    Any help is greatly appreciated.
    Regards...Marc

    Marc wrote:
    The following describes a problem I'm encountering using the MSSQLServer4 driver...I have the following 2 tables (greatly simplified):
    Create Table BOOK( BookId int, Name varchar(50), AuthorId int )
    Create Table AUTHOR( AuthorId int, Name varchar(30) )
    and my select is
    Select BOOK.*, AUTHOR.*
    From BOOK Inner Join AUTHOR On BOOK.AUTHORID = AUTHOR.AUTHORID
    As you can see, the ResultSet from this select will have 2 identically named columns called "Name". I realize I could use an alias to differentiate the column names, but then I must list out every column in each table (quite ugly). I had EXPECTED to be able to do a resultSet.getString( "Author.Name" ), but that doesn't appear to work either. Next, I thought I could use the ResultSetMetaData.getTable()/ResultSetMetaData.getColumnName() to determine the ordinal value, but getTable() always returns "". Is there anyway to distinguish these two columns without using an alias?
    Any help is greatly appreciated.
    Regards...MarcHi. getTableName() will never work because the DBMS doesn't send the necessary metadata with the result
    set that the driver would need to implement that call. If you get 'Name' for multiple column names, JDBC specifies
    that getXXX("Name") will always return the first such named column. The only non-alias way is to know
    the columns you're going to get in order, and just do getXXX(1), getXXX(2) etc.
    Joe

  • How can i send an auto reply with form content to sender?

    Hai!
    I'm new to website building, but i already came a long way
    i made a form and i like to send a auto reply with the form content (if that isnt too difficult) to the person who filled it in.
    The form i made is in PHP (coding i copied partly from someone from the internet .)
    You can see the from at: http://vinddit.nl/vindditnu%20php%20version.php
    My PHP coding so far
    <?php
    // Set email variables
    $email_to = '[email protected]';
    $email_subject = 'Aanvraag - VINDDIT NU!';
    // Set required fields
    $required_fields = array('Voornaam','email','Achternaam','Plaats');
    // set error messages
    $error_messages = array(
              'Voornaam' => 'Vul hier uw voornaam in a.u.b.',
              'email' => 'Vul hier een geldig email adres in a.u.b.',
              'Achternaam' => 'Vul hier uw achternaam in a.u.b.',
              'Plaats' => 'Vul hier uw woonplaats in a.u.b.'
    // Set form status
    $form_complete = FALSE;
    // configure validation array
    $validation = array();
    // check form submittal
    if(!empty($_POST)) {
              // Sanitise POST array
              foreach($_POST as $key => $value) $_POST[$key] = remove_email_injection(trim($value));
              // Loop into required fields and make sure they match our needs
              foreach($required_fields as $field) {
                        // the field has been submitted?
                        if(!array_key_exists($field, $_POST)) array_push($validation, $field);
                        // check there is information in the field?
                        if($_POST[$field] == '') array_push($validation, $field);
                        // validate the email address supplied
                        if($field == 'email') if(!validate_email_address($_POST[$field])) array_push($validation, $field);
              // basic validation result
              if(count($validation) == 0) {
                        // Prepare our content string
                        $email_content = 'New Website Comment: ' . "\n\n";
                        // simple email content
                        foreach($_POST as $key => $value) {
                                  if($key != 'submit') $email_content .= $key . ': ' . $value . "\n";
                        // if validation passed ok then send the email
                        mail($email_to, $email_subject, $email_content);
                        // Update form switch
                        $form_complete = TRUE;
    function validate_email_address($email = FALSE) {
              return (preg_match('/^[^@\s]+@([-a-z0-9]+\.)+[a-z]{2,}$/i', $email))? TRUE : FALSE;
    function remove_email_injection($field = FALSE) {
       return (str_ireplace(array("\r", "\n", "%0a", "%0d", "Content-Type:", "bcc:","to:","cc:"), '', $field));
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
              <title>Aanvraag formulier</title>
              <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
              <link href="style.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.3.0/mootools-yui-compressed.js"></script>
        <script type="text/javascript" src="validation/validation.js"></script>
              <script type="text/javascript">
    var nameError = '<?php echo $error_messages['fullname']; ?>';
                        var emailError = '<?php echo $error_messages['email']; ?>';
                        var commentError = '<?php echo $error_messages['comment']; ?>';
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
        </script>
    <style type="text/css">
    </style>
    </head>
    <body onload="MM_preloadImages('icons/x.png')">
    <p> </p>
    <p>
      <?php if($form_complete === FALSE): ?>
    </p>
        <form action="vindditnu php version.php" method="post" enctype="application/x-www-form-urlencoded" name="Form"  id="commentsform">
        <h1><img src="icons/vinddit3.gif" width="220" height="80" alt="logo" /></h1>
        <h1>Wat zoekt u?:</h1>
                     <table width="690" border="0">
            <tr>
              <td>In welke categorie zoekt u?*</td>
              <td colspan="3"><select name="Ophalen_verzenden" id="Ophalen_verzenden">
                <option selected="selected">Meubels </option>
                <option>Witgoed </option>
                <option>Woon accesoires </option>
                <option>Kleding </option>
                <option>Schoenen </option>
                <option>Mode accesoires </option>
                <option>Speelgoed </option>
                <option>Boeken, tijdschriften, papierwaren </option>
                <option>Overig </option>
              </select></td>
            </tr>
            <tr>
              <td>Kleur:* </td>
              <td colspan="3"><select name="kleuren" id="kleuren">
                <option>Blauw</option>
                <option>Rood</option>
                <option>WIt</option>
                <option>Zwart</option>
                <option>Beige</option>
                <option>Bruin</option>
                <option>Geel</option>
                <option>Oranje</option>
                <option>Rood</option>
                <option>Metallic (Bijv. Zilver/Goud/Brons/Koper</option>
                <option>Meerkleurig</option>
                <option selected="selected">Overig/ N.v.t</option>
              </select></td>
            </tr>
            <tr>
              <td>Merk: </td>
              <td colspan="3"><input name="Merk" type="text" id="Merk5" value="<?php echo isset($_POST['Merk'])? $_POST['Merk'] : ''; ?>" />
                <?php if(in_array('Merk', $validation)): ?>
                <span class="error"><?php echo $error_messages['Merk']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Type/Model:</td>
              <td colspan="3"><input type="text" name="type" id="type" value="<?php echo isset($_POST['type'])? $_POST['type'] : ''; ?>" />
                <?php if(in_array('type', $validation)): ?>
                <span class="error"><?php echo $error_messages['type']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Materiaal: </td>
              <td colspan="3"><input name="Materiaal" type="text" id="Materiaal" value="<?php echo isset($_POST['Materiaal'])? $_POST['Materiaal'] : ''; ?>" />
                <?php if(in_array('Materiaal', $validation)): ?>
                <span class="error"><?php echo $error_messages['Materiaal']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Maat: </td>
              <td colspan="3"><input type="text" name="Maat" id="Maat" value="<?php echo isset($_POST['Maat'])? $_POST['Maat'] : ''; ?>" />
                <?php if(in_array('Maat', $validation)): ?>
                <span class="error"><?php echo $error_messages['Maat']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Conditie*:</td>
              <td colspan="3"><select name="conditie" id="conditie" >
                <option>Zo goed als nieuw</option>
                <option>Nieuw</option>
                <option>Bebruikt</option>
                <option selected="selected">Geen voorkeur </option>
              </select></td>
            </tr>
            <tr>
              <td>Ophalen/Verzenden:*</td>
              <td colspan="3"><select name="ophalen" id="ophalen">
                <option>Ophalen</option>
                <option>Verzenden</option>
                <option>N.v.t</option>
                <option>Geen voorkeur </option>
              </select></td>
            </tr>
            <tr>
              <td>Prijs Min:</td>
              <td><input name="prijsmin" type="text" id="prijsmin" size="10" value="<?php echo isset($_POST['prijsmin'])? $_POST['prijsmin'] : ''; ?>" />
                <?php if(in_array('prijsmin', $validation)): ?>
                <span class="error"><?php echo $error_messages['prijsmin']; ?></span>
                <?php endif; ?></td>
              <td>Prijs Max:</td>
              <td><input name="Prijs" type="text" id="Prijs" size="10" value="<?php echo isset($_POST['Prijs'])? $_POST['Prijs'] : ''; ?>" />
                <?php if(in_array('Prijs', $validation)): ?>
                <span class="error"><?php echo $error_messages['Prijs']; ?></span>
                <?php endif; ?></td>
            </tr>
          </table>
          <h1>Opmerkingen:</h1>
          <table width="690" border="0">
            <tr>
              <td height="25">Opmerkingen:</td>
              <td rowspan="2"><textarea name="Opmerkingen" cols="67" rows="10" id="Opmerkingen"><?php echo isset($_POST['Opmerkingen'])? $_POST['Opmerkingen'] : ''; ?></textarea>
                <?php if(in_array('Opmerkingen', $validation)): ?>
                <span class="error"><?php echo $error_messages['Opmerkingen']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td height="78"> </td>
            </tr>
          </table>
          <h1>Uw Gegevens:</h1>
          <table width="690" border="0">
            <tr>
              <td>Voornaam/Voorletters*:</td>
              <td><input type="text" name="Voornaam" id="Voornaam" class='invul' value="<?php echo isset($_POST['Voornaam'])? $_POST['Voornaam'] : ''; ?>" />
                <?php if(in_array('Voornaam', $validation)): ?>
                <span class="error"><?php echo $error_messages['Voornaam']; ?></span>
                <?php endif; ?></td>
              <td>Achternaam:* </td>
              <td><input type="text" name="Achternaam" id="Achternaam" class='invul' value="<?php echo isset($_POST['Achternaam'])? $_POST['Achternaam'] : ''; ?>" />
                <?php if(in_array('Achternaam', $validation)): ?>
                <span class="error"><?php echo $error_messages['Achternaam']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Straatnaam:</td>
              <td><input type="text" name="Straat" id="Straat" class='invul' value="<?php echo isset($_POST['Straat'])? $_POST['Straat'] : ''; ?>" />
                <?php if(in_array('Straat', $validation)): ?>
                <span class="error"><?php echo $error_messages['Straat']; ?></span>
                <?php endif; ?></td>
              <td>Huisnummer:</td>
              <td><input name="Huisnummer" type="text" id="Huisnummer" class='invul' size="10" value="<?php echo isset($_POST['Huisnummer'])? $_POST['Huisnummer'] : ''; ?>" />
                <?php if(in_array('Huisnummer', $validation)): ?>
                <span class="error"><?php echo $error_messages['Huisnummer']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Postcode:</td>
              <td><input type="text" name="Postcode" id="Postcode" class='invul' value="<?php echo isset($_POST['Postcode'])? $_POST['Postcode'] : ''; ?>" />
                <?php if(in_array('Postcode', $validation)): ?>
                <span class="error"><?php echo $error_messages['Postcode']; ?></span>
                <?php endif; ?></td>
              <td>Plaats:* </td>
              <td><input type="text" name="Plaats" id="Plaats" class='invul' value="<?php echo isset($_POST['Plaats'])? $_POST['Plaats'] : ''; ?>" />
                <?php if(in_array('Plaats', $validation)): ?>
                <span class="error"><?php echo $error_messages['Plaats']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Email Adres:*</td>
              <td colspan="3"><input type="text" name="email" id="email" class='invul' value="<?php echo isset($_POST['email'])? $_POST['email'] : ''; ?>" />
                <?php if(in_array('email', $validation)): ?>
                <span class="error"><?php echo $error_messages['email']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Telefoonnummer:</td>
              <td colspan="3"><input name="Telefoon" type="text" id="Telefoon" class='invul' value="<?php echo isset($_POST['Telefoon'])? $_POST['Telefoon'] : ''; ?>" />
                <?php if(in_array('Telefoon', $validation)): ?>
                <span class="error"><?php echo $error_messages['Telefoon']; ?></span>
                <?php endif; ?></td>
            </tr>
          </table>
          <p>
            <label for="Straat"></label>
            <label for="Huisnummer"><br />
            </label>
            <input type="submit" name="Submit" id="Submit" value="Verstuur" />
                   <input type="reset" name="Reset" id="Reset" value="Wissen" />
          </p>
        </form>
        <?php else: ?>
        <div class="bedankt">
          <p>Bedankt voor uw aanvraag!</p>
          <p>Wij zullen uw aanvraag zo spoedig mogelijk behandelen. Meestal duurt dit 2 a 3 werkdagen.</p>
          <p><img src="icons/vinddit3.gif" width="220" height="80" alt="logo" /></p>
    </div>
        <p>
          <script type='text/javascript'>
    setTimeout("ourRedirect()", 5000)
    function ourRedirect() {
          </script>
          <?php endif; ?>
    </body>
    </html>
    and .JS
    window.addEvent('domready', function() {
              // Get the form
              var form = $('comments_form');
              //  if the form is found...
              if (form) {
                        // obtain error fields
                        var name = $('fullname');
                        var email = $('email');
                        var comment = $('comment');
                        // Set the default status
                        var isValid = true;
                        // input error function for the error messages
                        var addError = function (field, msg) {
                                  field.addClass('error'); // Add error class to field
                                  var error = field.getParent().getElement('span') || new Element('span', {'class': 'error'}); // add error message if not already placed
                                  error.set('text', msg); // error text msg
                                  error.inject(field, 'after'); // Insert error message after field
      // detach error function used to delete any error messages and remove the error class
                        var removeError = function (field) {
                                  field.removeClass('error'); // Remove error class from form fields
                                  var error = field.getParent().getElement('span'); // find any existing error messages
      // destroy if error message
                                  if (error) {
                                            error.destroy();
    //  insert submit form event
                        form.addEvent('submit', function (e) {
                                  // Test name length
                                  if (name.get('value').length === 0) {
                                            isValid = false;
                                            addError(name, nameError);
                                  } else {
                                            isValid = true;
                                            removeError(name);
    // check email length
                                  if (email.get('value').length === 0) {
                                            isValid = false;
                                            addError(email, emailError);
                                  // check email validity
                                  } else if (!email.get('value').test(/^([a-zA-Z0-9\+_\-]+)(\.[a-zA-Z0-9\+_\-]+)*@([a-zA-Z0-9\-]+\.)+ [a-zA-Z]{2,6}$/)) {
                                            isValid = false;
                                            addError(email, emailError);
                                  } else {
                                            isValid = true;
                                            removeError(email);
                    // check comment length
                                  if (comment.get('value').length === 0) {
                                            isValid = false;
                                            addError(comment, commentError);
                                  } else {
                                            isValid = true;
                                            removeError(comment);
                                  // If form invalid then stop event happening
                                  if (!isValid) {
                                            e.stop();

    lisavs12686 wrote:
    Whould it also be possible to send the sender the submited data (looking like the filled in form or so)?
    not really nessecary but whould be a nice  jextra
    You can but you would need to send it as an html email which is much more complicated.
    What you would do is build a page/table construction like below. You would need to use the php variables to echo out the information in the <td></td> cells (example below).
    $reply = $_POST['email'];
    $from = '[email protected]';
    $replysubject = "Auto-Reply: Website Name";
    $headers  = 'MIME-Version: 1.0' . "\r\n";
    $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
    $headers .= "From: $from\r\nReply-to: $reply";
    $replymessage = '
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Comments from Website</title>
    </head>
    <body>
    <table>
    <tr>
    <td bgcolor="#ffffff" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; padding: 10px 15px;">Name: </strong>'.$name.'
    </td>
    </tr>
    </table>
    </body>
    </html>';
    mail($reply, $replysubject, $replymessage, $headers);

  • Account-based COPA and having Cost Center as Real Object in Sales Order

    Hi,
    We have recently activated account-based COPA and in our SO, we realized the Profitability Segment being populated- that is not a problem in normal scenarios.
    However, in some cases, we would like to charge to a cost center instead of COPA. We have tried the 2 ways mentioned in the forum/on the web to include Cost Center in Sales Order:
    1. Go to OVF3 t-code and configure a default cost center for the order reason
    2. Change the SD Document Category under 'Define Sales Document Types' to 'I- Order w/o charge'.
    However both ways only open the Cost center field but still populates the COPA. At accounting entries, cost center will become a statistical object and COPA, the real object- which is not what we want.
    Is there a way to stop the auto-populating of Profitabiltiy Segment in SO when cost center is being entered?
    Thanks very much in advance for any suggestions.
    Regards,
    Huimin

    Solved by myself, with help of OSS Note: 44381 - Profitability Segment Not Required in SD Postings. Have a CO substitution rule to clear away the Profitability Segment number based on certain conditions. Thanks!

  • Restricting cost center selection during creation of reservation

    Hi,
    We had a requirement to restrict the selection of cost center during creating a reservation. An user should be restricted in selecting any other cost center which does not belongs to his department. Since the restriction was not possible in standared/available authorization objects, we have created a customized object thru SU2. The Z object is available in role maintenance (PFCG) which we assigned to the object class MM_B and maintained the relevant cost center value.
    Still it is not giving the desired result as selection of any aother cost center (which is mot mentioned under the Z object) is permitted while creating a reservation.
    Request your valuable update in fixing the issue.
    Thanks & Regards,
    Vinod Punnoran

    Hello Vinod,
    How to manipulate the screens from transaction MB21 to avoid your
    issue?
    a) by transaction OXK1:
    In customizing transaction 'OXK1' you can see which screens are
    available and in which order they are selected by the program.
    This transaction also allows to add customer-defined screens, to
    change the priorities and to de-activate standard screens.
    So if you create yourself a screen with all the fields you
    would like to see you can assign it in OXK1. You would have to
    set the priority key so that program would choose your screen rather
    than the standard screens.
    Transaction OXK1:
    The coding block searches through the existing subscreens for the one
    which fulfills most requirements. The "Priority" serves as fine tuning
    in the search procedure: 1 is the highest priority, 9 the lowest.
    The system searches for the most suitable subscreen according to the
    following strategy:
    First, it searches for subscreens containing all the account assignment
    fields required. If there is more than one, it selects the one with the
    highest priority.
    If this is unsuccessful, the system then looks for subscreens containing
    all of the obligatory fields, or as many of them as possible. The
    subscreen containing the most obligatory fields is selected.
    If two subscreens contain the same number of obligatory fields, then the
    one containing the most required account assignment fields is selected.
    If there is still more than one, the selection is made according to the
    priority.
    b) by user exit or BADI
    Enhancement to manipulate reservation data is MBCF0007 and the user
    exit is EXIT_SAPMM07R_001.
    MBCF0007 Customer function exit: Updating a reservation
    MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011 Read from RESB and RKPF for print list in  MB26
    There is a BADI as well:
    MB_RESERVATION_BADI  MB21/MB22: Check and Complete Dialog Data
    I hope this information helps you.
    Best Regards !
    Fábio Almeida
    MM Consultant

  • Purchase order with cost center

    I have 1 purchase order raised against cost center. for which gr, iv & payment  also done but. client want to return part of the goods.
    What can be the best process to do this.
    Thanks,
    Kiran

    Hi,
    Talk to  your business team, what  is real requirement now and also consult with FI/CO team
    As payment done, you can go for creating a Return PO and then do  GR with 161 movement type( if excise,do J1IS for to reverse excise and then print with J1IV) and finally go for credit memo in MIRO.
    OR 
    Considering  payment done to vendor as wrongly/ by mistake,so 1st check accounting document number for which vendor (with account number) in t.code:FBL1N & then reverse it with t.code: F-02 and finally clear it with t.code: F-44.Reverse all GR and MIRO document.
    Regards,
    Biju K

  • Freight Costing - Problem of G/L account with Cost Center

    Dear Gurus,
    In VI02, I have the following u201CAccount Assignmentu201D message of error:
    u201CG/L account 60900000 cannot be used (please correct)u201D
    u201CComparison of the field selection strings from the G/L account 60900000 and the account assignment category K reveals that there is an incompatible combination of field selections for the field selection group 'Earmarked Funds'.u201D
    Questions:
    Bearing in mind that I am in the Shipment Cost cockpit, I need to mention that the system directly allocated me the following Account Assignment Category: u201CKu201D for u201CCost Centeru201D.
    1-     I could there either way create another Account Assignment Category for Shipping instead of Cost Center
    2-     The system tells me about an incompatible combination of field selection, how can I change that field selection to make it compatible? There are so many possibilities that I get bogged down in choosing the right combination.
    I have been to OME9 and OB14 to try to maintain fields, however those fields have different values or names.
    My aim here is to coordinate a G/L account group with a Cost Center for Freight Costing
    Can anyone help?
    Thanks
    Chris

    Dear Zafar,
    If you desire you maintain two different cost centers for the two company and you need to have both of them posted on the same G/L account and Cost element, I would advice you to:
    - create a Z table where by controlling area you define where the specific cost center need to get posted
    - include this validation check in the exit for validation for controlling
    - include this validation check in the exit for validation for finance
    - include this validation check also in the sales order user exit
    Standard SAP seems do not have direct link between cost centers & cost elements. For this reason ideal solution is to generate a table where you may define you needed structure.
    E.g.: some ideas on the table you may create
    Controlling area
    Cost element from
    Cost element to
    Cost center from
    Cost center to
    I hope this suggestion may answer to your need.
    Regards,
    Viviana A.

  • AP invoice with different tax rate and cost center?

    Dear all,
    We are just upgrade from 11i to R12.1.3. Before in 11i, we can change distribution account in AP invoice distribution line if the type is "Tax". However, after updated to R12, we define tax code (e.g. P1 for particular account combination), so once user selects tax code "P1" and invoice will automatic creates tax line for such invoice but the user cannot change distribution account anymore. Because in 11i, user will change the distribution account (cost center segment) but now in R12 user cannot change it.
    The only work around is defining different tax code for different cost center.
    For example: P1-0001 => 01.0000.999999.00001
    P2-0001 => 01.0000.999999.00002
    We have hundred of tax code and cost center combination.
    Any other work around for this? or anyone encounter the same problem?
    Please advice.
    Thanks.

    Let me explain more in details:
    1) The cost centre will will more. 2 cost centres just a simple example.
    For now, we have 5 cost centres for each of the tax rate. For the work around now, I need to define 5 tax codes for the same tax rate for different distribution combinations:
    Quote
    Tax Code ==>Tax Rate ==> AP Distribution Combination
    A1-3500 ==> 10% ==>001.9999999.3500.00
    A1-3600 ==> 10%==> 001.9999999.3600.00
    A1-3700 ==> 10%==> 001.9999999.3700.00
    A1-3800 ==> 10%==> 001.9999999.3800.00
    A1-3900 ==> 10%==> 001.9999999.3900.00
    2) The driving factor would be 100% percent.
    Please kindly advice.
    Many thanks.
    driving factor for the cost centre

Maybe you are looking for

  • Purchase order report -help needed.

    Hi guys, Can anyone help me create a report for the purchase orders (similar to ME2N) ,my company needs all the info related to a PO like payment history.we need to pull all <b>closed POs</b> during a certain time period.Is ther a way todo this . I'd

  • BAPI for Vendor Master Creation

    Hi, I've seen alot of messages regarding Vendor Master Creation but I didnt find any clear answer. What Bapi can we use for Vendor Master Creation? I saw the BAPI_VENDOR_CREATE (for online) but there are no parameters given. Pls help. Thanks!

  • Question about creating a delay in AS 20

    Hey everyone. Let me start off by saying that although I design in flash often, my knowledge of ActionScript is limited at best. I am typically a graphic artist, using Adobe CS2 etc. That said, I have been involved in the updating of a site that uses

  • Virtual Machine Base Desktop Deployment Publish RemoteApp Error

    Hi, I got error while i am trying to Publish RemoteApp in VDI as below: To populate the list of RemoteApp programs, the following requirement must be met on the virtual desktop: 1. The currently logged on user must be a member of the Administrators G

  • ITunes won't allow me to add files

    My old computer recently crashed (fortunuately I had all my files backed up). I got my new computer today (standard macbook pro 13) and after the initial setup I moved all my old files onto the computer, but when trying to add mp3's to itunes it goes