Thursday, March 12, 2015

Order Idoc - to pass Text id



Please fill following in idoc to give EAN number in Text field in SAP.


E1EDP01-POSEX = item number (start with 1 and continue sequence numbers for all items)
 
E1EDPT1-TDID = 'ZCEA' and TSSPRAS = 'E' and

E1EDPT2-TDLINE = EAN number  -  and E1EDPT2- TDFORMAT = * (asterisk)

Thursday, February 26, 2015

Barcodes in SAP script do not print


Barcodes in SAP script do not print on printer unless module is plugged into printer.

You can alternatively use smartforms

Wednesday, February 25, 2015

Assign multiple business roles to user


CRM Web UI
You can assign all/single roles using SU01 parameter CRM_UI_PROFILE (give role name or * for all roles)

If you want to assign multiple (example: 3 roles), then use PPOMA_CRM
PPOMA_CRM.
Here, please create an position, then via the menu path Goto -> Detail object -> Enhanced object description, assign a UI profile to Business Role. Now all the users assigned to this position will take the UI profile. One user can be assigned to multiple positions, so you can give one user more than one UI profile.

Ref:
http://p0006br4.benxbrain.com/en/sap/transaction/PPOCA_CRM-How-do-I-add-more-than-one-UI-profile-.-thread-1-1845126.htm

Tuesday, February 10, 2015

PO pricing condition coming from last PO



SPRO-> Material Management -> Purchasing -> Environment data -> Define Default Values for Buyers -> Setting for Default values -> 'Price adoption' tab

Here, if 'Always' is selected, then system looks if price PB00 is not determined (or not valid), then try to get price from last order with same material, plant, vendor etc..

http://scn.sap.com/thread/1487230

Friday, February 6, 2015

CRM Message container


CL_CRM_ITEMS_RUN_ERPIL -> COPYITEMS
  DATA:
    lr_mess_cont     TYPE REF TO cl_crm_genil_global_mess_cont,
    lv_msg_number    TYPE symsgno,


    lr_mess_cont ir_root_list->get_global_message_container).
    IF lr_mess_cont IS BOUND.
      CASE lv_subrc.
        WHEN '1'.
          lv_msg_number '010'.
        WHEN OTHERS.
          lv_msg_number '018'.
      ENDCASE.
      lr_mess_cont->add_message(
        iv_msg_type       cl_crm_genil_global_mess_cont=>if_genil_message_container~mt_error
        iv_msg_id         'CRM_ERP_IL'                    "#EC NOTEXT
        iv_msg_number     lv_msg_number
        iv_show_only_once abap_true ).

Thursday, January 29, 2015

Billing split to avoid 999 items issue in FI doc



Below link is useful:
http://scn.sap.com/thread/1519325

In IMG setting, you can restrict the number of line item that should flow in billing.
 
Go to IMG => SD => Billing => Billing Docs => Country specific features.
You also require to change copy routine for split (refer routine 006) to consider the limit given above.


Also, While creating invoice via VF01 you can go to selection list and choose the lines which you want to invoice.

Monday, January 26, 2015

Setup G/L account in PO based on Material group


To setup G/L account in PO based on Material group (used for Non-stock - NO material)
OMSK - Create valuation class

Assign valuation class to Material group:
SPRO -> MM -> Purchasing -> Material Master -> Entry Aids for Items Without a Material Master 

Assign G/L account to Valuation class
OBYC -> GBB -> (CCGR + VBR + <new val class> = G/L accnt)