Drop down for a screen


Get Drop down for a screen field (PBO)

CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      id              = p_l_id       screen Field name
      values          = p_l_t_values Values for dropdown
    EXCEPTIONS
      id_illegal_name = 1
      OTHERS                         = 2.
  IF sy-subrc =  0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

Read the screen values


 Read the screen values
DATA :l_t_dynpfields TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.

l_t_dynpfields-fieldname = 'KUNNR'.
APPEND l_t_dynpfields.
CLEAR l_t_dynpfields.

CALL FUNCTION 'DYNP_VALUES_READ'
  EXPORTING
    dyname               = sy-cprog
    dynumb               = '1000'
  TABLES
    dynpfields           = l_t_dynpfields
  EXCEPTIONS
    invalid_abapworkarea = 1
    invalid_dynprofield  = 2
    invalid_dynproname   = 3
    invalid_dynpronummer = 4
    invalid_request      = 5
    no_fielddescription  = 6
    invalid_parameter    = 7
    undefind_error       = 8
    double_conversion    = 9
    stepl_not_found      = 10
    OTHERS               = 11

Project and WBS related BAPI’s


BAPI_BUS2001_CREATE ProjectDefinitionPI.CreateSingle
BAPI_BUS2001_CHANGE ProjectDefinitionPI.Change
this project can change the project def fields which are marked in the table I_PROJECT_DEFINITION_UPD (BAPI_BUS2001_UPD)
BAPI_BUS2001_DELETE ProjectDefinitionPI.Delete
This bapi can delete project and wbs
BAPI_BUS2001_SET_STATUS ProjectDefinitionPI.SetStatus
This BAPI can be used to set and reset user status as well as syetm staus
BAPI_BUS2054_CREATE_MULTI WBSPI.CreateMultiple
This bapi can create multiple wbs for a project id
BAPI_BUS2054_CHANGE_MULTI WBSPI.ChangeMultiple
This bapi can change multiple WBS (work break down structure)
BAPI_BUS2054_DELETE_MULTI WBSPI.DeleteMultiple
This Bapi can delete a number of WBS for Project id
BAPI_BUS2001_SET_STATUS WBSPI.SetStatus
This BAPI can set reset user(SET_USER_STATUS) as well as system status(SET_SYSTEM_STATUS)

Activate more fields of LO-Extractors


Author :Deepthi

Activate more fields of the fields of standard structures of LO-Extractors
LBWE

SAP EXTRACTOR


Enhancing an Extractor


Extractors:
Extractors are used to retrieve data in the SAP source system (i.e. ECC in our case), which can fill the extract structure of a data source with the data from the SAP source system(i.e. ECC).The extractor may be able to supply more fields than the existing extract structure.
Extractors are used to extract data from a source system (i.e. ECC) and transfer it to BI system or BW system. They are also used for direct access to the source data from the BI system or BW system. SAP has provided standard extractors for purpose of extracting data. But in some situations these standard extractors won’t completely meet our business requirements. In such cases we need to enhance standard extractors. For example in some transaction a custom field has been added to meet our requirement. Since this is a custom field it will not be present in standard extractor. Now we need to include this field in extractor we will have to enhance the standard extractor.
 Extractors use the DataSource defined in SAP for the data extraction.

 



Plan and Activity KP26



SAP T-Code KP26
Change Plan Data for Activity Types

Go the Kp26 enter the cost centre and enter the rates
A standard report can be used to generate report RKCCAPLN
Or
SAP Menuà Accounting à Controllingà  Cost Center àAccounting Planning
à Activity Output/Prices àKP26 – Chang
Now we can check the activity type and year in CSSL table using year and activity type 

Create simple Work flow



We can go to business work place and check the INBOX or go to SBWP










Use report RSWUWFML2 program to send the task to outlook



Create simple Work flow


Create simple Work flow


A simple work flow to send an email to sap inbox
Go to the tcode SWDD - Main Workflow Builder to to the create button to start a new workflow  




Basic structure will come -double click on the step

The following option will come
Go to the user decision



Go to the user decision Go to the agent the user do F4 and select






Now go to approve and select send_email 























Activate the above








Go to test





And execute it













Choose accept to sent the email to the inbox 












Workflow Tips 1


Macro Instructions for Processing a Container 

INCLUDE <cntn01>.
 Use
You can use these macro instructions for the following programs:
  • Implementation programs of object types
  • Function modules for event creation
  • Function modules for rule resolution
  • ABAP classes (for example, for use in programmer exits)
Processing a container instance includes:
  • Accessing the value of a container element
  • Entering a value for a container element
The container must be declared and initialized with the following macro instructions:


SWC_CONTAINER <Container>."Declaration
SWC_CREATE_CONTAINER <Container>. "Initialization




Standard tasks and customer tasks



Standard task
  • Organizational object type TS
  • Cross client
  • Any plan version
  • No validity period
Customer task
  • Organizational object type T
  • Client specific
  • Plan version specific
  • Validity period
Only standard tasks will be supported in future releases.


A task described by an object method. 


Go to the PFTS t code --- for standard task
Go to the PFT t code   --- for  task














Workflow Definition describe in business process 



/*Newer Posts*/ Older Posts Home