Assign Partner number on Field (SAPLEKPA)WRF02K-GPARN

Hi experts
This program is on the Badi ME_PROCESS_PO_CUST in the PROCESS_HEADER method, but when the program return to Purchase Order, the value that I need don't appear on the field Partner number (SAPLEKPA)WRF02K-GPARN.
someone know how to send this value to PO Partner field ?
this is the correct code:
DATA: v_gparn(22),
gs_gparn TYPE wrf02k-gparn.
FIELD-SYMBOLS: <fs_gparn> TYPE ANY.
v_gparn = '(SAPLEKPA)WRF02K-GPARN'.
ASSIGN (v_gparn) TO <fs_gparn>.
if <fs_gparn> is assigned.
<fs_gparn> = it_ekpo-zzlifnr.
endif.
tks
Edited by: Flavio Ferreira on Dec 30, 2010 12:49 PM

Hi Surender
GTS alllows varous assignment at system and system group level
When you are transferring documents from more than one feeder systems to the GTS system, in that case this config allows u to reduce the data u maintain , you first create the system logic group which contains all the connected logical system to GTS system . This allowa u to assign the partner from different system in onshot.
If you have only one system feeding to GTS you can use the config Assign at system level.
BS Partner Role is the Partner function from feeder system, All the partner function  which get transferred in your transaction data has to be assigned to GTS partner function.
If you want ot the automatic assignemt you can choose the option Automatically Transfer Partner Function which will assigen the allthe partner function from feeder system to corresponding function type of GTS.
Kind regards,
Sameer

