Scenario for EDI

hi can anybody tell me how the concept of EDI works?
1)do configurations like setting logical system, partner profiles etc have to be  made?
2)is there standard idocs like MATMAS or CREMAS that are sent via EDI?
3)is there a step-by-step procedure for EDI

hi anjali,
IDocs are basically a small number of records in ASCII format, building a logical
entity. It makes sense to see an IDoc as a plain and simple ASCII text file, even if it
might be transported via other means.
Any IDoc consists of two sections:
the control record
which is always the first line of the file and provides the administrative information.
the data record which contains the application dependent data, as in our example below the material master data.
We will discuss the exchange of the material master IDoc MATMAS in the
paragraphs that follow..
The definition of the IDoc structure MATMAS01 is deposited in the data dictionary
and can be viewed with WE30.
The very first record of an IDoc package is always a control record. The structure of this control record is the DDic structure EDIDC and describes the contents of the data contained in the package.
The control record carries all the administrative information of the IDoc, such as its origin, its destination and a categorical description of the contents and context of the attached IDoc data. This is very much like the envelope or cover sheet that
would accompany any paper document sent via postal mail.
For R/3 inbound processing, the control record is used by the standard IDoc
processing mechanism to determine the method for processing the IDoc. This
method is usually a function module but may be a business object as well. The
processing method can be fully customised.
Once the IDoc data is handed over to a processing function module, you will no
longer need the control record information. The function modules are aware of the
individual structure of the IDoc type and the meaning of the data. In other words:
for every context and syntax of an IDoc, you would write an individual function module or business object (note: a business object is also a function module in R/3) to deal with.
The control record has a fixed pre-defined structure, which is defined in the data
dictionary as EDIDC and can be viewed with SE11 in the R/3 data dictionary. The
header of our example will tell us, that the IDoc has been received from a sender
with the name PROCLNT100 and sent to the system with the name DEVCLNT100 .
It further tells us that the IDoc is to be interpreted according to the IDoc definition called MATMAS01 .
All records in the IDocs, which come after the control record are the IDoc data. They are all structured alike, with a segment information part and a data part which is 1000 characters in length, filling the rest of the line.
All records of an IDoc are structured the same way, regardless of their actual
content. They are records with a fixed length segment info part to the left, which is
followed by the segment data, which is always 1000 characters long.
You can view the definition of any IDoc data structure directly within R/3 with transaction WE30.
Regardless of the used IDoc type, all IDocs are stored in the same database tables
EDID4 for release 4.x and EDID3 for release 2.x and 3.x. Both release formats are
slightly different with respect to the lengths of some fields.
Depending on the R/3 release, the IDoc data records are formatted either according
the DDic structure EDID3 or EDID3. The difference between the two structures
reflects mainly the changes in the R/3 repository, which allow longer names starting
from release 4.x.
All IDoc data record have a segment info part and 1000 characters for data IDoc type definition can be edited with WE30 Data and segment info are stored in EDID4 .
All IDoc data records are exchanged in a fixed format, regardless of the segment type. The
segment’s true structure is stored in R/3’s repository as a DDic structure of the same name.
The segment info tells the IDoc processor how the current segment data is structured
and should be interpreted. The information, which is usually the only interest, is the name of the segment EDID4-SEGNAM.
The segment name corresponds to a data dictionary structure with the same name,
which has been created automatically when defining the IDoc segment definition
with transaction WE31 .
For most applications, the remaining information in the segment info can be ignored
as being redundant. Some older, non-SAP-compliant partners may require it. E.g.
the IDoc segment info will also store the unique segment number for systems, which
require numeric segment identification.
To have the segment made up for processing in an ABAP, it is usually wise to move
the segment data into a structure, which matches the segment definition.
When R/3 processes an IDoc via the standard inbound or outbound mechanism, the IDoc is stored in the tables. The control record goes to table EDIDC and the data goes to table EDID4.
All IDoc, whether sent or received are stored in the table EDID4. The corresponding
control file header goes into EDIDC.
There are standard programs that read and write the data to and from the IDoc base.
These programs and transaction are heavily dependent on the customising, where
rules are defined which tell how the IDocs are to be processed.
Of course, as IDocs are nothing more than structured ASCII data, you could always
process them directly with an ABAP. This is certainly the quick and dirty solution,
bypassing all the internal checks and processing mechanisms. We will not reinvent
the wheel here.
To do this customising setting, check with transaction WEDI and see the points,
dealing with ports, partner profiles, and all under IDoc development.
All inbound and outbound Documents are stored in EDID4 Avoid reinventing the
wheel Customising is done from the central menu WEDI and see the points,
dealing with ports, partner profiles, and all under IDoc development
The declaration of valid combinations is done to allow validation, if the system can
handle a certain combination.
The combination of message type and IDoc type determine the processing algorithm. This is
usually a function module with a well defined interface or a SAP business object and is set up
in table EDIFCT.
The entry made here points to a function module which will be called when the IDoc
is to be processed.
The entries for message code and message function are usually left blank. They can
be used to derive sub types of messages together with the partner profile used.
Figure 25: Assign a handler function to a message/message type
The definition for inbound and outbound IDocs is analogous. Of course, the function
module will be different.
R/3 uses the method of logical process codes to detach the IDoc processing and the
processing function module. They assign a logical name to the function instead of specifying the physical function name.
The IDoc functions are often used for a series of message type/IDoc type
combination. It is necessary to replace the processing function by a different one.
E.g. when you make a copy of a standard function to avoid modifying the standard.
The combination message type/IDoc will determine the logical processing code,
which itself points to a function. If the function changes, only the definition of the processing codes will be changed and the new function will be immediately
effective for all IDocs associated with the process code.
For inbound processing codes you have to specify the method to use for the
determination of the inbound function.
This is the option you would usually choose. It allows processing via the ALE
scenarios.
After defining the processing code you have to assign it to one or several logical
message types. This declaration is used to validate, if a message can be handled by
the receiving system.
The inbound processing code is assigned analogously. The processing code is a pointer to a function module which can handle the inbound request for the specified IDoc and message type.
The definition of the processing code is identifying the handler routine and assigning a serious of processing options.
You need to click "Processing with ALE", if your function can be used via the ALE
engine. This is the option you would usually choose. It allows processing via the
ALE scenarios.
Associate a function module with a process code
For inbound processing you need to indicate whether the function will be capable of
dialog processing. This is meant for those functions which process the inbound data
via call transaction. Those functions can be replayed in visible batch input mode to
check why the processing might have failed.
There are several common expressions and methods that you need to know, when dealing
with IDoc.
The message type defines the semantic context of an IDoc. The message type tells
the processing routines, how the message has to be interpreted.
The same IDoc data can be sent with different message types. E.g. The same IDoc
structure which is used for a purchase order can also be used for transmitting a sales order. Imagine the situation that you receive a sales order from your clients and in addition you receive copies of sales orders sent by an subsidiary of your company.
An IDoc type defines the syntax of the IDoc data. It tells which segments are found
in an Idoc and what fields the segments are made of.
The processing code is a logical name that determines the processing routine. This
points usually to a function module, but the processing routine can also be a
workflow or an event.
The use of a logical processing code makes it easy to modify the processing routine
for a series of partner profiles at once.
Every sender-receiver relationship needs a profile defined. This one determines
• the processing code
• the processing times and conditions
• and in the case of outbound IDocs
• the media port used to send the IDoc and
• the triggers used to send the IDoc
The IDoc partners are classified in logical groups. Up to release 4.5 there were the
following standard partner types defined: LS, KU, LI.
The logical system is meant to be a different computer and was primarily introduced
for use with the ALE functionality. You would use a partner type of LS, when
linking with a different computer system, e.g. a legacy or subsystem.
The partner type customer is used in classical EDI transmission to designate a
partner, that requires a service from your company or is in the role of a debtor with
respect to your company, e.g. the payer, sold-to-party, ship-to-party.
The partner type supplier is used in classical EDI transmission to designate a
partner, that delivers a service to your company. This is typically the supplier in a
purchase order. In SD orders you also find LI type partners, e.g. the shipping agent.
Message Type – How to Know What the Data Means
Data exchanged by an IDoc via EDI is known as message. Messages of the same kind belong to the same message type.
The message type defines the semantic context of an IDoc. The message type tells
the receiverhow the message has to be interpreted.
The term message is commonly used in communication, be it EDI or
telecommunication. Any stream of data sent to a receiver with well-defined
information in itis known as a message. EDIFACT, ANSI/X.12, XML and others
use message the same way.
Unfortunately, the term message is used in many contexts other than EDI as well.
Even R/3 uses the word message for the internal communication between
applications. While this is totally OK from the abstract point of view of data
modelling, it may sometimes cause confusion if it is unclear whether we are
referring to IDoc messages or internal messages.
The specification of the message type along with the sent IDoc package is especially
important when the physical IDoc type (the data structure of the IDoc file) is used
for different purposes.
A classical ambiguity arises in communication with customs via EDI. They usually
set up a universal file format for an arbitrary kind of declaration, e.g. Intrastat,
Extrastat, Export declarations, monthly reports etc. Depending on the message type,
only applicable fields are filled with valid data. The message type tells the receiver which fields are of interest at all.
Partner Profiles – How to Know the Format of the Partner
Different partners may speak different languages. While the information remains the same, different receivers may require completely different file formats and communication protocols.
This information is stored in a partner profile.
In a partner profile you will specify the names of the partners which are allowed to
exchange IDocs to your system. For each partner you have to list the message types
that the partner may send.
For any such message type, the profile tells the IDoc type, which the partner expects
for that kind of message.
For outbound processing, the partner profile also sets the media to transport the data to its receiver, e.g.
• an operating system file
• automated FTP
• XML or EDIFACT transmission via a broker/converter
• internet
• direct remote function call
The means of transport depends on the receiving partner, the IDoc type and message
type (context).
Therefore, you may choose to send the same data as a file to your vendor and via
FTP to your remote plant.
Also you may decide to exchange purchase data with a vendor via FTP but send
payment notes to the same vendor in a file.
For inbound processing, the partner profile customizsng will also determine a
processing code, which can handle the received data.
IDoc Type – The Structure of the IDoc File
The IDoc type is the name of the data structure used to describe the file format of a specific IDoc.
An IDoc is a segmented data file. It has typically several segments. The segments
are usually structured into fields; however, different segments use different fields.
The Idoc type is defined with transaction WE30, the respective segments are defined
with transaction WE31.
Processing Codes
The processing code is a pointer to an algorithm to process an IDoc. It is used to allow more flexibility in assigning the processing function to an IDoc message.
The processing code is a logical name for the algorithm used to process the IDoc.
The processing code points itself to a method or function, which is capable of
processing the IDoc data.
A processing code can point to an SAP predefined or a self-written business object
or function module as long as they comply with certain interface standards.
The processing codes allow you to easily change the processing algorithm. Because
the process code can be used for more than one partner profile, the algorithm can be
easily changed for every concerned IDoc.
The IDoc engine will call a function module or a business object which is expected
to perform the application processing for the received IDoc data. The function
module must provide exactly the interface parameters which are needed to call it
from the IDoc engine.
In addition to the writing of the processing function modules, IDoc development requires the
definition of the segment structures and a series of customising settings to control the flow of the IDoc engine.
In Summary
Customise basic installation parameters
Define segment structures
Define message types, processing codes
Segments define the structure of the records in an IDoc. They are defined with transaction WE31.
Check first, whether the client you are working with already has a logical system
name assigned.
The logical system name is stored in table T000 as T000-LOGSYS. This is the table
of installed clients.
If there is no name defined, you need to create a logical system name . This means
simply adding a line to table TBDLS. You can edit the table directly or access the
table from transaction SALE.
The recommended naming convention is
sysid + "CLNT" + client
If your system is DEV and client is 100, then the logical system name should be:
DEVCLNT100.
System PRO with client 123 would be PROCLNT123 etc.
The logical system also needs to be defined as a target within the R/3 network.
Those definitions are done with transaction SM59 and are usually part of the work
of the R/3 basis team
see this link for all info on idocs
http://abapprogramming.blogspot.com/2007/11/abap-idocs-basic-tools.html
thanks
karthik
reward me points if usefull

