In TXN CO03, extract value for field "To Confirm" under tab "Qty/Activity"

Hi,
Can anyone help to extract value for field "To Confirm" under tab "QTY/ACTIVITIES" in tansaction CO03 at operatin level. There are three Activiti (CC-Set-up,CC-Labor Time & CC-Var-OH) under table control Activities. I need value of the field "To Confirm" for CC-Labor Time.
From where I can fetch this value,
1. Is this field available in some table?
2. Is there any FM with which the same can be extracted.
3. Any other method?
Regards,
Bibhuti.
Edited by: bibhuti kumar on Feb 20, 2008 6:16 AM

Hi,
pls use below table's and get detals you want
AFKO - Order header details
AFVC - Order operation details
AFVV - Order operation value/date's/qty details
the relation is below
Step1: AFKO; AUFNR-->AFKO-AUFPL
Step2: AFVC; AFKO-AUFPL = AFVC-AUFPL
take filed to APLZL,VORNR
Step3: AFVV;AFKO-AUFPL=AFVV-AUFPL, AFVC-AUFPL = AFVV-AUFPL
take filed to MGVRG,LMNGA,XMNGA,VGW02
Step4: (MGVRG - (LMNGA+XMNGA)) * VGW02
hope this will solve your problem
Regards,
Sankaran

