SRM Item level Workflow

Hi All Workflow Experts,
I have started developement of Item level Approval WF in SRM.
Can anybody help me what are the steps I need to follow for development.
Currently I am able to get the approval step but Approvers are not coming. some step missing i guess.
In the Item level WF I need to do following things
1) first 3 levels will be the header level approval
2) next 2 steps will be item level approvals
And this workflow should have all the functionality of standard WF of SRM.
I dont know how to achieve this. I am very new in WF.
Any help will be awarded
Thanks
Smita

Hello,
First you can check the sample implementation to get start.
Item level approval works with 3 tables that are sent to worklow instance each time the document (SC or PO) is changed (or created) :
- "object" table that define the object to be approved and their criteria (3 possible)
- "item" table that link item to approval object
- "approval" table that contain that define for each approval level the approver and the object to be approved
Stay close to the sample implementation to generate the 3 tables and it should be fine.
Now, if all items are linked to the same approval object, it is like a header approval (for your first three steps).
In the badi:
An import parameter "approval_index" in the badi indicates you at wich step the workflow stands. Consider that that you only need to send the following steps including the current step (actual index).
In general: check notes and make the system be very up to date concerning workflow correction
Rgds,
Pierre

Similar Messages

  • Item level Workflow Hold..

    Hi,
       i am working an item-level SC workflow
    ( WS14500015 ). i would like to know is there any way to hold the last step which in workflow template is using for create follow on document in backend system, until i will recieve some text data from thrid party system and needs to be restarting again the particular step which i hold after i recieved the text data from third party system.
    give some hints to fix.
    regards,
    john.

    Hello,
    No change is needed in WS14500015.
    WS10400051 is the final processing sub-workflow used by all standard workflows in SRM. Navigate through workflow builder, you'll find it is called in the line item app workflow: it's the final proccessing. Depending on the approval status of the SC, it updates its status and follow on document are created.
    To work safely, first generate a new version for this workflow (WS10400051) before any change.
    Idea is to extend bus2121: create a subobject and activate delegation, define a new event on sub object.
    In wf definition, insert a event waiting step linked to the SC number and new event just before the task "set release status".
    I guess that receiving the third party text is made in specific. Use the function module swe_event_create to genrate the new event of object bus2121 for the concerned shopping cart.
    when this event will be generated, the final processing workflow will continue.
    Hope it helps,
    Pierre

  • System is not picking up approvers from BADI in Item level workflow

    Hi All,
    My problem is that
    1. when I creat the shopping cart the system is picking up the correct approver from BADI and showing it in approval preview.
    2. My first level approver is a general task so Workitem going to the correct persons.
    3. after first level approver I am fillng approver in BADI for 2 nd level.
    4. But after first approval the SC is directly getting approved finally as system is not picking up approvers from the BADI.
    I dont understand the problem. even We applied SP9 as well, but the problem is not resolved.
    Please suggest something.
    Thanks
    Smita

    Hi ,
    I am pasting the code of my BADI.  Let me know if i need to do some changes.
    Regards,
    smita
    if lv_wf = '4'.
    1st approval step executed for indices 1 and 0
          IF actual_approval_index LE 1.
    First approval step (General task)
    endif.
    2. approval step executed for indices 2,1 and 0
          IF actual_approval_index LE 2.
    *break-point.
    **get the approver for the commodity
             LOOP AT lt_item INTO ls_item WHERE del_ind IS INITIAL.
    We consider only items, which are not deleted (del_ind = 'X')
    Set the product category
                MOVE ls_item-category_id TO lv_call_value1.
    Find the approver of this item based on the customizing table ZCOMMODITY
    CALL FUNCTION 'ZWF_COMODITY_ITEM_APPROVAL_GET'
       EXPORTING
         SC_GUID                          = ls_header-guid
         ITEM_GUID                        = ls_item-guid
       APPROVAL_DESCRIPTION             =
        HIDE_ITEMS_NOT_RESPONSIBLE       = 'X'
         CRITERION1                       = 'COMMODITY'
         CATEGORY_ID                      = ls_item-category_id
         ITEM_VALUE                       = ls_item-VALUE
         APPROVAL_INDEX                   = '2'
       CHANGING
         APPROVAL_TABLE                   = approval_table
         ITEM_APPROVAL_TABLE              = item_approval_table
        ITEM_APPROVAL_OBJ                = item_approval_obj
    endloop.
    *ELSEIF actual_approval_index EQ 2.
    don't process 2nd step
             no_further_approval_needed = 'X'.
    endif.
    endif. " if lv_wf = '4'.
    FUNCTION ZWF_COMODITY_ITEM_APPROVAL_GET.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(SC_GUID) TYPE  BBP_GUID
    *"     VALUE(ITEM_GUID) TYPE  BBP_GUID
    *"     VALUE(APPROVAL_DESCRIPTION) TYPE  BBP_STEP_DESCRIPTION OPTIONAL
    *"     VALUE(HIDE_ITEMS_NOT_RESPONSIBLE) TYPE  BOOLEAN OPTIONAL
    *"     REFERENCE(CRITERION1) TYPE  BBP_WFL_APP_CRITERION
    *"     VALUE(CATEGORY_ID) TYPE  ZBBP_CATEGORY_ID
    *"     VALUE(ITEM_VALUE) TYPE  BBP_VALUE
    *"     VALUE(APPROVAL_INDEX) TYPE  SWH_NUMC10
    *"  CHANGING
    *"     REFERENCE(APPROVAL_TABLE) TYPE  BBPT_WFL_APPROVAL_TABLE_BADI
    *"     REFERENCE(ITEM_APPROVAL_TABLE) TYPE  BBPT_WFL_ITEM_APPROVAL_BADI
    *"     REFERENCE(ITEM_APPROVAL_OBJ) TYPE  BBPT_WFL_ITEM_APPROVAL_OBJ
    *"       OPTIONAL
    this Function Module is for getting the commodity approvers
    for the commodity items, in the Shopping cart
      DATA:
        ls_approval_table      TYPE bbp_wfl_approval_table_badi,
        ls_item_approval_table TYPE bbps_wfl_item_approval,
        ls_approval_def        TYPE bbpt_wfl_lia_def,
        ls_item_approval_obj   TYPE BBPS_WFL_ITEM_APPROVAL_OBJ.
      DATA:
        lv_app_obj_guid   TYPE bbp_guid_32,
        lv_is_new_approval_object TYPE boolean.
    **structure for commodity data
    data : ls_commodity type zcommodity.
    data : lv_value1 type BBP_WFL_APP_PROPERTY.
      CONSTANTS:
          c_agent_is_user TYPE otype VALUE 'US'.
    First find the right approval object the item belongs to.
    All items of an approval object are approved togheter in
    this approval step, and therefore only one workitem is
    created for this items. IF possible use this standard function
    BBP_WFL_DIN_APP_OBJ_GET for creating the approval object.
    lv_value1 = category_id.
    CALL FUNCTION 'BBP_WFL_DIN_APP_OBJ_GET'
      EXPORTING
        SC_GUID                      = sc_guid
        CRITERION1                   = criterion1
      CRITERION2                   = ''
      CRITERION3                   = ''
       VALUE1                       = lv_value1
      VALUE2                       = ''
      VALUE3                       = ''
    IMPORTING
       APPROVAL_OBJ_GUID            = lv_app_obj_guid
      IS_NEW_APPROVAL_OBJECT       =
      TABLES
        ITEM_APP_OBJ                 = item_approval_obj
                  CALL FUNCTION 'BBP_WFL_DIN_APP_OBJ_GET'
                    EXPORTING
                      SC_GUID                      = sc_guid
                      CRITERION1                   = criterion1
                     CRITERION2                   = ''
                     CRITERION3                   = ''
                     VALUE1                       = lv_value1
                     VALUE2                       = ''
                     VALUE3                       = ''
                     IV_ITEM_VALUE                = ITEM_VALUE
                   IMPORTING
                     APPROVAL_OBJ_GUID            = lv_app_obj_guid
                     IS_NEW_APPROVAL_OBJECT       =
                    TABLES
                      ITEM_APP_OBJ                 = item_approval_obj.
    CALL FUNCTION 'BBP_WFL_DIN_APP_OBJ_GET'
       EXPORTING
         sc_guid                 = sc_guid
         criterion1              = criterion1
      CRITERION2              = ''
      CRITERION3              = ''
         value1                  = category_id
      VALUE2                  = ''
      VALUE3                  = ''
      IMPORTING
    If 2 items of the same shopping cart have the same
    values for the criterias, this function returns the
    same (!!!) approval object guid
        approval_obj_guid       = lv_app_obj_guid
       TABLES
    This table saves the criterias  for which the approval object
    was created. For example:
    |approval object1| "cost center" | 1000   |
    |approval object2| "cost center" | 1200   |
    |approval object3| "prod categ " | office |
        item_app_obj            = item_approval_obj
    Check if this approval object already exists in the approval
    table
      READ TABLE approval_table INTO ls_approval_table
              WITH KEY approval_object_guid = lv_app_obj_guid
                       approval_index       = approval_index.
      IF sy-subrc EQ 4.
        lv_is_new_approval_object = 'X'.
      ENDIF.
      IF lv_is_new_approval_object = 'X'.
    Now read your own approval table based on your criteria's
    **now check whether the category id is a commodity material and
    *find the responsible person for that and
    *check if the amount of item is falling in the approval limit of the comodity manager
    select single * from zcommodity into ls_commodity
    where CATEGORY_ID = category_id
    and ( ZFROMAMT <= item_value and ZTOAMT >= item_value ).
       SELECT * FROM bbpt_wfl_lia_def
                INTO CORRESPONDING FIELDS OF ls_approval_def
                WHERE
                      app_crit_name1  = criterion1 AND
                      app_crit_value1 = value1
       ENDSELECT.
        IF sy-subrc NE 4.
    Fill approval table (who is responsible for which approval
    object in which approval step)
          ls_approval_table-approval_index       = approval_index.
         CONCATENATE c_agent_is_user ls_approval_def-approval_agent1
                                 INTO ls_approval_table-approval_agent.
    CONCATENATE c_agent_is_user ls_commodity-person
                                  INTO ls_approval_table-approval_agent.
          ls_approval_table-name = ls_commodity-name.
          ls_approval_table-approval_description = approval_description.
          ls_approval_table-approval_object_guid = lv_app_obj_guid.
          ls_approval_table-hide_items_not_responsible =
                                  hide_items_not_responsible.
          APPEND ls_approval_table TO approval_table.
         IF ls_approval_def-approval_agent2 IS NOT INITIAL.
    Second approver for the same workitem exists
           CONCATENATE c_agent_is_user ls_approval_def-approval_agent2
                               INTO ls_approval_table-approval_agent.
           ls_approval_table-name = ls_approval_def-agent_string2.
           APPEND ls_approval_table TO approval_table.
         ENDIF.
        ENDIF.
      ENDIF.
    Fill item table (Which items belongs to which approval object)
      ls_item_approval_table-approval_object_guid = lv_app_obj_guid.
      ls_item_approval_table-approval_item_guid   = item_guid.
      APPEND ls_item_approval_table TO item_approval_table.
    **Fill Item approval object
    ls_item_approval_obj-sc_guid = sc_guid.
    ls_item_approval_obj-APP_CRIT_NAME1 = CRITERION1.
    ls_item_approval_obj-APP_CRIT_VALUE1 = CATEGORY_ID.
    ls_item_approval_obj-APPROVAL_OBJECT_GUID = lv_app_obj_guid.
    append ls_item_approval_obj to ITEM_APPROVAL_OBJ.

  • Issue in N level workflow of shopping cart

    Hi all,
    SRM5.0 and ECC5, using ECS scenario
    We are using the N level workflow ( SC approval workflow and not item level workflow) with the BADI for determining the approvers of the shopping cart.
    The following are issues faced during rejection:
    1. When the 1st approver rejects some of the line items and approves others, The SC is sent back to the requester or. the requester accepts the changes, the SC instead of going to the next level of approvers gets approved.
          I have debugged and found that the actual index is set to 2 and the next level of approvers are determined correctly in the BADI, once it is out of the BADI, something happens and the SC is approved and it doesn't go for approval.
    2. When the 1st approver approves all the line items and the 2nd approver does a partial rejection, the SC is sent back to the requester and once the requester accepts the changes, the workflow restarts and the approvers are redetermined again.
    For the 2nd issue, if its a standard process, Can onyone provide me with a document or a OSS note which can be used for substantiating it. Does this behavior correspond to the back and forth process of N level workflow?
    Thanks and Regards
    Kishan

    Hi Munna,
    The code just determines the approvers for each level, this works fine when I debug but it changes after the control comes out of the N level BADI.
    Is there any other check which I need to do?
    Regards
    Kishan

  • Item level SC workflow in SRM 7

    Hi all,
    I am new to SRM 7.0.We have a reqt to implemnet the n step Item level approval workflow for Shopping cart based on the cost centre data in line items in SC.
    Can some one explain me the steps how do I implement the above WF??
    Which WF do I need to use in SRM 7.0??How is the BRF workfow implmenetation differenet than BADI workflow in SRM 5???
    Where is the logic for approver determination to be defined in SRM 7??
    Please advise.
    Any helpful links  to get started will be appreciated.

    Thanks Masa...For the programming part,ABAP consultant can do it...But in case the WF goes into error,how is  debugging to be done??
    Also technically what are the advantages of workflows in SRM 7.0 compared to those which were used in SRM 5.0?

  • Workflow - Header vs. Item level

    Hello,
    I am looking for some documentation / list of pros and cons of implementing header level workflow vs. item level. I understand that item level is more difficult to implement, but what are the benefits.
    We are looking at two types of approval, financial approval and commodity based approval and I would like to understand more before making a decision.
    Many thanks,
    AR

    Hi,
    For your  requirement,you can go for N step HEader level SC  Approval Workflow.I have worked on a similar reqt and the agent determintation can be made flexible based on runtime values thorugh the BADi BBP_WFL_APPROV_BADI.
    Advantages of header level WF is that its very flexible.Disadvantage is that some techincal problems require application of OSS notes e.g graphical Preview inconsistent.
    I have not worked on Item level WF so cant comment on that.For more info  ,pls refer the foll links:
    http://help.sap.com/saphelp_srm50/helpdata/en/17/40a86c773d6c41801d78af1a34b90f/content.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/a3/a6a34098022a54e10000000a1550b0/content.htm
    Useful Workflow  links ->
    SRM Business Workflow
    http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm
    Setting Up SAP Business Workflow
    http://help.sap.com/saphelp_srm50/helpdata/en/ee/277e3c281f1817e10000000a114084/frameset.htm
    Related links:
    Re: SRM workflow doubts....
    Triggering SRM workflow from a  web-based form (HTML)
    Workflow debugging
    Re: Triggering an alert
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • Process Level Config in SRM 7.0 workflow

    Hi,
    I am implementing Process-controlled workflow in SRM 7.0 for the first time. We have identified some 5 levels of approver depending on the total shopping Cart value.
    1. >= $XXX; Product Category manager (based on UNSPSC code at item level)
    2. >= $x,xxx: Line manager
    3. >= $xx,xxx; Cost Center manager (based on cost center)
    and so on ..
    As per my understanding,
    First we need to create following Filter values for RESP_RESOLVER_NAME:
    ZSC_PRODUCTCAT_MANAGER
    RR_MANAGER
    ZSC_COSTCTR_MANAGER
    Then, based on these filter the following BAdi implementations will be called to get responsible approver list:
    ZSRE_BD_SC_PRO_MGR
    /SAPSRM/BD_WF_SC_RR_MANAGER
    ZSRE_BD_SC_CCR_MGR
    and the process level may have the following entries for BUS2121, Zevalution ID & Zprocess schema:
    Level #     Level Type     Evaluation ID     Responsibility Resolver Name                     Task ID     Decision Type
    100     Approval     ZEV_SC_001     ZSC_PRODUCTCAT_MANAGER     40007953     4
    150     Approval     ZEV_SC_002     RR_MANAGER     40007953     4
    200     Approval     ZEV_SC_003     ZSC_COSTCTR_MANAGER     40007953     4
    999 automatic
    Create the custom events & expressions:
    Evaluation ID                          Expression                          SAP formula builder
    ZEV_SC_001     ZE_SC_LEVEL_001     Total Shopping Cart value exceeds $ XXX
    ZEV_SC_002     ZE_SC_LEVEL_002     Total Shopping Cart value exceeds $ X,XXX
    ZEV_SC_003     ZE_SC_LEVEL_003     Total Shopping Cart value exceeds $ XX,XXX
    Question:
    Am I going in the correct way..or
    Can we do it using SAP standard events, expressions or spending limit approver badi implementation with only one process level for RR_SPENDING_LIMIT_APPROVER, using some custom tables for Product Cat manger/Cost Center manager list.
    Regards,
    Bijaya

    Hi all,
    I have a client requirement like below,
    A PO is in ordered status and if some one chages the PO value and if the changed value is more than 1000 Euros then the PO has to go through the approval process else it should go for an automatic approval.
    Can any of you please guide me how to acheive this functionality.
    Just for reference I am giving some details :
    I have created an Eval Id (ZEVAL, this is the event), and this event linked to a expression(ZDET_SCHEMA: Function module for determining the schema), and I have 2 process levels for the schema
    1 Level will have folowing details:
    Level # Level Type Evaluation ID Responsibility Resolver Name Task ID Decision Type
    100        Approval       ZE_PO_EXE                      ZE_PO_APP 40007953 4
    and the evalutio id ZE_PO_EXE  points to an expression(ZDET_PO_CALC Function module) ZDET_PO_CALC Function module will have the actual manipulation for calculating the price change and passes a result 'X' or space , if 'X' level 100 will get excecuted else level 2 will be executed.
    2 Level will have an automatic approval
    But some how this is not working as per the requirement.
    Any info will be highly apreciated.
    Thanks in advance
    Krishna

  • AD-hoc approver n step item level shopping cart workflow

    Hi
    We are on latest version of SRM and using n step item level SC approval workflow.
    The scenario goes like this:
    -     Requester creates shopping cart and workflow goes for two step approval.
    -     In the approval preview the requester is able to see both levels of approvers, which is correct.
    -     Requester now selects second level approver and replaces him with a ad-hoc approver. WE DO NOT WANT THIS.  Requester should NOT be able to replace an approver determined by approval badi. However should be able to extend approval step with ad-hoc approver say third level approver a ad-hoc approver. Also he should be able to change AD-HOC approvers ONLY.
    Thanks
    Joe

    Jo,
      You may be able to achieve it in the BADI BBP_WFL_SECUR_BADI .
    You can use the Business Add-In (BAdI) BBP_WFL_SECUR_BADI to determine whether
    A shopping cart can be changed during the approval process
    The approval workflow restarts when changes are made to the document
    A reviewer/approver can be added or changedThese are the call scenarios (see import parameter SCENARIO).
    Regards,
    Suren

  • SRM 7.0 item level field in PO screen

    Hi all,
    We have a requirement to add  a field for "Shipping instructions" in SRM just like it appears in ECC PO at the item level.
    I currently dont have access to SRM 7.0 system.
    Can someone confirm if there is a std field for "Shipping instrucions" in SRM 7.0 just like in ECC?
    If not,has anyone implemented a custom solution for such a field.If so,how?
    Thanks in advance.

    Hi,
    Its possible to add new texts through customizing - standard SRM provides by default some notes like Internal note, Vendor note etc.
    We could create our own text, assign these texts to text schema and then assign text schema to transaction type (SHC for shopping cart). This can be done through customizing and then this new text type will comeup for item.
    Regards,
    Prasanna

  • Addition of custom field in shopping cart at item level- SRM 7.0

    Hi All
    Can someone pls. let me know the step by step procedure for adding a custom field in the shopping cart at item level?
    How is the field displayed in the portal screen and the settings for the same??
    Also is this field available for manipulation through Business add-ins like other standard fields.
    For e.g. I need to use the BADI BBP_CATALOG_TRANSFER to populate this new field.
    Will it be available there once created?
    Thanks
    Kedar

    Hi Kedar
      Here are the steps....
    1. Create a Custom field in SRM and append it to SC table structures in SRM
    2. Add this field to the Custom field config for meta data at Item level in IMG>SRM Server> Cross application basic settings> Extensionsand and field control> Configure field control --> Configure control of fields at item level
    3. THen find the respective web dynpro application and component for the shopping cart portal UI screen where you want the field to appear. You can do this by right click on the screen area and then select More Field Help
    4. Go to SE 80 and enhance the respective webdynpro view by adding the custom field to the Context of the VIew and then adding it to the layout of the view at respective location. After doing this create a binding between the layout field and the context.....
    More information around ABAP UI Flexibility can be found at:
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=%22abapUIFlexibility%22
    Regards
    Virender Singh

  • Process Controlled Workflow- Shopping Cart Item level approval

    Hi experts,
    In SRM 7.0 I have activated BC Set '/SAPSRM/C_SC_600_001_SP04' & I have implemented BADI '/SAPSRM/BD_WF_RESP_RESOLVER'.
    My requirement is to send work item to WBS owner at item level.So the possible cases are 10 items will go for 10 approvers if they have 10 different WBS..
    I have written logic to fetch WBS owner in method'GET_APPROVERS_BY_AREA_GUID' & assigning approvers to 'rt_approver'.
    But the problem is all the approvers are assigned to all items.Rather it should be one item & corresponding WBS owner should be the approver.
    Please suggest how I can achieve the required functionality.
    Thank you.

    Hi Masa,
    I have used 'GET_AREA_TO_ITEM_MAP' only to export 'is_document-document_guid' from method '~GET_AREA_TO_ITEM_MAP' to 'GET_APPROVERS_BY_AREA_GUID'.
    Can I use this method for mappping Items & approvers?
    Please suggest.
    Thank you.

  • Workflow not triggering when changing Item-level Permissions in Sharepoint 2013 list

    Scenario:
    We have a custom list in Sharepoint 2013 that we use for Case Management. We have a workflow that triggers on a created item generated from an email. The user then gets a reply with a link to his own case.
    I want the users only to be able to see their own cases and no one elses.  When I change this under
    Advanced Settings under List Settings and
    Item-level Permissions and set them to Read items that were created by the user
    and Create items and edit items that were created by the user
    the workflow doesn´t trigger.
    How can I resolve this? I've tried every possible out-of-the-box permissions but with no result. Help!
    Thanks in advance!
    // Browncreek

    When you're testing , remember you cant trigger declarative workflow from the System Account - you need a general user account for auto-trigger workflows.  Good luck!
    Chris McNulty MCSE/MCTS/MSA/MVTSP | blog http://www.chrismcnulty.net/blog | twitter @cmcnulty2000 Microsoft Community Contributor Award 2011
    Hi, I have the same problem. Except that I am not using an email to create a new item. The item is created by members of a SharePoint group that have Contribute access to the list. When use the same settings i.e.
    Read items that were created by the user and Create items and edit items that were created by the user,
    the workflow does not trigger. If I set it back to Real all items and Create
    and Edit all items, it triggers the workflow.
    Please help me resolve as I have rolled this out to pilot users and am having this trouble.
    Thanks,
    Vishal

  • SRM 7.0 SP05 - BRF Item level approval does not work

    Hi Experts,
    I am working on process controlled workflow for shopping cart approval process.  I have defined necessary process levels and workflow works fine for a single item SC.
    I have selected decision type as "Item-based approval for partial document" for each process level and hence expect each line item (according the start condition) should have it's own set off approvers, but instead of this, system determines approvers at header level and hence item which does not really need approval undergoes approval as well.
    Could you please help me to resolve the issue?
    Thanks in advance.
    Best Regards,
    Amit

    Hi Bharat,
    Yes, we are using the copy of the standard implementation. We are looking into the BADI implementation and trying to assign a separate AREA GUID to each line item. Hopefully, when different aggents are assigned to these AREA GUIDs, it will enable the item level approval. I will keep you updated.
    Meanwhile, it would be really helpful if you could share some sample code of such badi implementation which can help me to understand it more clearly.
    Thanks & Regards,
    Amit

  • SRM catalog setting to make items level field vissible.

    Hi
    I am dealing with SRM catalog activitities . I want to know the setting by which we make the field visible on portal at item level.
    rgds
    amarendra

    Hello amarendra,
    which field are you talking about ?
    The one to access to catalog?
    If yes, you have to maintain Web Service value for CAT attribute.
    Regards.
    Laurent.

  • Query : Custom field at line item level in SRM 7.0 .

    I was going through a document which instructs on how to add a custom field at line item level in SRM 7.0.
    I found this code :
    CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
    EXPORTING
    I_GUID = IV_DOC_GUID
    I_WITH_ITEMDATA = 'X'
    TABLES
    E_ITEM = LT_ITEM
    E_MESSAGES = LT_MESSAGES
    E_STATUS = LT_STATUS. . 
    LOOP AT LT_STATUS INTO WA_STATUS.
    IF WA_STATUS-STAT EQ 'I1015' AND WA_STATUS-INACT IS INITIAL.
    LV_STATUS_APPROVE = 'X'.
    ENDIF.
    ENDLOOP.
    I wanted to know what is 'I1015'  and what is its significance .
    please advise .
    Ambar

    HI
    This speaks about the status of the Cart. This means that the Status of the Cart is AWAITING APPROVAL...I dont know which document you have gone through but procedure for adding a Custom Field in SRM 7.0 is:
    1. Create a Custom field in the Database in SRM. Preferrably add the field in an include and extend thta include to the table in SE11.
    2. Go to Portal Login of SRM and right click the part of the screen where you want to add the custom field. Click on More Field Help. The popup will give you the name of WebDynpro Applicaiton which controls that area.
    3. Login to SRM via GUI and display the webdynpro application using SE80. Enhance the Webdynpro application.
    4. Add the custom field to the Context of the WebDynpro Application View. You will be selecting the field from the database table while adding the custom field to the context
    5. Add the field at the specified place in Layout Tab of the WebDynpro View,
    6. Create a binding between the Layout Field and the Context
    7. Activate the changes.... you will see the field in Portal login of SRM....
    For more details , refer to the Webdynpro help of the application...
    Regards
    Virender Singh

Maybe you are looking for