Significance of Secondary field in doc_link of parameter ct_doc_flow

Hi ,
Does any one know what is the significance of ' Secondary' field (Document Flow: Secondary Object)in internal table  doc_link of parameter ct_doc_flow in FM CRM_ORDER_MAINTAIN .
Regards,
Nithish
Edited by: nithish P on Dec 20, 2011 2:49 PM

Hello,
<b>Sort it_final by belnr.</b>
loop at it_final.
on change of it_final-belnr.
clear temp_gsber.
clear temp_lifnr.
<b>temp_belnr = it_final-belnr.</b>
temp_gsber = it_final-gsber.
temp_lifnr = it_final-lifnr.
if it_final-gsber eq ' '.
it_final-gsber = temp_gsber.
endif.
if it_final-lifnr eq ' '.
it_final-lifnr = temp_lifnr.
endif.
modify it_final transporting gsber lifnr where <b>belnr = temp_belnr</b>.
<b>endon.</b>
endloop.
Regards,
Naimesh

Similar Messages

  • Significant of key field in Info cube table

    Hi,
    what is significant of key field in Info cube table?
    Best regards,
    dushyant.

    hi ,
          key figures are very important in tables, when it is in cube it act as dimensions
    for the reporting purpose see this scenario
    the table has following fields
    student no
    student name
    student attendance
    student mark
    in this scenario when we want report according to student no its normal we would get, but when we want according to attendance,marks we dont get report according to attendance and mark, so we put all those fields in key fields.
    So we could say that Key fields are the dimensions and according to this we get reports
    thank yu

  • Distribution function - What is the significance of "USER" field in Distribution template?

    Hi,
    I am working with the distribution functionality in BPC 10.
    Here i am saving the reports in a folder on my desktop. For this we need to create a template which includes multiple report names, fixed members and variable members.
    In the variable member section, we have a field for User.
    For this field
    1. when i do not specify anything it does not let me distribute,
    2. when i specify a user name it creates 2 folderrs on my dektop one with the template name and one for the user
    3. when i specify a space (" ") this creates only 1 folder during the distribution that is of the Template name (Which is what is required)
    However what i do not understand is how this works without a username? What is the significance of this field in the distribution template?
    Thanks in advance,
    Shweta

    Hi Ram,
    I have used this field for, what is the effect of the breakdown or problem when users are creating the notification. Example are given below. The same filed will come in IW28 report for analysis purpose.
    1 No Effect
    2 Production Restricted
    3 Production Breakdown
    Hope it will help you to understand.
    Best Regards
    Kalyan

  • Field-Symbols as Method Parameter

    Hi all,
    is there a way to create a field symbol within a method and export this field-symbol directly as a method parameter?
    The problem is that we can't pass a field symbol as method parameter unless it's assigned, but we would like to assign the field symbol within a method and give the result back to the calling program.
    We have managed to create a field symbol within the method and give back the result as a reference (we used the type ANY).
    We would like to pass the result field-symbol directly as a Method parameter.
    Any ideas?
    Best regards Dominik

    Hi all,
    thanks for you help. I managed to do the method calls with reference parameters but I'd like to do it with fieldsymbols instead.
    Your suggentions for field-symbold worked, but I could use them only with primitive datatypes.
    In my requirements the table must be created within the method, so the caller doesn't know the tablestructure.
    If a dummy table is assigned to the field-symbol before the call, the error "Two internal tables are neither compatible nor convertible" is produced.
    Is there a solution?
    Thanks in advance
    Dominik
    class ZZX0_CL_TEST definition
      public
      final
      create public .
    public section.
      class-methods FIELD_SYMBOLS_TAB_TEST
        changing
          !FS type ANY .
    METHOD FIELD_SYMBOLS_TAB_TEST .
      DATA: it_t000 TYPE TABLE OF t000.
      FIELD-SYMBOLS <field_symbol> TYPE ANY TABLE.
      ASSIGN it_t000 TO <field_symbol>.
      fs = <field_symbol>.
      EXIT.
    ENDMETHOD.
    REPORT zzx0_mini.
    DATA: it_mara  TYPE TABLE OF mara.
    START-OF-SELECTION.
    * Tabellen test
      FIELD-SYMBOLS: <fs> TYPE STANDARD TABLE.
      ASSIGN it_mara TO <fs>.
    *  ASSIGN it_t000 TO <fs>.
      CALL METHOD zzx0_cl_test=>field_symbols_tab_test
        CHANGING
          fs = <fs>.
      EXIT.

  • Significance of Counter field in CATsDB Table

    Dear All,
    What is the significance of OUNTER Field in CATSDB Table?
    Regards,
    Satya.

    Yeah ...
    Absolutely correct.
    Please go through my requirement.
    I need to Update CATSDB table manually.
    Say If an Employee enters the leave data like CL, SL etc., through Portal, that is coming into R/3 and my IT2001 is getting updated.
    But when the Same employee logs in using his Cats Id into CATS for time sheet entries, then those booked as well as approved days are not getting reflected and allowing the user to enter the data. After that it is throwing the error.
    My Requirement is Those records should get displayed in Cat2 T-code defaultly. So, I need to update my CATSDB table manually.
    So, as COUNTER Field is updated by the System itself, I want to know its significance. and please let me know how to do this???
    Regards,
    Satya

  • Significance of the field "REVERSAL INDICATOR"

    hI gURUS,
    I am trying to load data from R/3 source system to BW.
    I have a key field where data is positive but when it is getting transferred to BW it is getting zero.
    I checked in PSA, data is there but I have a field "REVERSAL INDICATOR" whch shows alternate 'X' values.
    Do u know what is the significance of the field "REVERSAL INDICATOR"?
    thanks
    ViVA

    The records which are cancelled in R/3 will be shown with reversal indicator 'X'.
    Suppose you have loaded a particular document already into BW.Afterwards when you change the document and push the data into BW the BW server has to cancel the old record and add the modified one.
    The extractor then creates 2 records one with 'X' (the old value)and another one with NULL (new value) in reversal indicator.
    The reversal indicator is mapped to 0RECORDMODE of the data target and during compression the data will get aggregated.
    See the below link for more information
    Run RSA3 on 2LIS_02_ITM gets duplicated data!
    Regs
    Gopi
    Assign point if it helps ..

  • Values in one field based on another field in the paper parameter form.....

    Hi All,
    I have two fields in the parameter form. One named 'employee number' and the other named 'document number'. Now, there are multiple document numbers for every employee. I'd like the document numbers to be displayed automatically as an LOV or would like to give the user some help when the employee number is entered manually. Please let me know if this is possible in Oracle reports. I read somewhere that I'll have to call the values from the form. if that is the case. then please let me know how to go about it....
    Regards,
    Shri

    Hi Hari,
    Considering both Market Segment and Application fields are dropdown,
    1) define an event for the first dropdown in the get_p method ie., Market Segment field
    2) In the get_v method of the second dropdown get the value of hte 1st dropdown and filter your field accordingly
    Note: The reason for defining an event in (1) is just to do a server submit.. its actually act as a dummy event if you dont want to handle your logic here
    Hope this was helpful.
    Best Regards,
    Lakshminarayana

  • How to use the input entered in report parameters form & use it in a field in a report parameter.

    Hi, I'am creating a new report, which is a combination of 'form_letter & tabular' style.
    I have also created a Report Parameter with 2 inputs, that is 'to_date' & 'from_date'.
    The value that will be entered in 'to_date' & 'from_date' in the parameter_form, must get displayed in the report.
    So for this, I created a field for 'to_date' & added code for it in pl/sql editor.
    code is as below:
    function F_TO_DATEFormatTrigger return boolean is
      f_to_date date;
    begin
      f_to_date := :PF_P_TO_DATE;  // ASSIGNING VALUE TO FIELD ( f_to_date) FROM INPUT OF REPORT PARAMETER (PF_P_TO_DATE) .
      return (f_to_date);
    end;
    BUT I'M GETTING ERROR " REP-0730 THE FOLLOWING BIND VARIABLE IS NOT DEFINED: PF_P_TO_DATE.
    I tried to decode the error, but I think the problem is different. (The above code works only if "PF_P_TO_DATE" was a part of query statement, that is one of the columns in database, but PF_P_TO_DATE is a parameter). So can anybody please help me with how can I take the value from parameter input & display it on the field of the report?
    Thank You.

    Hi Vijetha,
    Create a formula column and return the date you need and asign the formula column to a field in paper layout.
    here is the example query
    function CF_to_dateFormula return Date is
    begin
       return (:to_date); -------:to_date is that you get as a parameter
    end;
    Hope this will help
    Regards
    su.gi

  • Field symbol as import parameter in class method ???

    Hi everyone,
    is it possible to pass a field symbol as an import parameter to a method in a class? If yes, how do I define the data type of the import parameter? I'm trying to work with field symbols as the program doesn't know what kind of structure the program parameter p_srcdso has. Coding example would be something like this:
    PARAMETERS: p_srcdso TYPE rsdodsobject DEFAULT '/BIC/AKVI0001'.
    DATA: lr_srcpkg TYPE REF TO data.
    FIELD-SYMBOLS: <fs_table> TYPE ANY TABLE.
    CREATE DATA lr_srcpkg TYPE TABLE OF (p_srcdso).
    ASSIGN lr_srcpkg->* TO <fs_table>.
    SELECT *
    FROM (p_srcdso)
    INTO TABLE <fs_table>.
    CALL METHOD cl_ref->create_somethign
    EXPORTING
        i_source_package = <fs_table>.
    Thanks,
    Alex

    Halo Alexander,
    You can use TYPE REF TO DATA( say the parameter name is i_data) as the importing parameter of the method create_somethign and inside the method you need to dereference it using data reference variable again.
    data: dref type ref to data.
    field-symbols: <fs_table> type table.
    create data dref like i_data.
    assign dref->* to <fs_table>.
    Regards
    Arshad

  • Pass Hidden Field (Rep ID) as Parameter when user logs into site

    I have set-up user validation to my site based on a userID and password, but I want to also pass a hidden field/parameter (RepID) to the rest of the site pages so that I can filter my record sets on those pages based on that RepID parameter.
    I have coded everything the way I thought it should be, but I'm getting the following error when I test it and from what I can see it is defined...
    Element PSWD is undefined in FORM.
    Here is the form coding, as well as the CF coding for the user validation...
    <form id="login" name="login" method="POST" action="<cfoutput>#MM_loginAction#</cfoutput>">
                    <table border="0" cellspacing="0" cellpadding="5">
                      <tr>
                        <td height="35" class="text_bold">Email</td>
                        <td height="35"><label for="email"></label>
                          <input type="text" name="email" id="email" /></td>
                      </tr>
                      <tr>
                        <td height="35" class="text_bold">Password</td>
                        <td height="35"><label for="pswd"></label>
                          <input name="pswd" type="password" id="pswd"  value="<cfoutput>#rsWeblogin#</cfoutput>" /></td>
                      </tr>
                      <tr>
                        <td height="35" class="text_bold"><input  name="salesman_id" type="hidden" id="salesman_id"  value="<cfoutput>#rsWeblogin.SALESMAN_ID#</cfoutput>"  /></td>
                        <td height="35"><input type="submit" name="submit" id="submit" value="Submit" /></td>
                      </tr>
                    </table>
                  </form>
    <cfparam name="FORM.email" default="1">
    <cfquery name="rsWeblogin" datasource="INSORB">
    SELECT *
    FROM dbo.WEBLOGIN
    WHERE E_MAIL = <cfqueryparam value="#FORM.email#" cfsqltype="cf_sql_clob" maxlength="64">
    </cfquery>
    <cfif IsDefined("FORM.email")>
        <cfset MM_redirectLoginSuccess="index.cfm">
        <cfset MM_redirectLoginFailed="login.cfm">
        <cfquery  name="MM_rsUser" datasource="INSORB">
        SELECT E_MAIL,PSWD FROM dbo.WEBLOGIN WHERE E_MAIL=<cfqueryparam  value="#FORM.email#" cfsqltype="cf_sql_clob" maxlength="64"> AND  PSWD=<cfqueryparam value="#FORM.pswd#" cfsqltype="cf_sql_clob"  maxlength="15">
        </cfquery>
        <cfif MM_rsUser.RecordCount NEQ 0>
          <cftry>
            <cflock scope="Session" timeout="30" type="Exclusive">
              <cfset Session.MM_Username=FORM.email>
              <cfset Session.MM_UserAuthorization="">
            </cflock>
            <cfif IsDefined("URL.accessdenied") AND true>
              <cfset MM_redirectLoginSuccess=URL.accessdenied>
            </cfif>
            <cflocation url="#MM_redirectLoginSuccess#" addtoken="no">
            <cfcatch type="Lock">
              <!--- code for handling timeout of cflock --->
            </cfcatch>
          </cftry>
        </cfif>
        <cflocation url="#MM_redirectLoginFailed#" addtoken="no">
        <cfelse>
        <cfset MM_LoginAction=CGI.SCRIPT_NAME>
        <cfif CGI.QUERY_STRING NEQ "">
          <cfset MM_LoginAction=MM_LoginAction & "?" & XMLFormat(CGI.QUERY_STRING)>
        </cfif>
    </cfif>
    Any help would be greatly appreciated!

    I don't have anything definitive to offer other than a couple of questions based on what I see on your login form:
    1. What is rsWeblogin that you are using to initialize the password field PSWD on the form? I would have expected the password field to be left empty in generating the form...
    2. The use of "#rsWeblogin#" to initialize the PSWD field, coupled with the use of "#rsWeblogin.salesman_ID#" to initialize the hidden field strike me as odd; that second one would lead me to believe rsWeblogin is a structure of some sort, and I'm not sure what you would be getting crunched into the password field as a result...
    Maybe one of those might give you some sort of clue?
    In addition, if the password field is left empty on the form itself, you may well not be getting a FORM.pswd variable coming through the submittal. You may need to either check that it is defined (probably best) or cfparam it to a known value that would never be used for a "real" password (problematic for all sorts of reasons) before using it in the authentication logic.
    /ron

  • Pass Hidden Field (Rep ID) as Parameter when user logs into site (CFusion)

    I have set-up user validation to my site based on a userID and password, but I want to also pass a hidden field/parameter (RepID) to the rest of the site pages so that I can filter my record sets on those pages based on that RepID parameter.
    I have coded everything the way I thought it should be, but I'm getting the following error when I test it and from what I can see it is defined...
    Element PSWD is undefined in FORM.
    Here is the form coding, as well as the CF coding for the user validation...
    <form id="login" name="login" method="POST" action="<cfoutput>#MM_loginAction#</cfoutput>">
                   <table border="0" cellspacing="0" cellpadding="5">
                     <tr>
                       <td height="35" class="text_bold">Email</td>
                       <td height="35"><label for="email"></label>
                         <input type="text" name="email" id="email" /></td>
                     </tr>
                     <tr>
                       <td height="35" class="text_bold">Password</td>
                       <td height="35"><label for="pswd"></label>
                         <input name="pswd" type="password" id="pswd"  value="<cfoutput>#rsWeblogin#</cfoutput>" /></td>
                     </tr>
                     <tr>
                       <td height="35" class="text_bold"><input  name="salesman_id" type="hidden" id="salesman_id"  value="<cfoutput>#rsWeblogin.SALESMAN_ID#</cfoutput>"  /></td>
                       <td height="35"><input type="submit" name="submit" id="submit" value="Submit" /></td>
                     </tr>
                   </table>
                 </form>
    <cfparam name="FORM.email" default="1">
    <cfquery name="rsWeblogin" datasource="INSORB">
    SELECT *
    FROM dbo.WEBLOGIN
    WHERE E_MAIL = <cfqueryparam value="#FORM.email#" cfsqltype="cf_sql_clob" maxlength="64">
    </cfquery>
    <cfif IsDefined("FORM.email")>
       <cfset MM_redirectLoginSuccess="index.cfm">
       <cfset MM_redirectLoginFailed="login.cfm">
       <cfquery  name="MM_rsUser" datasource="INSORB">
       SELECT E_MAIL,PSWD FROM dbo.WEBLOGIN WHERE E_MAIL=<cfqueryparam  value="#FORM.email#" cfsqltype="cf_sql_clob" maxlength="64"> AND  PSWD=<cfqueryparam value="#FORM.pswd#" cfsqltype="cf_sql_clob"  maxlength="15">
       </cfquery>
       <cfif MM_rsUser.RecordCount NEQ 0>
         <cftry>
           <cflock scope="Session" timeout="30" type="Exclusive">
             <cfset Session.MM_Username=FORM.email>
             <cfset Session.MM_UserAuthorization="">
           </cflock>
           <cfif IsDefined("URL.accessdenied") AND true>
             <cfset MM_redirectLoginSuccess=URL.accessdenied>
           </cfif>
           <cflocation url="#MM_redirectLoginSuccess#" addtoken="no">
           <cfcatch type="Lock">
             <!--- code for handling timeout of cflock --->
           </cfcatch>
         </cftry>
       </cfif>
       <cflocation url="#MM_redirectLoginFailed#" addtoken="no">
       <cfelse>
       <cfset MM_LoginAction=CGI.SCRIPT_NAME>
       <cfif CGI.QUERY_STRING NEQ "">
         <cfset MM_LoginAction=MM_LoginAction & "?" & XMLFormat(CGI.QUERY_STRING)>
       </cfif>
    </cfif>
    Any help would be greatly appreciated!

    The userID and the repID are both unique to the user, but are used for different identification purposes. Both fields are in the same user login table...
    I was able to solve the problem by adding <cfset Session.RepID=MM_rsUser.SALESMAN_ID> and adding the SALESMAN_ID field to the <cfquery>
    Now it works great!
    Thank you for your response!

  • Screen field pass as a parameter

    Hi,
    Can i pass a screen field as import parameter or table to user exit ???
    Regards
    Nitin Varshney

    Hi Doug,
    You can write a custom Java iView, calculate the variable param there and use URLGenerator to get the URL for the SAP transaction. Then just display it in an IsolatedHTMLContainer in the iView.
    Regards,
    Patrick.

  • Using field symbol on export parameter

    HI All,
    I am using this logic In few methods of mine and I wonder if there is option the create one method
    and every time that I need it just call it.
    The issue is that <lt_output> is not assign yet (this need to happen in the method itself )so And I need to export it
    and if I am creating method with exporting field type any I put the field symbol there I am getting dump.
    Any idea ?
    ASSIGN COMPONENT lv_table_out
                OF STRUCTURE is_response TO <lt_output>.
      IF sy-subrc <> 0.
        READ TABLE it_map INTO ls_map INDEX 1.
        lv_out = ls_map-left.
        ASSIGN COMPONENT lv_out
        OF STRUCTURE is_response TO <lt_output>.
      ENDIF.
    Best regards
    Joy

    Hi,
    Ok, then you will have to use a data object to reference your field symbol and use a returning parameter I guess:
    DATA: lo_data TYPE REF TO data.
    FIELD-SYMBOLS: <lt_output> TYPE ANY.
    CLASS lcl_main DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS: get RETURNING value(r_val) TYPE REF TO data.
    ENDCLASS.                   
    CLASS lcl_main IMPLEMENTATION.
      METHOD get.
        FIELD-SYMBOLS <fs> TYPE ANY.
        ASSIGN COMPONENT 1 OF STRUCTURE is_response TO <fs>.
        GET REFERENCE OF <fs> INTO r_val.
      ENDMETHOD.                    "get
    ENDCLASS.                  
    START-OF-SELECTION.
      lo_data = lcl_main=>get( ).      
      ASSIGN lo_data->* TO <lt_output>. 
    Kr,
    m.
    Edited by: Manu D'Haeyer on Oct 5, 2011 2:42 PM

  • How to identify field associated with a parameter ID

    Hi All,
    Im trying to identify the fields associated with different parameters ID in User Profile(SU3) transaction.
    \[removed by moderator\]
    Thanks
    Edited by: Jan Stallkamp on Aug 6, 2008 2:39 PM

    Hi,
    As provided by Atish has provided the required details for you.
    1. Table TPARA is where Parameter-ID's are defined.
    2. Table DD04L is where a parameter-ID is associated to data element.
    Note that all parameter-ID's that are defined are not necessarily to be used on data elements. We can define parameter-ID which can be used programatically instead of data elements.
    Considering your examples: BUK & F02 are used at data element definition whereas the others were not defined at data element but were used in Programs.
    Try doing a where-used list on the same and you will understand how they were used.

  • Significance of STAT field in JEST table

    In one of my report I need to extract the status of a equipment from JEST table, the field is STAT. Incidentally the table contains other two fields INACT and CHGNR.
    I am not getting the meaning and significance of each of the fields in this JEST table. Can anyone tell me the significance of this STAT field and its possible set of values.
    Please help me. It is a bit urgent.
    Thanks in advance.

    If you need to extract the status of a particular object, you can try using FM: STATUS_READ with the object number and 'X' for Only Active.
    Coming to your question, Field INACT of table JEST identifies whether the status is currently active or inactive. Field CHGNR determines the sequence in which the status'es are changed.
    Possible set of values determines on the Status Profile which is configurable and differs from System to System.
    Check in table TJ30 with the status profile to know the various status'es defined for the profile. For their descriptions you can check table: TJ30T or alternatively you can try view V_TJ30T.
    So for your sequence i would advice:
    1. Execute FM: STATUS_OBJECT_READ with Object Number to retreive the status profile.
    2. Execute FM: STATUS_READ to extract the active status of the object.
    3. Extract the description of the status from table TJ30T with the status profile and status.
    Hope that helps.