Similar Messages

  • VAN-XI-SAP Scenario for EDI

    Hi,
    We would like to get the EDI from our trading partner's VAN to our XI using Seeburger EDIINT AS2 adapter. Is this possible? If yes, what are the things we should keep in mind.
    Your help will greatly appreciated.
    Thanks.
    Karma

    Hi,
    Check out this document
    http://www.seeburger.com/fileadmin/com/pdf/SAP_Exchange_Infrastructure_Integratio_Strategy.pdf
    Also this thread
    Need Material on Seeburger Adapters.
    Thanks,
    Prakash

  • Problem with Sender Agreement for EDI File to Idoc scenario

    I'm configuring PI for EDI with Seeburger Adapter (Calling as a Module) and I'm having an issue with the Sender Agreement using File Adapter.
    Process used is File to IDOC. EDI data will be picked up from VAN (Using existing FTP process rather than using Seeburger FTP) and stored in a folder which is being accessed by PI  to send to R/3 to create orders.
    All my inbound EDI will be stored in same folder which should be picked up by XI and distribute the same depending upon the respective scenario's in ID and respective mapping/config in IR.
    The whole process IR & ID works fine and also creates Idoc in R/3, if I configure for one customer for EDI 850, but when I try to configure for second customer for same EDI 850 having same ANSIX12 version (V4010) as previous customer, I get stuck at the Sender Agreement part for this second customer because I use the same CC for File read for both the customers (Scenarios) and since there is a limitation with File Adapter "sender channel must not be assigned to more than one sender agreement ".
    How can I create the Sender Agreement using the same CC for my other scenario?
    I tried creating multiple CC for different scenario but when I place a test file for customer A, I see that its being picked up by both CC's.
    Pl Advise.
    Thanks!
    PSR

    You need to configure splitter as module in sender file adapter (classifier->bic->splitter) as well as define a message splitter(with partner number and Seeburger mapping) in Seeburger workbench.
    Thank you for the reply Aamir,
    Do you have any document which can guide me through the process?
    Does Seeburger Workbench play any role here? because I'm not using See FTP adapter to connect to my VAN. We get the data from the VAN using FTP process but not using See FTP. I'm using BIC to generate an XSD and SDA file, rest everything is in XI using File to idoc and IDOC to file process.
    Thx
    PSR

  • Best practise for EDI-IDOC scenario

    I want to create a EDI-IDOC scenario for invoicing our customers.
    There are 2 options that I can use, create partner profiles of type KU for each of our customer that we will be invoicing or have
    a LS for XI and configure the same.
    My company has around 400 customers. So incase i chose to go with KU then i have to configure 400 partner profiles right?
    Which is the best practice for this scenario?

    As stated above, you can use LS partner instead of KU partner. There are, however, some pros and cons to be considered:
    1) Post-processing agent assignment. If you have different people working with different customers you can assign them as post-processing agents to the respective partner profiles. If you switch to LS you will need to have only one agent (it might be a group of people though).
    2) When you have a separate profile for each customer then the customer number is included in the IDoc control record. This allows to quickly view the IDocs by customer number. E.g. if a customer calls and asks where the heck is my document then customer service could easily see all the IDocs for that customer in WE05, for example, and check what's going on. With LS they would have to dig into the segments for that.
    So the business process requirement decides this. If you don't care for any of this you might be even better off using LS instead of KU, because it requires less maintenance.

  • Scenarios for ale/idoc/edi

    can any body pls give the real time scenarios for the ale/ido/edi. pls very urgent. ur answer will very helpful 2 me.

    Hi,
    Please check these examples of real time scenarios are:
    1. Outputting Purchase Orders as IDOCs on saving the PO.
    2. Outputting Inbound Delivery on receipt of ASNs.
    3. Processing Goods Receipt from a third party system.
    Regards,
    Ferry Lianto

  • How to use pre-defined scenarios for RosettaNet with XI 3.0

    Hi all.
       I am working in Comgroup Shanghai co. ltd. which is partner of SAP China.
       We have a potential customer who use RosettaNet as their Supply Chain EDI system.
       I would like to make a demo for demostrate the pre-defined scenarios for RosettaNet RNIF 2.0 packages.
       Where can I find such guideline ? I have checked the article: implementing RosettaNet with XI 3.0, but it cannot help me.
       Another question is how I can develop my own scenarios for the RNIF standards which are not included in XI RosettaNet business package ?

    Hi Andy,
    See the instructions below after you installed the RosettaNet STK.
    Below given is the sample config for PIP3B2 Scenario. Part I is using STK and Part II is using 2 XI systems.
    <b>Part I. Test Using STK</b>
    In your XI ID:
    1) Define both the parties 1) Shipper(Your Partner) 2) Receiver(Your company) with identifiers like DUNS Number.
    2) In ID goto>Tools>Transfer Integration Scenarios from IR-->select the scenario "PIP3B2_Receiver" from the drop down list.
    3) Follow the 4 steps in the config wizard.
    4) While creating your CC, create it from the channel template delivered with the RosettaNet BP.
       4.1) Specify the URL for STK which should be in the following format
    http://<STK Server>:<port>/rosettanet/servlet/listenerServlet?userId=<Party Name>
       4.2)In the location fields, enter your location and your partner location.
    In your STK
    1) Start the RosettaNet STK.
    2) enter the UserID<Partner Name in XI>
    3) Select the Test Scenario, 3B2V01.01-AdvanceShipmentNotification-0001-Scenario-Shipper
    4) Enter Global Business ID(DUNS Number) and Location ID for both the partners. These fields should be same as in your R/3 Party configuration.
    5) Enter the URL as follows:
    http://<XI Server:<J2EE_Port>/MessagingSystem/receive/RNIFAdapter/RNIF
    If everything is configured correctly as mentioned, you should be able to test your single-action scenario.
    <b>Part II Test using another XI System</b>
    For these follow the steps above for XI Config.
    Configure one XI System as PIP3B2 Shipper using the Scenario "PIP3B2_Shipper" and config wizard as mentioned above.
    Configure the other XI as PIP3B2 Receiver using the scenario "PIP3B2_Receiver" and config wizard.
    In the Url field, specify the URL as follows:
    http://<XI host>:<J2EE_Port>/MessagingSystem/receive/RNIFAdapter/RNIF
    Hope this helps.
    Regards,
    Sam Raju

  • XSD for EDI 850 ( X12 standard )

    Hi Everybody,
    can you please provide XSD for EDI 850 ( X12 standard )? i need to import this XSD as an external definition in to IR.
    Please help me in this.
    Thanks,
    Vijay Kumar T.

    Hi Vijay,
    If you want to exchange EDI 850 messages means you have to use Seeburger Adapter for your business requirement.
    Or else you can go for Conversion Agent for the similar type of requirement.
    Assume that you are going with the Seeburger Adapter means, you have to get the seeburger Package and install it on Xi Server as pethe Installation giude.
    Once you install the Seeburger on Xi server means you are able to see the SWCV of seeburger in IR.There you can see the Required XSD's Under External Definitions of the Seeburger SWCV.
    Copy that & Import it as a External Def in your Scenario.
    Until and unless you install the seeburger adapter on Xi server, you cant get the XSD for EDI 850 or 855 or 860.....
    First of all can you please share your business requirement. so that our guys can help you regarding this.
    Regards
    Seshagiri

  • Mapping handling in third party vs SAP PI for EDI 850

    Hi Experts,
    Can I know Pros and Cons for hanling mapping translations in third party vs handling mapping translations in SAP PI for EDI 850 interface.
    We are already paying money to third party. I just need pros and cons.. we will choose best approch based on your valuable points 
    Appreciate your help.
    Regards,
    Krishna.

    Hi Mohan,
    Pros:
    SAP PI is a middleware and all Middlewares work pretty much on the same principles.
    I am assuming that EDI 850 would have some sort of structure, [ to be honest I have not worked on EDI but just read about it] and SAP PI would require you to convert this structure into XML -> the only language SAP PI understands.
    Now, I am sure there are lots of third party adapters available in the market for EDI. PI will give you flexibility to convert this interface into any kind of requirement be it JDBC/FILE/IDOC or anything and vice versa is also true. PI give you this enormous ability to convert to and from any format as long as it is viable.
    Last but not the least, it will provide a robust system with Alerting and Monitoring.
    Cons: You may have to invest on a third party adapter to read the EDI
    You can read the following links for more abt EDI and SAP PI:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10b17369-9522-2c10-84a6-d75d8a8ace22?overridelayout=t…
    Step by step interface for IDOC ORDERS05 to EDI 850 using B2B add-on and getting Functional acknowledgement 997 back
    EDI 850 to R/3 scenario
    Thanks & Regards,
    Tejas Bisen

  • BADI for EDI Invoice outbound

    Dear experts,
    in my special scenario I would like that in the EDI outbound invoice Batch qty. is not showing for segment E1EDP19 which is showing only the Batch nr. I wanted to use a BADI for EDI outbound invoice which uses the logic for transfering Batch qts. in the IDOC?
    Thanks and advice.

    Hi Ram,
    thanks. Do we have a sepeicifc BADI also??
    When IDOC is passed to the externnal system one uses BAPIs, what about before the IDOC is passed, I want the IDOC
    content(BATCH QTY.), in the SAP itself, to have the Batch qty. passed in the IDOC.
    The standard SAP shows only Batch nr. and not the BAtch qty.
    Thanks and advice.

  • Business scenarios for daily, weekly and nightly loads!!

    Can any body tell some Business scenarios for daily, weekly and nightly loads where we monitor the loads in Production support.
    Regards
    srikanth.ch

    Hi,
    It all depends on your business needs. In general on daily basis you will load the SD and MM which will cover all the stock and sales done for day. Generally most of the clients use Lo Cockpit extraction for both the modules. FI chains will run on month end for example the AP(Accounts Payable),AR(Accounts Receivable) chains will be run on the month end.
    Some SD datasources : 2lis_13_vdhdr, 2lis_13_vditm, 2lis_13_vdkon - all these to pull billing related data
    Some MM Datasource : 2lis_03_bx and 2lis_03_bf.
    Regards,
    Harish Raju

  • Partial confirm on customeru2019s order quantity for EDI sales order

    Hi All,
      Our company is using ECC 6.0. We seem to having issues with orders coming through EDI u2013 i.e. it will not partially confirm what we have in stocks and just reject the whole line. E.g. If the customer is ordering 300 units for an material and we have 200 units in stocks only, it will zero confirm instead of partially confirm 200 units. If I try to manually key in the same material in the same sales order then it will partially confirm it (I.e. 200 units) instead of zero confirm.
      I have checked the ATP check rules and it seems everything alright. Any idea why this would happen only for EDI orders? Are there any EDI setup that will cause this issue? Any ideas where I can looks for the potential issues might be?
      Thank you.

    Evidence,
    What happens when you enter the order manually (VA01)?
    Best Regards,
    DB49

  • Typical business case scenarios for SharePoint 2013 Apps

    What are the typical real time business case scenario for 1. SharePoint Hosted apps 2. Auto Hosted apps 3. provider hosted Apps? Why people choose any of this model apps model in comparison to typical On-Premise solution? 
    Another question comes is when should one go for On-Premise solution rather than Apps? What are real time scenarios?

    Let's discuss first whether to develop apps or full trust solution.
    Talking about technical aspect, On-Premise solution is popular choice for organizations who have SharePoint hosted on premise (not SharePoint Online). However, if you are using SharePoint Online, there's no choice except Apps (and possibly sandbox but deprecated).
    So for SharePoint Online only viable solution is developing apps. However for on-premise you can develop full trust or apps. However since apps requires a bit more configuration and not yet full feature set as you can do with full trust, most people are still
    developing full trust solution on premise.
    Talking about business requirement at hand, you can develop apps (even in on-premise), if your requirement is really looks like an app. For example, you would like to develop a SharePoint solution, that will show data from SAP inside SharePoint. The solution
    mostly nothing to do with SharePoint but calling SAP services to perform stuffs. So you can develop an apps and deploy inside SharePoint. Another example is import CSV files in SharePoint list, you can write an apps. But mostly I think you need to decide whether
    to develop apps depends on the Apps API ability. The API is still very limited in features/functionalities. So even if your requirement looks like apps you can't develop apps if the current SharePoint Apps API doesn't support the functionality. 
    Now let's talk about which apps model you would like to use SharePoint Hosted apps means everything hosted inside SharePoint and no other external infrastructure is required. One example is the CSV file upload apps. However, with SharePoint hosted apps,
    you can't use C# rather you just have javascript to develop the apps. There's rumours that auto hosted apps will be deprecated not sure but there's not more conceptual difference apart from where the apps is hosted (both hosted outside SharePoint). Provider/auto-hosted
    apps will be running outside SharePoint (i.e., in IIS web site), and communicate to SharePoint through REST or client object model. One provider hosted apps in the office app market is adlib pdf conversion. The apps allows you to select multiple files and
    covert them to pdf file. Basically the conversion site is hosted somewhere outside (in the provider's infrastructure). When you select all the files and click 'convert' from ribbon user is redirected to the provider site (different url) and the files are merged
    and converted to pdf. Since it's outside of sharepoint, you can use any development language (C#, java, php etc.). The provider hosted app talks to sharepoint through REST or client object model.
    So in summary, sharepoint hosted app has less complexity as it doesn't require another infrastructure and runs inside sharepoint. However you are limited to use only javascript to develop your apps. On the other hand with provider hosted apps, you can use
    any development language but you need to consider extra level of security/complexity to integrate the app with sharepoint.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com
    Thanks for this nice reply. Plz clarify if only Auto hosted apps will be deprecated or provider hosted apps also may be deprecated by MS?

  • Complicated Free goods scenario for Beverage

    Hi
    These are scenario for F&B business - mostly they have complicated promotion on free gifts which I think SAP standard cannot cover it. If any of you has the similar cases, please share how you handle it, thanks.
    1. Buy soda water size 10 oz regardless of soda taste for 1 pack (1 pack consist of 24 bottles) then get 1 bottle free.
    2. Buy soda water size 10 oz regardless of soda taste for 1 pack, then get 1 bottle free - maximum at 2 sets.
    3. Buy soda water either size 10 oz or 15 oz for 1 pack, get 1 bottle of 10 oz free
    4. Buy soda water regardless of soda taste as set i.e. for every 36 packs of combine size 10 oz, 15 oz and 1 lt - get free items of 10 oz/15 oz for 2 bottles per pack and free item of 1lt for 1 bottle per pack
    5. Similar to 4 with additional condition that 1 soda taste must be more than 50%  - for example, it must be coke at least 50%
    6. Sales quota - Buy 1 pack, get 1 bottle free - maximum 100 bottles for each customer
    Please kindly share your experience or ideas. Thank you
    Chanchana

    HI Chanchana,
    I had a similar problem while configuring Free goods in Ceramic Industry(Sanitaryware division).
    For Eg: In the case of wash-basins, basins of different colors are defined as different materials, an the requirement was to
    2 Black & 2 red = 1 tap free
    or
    1 red, 1 white & 1 black = 2 taps free.
    We did a lot of R&D considering std SAP free goods scenario, out of which I can conclude the following:
    1) Std SAP allows only 1 + 1(Same material, inclusive) or 1 + 1(different material, exclusive) to be configured as free goods.
    In your case if the main material and the free goods are defined as two different materials and there is no 3rd material coming into picture only then free goods config will work.
    For Eg: For 10qty Material A, 1 qty of material A free - possible
                For 10qty of material A, 1qty of material B free - possible
                For 10qty of Material A, 5 qty of Material B, 1qty of Material C free- not possible in std SAP.
    You can convince this to your client, but if they still insist on having the same, you will have to develop a custom 'Z' application which will control the same. However, the same might turn out to be very complex, since pricing, COGS of the free material has to be taken care of along with a lot of other factors. Also the delivery and billing has to go through std SAP, mapping of which will be complex again.
    All the best.
    Regards,
    Amit
    Edited by: Amit Iyer on Sep 20, 2010 10:17 AM

  • Logic to retrieve batch number in batch split scenario for a material

    Hi All!
    LIPS-CHARG gives the batch number for a material in normal scenario.But in batch split scenario for a material what should be the logic to retrieve the field batch number based on POSNR,VBELN and UECHA in LIPS.
    UECHA corresponds to higher level item of a batch.
    I had been given the following logic to do the same but it is not pulling any values inspite of a batch split available for the material.The logic is
    Select lips-charg (batch number) where  lips-posnr = lips-uecha ( higher level item batch)
    Please advise
    Regards
    Praneeth

    Hi Praneeth,
    The way LIPS records are in a batch split scenario is that let us say you have a delivery with one line item 00010. Now if this splits into two batch split items, then you will find in LIPS 3 records, one with line item 00010, one with 90001 and another with 90002. Both 90001 and 90002 will have a UECHA of 00010, whereas for 00010, this field will be blank. So the logic is to create two internal tables one where UECHA is blank and another where it is not blank and use it.
    SELECT * FROM LIPS
             INTO TABLE I_LIPS
            WHERE VBELN = P_VBLEN.
    I_LIPS_TEMP[] = I_LIPS[].
    DELETE I_LIPS_TEMP WHERE UECHA IS INITIAL.
    *-- This table will not have only the batch split items not the main items.
    LOOP AT I_LIPS WHERE UECHA IS INITIAL.
    *-- loop at the main items.
      IF I_LIPS-CHARG IS INITIAL.
    *-- batch is not there on the main item, see if it is there on any batch split items.
        READ TABLE I_LIPS_TEMP WITH KEY UECHA = I_LIPS-POSNR.
         do whatever
      ENDIF.
    ..... do whatever
    ENDLOOP.

  • Is model view(BD64) necessary for EDI

    is model view created using BD64 necessary for a EDI transactions? I have created a logical system, a RFC destination and a EDI File Port.
    After all this i am trying to push a material master data using BD10 to the file port. When i do that the system gives me a message saying that master idoc created but it does not create a communication idoc. Only if i have a Model view set up in BD64 it creates a communication idoc. So my question is do we need a model view for EDI configuration?
    ~Suresh

    Hi,
    BD64 is required for master data distribution..
    If you are having a interface that sends IDOCs to the customer or receive IDOCs from the vendor..You don't require BD64 setup..
    Thanks,
    Naren

Maybe you are looking for