How to know value of a feild in IDOC for further proccessing

Hi Guys ,
I am receiving different sets of IDOC's  in XI with same structure but different Instances.There is feild called company ID in every IDOC._I need to count the number of Idoc's received from a particular companyID and group them_.
I came to know that i can use an RFC call that will give me the count.To call RFC i need to know the company ID, based on which the RFC call can be made.
Can you help me in understanding how to retrieve company ID from Incomming IDOCs, and call RFC based on ID to get count of IDocs with that Comp Id.?
My kind appreciations to all  .....
Srinivas Karnam

Hi,
You need to go for RFC lookup. You need to pass the values i.e. company code to RFC during mapping
Refer
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70d90a91-3cf4-2a10-d189-bfd37d9c3231
The specified item was not found.
OR
You can go for BPM. Here you need to loop the Receiver step and collect the IDOCs, then add one counter based on co-relation of Company ID field.
Thanks
Swarup

Similar Messages

  • How to prepopulate value in webapps input fields or for any custom fields in for any other forms?

    How to prepopulate value in webapps input fields or for any custom fields in for any other forms?

    What do you want to populate the form with?

  • How to know whether a vacation rule is set for a user

    Hi,
    How to know whether a vacation rule is set for a user or not in the BPM process. Can anyone help me in this.
    Thanks,

    In Linux a user has to have read permission on a file to even see that it exists. As a result, if a user (or a group to which they belong) doesn't have read access to the file File.exists() will return false. Windows which doesn't have as tightly controlled access to files will admit that a file exists whether it can be read or not.
    PS.
    This is proof that I should never answer a question off the top of my head when I haven't had my red bull yet. This is wrong. You will be able to see it if you have read and execute on the directory.
    thumps self in head
    Message was edited by:
    puckstopper31

  • How to get values from a table(in jsp) for validation using javascript.

    hi,
    this is praveen,pls tell me the procedure to get values from a table(in jsp) for validation using javascript.
    thank you in advance.

    Yes i did try the same ..
    BEGIN
    select PROD_tYPE into :P185_OFF_CITY from
    magcrm_setup where atype = 'CITY' ;
    :p185_OFF_CITY := 'XXX';
    insert into mtest values ('inside foolter');
    END;
    When i checked the mtest table it shos me the row inserted...
    inside foolter .. Now this means everything did get execute properly
    But still the vallue of off_city is null or emtpy...
    i check the filed and still its empty..
    while mtest had those records..seems like some process is cleaining the values...but cant see such process...
    a bit confused..here..I tried on Load after footer...
    tried chaning the squence number of process ..but still it doesnt help
    some how the session variables gets changed...and it is changed to empty
    Edited by: pauljohny on Jan 3, 2012 2:01 AM
    Edited by: pauljohny on Jan 3, 2012 2:03 AM

  • How do i transfer a project to a cd for further mastering?

    i know this is a simple question but how do i transfer a project to a cd or dvd-r for further mastering?also i am thinking about getting a macbook and am wondering how i would transfer my work in logic 8 on the imac to a brand new macbook?

    Hi,
    1st: If you want to give your project to a studio, give them the whole Logic Project if they have logic, too. Once it is bounced, they can't to more than tweak the final mix.
    If you have to bounce it for the studio, bounce it with 24 bit PCM and inportant : Do not use dithering! This step will added by the studio after mastering.
    2nd: To export a project, make shure all Audio, Samples and all these things are saved inside the project folder. There is an option in the preferences when you make a new project. Try this out.
    Fox

  • How to know which sql query is taking time for concurrent program

       Hi sir,
    I am running concurrent program,that is taking time to execute ,i want to know which sql query causing performance
    Thanaks,
    Sreekanth

    Hi,
    My Learning: Diagnosing Oracle Applications Concurrent Programmes - 11i/R12
    How to run a Trace for a Concurrent Program? (Doc ID 415640.1)
    FAQ: Common Tracing Techniques in Oracle E-Business Applications 11i and R12 (Doc ID 296559.1)
    How To Get Level 12 Trace And FND Debug File For Concurrent Programs (Doc ID 726039.1)
    How To Trace a Concurrent Request And Generate TKPROF File (Doc ID 453527.1)
    Regards
    Yoonas

  • How to know the process code of an IDOC

    Hi All,
    If I want to know the process code of a standard SAP IDOC, how do I do it. Is it we42 or any table/transaction, which can show me all the possible process codes for an IDOC.
    I need to know this so that I can use this accordingly in my partner profile. ( I do not have any idoc in mind, but its avery general question. How do I know what process code belongs to which IDOC)
    Many thanks

    Hi,
    U can check using We41 and We42 tcode for both inbound and outbound case. For each process code a function module is attached check the same for required functionality.
    WE60 and WE64 transaction.will list the std IDOC in SAP.
    chirag

  • How to know if records in BSIS/BSAS are for customers or vendors?

    Hello Experts,
    I am getting records from BSIS and BSAS, now I need to know those records(from BSIS and BSAS)
    which are for customers or for vendors since that is my filter. Thank you and take care!

    Hi Guys,
    Sorry I can't see my radiobuttons so I can't assign points but I will do so later.
    Anyway, What I did was based from the records that I got from BSIS/BSAS, I did
    a select statement from BSID and BSAD. Please see my code below:
    *   Get G/L line items(Open items)
        SELECT bukrs hkont belnr
               buzei gjahr budat
               blart dmbtr shkzg
          FROM bsis
          INTO TABLE gt_bsis
           FOR ALL ENTRIES IN gt_t012k
         WHERE bukrs = gt_t012k-bukrs
           AND hkont IN lr_hkont
           AND budat <= p_budat.
    *   Get G/L line items(Cleared items)
        SELECT bukrs hkont belnr
               buzei gjahr budat
               blart dmbtr shkzg
          FROM bsas
          INTO TABLE gt_bsas
           FOR ALL ENTRIES IN gt_t012k
         WHERE bukrs = gt_t012k-bukrs
           AND hkont IN lr_hkont
           AND budat <= p_budat.
        APPEND LINES OF gt_bsis TO gt_bsis_bsas.
        APPEND LINES OF gt_bsas TO gt_bsis_bsas.
        IF NOT gt_bsis_bsas[] IS INITIAL.
          *   Get customer line items(Open items)
        SELECT bukrs belnr gjahr blart
               buzei budat dmbtr shkzg
          FROM bsid
          INTO TABLE gt_bsid_bsad
           FOR ALL ENTRIES IN gt_bsis_bsas
         WHERE bukrs = gt_bsis_bsas-bukrs
           AND gjahr = gt_bsis_bsas-gjahr
           AND belnr = gt_bsis_bsas-belnr.
    *   Get customer line items(Cleared items)
        SELECT bukrs belnr gjahr blart
               buzei budat dmbtr shkzg
          FROM bsad
          APPENDING TABLE gt_bsid_bsad
           FOR ALL ENTRIES IN gt_bsis_bsas
         WHERE bukrs = gt_bsis_bsas-bukrs
           AND gjahr = gt_bsis_bsas-gjahr
           AND belnr = gt_bsis_bsas-belnr.
        ENDIF.
    Then later on, I will loop through GT_BSIS_BSAS then I will check the current document
    if it exists in GT_BSID_BSAD by using READ statement. Is this correct? Thank you guys!

  • How to know whether we are in Inbound Idoc processing ?

    Hi,
    Can we know from any system variables that whether we are in Inbound Idoc processing?
    Rgds,
    Antony

    Hi Antony,
    Inbound or Outbound is clssified based on Direction Filed.
    If we have IDOC Number chk in EDIDC its direction
    If Direct = 1(Outbound) or =2 (Inbound) i think
    Regards,
    Poornima

  • How to get value of text (e.g. text() ) for self

    Hi all,
    I have a number of text boxes that I use as buttons which configured at the start.
    When clicked they pass on their text value ( using "......text()" ) to a global function and then some magic happens.
    Currently I am using something like:
    var MyVar = sym.$("textbox").text();
    Which means I have to configure for each of my many text boxes e.g.;
         sym.$("textbox"),  sym.$("textbox1"),  sym.$("textbox2"),  sym.$("textbox3"),  .......
    Is there anyway of doing something like:
    var MyVar = sym.$SELF.text();
    So that I can simply copy paste the text boxes and their click triggers dont need to customized.
    Best,
    T

    I don't really have a sample file yet . Because I am trying to figure a work around this issue.
    Basically I have a text box and I want to have a click event trigger that sends the value of its own text (i.e. ".text()").
    var MyVar = sym.$("textbox1").text();
    However as I have 60+ of these text boxes it will take me a very long time to modify each click trigger so that they have the correct name. E.g.:
    for "textbox1"        var MyVar = sym.$("textbox1").text();
    for "textbox2"        var MyVar = sym.$("textbox2").text();
    for "textbox3"        var MyVar = sym.$("textbox3").text();
    It would be much easier if I could point the ".text()" to "self", rather than opening each click event one by one and making sure that the right text box is referenced.
    BTW - if there is a way to handle click events from a global location then I can also address my problem.  if textbox1 pressed, then.... if textbox2 pressed, then.... if textbox3 pressed, then.... etc...
    Best,
    T

  • How to know weather Vendor ID  has been created for a Particular employee

    HI Experts,
    We have got ticket from  emploee pertaining to  his Vendor Id.
    How we can check weather the vendor Id has been created for him.
    What is the transaction code we use to check this.
    Thanks in advance.
    Sairam.

    Hi,
    For this you need to go for coustom only..
    Before the following should be identify.
    1. Personnel number should be assign in vendor master single field only because in vendor master there are five fields can mapp with personnel number.
    2. For vendor creation of employee should have different vendor group in Vedor master
    3. vender nuber range must be same as Employee number range.
    Based on above conditions you can create coustom report.

  • How to know if linux-uvc module is loaded for chicony webcam?

    i have a integrated chicony webcam...iam not sure how to find if linux uvc module is working

    lsmod should do the job, yea
    lsmod | grep uvcvideo
    If that's working, you can try your cam with luvcview

  • How do know the number of records ina cube for particular restriction

    Hello all,
    When you do right click on cube and display data then you have option to choose the fields. Lets say I restrict show me all the records for fiscal year "2006" then wgere can I see actually how many records there are of 2006.
    Thanks

    Hi Raj,
    By using LISTCUBE you can put a check mark for Output Number of Hits:
    If you do not select all fields in the field selection for output and have activated the database aggregation, several records may be collected together into a single record. If you select the option 'No. of Hitsoutput', an additional key figure is generated in the output table that specifies how many records the current record is made up of, that is, how many database records have been made into the output record.
    You can also use this option to determine how many records there are in a particular selection condition in the InfoCube. Specify a selection condition, but do not select any characteristics or key figures. In the return list, you only get the column return with the number of hits and the number of entries that are relevant for this selection condition.
    Hope this helps...

  • How to know which Smart-Form is being used for Purchase Order print output

    Hi Gurus ,
    How to find which Smart-Form and and methods/program being used for Purchase Order print output in SRM  ?
    In ECC we have tcode NACE where we can check all the details.Is there something similar in SRM ?
    Please help.
    Regards,
    Saurav

    There is no similar transaction in SRM for your purpose. Usually if the customers customize the smartforms, they would choose to use their own form by implementing BADI BBP_OUTPUT_CHANGE_SF. Take a look into your system and see if this BADI is implemented. If so, debug it (by pressing "Print Preview" for a PO for example) and find out what form it is using. Or, if the BADI is not implemented, by default, the system uses form BBP_PO.

  • How to know the Function Module of a standard datasource?

    Hi All,
    As per my understanding there will be an underlying Function Module for each SAP BI datasource. But I dont know how to know the name of that  Function Module for a particular datasource.Could anybody pls help me as i am need of this urgently.
    Thanks in advance.
    Regards,
    kp

    Run transaction RSO2 and enter the required datasource whether transaction data, MD attributes or Text then click on display.  In the message pain and the bottom of the gui it will tell you which function module said datasource uses for extraction.
    Cheers
    Craig

Maybe you are looking for