Friday, December 19, 2014

Tricky tables



TSTCP - If you have a view name and want to find tcode for that - put view in parameters (with *s) u get tcode

Tuesday, December 9, 2014

CRM layout based on object type and sub object type


To set Object type and Sub object type through code to differentiate between different order types - if diff order types need different CRM lay out in Web UI.

In BSP_WD_CMPWB tcode, in method DO_CONFIG_DETERMINATION

METHOD do_config_determination.
*CALL METHOD SUPER->DO_CONFIG_DETERMINATION
**  EXPORTING
**    iv_first_time = ABAP_FALSE
*    .

  
DATA: lv_subtype     TYPE bsp_dlc_object_sub_type VALUE '<DEFAULT>',
        lv_object_type 
TYPE bsp_dlc_object_type     VALUE '<DEFAULT>'.

  lv_object_type 
'<ObjectType 1>'.

  
IF <Tran Type> EQ ‘ERP Sales Order’.
    lv_subtype 
'OR'.
  
ELSE.
    lv_subtype 
'RE'.
  
ENDIF.

*  ENDIF.
  me
->set_config_keysiv_object_type          lv_object_type
                       iv_object_sub_type      
lv_subtype
                       iv_propagate_2_children 
abap_false ).
ENDMETHOD.





We can extend the sub object type as below:
ZL_ERPORD_SUBOBJ_TYPE_CALLBACK->IF_BSP_DLC_OBJ_TYPE_CALLBACK~GET_OBJECT_SUB_TYPES  


Good Link:
http://scn.sap.com/community/crm/webclient-ui-framework/blog/2015/12/04

Monday, December 8, 2014

EDI Idocs tips


How to retransmit multiple idocs:

Dropbox -> CMS -> EDI Idocs -> 'How to retransmit multiple idocs'

Friday, December 5, 2014

Compensation Management



Assign Pricing procedure to CHBK/CHBC (vend bill docs)
Logistics General -> SAP Global Trade Mngmnt -> Compensation Mngmnt -> Copy Control ->  Copy Control for Billing document to Vendor Billing document (-> Maintain Copy Control Procedure)
- here, you can also assign condition types that flow from Bill doc to Vend bill doc


Vendor Billing doc types (CHBK/CHBC)
Logistics General -> Agency Business -> Billing -> Billing Document types

Adobe forms links

Wednesday, December 3, 2014

Credit Management


OVA8 - Automated Credit control - You set up config for risk category - switch on/off checks

User exit for OVA8 'User1' - LVKMPFZ1

VKM3 - Release credit block for Sales orders
VKM4 - Release credit block for SD documents (Deliv etc)

FD32 - Customer credit management change - assign risk category etc..