Similar Messages

  • Error:- How to assign Partner Number (KU) in R3 System [Idoc(KU) to File]

    Hi ,
    In Idoc to file Scenario (KU to LS), how to assign Partner numbe (KU) in R3 Sender system.
    I m getting below error:-
    No partner profile (outbound parameter) could be found using the following key:
    Do the needful.
    thanks
    Anshul

    Yes,  I have the partner profile maintained in we20 of type KU
    In We19, it is showing error:-
    No partner profile (outbound parameter) could be found
    For Example- For Logical system it is possible through  SALE

  • Assigning mobile number to Business Partner through BADI

    Hi Experts,
    I have to create a business partner(organization) through a badi with the fields like name name1,name2,street, house number,telephone,email,mobile number. I am stuck in mobile number. I was able to create business partner with all the other fields but i dont know how to get hold of mobile number.Please suggest me functional module or the process of assigning mobile number to the BP.
    Edited by: anurag112 on May 18, 2011 2:36 PM

    Hi Anurag,
       There is a field called R3_USER in the telephone structure(IT_ADTEL). If this field is populated with 2 or 3 which means it is a mobile number. You can use BUPA_CREATE_FROM_DATA FM to create BP.
    Regards,
    Lakshmi.Y

  • LSMW Upload SalesOrder Creation:problem in assigning Partner type SH and SP

    Hi
    I'm trying to upload sales order creation data using LSMW -BAPI Method
    Business Object : BUS2032
    Method : CREATEFROMDAT2
    Message type : SALESORDER_CREATEFROMDAT2
    Basic Type : SALESORDER_CREATEFROMDAT202
    and I'm passing the following header data
    Sales Order Type, Sales organisation, Distribution Channel, Division, Sold To Party, Ship To party,
    Purchase order number, PO Date, Requested delivery date, Order Reason, Payment terms, Incoterms part1, Incoterms part2, Document Currency.
    and the following item data
    MATERIAL NUMBER
    Order quantity
    Storage Location
    Item Category
    Item Usage
    Reason for Rejection
    Plant
    Net Weight
    Gross Weight
    Condition Type
    Amount
    Internal Order Number
    I'm assigning the header data to structure <b>E1BPSDHD1</b>
    and Item data to <b>E1BPSDITM,E1BPSDITM1</b>
    and Partner data to structure <b>E1BPPARNR</b>.
    When I am assigning Partner data to the structure E1BPPARNR, I want to assign both <b>sold-to-party</b> and <b>ship-to-party</b> ,(because I have two source fields of this type) but there is only target field related to the partner data , here I am assigning <b>partner type as SP</b> and <b>partner number as sold-to-party</b>, still there is an unassigned field ship-to-party, for this field I am unable to find a relevant target field so please help me how can I assing These two flat file fields <b>(sold-to-party,ship-to-party)</b>
    Looking for further more information : if there is many sold-to-party's and many ship-to-party's how can I go that in this situation i.e maintaining  Many to Many relationship using LSMW tool
    Thanks in advance
    regards
    Rajasekhar

    Here is what you have to do.
    In field mapping, double click on the field PARTN_NUMB (or any field of that structure) in change mode. This opens up the code editor. There just enter the following code. I am assuming you are doing only these fields. But if you are mapping more fields of this structure, you have to map them here.
    E1BPPARNR-PARTN_NUMB = ORDERHEADER-KUNAG.
    E1BPPARNR-PARTN_ROLE = 'AG'.
    E1BPPARNR-ITM_NUMBER = '000000'.
    *-- add more field mappings here, if needed
    TRANSFER_RECORD.   
    *-- Now pass the Ship-to record          
    E1BPPARNR-PARTN_NUMB = ORDERHEADER-KUNWE.
    E1BPPARNR-PARTN_ROLE = 'WE'.
    E1BPPARNR-ITM_NUMBER = '000000'.
    *-- Add more partners if needed by copying the above code.
    Remember, you need to do TRANSFER_RECORD only that many times as you have the partners. There will be one 'TRANSFER_RECORD' at the end of this structure, so keep that in mind.
    Srinivas

  • Partner bank type field missing in payment proposal list

    Hi Gurus,
           The partner bank type field is not being displayed in payment proposal list whereas I can display the same in vendor line item display.  Though there is a field named BnkT in the proposal list the partner bank type is not displayed.  Kindly advice me in this regard.
    Regards.

    Hello,
    Please note the system selects the bank with the lowest BVTYP.
    This means that a bank which has no BVTYP will be selected first,
    then one with AAAA, then BBBB. This is the reason why the partner
    bank which you expected was not chosen.
    Please read the F1 help for this field which explains the main purpos
    of this field:
    F1 Help:
    In the business partner's master record:
         If several bank accounts exist in a customer or vendor master
         record, you can assign different keys for these accounts.
    In the item:
         To use a particular bank of the business partner for the payment
         an item, enter the appropriate key in the item. The payment prog
         then pays the item via the business partner's predefined bank.
    Here you can enter, for example a number, 0001.
    Then, when you post a document with the transaction FB01 or F-42, you
    can display the field 'Partner bank type' (BSEG-BVTYP). Here you can
    write the number 0001 or another number for another bank of the same
    vendor. Afterwards, you can post this document.
    Also, you can use Business Transaction Event (Open-FI) 00001810 to
    implement your own algorithm to select a bank. For details, see the
    documentation of the sample function module SAMPLE_PROCESS_00001810.
    Also review below notes in the same context about "F110: partner bank
    type".
    363219 - F110: Wrong partner bank after proposal run maintnc
    390740 - F110: partner bank type not in clearing line of payment doc
    Hope this clarifies the system behaviour.
    regards
    Ray

  • Assigning mobile number tto BP through BADI.

    Hi Experts,
    I have to create a business partner(organization) through a badi with the fields like name name1,name2,street, house number,telephone,email,mobile number. I am stuck in mobile number. I was able to create business partner with all the other fields but i dont know how to get hold of mobile number.Please suggest me functional module or the process of assigning mobile number to the BP.
    Edited by: anurag112 on May 18, 2011 2:35 PM

    thanks for your reply. I tried to use the function module but i was not able to get the mobile number. This is what i tried to do.
    *& Report  ZTEST_LOG2
    REPORT  ZTEST_LOG2.
    DATA :PARTNER_CATEGORY TYPE BAPIBUS1006_HEAD-PARTN_CAT,
          PARTNER_ROLE  TYPE BAPIBUS1006_BPROLES-PARTNERROLE,
          BP TYPE BAPIBUS1006_HEAD-BPARTNER,
          CENTRALDATA TYPE BAPIBUS1006_CENTRAL,
          ORGAN_DATA TYPE BAPIBUS1006_CENTRAL_ORGAN,
          ADDRESS_DATA TYPE BAPIBUS1006_ADDRESS,
          IT_TELEPHONDATA TYPE TABLE OF BAPIADTEL ,
          WA_TELEPHONDATA TYPE BAPIADTEL,
          IT_FAXDATA TYPE TABLE OF BAPIADFAX ,
          WA_FAXDATA  TYPE BAPIADFAX ,
          IT_URI TYPE TABLE OF BAPIADURI ,
          WA_URI  TYPE BAPIADURI ,
          IT_E_MAILDATA TYPE TABLE OF BAPIADSMTP,
          WA_E_MAILDATA TYPE  BAPIADSMTP,
          IT_RETURN TYPE TABLE OF BAPIRET2 ,
          PARTNER_GRP TYPE BAPIBUS1006_HEAD-PARTN_GRP,
          TITLE_KEY TYPE AD_TITLE,
          TITLE(2) TYPE C,
          BPDISTI TYPE BAPIBUS1006_HEAD-BPARTNER,
          IT_RETURN1 TYPE TABLE OF BAPIRET2,
          IT_MObile type  TABLE OF ADTEL,
          WA_mobile type ADTEL,
          RELTYPE TYPE BAPIBUS1006_relations-relationshipcategory.
    PARTNER_CATEGORY = '2'. "Organization
    *PARTNER_GRP = '0001'.
    PARTNER_ROLE = 'ZCRM02'.
    ORGAN_DATA-NAME1 = 'ANURAG77 '.
    ORGAN_DATA-NAME2 = 'K'.
    ADDRESS_DATA-HOUSE_NO = '24'.
    ADDRESS_DATA-STREET = 'MAIN'.
    ADDRESS_DATA-POSTL_COD1 = '461661'.
    ADDRESS_DATA-CITY = 'BANGALORE'.
    ADDRESS_DATA-REGION = '05'.
    ADDRESS_DATA-COUNTRY = 'IN'.
    WA_TELEPHONDATA-COUNTRY = 'IN'.
    WA_TELEPHONDATA-TELEPHONE  = '9827654651'.
    WA_TELEPHONDATA-EXTENSION = '91'.
    APPEND WA_TELEPHONDATA TO IT_TELEPHONDATA.
    wa_mobile-country = 'IN'.
    wa_mobile-tel_number = '987654321'.
    wa_mobile-r3_user = '2'.
    append wa_mobile to it_mobile.
    WA_FAXDATA-COUNTRY = 'IN'.
    WA_FAXDATA-FAX = '987654321'.
    WA_FAXDATA-EXTENSION = '91'.
    APPEND WA_FAXDATA TO IT_FAXDATA.
    wa_uri-uri_type = 'FTP'.
    WA_URI-URI = 'ftp.abc.com'.
    APPEND WA_URI TO IT_URI.
    CALL FUNCTION 'BAPI_BUPA_CREATE_FROM_DATA'
      EXPORTING
        BUSINESSPARTNEREXTERN              =
          PARTNERCATEGORY                    = PARTNER_CATEGORY
          PARTNERGROUP                       = PARTNER_GRP
          CENTRALDATA                        = CENTRALDATA
        CENTRALDATAPERSON                  = PERSON_DATA
          CENTRALDATAORGANIZATION            = ORGAN_DATA
        CENTRALDATAGROUP                   =
          ADDRESSDATA                        = ADDRESS_DATA
        DUPLICATE_MESSAGE_TYPE             =
        ACCEPT_ERROR                       = ' '
      IMPORTING
          BUSINESSPARTNER                    = BP
      TABLES
          TELEFONDATA                        = IT_TELEPHONDATA
          FAXDATA                            = IT_FAXDATA
         TELETEXDATA                        = it_mobile
        TELEXDATA                          =
         E_MAILDATA                         =
        RMLADDRESSDATA                     =
        X400ADDRESSDATA                    =
        RFCADDRESSDATA                     =
        PRTADDRESSDATA                     =
        SSFADDRESSDATA                     =
          URIADDRESSDATA                     = IT_URI
        PAGADDRESSDATA                     =
        ADDRESSNOTES                       =
        COMMUNICATIONNOTES                 =
        COMMUNICATIONUSAGE                 =
        TELEFONDATANONADDRESS              =
        FAXDATANONADDRESS                  =
        TELETEXDATANONADDRESS              =
        TELEXDATANONADDRESS                =
        E_MAILDATANONADDRESS               =
        RMLADDRESSDATANONADDRESS           =
        X400ADDRESSDATANONADDRESS          =
        RFCADDRESSDATANONADDRESS           =
        PRTADDRESSDATANONADDRESS           =
        SSFADDRESSDATANONADDRESS           =
        URIADDRESSDATANONADDRESS           =
        PAGADDRESSDATANONADDRESS           =
        COMMUNICATIONNOTESNONADDRESS       =
        COMMUNICATIONUSAGENONADDRESS       =
          RETURN                             = IT_RETURN.
        ADDRESSDUPLICATES                  =
    CALL FUNCTION 'BUPA_ADDRESS_ADD'
      EXPORTING
        IV_PARTNER                           = BP
      IV_PARTNER_GUID                      =
        IS_ADDRESS                           = ADDRESS_DATA
      IV_DUPLICATE_MESSAGE_TYPE            =
      IV_ACCEPT_ERROR                      = ' '
      IV_ADDRGUID                          =
      IV_X_SAVE                            = 'X'
      IV_CONSIDER_CONSNUMBER_FOR_INS       = ' '
      IV_CHECK_ADDRESS                     = 'X'
    IMPORTING
      EV_ADDRNUMBER                        =
      EV_ADDRGUID                          =
    TABLES
       IT_ADTEL                             = it_mobile
      IT_ADFAX                             =
      IT_ADTTX                             =
      IT_ADTLX                             =
      IT_ADSMTP                            =
      IT_ADRML                             =
      IT_ADX400                            =
      IT_ADRFC                             =
      IT_ADPRT                             =
      IT_ADSSF                             =
      IT_ADURI                             =
      IT_ADPAG                             =
      IT_ADREM                             =
      IT_ADCOMREM                          =
      IT_ADUSE                             =
      IT_ADDR_COMM_USE                     =
      ET_ADDR_DUPLICATES                   =
      ET_RETURN                            =
    CALL FUNCTION 'BAPI_BUPA_ROLE_ADD_2'
        EXPORTING
          BUSINESSPARTNER                   = BP
        BUSINESSPARTNERROLECATEGORY       =
        ALL_BUSINESSPARTNERROLES          = ' '
          BUSINESSPARTNERROLE               = PARTNER_ROLE
        DIFFERENTIATIONTYPEVALUE          =
        VALIDFROMDATE                     =
        VALIDUNTILDATE                    = '99991231'
      TABLES
        RETURN                            =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        WAIT          =
      IMPORTING
        RETURN        =
    please help me with the same. I am new to SAP and BADI.

  • Sender and receiver partner number,

    Hi All,
    In the control section of an idoc, there are two fields - sender and receiver partner number. If my application sends an inbound idoc to Sap R/3, the two fields are not necessary? I have noticed the logical system has been assigned to the client.
    If somebody can explain the usage of sender and receiver partner, I would be much appreciated.
    Thanks,
    Dennis

    Hello,
    Can you please check the documentation: SAPBCSapAdapterGuide in your packges -> SAP -> Doc direcotry? The Chapter: 6
    This should explain you how to set up the Routing.
    Best regards,
    Dezso

  • To get Current Business Partner number In BADi

    Hi All,
    In Tcode BP (for creating Business Partner) i am using BADi  'BUPA_GENERAL_UPDATE'. In this i want get Current Business partner No Assigned for the current Creation process.Suggest me how to get Current Businees Partner no assigned or current creation.
    (Actually in the program wher this BADi is calling there is internal table mem_but000 which has the but000 details incluiding what Business partner number assigned for current creation.Is it possible to get details from this itab in my BADi implementation Method.)

    Hi,..
    U can use field symbols and get the values of the internal table into ur BADI
    FIELD-SYMBOLS: <fs_wa> TYPE table .
    UNASSIGN <fs_wa>.
    ASSIGN ('(program name)mem_but000 ') TO <fs_wa> .
    program name is the name of the program where this internal table mem_but000 is having data..
    U will get all the entries of the internal table in field symbol..
    decalre internal table like mem_but000 and assign the filed symbol data into internal table .
    IF sy-subrc EQ 0.(sy-subrc check for the assign statement)
    t_mem_but000  = <fs_wa>.
    endif.
    regards
    Sheeba

  • Can Business Partner number and Vendor Number, Plant Numbe be same in SRM ?

    Hi Experts,
    We are configuring SRM7.0 with ECC6 ( Ehp4) having Classic Scenario .
    I configured sandbox, and everything working fine.
    I have one query.  The Business Partner Number and the Vendor Code or Plant code are different. So while entewring the Location key in Shopping cart we need to enter BP code, by drilldown ( In drilldown we can see ECC Vendor Plant number).
    Its no big problem,.
    Can anyone suggest  whether it is possible to have both Unique or exactly same , so no need to remeber both code or see in drilldown.
    Thanks
    NAP

    Hi Narendra
    Location - BP can be different only since plant assign  always internal BP number only so BP number and plant number can not be same.
    but Vendor you have two options .
    External Number  - if you were selected BP and Vendor number will be remain same.
    Internal Number - if you were selected BP and Vendor number will be different.
    visit BUCF tcode for Internal and External BP number configuration.
    See our Mentor Ricardo detail explanations
    http://wiki.sdn.sap.com/wiki/display/SRM/ECCPlantorLocationnumberisnotdisplayedinShoppingCart
    All the associated parties which are used in the SRM environment (like location, recipient and supplier) are modelled as business partners.
    Due to this fact the user interface displays the business partner numbers in a uniform manner, as the business partners are the technical representation of the involved parties.
    In order to give the user a better idea which business partners are shown by the numbers, a little text is displayed next to the corresponding field (e.g. 11147 - Werk Hamburg).
    When ERP plants are replicated to SRM system, plant numbers are converted into business partners and a new ID is assumed.       
    Muthuraman

  • Business Partner - Number Ranges and Groupings

    Hello,
    A few weeks ago, we are activated RMCA components and activated Telecommunications 6.0 in a sand box client.
    Now we are doing customizing and application of BP.
    We want, and we could, to range BP in number range from 1 to 9999999999, as the costumers appear in our CRM system. But the problem is that we cannot do the same with AR/SD costumers because we already have old AR/SD costumers, not the same person, in the same range and we don't have not used range.
    I know that we can to convert AR/SD costumers groups, but that problem is that we need to convert costumers number.
    How we can open in the same number, the BP and AR/SD costumer? Can we reorganize the old SD costumers?
    We sure that we are not the first company that implement RMCA in the middle of life cycle that already have AR/SD costumers.
    With best regards,
    Galia Ribinik.
    Edited by: Yes SAP Team on Jan 8, 2012 7:53 AM

    RM-CA:  Number ranges and groupings
    Choose the following in the Customizing: Cross-Application Components ® SAP Business Partner ® Business Partner ® Basic Settings ® Number Ranges and Groupings.
    Define the corresponding number ranges externally in RM-CA and ensure that this RM-CA number range includes both the internal and external CRM number range.
    You can choose any name for the group, but it must be the same as the name in CRM.
    SD Customer Mapping
    Choose the following in Customizing: Financial Accounting ® Accounts Receivable and Accounts Payable ® Customer Accounts ® Master Data ®Preparations for Creating Customer Master Data ® Create Number Ranges for Customer Accounts.
    If you also want to create an SD customer during business partner replication, you must create a separate number range for this customer. Assign this number range to the corresponding account group. Choose the following in Customizing: Financial Accounting ® Accounts Receivable and Accounts Payable ® Customer Accounts ®Master Data ® Preparations for Creating Customer Master Data ® Assign Number Ranges to Customer Account Groups.
    ·SD Customer Mapping
    Choose the following in Customizing: Financial Accounting ® Accounts Receivable and Accounts Payable ® Customer Accounts ® Master Data ® Preparations for Creating Customer Master Data ®Define Account Groups with Screen Layout (Customers).
    You must reconcile the account group settings for the business partner with the corresponding field groups for the business partner in CRM. If for example a field in RM-CA is not defined as a mandatory field in CRM, replication will fail if an entry has not been made in this field in CRM.
    Use the PIDE transaction to control which CRM business partner classification is mapped to a specific account group in RM-CA.
    Define the reverse situation here using the corresponding number range grouping.
    ·        Create and assign an SD sample customer
    To generate an SD customer in RM-CA during the business partner replication, you require a reference business partner. This is used as a template during creation.
    Choose the following in the system: Logistics ® Sales and Distribution ® Master Data ® Business Partner ® Customer ® Create ® Sales and Distribution  (Transaction VD01).
    Create the sample customer using the account group described in the preceding step. The system name for the sample customer must start with the letters u201CMUSTu201D (such as MUSTER_TELCO).
    You must also create the sales area data for the customer. Note that you must maintain each sales area used accordingly.
    ·        Assign SD sample customer
    Assign the sample customer in the TCRMBP_REFCUST table (transaction SM30) and define the corresponding determination. If you only want the system to determine a specific sample customer, you can leave the Business partner category, Group and Partner type fields blank.
    http://help.sap.com/saphelp_telecom472/helpdata/en/65/d7a55dadd52348ad73320774783649/content.htm

  • How to look for business partner number in GTS

    Hi Experts,
    How to look for the business partner number in GTS when we have the Customer Id number in r/3?
    Please let me know the path in GTS.
    Edited by: Anurag87 on Dec 9, 2010 2:17 PM

    Hello,
    just simple in GTS in transaction BP find by "3 External number" (which is yours R/3 number).
    Or in se16 table /SAPSLL/PNTBP type in field BPVSY you external number from R/3 system.
    Cheers,
    Gabriel.

  • The special stock partner number is different in VA02 and VA03

    **Hi friends,*
      *its little bit critical*
          *my client raised Sales order and it was processed for delivery and billing also. now when we open sale order XYZ   in VA02 i.e, change mode There is special partner number is 189011 it is correct.*
    *and when we open same sale order XYZ  in display mode (VA03)  here The special partner number is changed and system showing ship to party number as a Special partner that is b1b1 actually it is ship to party number but system showing same number for both sp and sb as b1b1 thats is in VA03.*
    *can anybody please help out me

    Hi,
    Please check whether you have any screen variants / transaction variants assigned to the Tcode VA03.  The following thread will give you info about transaction variants in VA03.
    VA03 and SHD0 made me crazy
    Regards,
    P Gomatheeswaran

  • Message No F5808 Field Assign. is a required field for G/L Account.

    Hi Guys,
    I have a problem when releasing a cancel credit memo billing document.
    It shows the following error message:
    Field Assign. is a required field for G/L Account.
    Message No. F5808
    Diagnosis,
    The value field "Assign." in the interface to Financial Accounting is an initial value but you are required to make an entry in the field selection for G/L Account XXXX in company code XXXX linked to the field selection for posting key "50".
    System Response
    Error
    Procedure
    It might be an error in the configuration of the G/L account field selection. The initial application, used to call up the interface must otherwise define a value for field "Assign.". If this is the case, contact the consultant responsible for the application.

    Hi,
    The Assignment Number BSEG-ZUONR (I suppose "Assign." means it here.) field status for posting key and GL is optional and mandatory.
    I think the GL Account SORT KEY in FS00 is the assignment selection for Billing to FI doc. Say if the SORT KEY is Posting Date, the assignment from Billing to FI Doc would be the date of posting.
    But if the SORT KEY is blank ( This is case for my G/L account), the system will select the assignment written in Billing document header (VBRK-ZUONR).
    I checked other billing documents, which are not in the same billing type as the one with error, and found it follow the above logic.
    So how come this time it shows the above error? Really confused.
    Emma
    Edited by: qun yang on Sep 22, 2011 9:12 AM

  • Business Partner Number - HRALX-HRAC  problem

    Hello,
      I am trying to configure Service desk in Solution Manager 7.0
    While creating Business partner through t-code ppoma_crm.
    But after creating Business partner, there is no assignment of Business partner number  to business partner.
    I have check entry  HRALX-HRAC  in table T77S0, in transaction sm30, 
    For HRALX-HRAC flag is not set.
    What should I do to set this Flag?
    Should I set manually or there is any procedure for it???
    Kindly guide regarding this.
    Thanks,
    Chandresh Pranami.

    Dear Chandresh,
    have you activated the BC sets for service desk?
    You can the following
    Go to the following IMG path: Customer Relationship Management -> Master Data -> Business Partner -> Integration Business Partner-Organization Management -> Set Up Integration with Organizational Management.
    Find the entries starting with HRALX. You should have those entries:
    HRLAX - HRAC with the value u2018X',
    create this entry in the table and Save.
    HRLAX-OBPON with the value u2018ON',
    create this entry in the table and Save.
    Regards
    Prakhar

  • How can I determine the number of field in the FIELD-SYMBOLS

    Hi, in the following code example I have structure u201Czfsl_sd_credit_balu2019 I define a workarea like that structure and assign that wa to FIELD-SYBOLS. Now can I calculate the number of filed in that FIELD-SYBOLS for further processing on that FIELD-SYBOLS.
    DATA: wa_credit_bal LIKE zfsl_sd_credit_bal.
    "wa_credit_bal-audat = '20081210'.
    wa_credit_bal-vehno = '0as10'.
    wa_credit_bal-VBELN = 'aaad'.
    wa_credit_bal-MOVMT = 'asdfa'.
    wa_credit_bal-quantity = 10.
    wa_credit_bal-recc = 10.
    wa_credit_bal-recb = 10.
    wa_credit_bal-issc = 10.
    wa_credit_bal-issb = 10.
    wa_credit_bal-balc = 10.
    wa_credit_bal-balb = 10.
    wa_credit_bal-cbalc = 10.
    wa_credit_bal-cbalb = 10.
    wa_credit_bal-last_line = 2.
    FIELD-SYMBOLS: <f1>, <f2>, <f3>.
    ASSIGN wa_credit_bal TO <f1>.
    In the bellow u2018FORMu2019
    FORM getsum USING in CHANGING out etext.
      FIELD-SYMBOLS: <f1>, <f2>.
      ASSIGN in TO <f1>.
      out = 0.
      DATA: cin(50),
            iin TYPE i.
      DO 14 TIMES.
        CATCH SYSTEM-EXCEPTIONS conversion_errors = 1.
          ASSIGN COMPONENT sy-index OF STRUCTURE <f1> TO <f2>.
          iin = <f2>.
        ENDCATCH.
        IF sy-subrc = 1.
        ELSE.
          ADD: <f2> TO out.
        ENDIF.
      ENDDO.
    I did u201CDO 14 TIMESu201D because I know that there are 14 field in that structure but it will be problem when user will give a different structure like more then 14 fields in it. So I want to get the no of fields and store it to a variable and replace u201814u2019 with that variable
    Kind regards,
    Faisal

    Thanks, Tahir
    my problem has solved
    Kind Regards,
    Faisal

Maybe you are looking for

  • Error while loading data from R/3 to PSA

    Hi, While loading data from R/3 to PSA i am getting error 'the argument 0.6 j cannot be interpreted as a number when assing application structure.Actually in R/3 0.6 and JPY are 2 different columns.So when loading  J is getting concatenated with 0.6,

  • My Mac Pro late 2013 hangs at 18 minutes left on update to Yosemite.

    I Attempted to update my Mac Pro late 2013 to Yosemite after it was released today through the Apple Store. Unfortunatly after several hours and many auto restarts it hung at 18 minutes to go. THe Mac is backed up on an Airport 4, but is there any ot

  • Help needed: Disk space does not free up even after deleting files.

    Background information for this problem: I have my iPhoto library on an external HD, and was importing files from that same drive into iPhoto, and began receiving messages that I was very low on disk space on my internal HD. From here, it seemed like

  • Xpath-functions

    hi what are the various xpath fuctions in xslt mapping?

  • 5320 XM firmware 4.13 report

    Hello, I would like to report a feedback for the 4.13 version of the 5320 firmware. I noticed that the option "Nothing" for the screen saver was deleted (but if I set the screen saver to last for 30 second, it's quite useless to display the time for