Maybe you are looking for

  • Safari and other browsers crashing

    Have had numerous crashing problems with safari 3.2.1, sometimes seemingly flash related, but now it crashes immediately. Firefox and Opera crashing as well, though it takes Opera a little longer. Crash report for last Safari meltdown follows. Thanks

  • Federated Portal Language change not visible on remote role

    Hi, Remote role assigment is done on consumer portal. This remote portal role comes from a BI Producer portal. This roles has worksets and iviews attached to it like km navigation iview etc. User on consumer portal has options to change his language

  • Itunes 8 Makes Vista lockup when inserting a blank DVD

    After upgrading to iTunes 8.0 my PC will now freeze if I put in a blank DVD, the only way past this freeze is to hit the power button. I have burned blank DVDs in the past with no problem. After upgrading to iTunes 8 I can't even insert a blank DVD i

  • Couldn't complete request because 3d functionality is currently disabled due OpenGL being disabled

    Everytime I want to open a file in 3D mode on my Photoshop CC this message appear :/ I have onboard Intel Graphic Video Card - thats it -  http://postimg.org/image/z4ab2eu9v/ And in the program it says I got only 32MB VRAM, but thats not right at all

  • Report Attributes: arranging sequence of columns

    in a non-interactive report, in order to specify the sequence of the columns, we have to use the up/down arrows from Report Attributes->Column Attributes. Any tricks to make this easier? Has anyone heard about whether this will be draggable in 4.0? I