Idoc to create a Licence in GTS

Dear experts,
   I have a situation where in I need to create Licence in GTS system based on the information from a 3rd party system. So, Is there any inbound idoc in GTS system to automatically create the licence (I'm using middle ware to convert the XML from 3rd party to an IDOC).
Or is there any function module, to create a licence in GTS system.
Thanks for the Info.
-Amit.

>
Abir Banerjee wrote:
> Check this BADI. See if it helps.
>  BAdI for Processing Inbound Licenses
>
> Path: SPRO->SAP GTS->General Settings->BADI For SAP GTS->BAdI for Processing Inbound Licenses
Abir,
  Thanks for the response, All my license information is coming from the 3rd party, so I don't need any sort of logic or manipulation on GTS side. All i have to do is blindly create a license, so BADI doesn't help me.
All I need is a function module/ BAPI  that can accept the licence information as input and create a license.
Also I'm looking to see if there is any standard Idoc to hold the licence data (Like orders04 for sales order...)
Thanks for your time
-Amit.

Similar Messages

  • Idoc/ Function module to create a Licence in GTS

    Dear experts,
      I have a situation where in I need to create Licence in GTS system based on the information from a 3rd party system. So, Is there any inbound idoc in GTS system to automatically create the licence (I'm using middle ware to convert the XML from 3rd party to an IDOC).
    Or is there any function module, to create a licence in GTS system.
    Thanks for the Info.
    Sorry for the duplication of same question that i posted in GTS forum. I couldn't get a single reply from 3 days, so I reposted the same.
    Thanks
    -Amit.

    Hi Amit
    I'm facing the same problem you had.
    May I ask you how you created the function module?
    Thanks in Advance
    Ashwaan

  • Unable to see idoc in WE02 in ECC or GTS

    Hello -
    When I send an idoc to GTS for a material master change via program RBDMIDOC in SE38, I do not see the idoc display in WE02 in ECC or GTS. I see that some, but not all of the data which I changed in the ECC material master has been updated in the GTS Product Master and therefore know that an idoc is being generated and sent, but I want to troubleshoot it to see what data was and was not picked up and sent over. Since I cannot see the idoc that was generated in WE02 in either ECC or GTS, I am unable to do so.
    The reason I am investigating this is that I am attempting to send over additional data (tax classifications) in the Reduced Message Type /SAPSLL/MATMAS_SLL, but the newly selected data is not picked up and sent over. I am trying to understand if this is an issue with configuration or the idoc itself.
    Has anyone had any experience with this that can offer some insight?

    Hi ,
    SAP ERP system does not generate Intermediate Documents (IDocs) for data distribution
    to SAP GTS, certain settings from the IDoc Interface are used: message types and change pointers.
    MATMAS for material masters, CREMAS for vendor masters, and DEBMAS for customer masters. They are linked to IDoc basic types defining the formatting structure of the data records that are to be sent.
    Instead of generating IDocs, the programs used in the SAP ERP feeder system for the transfer of master data to SAP GTS carry out RFCs based on the reduced structure.
    this is the reason you are not able to se the idoc inWE02 as ther is no idoc as such created.
    If you want see what data is getting transferred to GTS when you sending the material do following step.
    1.  Before  running the program to send material to GTS switch on debug mode by putting /h as tcode.
    2. Run the program to send the Material to GTS,
    3. Set break point at statement RFC.
    4. Press F8 , it will stop at the RFC call FM which is called in GTS here you can check all the detail which goes to GTS.
    kind Regards,
    Sameer

  • Message with IDOC number, created by LSMW, missing in job log in SM37

    Hi gurus,
    We have a temporary interface which uses LSMW to create IDOCs and update in SAP. It's used for materials, BOMs and document info records. In LSMW we have defined standard message types MATMAS_BAPI, BOMMAT and DOCUMENT_LOAD for the IDOCs. All these have the same problem.
    A background job runs and starts LSMW. In the job log in SM37 I want to see which IDOCs were created. For some reason this is different in my development system and my test system, and as far as I know all settings should be the same. In the test system LSMW creates more message lines in the job log, than it does in the dev system. Message number E0-097 is "IDOC XXXX added", and this is missing in the dev system.
    This is what it looks like in the dev system:
    Data transfer started for object 'MATMAS' (project 'X', subobject 'Y')             /SAPDMC/LSMW   501    I
    Import program executed successfully                                                             /SAPDMC/LSMW   509    I
    File 'XXX.lsmw.read' exists                                                                               /SAPDMC/LSMW   502    I
    Conversion program executed successfully                                                    /SAPDMC/LSMW   513    I
    Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y')       /SAPDMC/LSMW  516    I
    And this is what it looks like in the test system. More information, which is exactly what I want in dev system too:
    Data transfer started for object 'MATMAS' (project 'X', subobject 'Y')             /SAPDMC/LSMW   501    I
    Import program executed successfully                                                             /SAPDMC/LSMW  509    I
    File 'XXX.lsmw.read' exists                                                                               /SAPDMC/LSMW  502    I
    Conversion program executed successfully                                                    /SAPDMC/LSMW  513    I
    File 'XXX.lsmw.conv' exists                                                                              /SAPDMC/LSMW   502   I
    IDoc '0000000002489289' added                                                                      E0                         097   S
    File 'XXX.lsmw.conv' transferred for IDoc generation                                      /SAPDMC/LSMW   812   I
    Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y')      /SAPDMC/LSMW   516   I
    In both cases the IDOC is created and update works fine.
    My only issue is that I can't see the IDOC number in the dev system. I know I can get the IDOC number in WE02, but in this case we have program logic which reads the job log to be able to check IDOC status before sending OK message back to the other side of the interface.
    I hope any of you can have an idea how I can update somewhere to get message E0-097 with IDOC number into the log.
    Regards,
    Lisbeth

    Hi Arun,
    If you want to show your messages in the job log you have to use the MESSAGE statement. In case you use WRITE statements an output list be created which can be found in the spool (there is an icon to go to the spool directly).
    Regards,
    John.

  • IDOC not created in R/3

    Hi,
    I am sending IDOC from XI to R/3 using IDOC Adapter.
    When I send around 2000 documents(2000 idoc are created in R/3)it works fine and I can see Idoc created in WE02.
    But When I send more then 6000 documents,IDOCS are not created in R/3.But I can see in idx5 in XI 6000 outbound idocs.
    Thanks in advance.
    Rekha.

    Have you checked whether the tRFC queue is full and creating with time delay ?
    Try to increase remote user login parameter in the instance profile.
    regards
    Shravan

  • Trigger an Event in PI when IDOC is created

    Hi Expert ,
    I  am working on a inbound scenario where multiple IDOC is created from one XML file .  When the IDOC is getting posted in ECC then its taking time to get processed . IDOC is getting processed by a batch job RBDAPPO1 and it is scheduled after every 30 min so IDOC processing is delayed for 30 min if it is getting posted just after the completion Job . We can't increase the frequency of job at its taking lot of resource .
    So is it possible to create an event when IDOC arrives in ECC which will run the job program i.e instead of running the background job at scheduled time is it possible to raise an event while posting IDOC so RBDAPP01 can be run just after the IDOC is received in ECC.
    There is an option of Process IDOC immediately in parter profile but we don't have to go for that as at one time lots of IDOC is being posted in ECC.
    Regards,
    Saurabh

    Hi,
    interesting topic !
    I add two info:
    1. By using a dummy idoc or a proxy call (interesting idea) to trigger a job, be careful of one point: in PI, when idocs will be sent to ECC... well... PI will use different queues (SMQ2)... And so maybe your dummy idoc will use a "faster" queue and will arrive before all the other idocs. and the result will be not this one that you want !
    Solution: EOIO by specifying a unique queue... but in that case, if there is a pb between PI and ECC, it's ALL the next exchanged of this interface which will be in status "wait inside the queue"... until you solve the first error.
    2. with you dummy idoc, How to trigger a job to run your idocs... it's "easy", it's just in the function module linked to your dummy Idoc, that either you run directly RBDAPP01 with your specific Message Type, idoc type, parter, date, etc... (*) or your program create a job which to the same (personally I prefer this solution).
    (*) as suggest by another guy, do a generic "dummy idoc".
    Regards.
    Mickael

  • BAPI or IDOC to create the Delivery in R/3 for the SaleOrder created in CRM

    Dear All,
    When ever I create a sales order and save the sales order in the crm system, an outbound delivery is created in the R/3 system.
    I have added some new fields in the tables LIKP and LIPS.(related to delivery)
    Now I have to populate data into these new fields with the CRM data.
    So can any one tell me when I create a sales order in CRM, does the system uses any BAPI or IDOC to create the Delivery in R/3.
    The BAPI name or Idoc information will be very useful.so that I can extend them
    In crm the BDOC ‘BUS_TRANSACTION_MESSAGE’ is used.
    Thanks in advance.
    Regards
    Shafath

    Hi All,
    I found a solution to my problem.
    The BAPI ‘BAPI_DELIVERYPROCESSING_EXEC’ will be enhanced to add the new fields into the BAPI structure.
    The BADI ‘/SPE/BAPI_DLVEXEC_EX’ and the user exit ‘EXIT_SAPLV50R_CREA_001’ will be used to populate the data into the new fields created in the BAPI structure and the new fields added into the tables LIKP and LIPS.
    Regards
    Shafath

  • File to IDOC scenario: Create customer master and then return customer no

    Hi all.
    I have a scenario to pass xml file to sap XI to generate IDOC to create customer master in SAP. My problem is that I need to return customer no. created in SAP from IDOC. Is there any solution to do this? Someone told me that BPM could be used for doing this but I don't know the steps.I have no problem in create customer master in SAP. My only problem is how to return customer no.  Any help would be appreciate. Thank you.
    Best Regards,
    Pavin

    >>u can use synch-Asynch bridge using BPM
    This can not be done via sync-async bridge.There are 2 reasons for this
    1.He has file adapter as sender and that doesn't support synchronous scenarios.
    2.He has standard IDOC as receiver.there is no way you can fetch customer# from IDOC without writing a custom program,Thats why i said he need to either use RFC/Proxy or do some custom development.
    Thanx
    Aamir

  • IDOC is created with status 51( application document not posted)

    Hi experts
    iam working on File-IDOC scenario, when i test the process the XML message is created with no errors and
    but the IDOC is created with status 51( application document not posted)
    the details error shows:
    An error occurred in CALL TRANSACTION USING or CALL DIALOG USING
    during a synchronous update.
    The error was caused by the transaction VA01.
    previously i used same test data that time it was working fine,
    please tell me how can i fix the issue.
    regards
    vasavi

    Key in your Idoc number in BD87, execute
    select the error message and then follow the menu path :
    EDIT --> restrict and process  (Select)
    In the next screen UNCHECK the Bkgd Processing and execute
    Now EDIT --> Process --> foreground from error or in foreground mode.
    This will lead you the screen where it errored out.
    Thx
    PSR

  • IDOC to create from outbound delivery from sales order as INBOUND process

    Hi Experts,
    We have third party interface for sales processing. Sales order, Outbound delivery and PGI will be done in Third party software and XML files will be send to SAP.
    We have to process this XML file into SAP with IDOC.
    Sales order processing is done but i am not able to find correct IDOC type for creating outbound delivery.
    Can you suggest Basic IDOC type / Message type and process code for the same.
    Regards,
    Sahadev Abhyankar

    Good morning !
    In the transaction WE20 to create the customer EDI  KU with EM function.
    Output parameter: message type DESADV and basic IDOC DESADV01.
    I associate the IDoc message type to LAVA, you should link it to the XML file, that is not how.
    Please : Could you please explain how you linked the XML file to IDOCS to create sales order ?
    Sorry for my poor English
    A greeting.

  • Urgent, how to insert un Idoc (already created)  from outside of SAP

    Hi to all,
    I would like to know how to insert an Idoc (alresdy created) from outside of a SAP environnement into SAP.
    I know via the code we20 we could insert an Idoc into SAP, does someone have a file PDF to explique how to do it step by step plz?
    or could you reply it in details step by step?
    caz we are doing a project and we know almost nothing about it, but we need the information urgent.
    Tks in advance

    Hi,
    i think you have missed some of the some of the columns having NOT NULL constraint.ex:Who Columns..
    Please check the same in the table..
    Thanks
    Bharat

  • Two idocs are created for one output message type

    hi all,
    we are communicating our sap idocs to external system using ALE.It is working smoothly.
    Our problem raises here,
    .idocs are creating at the time of output type attachment for purchase orders.But rarely,two idocs are creating for one message type.It means two idocs are created for same Purchase order.It makes complications for the external system.
    anyone can help me pls?
    thnks in advance..........

    thanks jurgen for ur reply,
    jurgen, the second idoc is not an "ORDCHG",It is the replica of first idoc.This one has also "ORDERS" message type.The only difference between these idocs are the time.It means the difference between the time field segments of these idocs have only three(3)seconds difference.We think that its from the system error.If it is not from the system error pls give me the explanation.
    thanks in advance.......

  • Outbound ORDRSP IDOC not created while processing  using ALE_PROCESSING .

    HI ALL,
    i have done all the requiured config for o/b message control for ORDRSP idoc along with config in sale for dist.. model and assigning msg type to model etc and when i save my PO i can see the o/p being proposed but when i process that with A as medium, it is incorectly processed and no ordrsp idoc is created.i am using std idoc_output_ordrsp FM,  when i debug the code the see an error in ALE_PROCESSING IN the perform new_dyn_perform
    can anyone pls tell me why the idoc is not created.
    thanks,

    Hi eswar,
    i have configured the partner profile for the LOGICAL SYSTEM that i hav created along with the message control deatils in msg ctrl tab( which i think should not really matter) as i have already created a distrib. model for my log. sys and attached my msg typ to that.
    when i debug the flow ( rsnast00-rsnasted-ale_processing-idoc_output_ordrsp) i think the error is somewhere in the call function tede1-routid( idoc_output_ordrsp) in the new_dyn_perform subroutine.
    but that FM is holding good for other ORDRSP idocs.i am really unable to understand where the error actually is.
    thanks

  • Is there IDoc to create Vl01n delivery on posting it to SAP ???

    hi,
    I've made quite extensive search and finally landed in posting this query again....is there any standard idoc provided by sap tht can be used to create outbound deliveries (vl01n) in sap via idocs?
    this question reflects to my thread in "Data transfers"
    IDoc for creating VL01N (outbound) delivery
    As far i have seen only inbound deliveries (vendor delveries: vl31) could be used...any advice on it pls.
    i refrain from using bapi's for now.....

    no process code found for posting customer delivery...so using own process code with bapi in it

  • IDOC to create a shipment cost document

    Hallo all,
    i am looking for an IDOC to create a shipment cost document. Do you know is there an IDOC which is suitable for this? I haven't found one.....
    Many thanks for any advise,
    Hannes

    Hi
    Refer below it may helps u
    <a href="http://help.sap.com/saphelp_45b/helpdata/de/1a/0e3869539911d1898b0000e8322d00/content.htm">shipment</a>
    http://help.sap.com/saphelp_45b/helpdata/en/b5/9c48b8fc6f11d1bf5a0000e8a7386f/content.htm

Maybe you are looking for

  • External drive not showing in fcp x but showing in finder

    I have a two gig usb external hard drive formatted for Mac OS Extended, and fcp x won't show it in the Event Library, even though it is seen in the finder.  I've put Logic Pro projects in there, but all I see is my other external firewire drive, 1 gi

  • Trouble seeing my website in different browsers

    How can I set my iWeb site looks right in different browsers? I can't find a great solution for that. I prefer the "liquid" or "fluid" layout. If it is possible. Thanks

  • Connect airport to tv

    Hi, What do i need to connect my airport express to my tv? I have the audio working through my stereo, but want to put pictures and video onto my TV like in the adverts... Many thanks Al

  • Aperture 3.1.2 workflow with iMac and MacBook Pro

    Could someone please point me to an article that explains how to have the same library on both machines, while keeping the masters on my iMac? I'd like to use my MacBook Pro in the field and sync or copy images to my Aperture library on my iMac once

  • M58 BIOS WMI script not working

    Hoping some BIOS gurus might be able to help me out here - I have many m58 machines that need to turn on at midnight every night for updating.  I'm trying to remotely remotely enable the "Wake Up on Alarm" function in the BIOS and set it to "Daily Ev