Similar Messages

  • Error  Enter a value for field BP_GUID

    I am using MDG  7.0
    When I create a  Request for "Create ERP Customer",
    I then enter data including the sales Area Data and Company Code data
    Then Submit
    at the following approval step , Sales Area data and CC data is missing.
    I get ERROR message  "Enter a value for Field BP_GUID"
    Please advise what Table or T-code am I missing values for .
    Thanks for your assistance,

    hi,
    See the attached screen shot.
    Regards,
    Tushar

  • Default values for fields in infotype 0017

    Is there any way to set default values for fields in infotype 0017? Maybe a
    feature? I'm thinking about defaulting values based on pay scale group.
    Thanks before.

    Hi
    You can implement what i suggested in my previous post.
    Or else, you can do what we did in one of our client requirement.
    We created a custom Ztable where we had defined which value of the the employee grouping to be placed for which record.
    We did that on the basis of the company code fields.
    For eg: IF BUKRS = 'TR01'
    then EE Grp Expense Type = '1'.
    ENDIF.
    Similarly for other fields.
    Hope this helps.
    Harsh

  • FLEET Table, Possible Values For Field IS SI UNIT

    Dear experts,
    While doing analysis on fleet data I realized that for field IS_SI_UNIT (PM: Vehicle Data in SI Unit (e.g. Dimensions)) in table FLEET in two separate systems we have vehicle records set with different entries for this field.
    In one system vehicles are stored with value F: DB Unit set individually (new) 
    and in other one with value Y: DB Unit set through (new)
    Systems are SAP ECC 6.0
    Does anyone know what does it mean and what influence this has? In both systems vehicles are created by end users using standard PM creation transaction and those indicators are set in background while equipment is saved so there is not influence by end user.
    I could not find much information on SAP support portal about meaning behind possible values for field IS_SI_UNIT in table FLEET so was wondering if anyone knows more here?
    Thanks,
    Ivo

    Dear,
    There will not be any impact.Finally system will consider only SI units for fleet equipment consumption calculation.
    Kindly read note:366733 - Equipment/fleet: SI units in table FLEET and  372736 - Equipmt/vehicle:rounding error because of SI units
    It may help you.
    But in my system i can view only "Y"
    Regards,
    Pardhu

  • UDF - Set Valid Values for Field

    I have a UDF created in Marketing Docs / row level called UOM_Ordered (alphanumeric, length 2) using Set Valid Values for Field.  Values are:
    CS
    IN
    DZ
    PC
    Above are CS abrev for Case, IN abrev for Inner, DZ abrev for Dozen .................
    If possible could I have say for example "IN" not to appear in the drop down if the value in OITM (UDF called U_Inner_Qty) is either NULL or a Zero?  It's would be a way to stop mistakes when orders are inputted.
    Any help on this would be appreciated.
    Thks - Scott

    Hello
    You could try the following:
    Insert a formatted search on the field, which contain conditions, ie whether the condition that the value is 0 or null, then bring the required data, while if it is not the case, applies the search formatted with the available data.
    On the other hand, leave the form with all the options for disabled users. The latter through additional authorizations for users
    I hope it will help
    Best regards,

  • FRM-40212: Invalid value for Field SHIP_TO_ADDRESS1on forms OEXOETEL

    I want to customize a form "OEXOETEL". I want to copy some values from another order to a new order.When i navigate to a block LINE i receive this message: "FRM-40212: Invalid value for Field SHIP_TO_ADDRESS1".
    cursor c_order(p_header_id varchar2) is
    select o.sold_to,
    o.order_type,
    o.terms,
    o.ship_from,
    o.SHIP_to_org_id,
    o.ship_to_address1,
    o.ship_to_address5,
    o.customer_number,
    o.invoice_to_org_id,
    o.INVOICE_TO_LOCATION,
    o.SHIP_TO_LOCATION,
    o.invoice_to_address1,
    o.invoice_to_address5,
    o.sold_to_contact
    from oe_order_headers_v o,
    hz_parties hzp
    where hzp.party_name = o.sold_to
    and o.header_id = p_header_id;
    IF l_block_name IN ('ORDER') THEN
    IF p_event = 'WHEN-NEW-RECORD-INSTANCE' THEN
    open c_order(name_in('global.header_id'));
    loop
         fetch c_order into x_order_row;
    exit when c_order%notfound;
         copy(x_order_row.customer_number,'ORDER.CUSTOMER_NUMBER');
         copy(x_order_row.sold_to,'ORDER.SOLD_TO');
    copy(x_order_row.ship_to_org_id,'ORDER.SHIP_TO_ORG_ID');
    copy(x_order_row.SHIP_TO_LOCATION,'ORDER.SHIP_TO_LOCATION');
         copy(x_order_row.ship_to_address5,'ORDER.SHIP_TO_ADDRESS5');
    copy(x_order_row.ship_to_address1,'ORDER.SHIP_TO_ADDRESS1');
    copy(x_order_row.ship_to_address1,'ORDER.SHIP_TO_ADDRESS1_MIR2');
         copy(x_order_row.invoice_to_org_id,'ORDER.INVOICE_TO_ORG_ID');
         copy(x_order_row.invoice_TO_LOCATION,'ORDER.INVOICE_TO_LOCATION');
         copy(x_order_row.invoice_to_address5,'ORDER.INVOICE_TO_ADDRESS5');
    copy(x_order_row.invoice_to_address1,'ORDER.INVOICE_TO_ADDRESS1');
    copy(x_order_row.INVOICE_TO_LOCATION,'ADDRESSES.INVOICE_TO_LOCATION');
         copy(x_order_row.order_type,'ORDER.ORDER_TYPE');
         copy(x_order_row.sold_to_contact,'ORDER.SOLD_TO_CONTACT');
         copy(x_order_row.ship_from,'ORDER.SHIP_FROM');
    end loop;
    close c_order;
    end if;
    end if;

    Review Note: 302613.1 - OEXOEORD: Cannot select List of Values From The Ship To Address1 Field
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=302613.1

  • SDIMA: Values for field SUPP_EXIST in condition table CNCCRMPRCUS801 differ

    Hi Experts,
    when checking condition records consistency between CRM and ERP via transacation SDIMA we get the following error for one of the conditon records: 'Values for field SUPP_EXIST in condition table CNCCRMPRCUS801 differ'. Can anybody explain to me where this message could come from? To my understanding field 'SUPP_EXIST' only exists in CRM condition tables for technical reason. So no way to compare this against an ERP condition table field, is there?
    And related to this: I found that this error message is triggered from method CL_CND_DIMA_CRM->COMPARE_MBDOC. As the DIMA-Compare is triggered asynchronously and just setting a break-point is no option therefore, I was wondering if anybody knows a way of debugging this method in order to find out what the coding does in detail before the message is thrown.
    Thanks a lot for your help!
    Cheers,
    Jens

    Hi Brian and the other Experts,
    thanks for your help. Unfortunately, I don't have a single record with this problem but a lot more. So it is not possible to correct this manually. Also, I would not know how to correct this anyhow as I don't understand what field in R/3 should map to field SUPP_EXIST in CRM condition tables. Let me explain:
    From my understanding, in CRM (leave aside scales) we have two database tables for each condition table, a central and a supplemental table. A condition record always creates a data record in the central table and nothing is inserted in the supplemental table in case that the fields form the supplemental table are not needed. However, when there are less common condition features involved (e.g. uppler limits), then an additional data record will be created in the supplemental table with the relevant data. And this is when field SUPP_EXIST comes into play as it is an indicator for the system that a data record exists for that condition record also in the supplemental table.
    The condition record data model in R/3 is completely different. For CRM condition table CNCCRMPRCUS801 the following tables in R/3 are involved: A801, KONH and KONP. And there is a data record for each of them for a given condition record. There is no concept of having a supplemental table as far as I understand it so where exactly would I find this SUPP_EXIST in R/3 so that I can make sure it does not deviate from the data in CRM?
    Would be great if someone could give me another hint. What am I getting wrong?
    Cheers,
    Jens

  • Extract value for Domain

    Hi
    I have to extract value for Domain Name attribute, Please give me the query to do it.
    Thanks lot in advance
    Murthy
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?Siebel-Property-Set EscapeNames="false"?>
    <SiebelMessage MessageId="1-Y4BH" LineItemCount="" IntObjectName="MH Order Item Integration" MessageType="Integration Object" IntObjectFormat="Siebel Hierarchical">
    <ListOfMhOrderItemIntegration>
    <OrderItem>
    <AccountExecID/>
    <ActionCode>Add</ActionCode>
    <AltRepID>20</AltRepID>
    <AddressRowId>1-4XL4-115</AddressRowId>
    <AttentionTo/>
    <CancelCode/>
    <CancelDate/>
    <City>Houston</City>
    <ContractDate/>
    <Country>USA</Country>
    <CreatedBy>SADMIN</CreatedBy>
    <CreatedDateTime>10/19/2005 09:40:50</CreatedDateTime>
    <CreditCardExpDate/>
    <CreditCardNumber/>
    <CreditCardType/>
    <CustomerNumber>5020047500</CustomerNumber>
    <EditionYear>2006</EditionYear>
    <GrossAmount>590</GrossAmount>
    <HoldBilling/>
    <HoldShipping/>
    <InceptionCode>N</InceptionCode>
    <LastUpdatedDateTime>10/19/2005 12:41:12</LastUpdatedDateTime>
    <LastYearTrackingNumber/>
    <LineAmount>590</LineAmount>
    <LineItemRowID>1-1DWIEK</LineItemRowID>
    <LineItemStatus>New</LineItemStatus>
    <ListingID>3803930</ListingID>
    <MigrationChildCode/>
    <MealeysSubId/>
    <MealeysPwd/>
    <MigrationType/>
    <OrderCanvassDate>10/19/2005 00:00:00</OrderCanvassDate>
    <OrderHeaderId>1-1DWHZU</OrderHeaderId>
    <OrderLastUpdatedBy>UMATTJA</OrderLastUpdatedBy>
    <OrderNumber>835905</OrderNumber>
    <OrderTaker>20</OrderTaker>
    <OrgID>2486393</OrgID>
    <POBox/>
    <PrimaryRepID>35</PrimaryRepID>
    <Producer>SIEBEL</Producer>
    <ProductCode>01807</ProductCode>
    <ProductContent>51</ProductContent>
    <ProductName>LHP Plus</ProductName>
    <PurchaseOrderNumber/>
    <Quantity>1</Quantity>
    <ReferenceNumber/>
    <ReinstatedDate/>
    <ReturnMessage>This URL already used by another organization.</ReturnMessage>
    <Revision>0</Revision>
    <RollupCount/>
    <ServiceAccountName>McEwing, David</ServiceAccountName>
    <ShippingCharges/>
    <SiebelAssetIntegrationId>1-1DWIEK</SiebelAssetIntegrationId>
    <SiebelID>2683171</SiebelID>
    <SiebelIntegrationId>1-1DWIEK</SiebelIntegrationId>
    <SiebelLineNumber>5</SiebelLineNumber>
    <SiebelLineNumber2/>
    <SignedBy/>
    <State>TX</State>
    <StateCode>48</StateCode>
    <StreetAddress1>3200 Southwest Freeway, 2355 Phoenix Tower</StreetAddress1>
    <Suite/>
    <TotalDiscountAmount>0</TotalDiscountAmount>
    <TrackingNumber>1-1DXOFH</TrackingNumber>
    <UnitPrice>590</UnitPrice>
    <ZipCode>77027</ZipCode>
    <TaxableFlg/>
    <SolRept/>
    <ListOfAttribute>
    <Attribute>
    <AttrProductCode>1812</AttrProductCode>
    <TrackingNumber>1-1DXOFS</TrackingNumber>
    <Name>Number of Attorneys</Name>
    <SiebelAttrName>100Number of Attorneys LHP Plus|1812</SiebelAttrName>
    <Value>1</Value>
    </Attribute>
    <Attribute>
    <AttrProductCode/>
    <TrackingNumber>1-1DXOFV</TrackingNumber>
    <Name>Domain Name</Name>
    <SiebelAttrName>103 Domain Name</SiebelAttrName>
    <Value>davidmcewinglaw.com</Value>
    </Attribute>
    <Attribute>
    <AttrProductCode/>
    <TrackingNumber>1-1DXOFR</TrackingNumber>
    <Name>Tag Line</Name>
    <SiebelAttrName>200 Tag Line</SiebelAttrName>
    <Value>Intellectual Property, Divisional Applications, Trademark, Patent, Copyright, Internet Law</Value>
    </Attribute>
    <Attribute>
    <AttrProductCode/>
    <TrackingNumber>1-1DXOFO</TrackingNumber>
    <Name>Template</Name>
    <SiebelAttrName>201Template Selection</SiebelAttrName>
    <Value>None</Value>
    </Attribute>
    <Attribute>
    <AttrProductCode/>
    <TrackingNumber>1-1DXOFN</TrackingNumber>
    <Name>Registration Type</Name>
    <SiebelAttrName>202Registration Type</SiebelAttrName>
    <Value>NEW</Value>
    </Attribute>
    <Attribute>
    <AttrProductCode/>
    <TrackingNumber>1-1DXOFW</TrackingNumber>
    <Name>Contact First Name</Name>
    <SiebelAttrName>250Contact First Name</SiebelAttrName>
    <Value>David</Value>
    </Attribute>
    <Attribute>
    <AttrProductCode/>
    <TrackingNumber>1-1DXOFU</TrackingNumber>
    <Name>Contact Last Name</Name>
    <SiebelAttrName>251Contact Last Name</SiebelAttrName>
    <Value>McEwing</Value>
    </Attribute>
    <Attribute>
    <AttrProductCode/>
    <TrackingNumber>1-1DXOFM</TrackingNumber>
    <Name>Contact eMail</Name>
    <SiebelAttrName>252Contact eMail</SiebelAttrName>
    <Value>[email protected]</Value>
    </Attribute>
    <Attribute>
    <AttrProductCode/>
    <TrackingNumber>1-1DXOFQ</TrackingNumber>
    <Name>Contact Fax</Name>
    <SiebelAttrName>2533Contact Fax</SiebelAttrName>
    <Value>713-514-9840</Value>
    </Attribute>
    <Attribute>
    <AttrProductCode/>
    <TrackingNumber>1-1DXOFP</TrackingNumber>
    <Name>Contact Phone</Name>
    <SiebelAttrName>253Contact Phone</SiebelAttrName>
    <Value>713-514-0137</Value>
    </Attribute>
    <Attribute>
    <AttrProductCode/>
    <TrackingNumber>1-1DXOFT</TrackingNumber>
    <Name>Site Name</Name>
    <SiebelAttrName>256URL</SiebelAttrName>
    <Value/>
    </Attribute>
    <Attribute>
    <AttrProductCode/>
    <TrackingNumber>1-1DXOFL</TrackingNumber>
    <Name>Future unique heads</Name>
    <SiebelAttrName>Future unique heads</SiebelAttrName>
    <Value/>
    </Attribute>
    </ListOfAttribute>
    </OrderItem>
    </ListOfMhOrderItemIntegration>
    </SiebelMessage>

    Once the problem is clearly stated the answer is simple...
    SQL> set serveroutput on
    SQL> declare
      2     myXML XMLType := xmlType(
      3  '<?xml version="1.0" encoding="ISO-8859-1"?>
      4  <?Siebel-Property-Set EscapeNames="false"?>
      5  <SiebelMessage MessageId="1-Y4BH" LineItemCount="" IntObjectName="MH Order Item Integration" MessageType="Integratio
    Format="Siebel Hierarchical">
      6     <ListOfMhOrderItemIntegration>
      7             <OrderItem>
      8                     <AccountExecID/>
      9                     <ActionCode>Add</ActionCode>
    10                     <AltRepID>20</AltRepID>
    11                     <AddressRowId>1-4XL4-115</AddressRowId>
    12                     <AttentionTo/>
    13                     <CancelCode/>
    14                     <CancelDate/>
    15                     <City>Houston</City>
    16                     <ContractDate/>
    17                     <Country>USA</Country>
    18                     <CreatedBy>SADMIN</CreatedBy>
    19                     <CreatedDateTime>10/19/2005 09:40:50</CreatedDateTime>
    20                     <CreditCardExpDate/>
    21                     <CreditCardNumber/>
    22                     <CreditCardType/>
    23                     <CustomerNumber>5020047500</CustomerNumber>
    24                     <EditionYear>2006</EditionYear>
    25                     <GrossAmount>590</GrossAmount>
    26                     <HoldBilling/>
    27                     <HoldShipping/>
    28                     <InceptionCode>N</InceptionCode>
    29                     <LastUpdatedDateTime>10/19/2005 12:41:12</LastUpdatedDateTime>
    30                     <LastYearTrackingNumber/>
    31                     <LineAmount>590</LineAmount>
    32                     <LineItemRowID>1-1DWIEK</LineItemRowID>
    33                     <LineItemStatus>New</LineItemStatus>
    34                     <ListingID>3803930</ListingID>
    35                     <MigrationChildCode/>
    36                     <MealeysSubId/>
    37                     <MealeysPwd/>
    38                     <MigrationType/>
    39                     <OrderCanvassDate>10/19/2005 00:00:00</OrderCanvassDate>
    40                     <OrderHeaderId>1-1DWHZU</OrderHeaderId>
    41                     <OrderLastUpdatedBy>UMATTJA</OrderLastUpdatedBy>
    42                     <OrderNumber>835905</OrderNumber>
    43                     <OrderTaker>20</OrderTaker>
    44                     <OrgID>2486393</OrgID>
    45                     <POBox/>
    46                     <PrimaryRepID>35</PrimaryRepID>
    47                     <Producer>SIEBEL</Producer>
    48                     <ProductCode>01807</ProductCode>
    49                     <ProductContent>51</ProductContent>
    50                     <ProductName>LHP Plus</ProductName>
    51                     <PurchaseOrderNumber/>
    52                     <Quantity>1</Quantity>
    53                     <ReferenceNumber/>
    54                     <ReinstatedDate/>
    55                     <ReturnMessage>This URL already used by another organization.</ReturnMessage>
    56                     <Revision>0</Revision>
    57                     <RollupCount/>
    58                     <ServiceAccountName>McEwing, David</ServiceAccountName>
    59                     <ShippingCharges/>
    60                     <SiebelAssetIntegrationId>1-1DWIEK</SiebelAssetIntegrationId>
    61                     <SiebelID>2683171</SiebelID>
    62                     <SiebelIntegrationId>1-1DWIEK</SiebelIntegrationId>
    63                     <SiebelLineNumber>5</SiebelLineNumber>
    64                     <SiebelLineNumber2/>
    65                     <SignedBy/>
    66                     <State>TX</State>
    67                     <StateCode>48</StateCode>
    68                     <StreetAddress1>3200 Southwest Freeway, 2355 Phoenix Tower</StreetAddress1>
    69                     <Suite/>
    70                     <TotalDiscountAmount>0</TotalDiscountAmount>
    71                     <TrackingNumber>1-1DXOFH</TrackingNumber>
    72                     <UnitPrice>590</UnitPrice>
    73                     <ZipCode>77027</ZipCode>
    74                     <TaxableFlg/>
    75                     <SolRept/>
    76                     <ListOfAttribute>
    77                             <Attribute>
    78                                     <AttrProductCode>1812</AttrProductCode>
    79                                     <TrackingNumber>1-1DXOFS</TrackingNumber>
    80                                     <Name>Number of Attorneys</Name>
    81                                     <SiebelAttrName>100Number of Attorneys LHP Plus|1812</SiebelAttrName>
    82                                     <Value>1</Value>
    83                             </Attribute>
    84                             <Attribute>
    85                                     <AttrProductCode/>
    86                                     <TrackingNumber>1-1DXOFV</TrackingNumber>
    87                                     <Name>Domain Name</Name>
    88                                     <SiebelAttrName>103 Domain Name</SiebelAttrName>
    89                                     <Value>davidmcewinglaw.com</Value>
    90                             </Attribute>
    91                             <Attribute>
    92                                     <AttrProductCode/>
    93                                     <TrackingNumber>1-1DXOFR</TrackingNumber>
    94                                     <Name>Tag Line</Name>
    95                                     <SiebelAttrName>200 Tag Line</SiebelAttrName>
    96                                     <Value>Intellectual Property, Divisional Applications, Trademark, Patent, Copyrig
    alue>
    97                             </Attribute>
    98                             <Attribute>
    99                                     <AttrProductCode/>
    100                                     <TrackingNumber>1-1DXOFO</TrackingNumber>
    101                                     <Name>Template</Name>
    102                                     <SiebelAttrName>201Template Selection</SiebelAttrName>
    103                                     <Value>None</Value>
    104                             </Attribute>
    105                             <Attribute>
    106                                     <AttrProductCode/>
    107                                     <TrackingNumber>1-1DXOFN</TrackingNumber>
    108                                     <Name>Registration Type</Name>
    109                                     <SiebelAttrName>202Registration Type</SiebelAttrName>
    110                                     <Value>NEW</Value>
    111                             </Attribute>
    112                             <Attribute>
    113                                     <AttrProductCode/>
    114                                     <TrackingNumber>1-1DXOFW</TrackingNumber>
    115                                     <Name>Contact First Name</Name>
    116                                     <SiebelAttrName>250Contact First Name</SiebelAttrName>
    117                                     <Value>David</Value>
    118                             </Attribute>
    119                             <Attribute>
    120                                     <AttrProductCode/>
    121                                     <TrackingNumber>1-1DXOFU</TrackingNumber>
    122                                     <Name>Contact Last Name</Name>
    123                                     <SiebelAttrName>251Contact Last Name</SiebelAttrName>
    124                                     <Value>McEwing</Value>
    125                             </Attribute>
    126                             <Attribute>
    127                                     <AttrProductCode/>
    128                                     <TrackingNumber>1-1DXOFM</TrackingNumber>
    129                                     <Name>Contact eMail</Name>
    130                                     <SiebelAttrName>252Contact eMail</SiebelAttrName>
    131                                     <Value>[email protected]</Value>
    132                             </Attribute>
    133                             <Attribute>
    134                                     <AttrProductCode/>
    135                                     <TrackingNumber>1-1DXOFQ</TrackingNumber>
    136                                     <Name>Contact Fax</Name>
    137                                     <SiebelAttrName>2533Contact Fax</SiebelAttrName>
    138                                     <Value>713-514-9840</Value>
    139                             </Attribute>
    140                             <Attribute>
    141                                     <AttrProductCode/>
    142                                     <TrackingNumber>1-1DXOFP</TrackingNumber>
    143                                     <Name>Contact Phone</Name>
    144                                     <SiebelAttrName>253Contact Phone</SiebelAttrName>
    145                                     <Value>713-514-0137</Value>
    146                             </Attribute>
    147                             <Attribute>
    148                                     <AttrProductCode/>
    149                                     <TrackingNumber>1-1DXOFT</TrackingNumber>
    150                                     <Name>Site Name</Name>
    151                                     <SiebelAttrName>256URL</SiebelAttrName>
    152                                     <Value/>
    153                             </Attribute>
    154                             <Attribute>
    155                                     <AttrProductCode/>
    156                                     <TrackingNumber>1-1DXOFL</TrackingNumber>
    157                                     <Name>Future unique heads</Name>
    158                                     <SiebelAttrName>Future unique heads</SiebelAttrName>
    159                                     <Value/>
    160                             </Attribute>
    161                     </ListOfAttribute>
    162             </OrderItem>
    163     </ListOfMhOrderItemIntegration>
    164  </SiebelMessage>'
    165  );
    166    result varchar2(64);
    167  begin
    168     select extractValue(value(attr),'/Attribute/Value')
    169       into result
    170       from table(xmlsequence(extract(myXML,'/SiebelMessage/ListOfMhOrderItemIntegration/OrderItem/ListOfAttribute/Att
    171      where existsNode(value(attr),'/Attribute[Name="Domain Name"]') = 1;
    172    dbms_output.put_line('Result = ' || result);
    173  end;
    174  /
    Result = davidmcewinglaw.com
    PL/SQL procedure successfully completed.
    SQL>This assumes that there is only one Attribute element with a Name node whose value is "Domain Name". If there was more than one such node you would have to use a cursor and process the results in loop.

  • Update routine to populate value for field ZDOCCATG(Document category)

    Hi Experts,
       I need to populate  data for field ZDOCCATG(Document Category) based on the value of the below  two fields,
    1. 0deb_cre_lc(Debit / credit Amount)
    2. 0ac_doc_typ(Belegart)
    The logic is as follows:
    if 0deb_cre_lc > '0'.
         if 0ac_doc_typ == 'dz'.
          ZDOCCATG = Disputes.
         else
      ZDOCCATG = Invoices.
       end If.
    else
    if 0ac_doc_typ < '0'.
    ZDOCCATG = Credits.
    end if.
    I need to write the update routine to get the values assigned for Document category based on these two fields. When i open the routine for the field ZDOCCATG, i can see the below screen:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS80FIAR_O03 - (Communication structure)
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/AZOARFSCM00-/BIC/ZDOCCATG
               RETURNCODE LIKE SY-SUBRC "Do not use!
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    result value of the routine
      RESULT = .
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    Please let me know the code to be inserted (based on the logic mentioned above) in the above screen . Thanks
    Regards,
    Kavitha Jagannath

    Hi Kavitha,
          Supposing the technical name of fields is /bic/0deb_cre_lc and /bic/0ac_doc_typ use the code below at the marked position.
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line -
    TABLES: ...
    DATA: ...
    $$ end of global - insert your declaration only before this line -
    FORM compute_data_field
    TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
    USING COMM_STRUCTURE LIKE /BIC/CS80FIAR_O03 - (Communication structure)
    RECORD_NO LIKE SY-TABIX
    RECORD_ALL LIKE SY-TABIX
    SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
    CHANGING RESULT LIKE /BIC/AZOARFSCM00-/BIC/ZDOCCATG
    RETURNCODE LIKE SY-SUBRC "Do not use!
    ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line -
    fill the internal table "MONITOR", to make monitor entries
    result value of the routine                 
    <----- Paste the code below as shown here --->
    if comm_structure-/bic/0deb_cre_lc > 0.
      if comm_structure-/bic/0ac_doc_typ == 'DZ'.
       result = 'DISPUTES'.
      else
       result = 'INVOICES'.
      endIf.
    elseif comm_structure-/bic/0deb_cre_lc < 0.
      result = 'CREDITS'.
    end if.
    <----
    >
    if abort is not equal zero, the update process will be canceled
    ABORT = 0.
    $$ end of routine - insert your code only before this line -
    ENDFORM.
    Regards:
    Jitendra
    Edited by: Jitendra Gupta on Oct 15, 2009 3:05 PM

  • Setting default values for field on screen.

    Hello,
    I am trying to set default value for one of the fields I have on screen when I execute the custom transaction.
    I am doing that in PBO as follows. But the default value is not set for Date field.
    PROCESS BEFORE OUTPUT.
    MODULE PBO_OUT.
    MODULE STATUS_5000.
    *&      Module  STATUS_5000  OUTPUT
          text
    MODULE STATUS_5000 OUTPUT.
      SET PF-STATUS 'NON_SAP_DOCUMENT'.
      SET TITLEBAR '001'.
    ENDMODULE.                 " STATUS_5000  OUTPUT
    *&      Module  PBO_OUT  OUTPUT
          text
    MODULE PBO_OUT OUTPUT.
      ERDAT = SY-DATUM.
    ENDMODULE.                 " PBO_OUT  OUTPUT
    Please help.
    Thanks.
    Regards,
    Rajesh.

    Works Now...

  • Extracting values for characteristic on release strategy of Preq

    hello
    we have Preq release strategy based on classification and the release is based on amount. in the class, one of the characteristics contains the amount above which the strategy is being triggered: how can I extract all the values for all the strategies from this characteristic? is there a table for it?

    Hi,
    Please check the AUSP table for release strtegies and CAWN table for characteristics. Please check below link for additional information. Thanking you.
    Release strategy tables

  • Creating a Material with different values for fields in Transaction MM01

    Hello All,
    While creating a material i will be giving a Profit Center in Sales:general/plant view, which i can see in Costing1 View. If i change this in this View it automatically changes in the other View. Is there any way to give different values in the two views or then what is the significance in showing the same field again in two different views.
    Thanks,
    Shashidhar.

    Hi,
    Its just a way of showing the data in different views for user. It doesn't have any significance.
    Regards,
    Sudheer.

  • How to find values for fields of  PROPERTIES  in cl_crm_documents= create_w

    Hi  everyone ,
    I am attaching files from local disk to CRM Opportunity by using method cl_crm_documents=>create_with_file .
    I am able to see files in SAP frontend portal , but the problem is some of the fields in properties tab coming blank .
    So how to find the NAME and VALUE fields of PROPERTIES structure in create_with_file  .
    Right now i am passing below fields these ar coming
    "-----Filling Properties structure
        ls_prop-name   = 'KW_RELATIVE_URL'.
        ls_prop-value  = wa_path-ls_name.
        APPEND ls_prop TO lt_prop.
        ls_prop-name   = 'DESCRIPTION '.
        ls_prop-value  = 'Strategy paper for action plan1' .
        APPEND ls_prop TO lt_prop.
    ls_prop-name  = 'LANGUAGE'.
        ls_prop-value = sy-langu.
        APPEND ls_prop TO lt_prop.
    but fileds like Attachment Type , Document Status ,  Line of Business , Business Year and Country of LE are not coming
    as i frontend is a CRM custom application to mentain opportunity .
    at prasent i am passing attribute Names and default values of these fields to properties structure  but then also i am unable to see it in front end.
    Please help if anybody knows where to find the NAME and VALUE fields for thse parameters.
    Regards
    Chetan

    I used insert statement to populate these fields in table CRMD_KW_DOC_GEN as these are custom fields.
    Regards
    Chetan

  • How to Change the default Search value for Field Role?

    HI,
    I went through numerous threads on how to default the search value , but does not help for my issue. Hence im posting this new thread. Please provide your suggestions on how to achieve this.
    For the Ship-to party field (in item detail )  on webui when i do a F4 help i get the pop up with various search criteria and  for the field Role the default value is "Ship-to party".  which is visible. we need to change this default value to Prospect which is available in drop down.
    The attribute is STRUCT.ROLE  and view BP_HEAD_SEARCH/SearchHelp . The method GET_DQUERY_VALUEHELPS  from the context node class is called to fill the value help for this attribute, but i dont understand how the ship-to party is filled as default. There is no code in this method to default the value.
    The generic GET_V_S_STRUCT method also does not default the Ship-to party on this field.
    I want to understand how this Ship-to party is filled by default and how can i change this to prospect..
    Many Thanks,
    Shaik

    We had a same requirement of defaulting Sales org and division in search criteria for a specific value.
    this can be doen by redefining "DO_PREPARE_OUTPUT" method in IMPL class for the respective view.
    See the code:
    METHOD do_prepare_output.
    *CALL METHOD SUPER->DO_PREPARE_OUTPUT
    **  EXPORTING
    **    iv_first_time = ABAP_FALSE
      DATA:
        lr_qs TYPE REF TO cl_crm_bol_dquery_service.
    * Get current query object
      lr_qs ?= me->typed_context->search->collection_wrapper->get_current( ).
      IF iv_first_time = abap_true.
        lr_qs->clear_selection_param_values( ).
        lr_qs->delete_empty_selection_params( ).
    *   if l_sales_orgs is initial.
        CALL METHOD lr_qs->insert_selection_param
          EXPORTING
            iv_index     = '1'
            iv_attr_name = 'SALES_ORG'
            iv_sign      = ' '
            iv_option    = 'EQ'
            iv_low       = 'O 50000514'.
    *   endif.
    *   if l_dist_chan is initial.
        CALL METHOD lr_qs->insert_selection_param
          EXPORTING
            iv_index     = '2'
            iv_attr_name = 'DISTR_CHAN'
            iv_sign      = ' '
            iv_option    = 'EQ'
            iv_low       = '01'.
    * endif.
    Hope this will help..
    THanks & Regards,
    Amit

  • GRC AC 10 - Change default value for field in access request

    Hi everybody
    in Access request,  Is it possible to change the defaut value in the fied "request for" ?
    thanks
    Aurélien

    Hi Aurélien,
    Yes we can make it default, please go to EUP and there is a field Request for. please check the snapshot.
    Thanks and Regards
    Ankit sharma

Maybe you are looking for

  • (9iAS) problem printing reports in pdf format on NT client

    Hi Some details first: iAS version=9.0.2.3.0 Reports Version=9.0.2.0.3 Portal Version=9.0.2.3b Client NT Version=4 SP4 Via a portal connection, a report is called by following a series of hyperlinks and the resulting url is like below: http://devoc4j

  • Creating partitions based on date

    Hello Friends, I want to create a table ( x_acc_nnm) with a column x_as_of_dt ( Datatype Date dd/mon/yyyy ) partition on x_as_of_dt. Want to partition the table on x_as_of_dt based on YYYYMM appreciate your help. thanks/Kumar

  • My email name in the "to" field disappears in Mac Mail

    In Mac Mail when I write my own email address in the "to" field, it disappears. And when I respond to an email, it comes into the recipient as "no sender sender." No one has been able to help me solve this. So I had to switch to Thunderbird (Mozilla)

  • Strange errors in Jbuilder 3.5

    Hi, I get some errors in Jbuilder 3.5 and I don't know what to do now. They're about static and non static classes and so on. Does anyone know what I should do? Thanks, Menno.

  • Plz help: Don't know if I have a K9N Neo V2 or V3.. want to upgrade proc

    Hello, I actually have a two-part question: First, according to my POST I'm running the a7369nms bios (v2.4), and thereby I have determined that I'm running either a K9N Neo V2 or V3. Unfortunately, I don't have the box and instructions anymore and I