To write data as an IDOC for EDI 858 (bill of lading) through reports.

Hey everybody,
I need serious help about this. I am back to my question that I asked before. I don't understand still how to write out the data as an IDOC when we are not doing EDI through a VAN but dumping the file onto both application and presentation server and then taking the file from there and manually uploading the file to the website. So it is basically a flat file created where the data is written out in the same way as it would be done when an IDOC is generated. In this there is no XML data conversion involved or anything but writing out data as an IDOC for an EDI 858.
Please somebody explain and if possible give me some bit of code or link to where I can find something similar that would help.
Thanks,
Minal

Hey thanks for all ur help..
Now see lemme jot down the scenario and the solution that I have thought of (with ur help)...
See we have only CRM and no R/3 here...right
Now using CRM transaction CRMD_BUS2000115(Maintain sales Transaction) I create an order. Ok..the transaction type attached to it is a Z transaction type ZSAM...ok ...and I have a Z action profile ZST_ORDER_MESSAGES where I have scheduled the automatic method call to send Bdocs...ok...
Now this will send Bdocs to the site which I will define using transaction SMOEAC and assign here. Now the Bdocs structure is complex as it flows as per GUIDS in this case (i.e. CRM ) right.....
So I need to map these Bdocs to Idocs throgh some selection programs (e.g RBDMIDOC) but I don’t know if this is right or will it at all help?
Then my plan is that once I get the Idocs I can have all the normal config as in R/3 wherein I will
1. define the RFC
2. define the Logical system
3. define the receiver port
4. define the partner profile
5. create the site and assign it to the interface type.
But how will I map the Bdocs to the idoc ...can u please help me with this?
Priyanka

Similar Messages

  • Creating outbound IDOC for EDI

    HI All,
    I have to create an IDOC for EDI. Can anyone tell be the function module to create an IDOC for EDI. I know MASTER_IDOC_DESTRIBUTE, but it is only used for ALE.
    Can anyone help me in this.
    Thanks.
    Shweta

    Dudes:
    It sounds to me like all of you guys need some training and some understanding of the basics.
    MASTER_IDOC_DESTRIBUTE is called by the standard IDoc interface after an IDoc has been built and is ready to be kicked out the door. It provides all the services needed to write the idoc to the database and send it out through the partner profile and file or tRFC port. It's used both for ALE and EDI IDocs.
    I cover the processing flow extensively in my new book from SAP Press "Architecting EDI with SAP IDocs". The book is available from:
    http://www.sappress.com/product.cfm?account=&product=H3003
    I also cover these topics in my IT Toolbox blog at:
    http://it.toolbox.com/blogs/ehadzipetros
    And my SDN blog at:
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417600)ID1280983950DB11991735787968519403End?blog=/pub/u/252038725
    Good luck. ejh,

  • Write data from Oracle 9i 64 bit to Oracle 32 bit through database link

    Hi to All:
    We are using following Oracle 64 bit application.
    Operating System: Sun Solaris 5.9
    Database: Oracle 9i (64 bit)
    Machine: Sun Server Spark V890
    Now my questin is that I want to move data from the production database running in Oracle 9i 64bit on Sun server to Oracle 9i 32 bit on Windows Server 2002 thru database link.
    I heard that it is not possible to write data from oracle 64 bit to oracle 32 bit, no matter what operating system we are using.
    Please confirm me that whether we can write data through database link from Oracle 9i 64 bit to Oracle 32 bit.
    Please specify every possible solution or any site from where I can have the solution.
    Thanks in advance.
    Hassan Raza Khan Lodhi

    Create a test table ( in 64bits db) , add some data
    From 32bits create a dblink
    Execute the following query
    create table test_32
    as select * from test64@dblinkto64;
    Michael

  • FICA -IDOC for posting the billing data from NON-SAP ISU system

    Hi,
    Kindly note we are implementing NON-SAP ISU with SAP FICA for the finance implementation. In this context, we ahve identified BAPI for BP and CA. We have decided to go for transaction posting through the transaction FPE1. For this, we are looking for the transaction data IDOC which is CTRACDOCUMENT_ACCOUNT (FICA Posting)  in the WEDI. But it seems that it is not yet released. Can anybody help me out for this to either identify the equivalent IDOC or other method to post the data from Banner system (NON-SAP ISU ) system. We are presently not implmenting billing system in SAP ISU, but only FI system

    Hi,
    you can create the same...
    but normal practice what we do is create swc for each system so that it is easy to maintain and easy to extend in the future..
    or else follow some conventions if you are just starting the things..
    HTH
    Rajesh

  • Idoc for EDI

    Hi I want to know how do we serch for standard IDocs associated with some EDI. I want to search for Idoc associated with EDI 276 & EDI 277. How can I search it & can some body tell me the idoc  name itself if also possible with procedure

    hi
    http://www.sap-img.com/basis/difference-between-edi-and-idoc.htm
    http://www.sap-img.com/basis/explain-what-is-idoc.htm
    http://www.sap-img.com/abap/ale-bapi.htm
    nagesh

  • Trigger outbound IDOCs for EDI - CONTROL & APERAK messages

    Hello All,
    We have a scenario that customer transmits their EDI - ORDERS message and upon receipt of ORDERS, requires us to forward CONTROL and APERAK for any issues with ORDERS message. Checked different outputs and did not find suitable one. WIll appreciate, to know, the corresponding message/idoc types for CONTROL and APERAK and how to trigger.
    Thanks in advance,
    Renu

    Hi Nikhil,
    I tried the following Message Control settings for Message Type - PORDCR1 / Partner - SNC Logical System:
    a. Application = EF; Message Type = BAPI; Process Code = ME10 ; Change Indicator = Checked
    b. Application = EF; Message Type = BAPI; Process Code = ME11 ; Change Indicator = Checked
    c. Application = EF; Message Type = BAPI; Process Code = ABI_AIDN_OUT (the only option available in dropdown) ; Change Indicator = Checked
    I tried chnaing an existing PO after saving each of this setting. There is not outbound Idoc that is getting trigerred.
    Regards,
    Bharath

  • How to write data to the DAQ for a specified length of time while still reading the input data?

    Hello,
    I'm using labview 2012 and am trying to turn on a signal for a specified length of time in labview at the press of a button. The signal goes into an AO (PXI 6723) through my system, where the voltage gets divided by 2, the read in through the AI (PXI 6225). I want to write and read voltage constantly and then have a spike of voltage after pressing a button in LabView while still reading the voltage value for the specified amount of time.
    Parameters:
    constant voltage of 1 volt to Analog output (reading and writing) seen through a waveform chart.
    for 1 second, turn on 3 volts and see the response on the waveform chart.
    My specified delay time does not match the elapsed time. I am having difficulties doing this. I have attached the VI.
     ( I can't upload a functional VI since it shows "the contents of the attachment doesn't match its file type") How can I attach the VI?.
    Thanks!
    Eduardo

    Mike,
    Thank you for your reply! I greatly appreciate it. I currently don't have any DAQmx timing in my application. I tried using it and, without really understanding how it works nor how to manipulate it, the whole test end up taking a long time to change the values i.e. too slow.
    The DAQmx timing I used was the sample clock since it was for analog signals, but I don't really understand the buffer, what that means nor how to use it. inputting a rate time for it also made my test slower. The rate time is the samples per channel per second, but I'm not sure how to determine a number so that I am collecting the data I need and take into account aliasing.
    I know the PXI 6225 has the capability to read 250kS/s (which I am assuming it's kilosamples per second or 250,000 samples per second). I am using 32 differential channels. I have read that I have to divide the maximum sample rate by the number of channels, (250kS/s / channels) but I don't know if I should count the number of total channels (64) or differential channels(32). In other words, is the per-channel maximum rate:
    250,000/32 = 7,812.5 samples per channel per second, or
    250,000/64 =3,906.25 samples per channel per second
    Furthermore, If I know the number of samples per channel per second, how can I implement that knowledge to the DAQmx sample clock so that my sampling is as fast and as accurate as it can be?
    I attached an image of my DAQmx functions in my code, I merged all the stacked sequence structures in paint so you can see them.
    thanks for your help!
    Eduardo
    Attachments:
    DAQmx tasks.jpg ‏211 KB

  • Idoc type for EDI 210

    Hi ,
    Is there any Basic Idoc for EDI 210 ??? Basically its an invoice . or else i have to create a custom IDoc??? Please let me know .
    Thank you
    Kalyan

    Hi,
            edi is a format of exchanging data between 2 systems.......idoc(intermediate document) is a format in which R/3 systems can communicate data with eachother....so EDI-IDOC application will be dealing with EDI format and IDOC format of R/3 data..........
    <b>Reward points</b>
    Regards

  • IDocs for Invioce and Delivery

    Hi all,
    I have to send the customer the Invoice and Delivery confirmation for that order placed by him through an IDoc in background job.
    We are going for a standard IDoc for invoice and Delivery also but how to fill the data into that standard IDoc.
    1.Do we have standard report like (BD12, BD14, BD10 etc.)
    2.Should we develop a report to fill the data into that Idoc.
    Please help me to find standard report or please help me to write code for that standard IDoc.
    Thank you all in advance,
    Regards,
    Shalem.

    Hi Shalem,
    You need to do the following activities.
    - Setup condition record (t/code <b>NACE</b>) for shipping (V2) and billing (V3).
    - Setup output type (t/code <b>NACT</b>) for shipping (V2) and billing (V3) with transmission medium <b>A</b> (ALE).
    - Setup procedures (t/code <b>NACZ</b>) for shipping (V2) and billing (V3) if required.
    - Once the above setup are done, for any creation of billing and shipping will create entries into table <b>NAST</b> (Message Status).
    - Then you can create IDoc using this standard program <b>RSNAST00</b>. Please ensure your ALE and IDoc configuration have been done such as BD64, WE20, WE21 and etc.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • SAP MAPPING for EDI 857

    Hi All,
    I have to send EDI 857 Information from SAP. Could you please let me know which IDOC should i use to achieve the functionality. I appreciate if anybody can send me the mapping document of EDI 857 from SAP.
    Thank You,
    Suresh

    Hi,
    I have to send the Shipment/Billing Information and the triggering point is When we save the Shipment of the Delivery.. I am using SHPMNT03 IDOC for Shipment Details.. I am thinking of extending the SHPMNT03 IDOC for getting the billing details. Is this the right way for sending the Shipment/Billing Information to EDI 857 ?
    Thank You,
    Suresh

  • To Update the IDOC segment values through report program

    My requirement is to update the Idoc segment through the report program. Any SAP provided standard function module is available to update the Idoc segment values. Please help needed.

    DATA: LT_EDIDD TYPE STANDARD TABLE OF EDIDD."Local Table to Hold EDIDD
        LT_EDIDD = I_EDIDD. "table should have the data
    *-- Opening the IDoc for Edit
        CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_EDIT'
          EXPORTING
            DOCUMENT_NUMBER               = X_EDIDC-DOCNUM
          TABLES
            IDOC_DATA                     = IT_EDIDD
          EXCEPTIONS
            DOCUMENT_FOREIGN_LOCK         = 1
            DOCUMENT_NOT_EXIST            = 2
            DOCUMENT_NOT_OPEN             = 3
            STATUS_IS_UNABLE_FOR_CHANGING = 4
            OTHERS                        = 5.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    *-- Editing the IDoc
        CALL FUNCTION 'EDI_CHANGE_DATA_SEGMENTS'
          TABLES
            IDOC_CHANGED_DATA_RANGE = LT_EDIDD
          EXCEPTIONS
            IDOC_NOT_OPEN           = 1
            DATA_RECORD_NOT_EXIST   = 2
            OTHERS                  = 3.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    *-- Closing the IDoc after Edit
        CALL FUNCTION 'EDI_DOCUMENT_CLOSE_EDIT'
          EXPORTING
            DOCUMENT_NUMBER  = X_EDIDC-DOCNUM
            DO_COMMIT        = 'X'
            DO_UPDATE        = 'X'
            WRITE_ALL_STATUS = 'X'
          EXCEPTIONS
            IDOC_NOT_OPEN    = 1
            DB_ERROR         = 2
            OTHERS           = 3.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    thanks
    vijay

  • Data Conversion rules for EDI processing (same client IDOC processing)

    Hi,
    I am trying to post IDOCS in same client.Its a PO->SO process.
    ie. there will be 1 outbound and inbound idoc in same client using EDI processing.
    I am using Data Conversion using Rulesfor converting sender fields.
    The LIFNR and PAORG od segment E1EDKA1 has to be converted.
    For ALE processing, the Data conversion is been done correctly.
    But no conversion is done for EDI.
    Can anybody help me with this problem ?
    Thanks in advance.
    Regards
    Megha

    Issue solved

  • 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

  • EDI/IDocs for WMS

    Hi all,
    I need sample code and processing steps for EDI-IDocs for WMS concept.

    Hi,
    check this it wil be helpful to you.
    Electronic Data Interchange
    Cross-company exchange of electronic data (for example business documents) between domestic and international business partners who use a variety of hardware, software, and communication services. The data involved is formatted according to predefined standards. In addition to this, SAP ALE technology is available for data exchange within a company.
    Refer
    http://www.erpgenie.com/sapedi/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm
    https://www.2020software.com/products/Fourth_Shift_Edition_for_SAP_Business_One_Electronic_Data_Interchange.asp
    http://downloads-zdnet.com.com/SoftwareandWebDevelopment/SoftwareDevelopmentTools/ElectronicData+Interchange/
    http://www.erpgenie.com/sapedi/index.htm
    http://www.kostal.com/english/downloads/EDI_AGB_eng.pdfd
    EDI FLOW :
    Here is some thing which helps you and here the purchase order is taken as example too..
    Electronic Data Interchange, or EDI, is the electronic exchange of business data. Using a standard format, EDI provides a method of transmitting business data from one computer to another, without the need to re-key data. This electronic link can result in more effective business transactions. With EDI, paper documents such as invoices can be replaced with electronic transmissions, thus time is saved, and the potential for error is minimized. Data can be exchanged at any time. Related business expenses, such as postage, printing, phone calls, and handling, can also be significantly reduced. EDI can aid in the support of manufacturing efforts, such as Just-in-Time and Third Party Warehousing, and financial efforts, such as Electronic Payments.
    What parts of the business cycle can be supported by EDI?
    Any business documents that are currently exchanged using paper can be converted to an EDI. Standards. Standards include ANSI X12 and XML/EDI are primarily used in the United States, while EDIFACT is used in Europe and Asia.
    How does EDI get started?
    EDI gets started when one company contacts another expressing interest in trading business documents electronically using Electronic Data Interchange. The two companies must first determine each other's EDI capabilities. If you do not already know your EDI capabilities, we have prepared a questionnaire to help you determine them. If you are already EDI capable, we will coordinate with your technical staff to determine a testing plan. Upon completion of testing the EDI documents, the appropriate business personnel will set a production start date to begin the exchange of EDI business data. If you are not EDI capable, we recommend you first obtain a commitment from your upper management. Your company will need to allocate resources and capital for software, hardware, testing, possible programming, and training.
    What is the flow of EDI?
    The flow of EDI depends on the sophistication of your systems and your EDI software. If you have internal purchasing/order entry systems, you will need interface programs that can extract and insert data out of and into these systems. EDI programs that interface with your internal systems are preferred over software that requires re-keying of data. Embassy Software specializes in seemless interface between EDI and your back office systems. Using a purchase order as an example of a business document your customer would send that PO electronically (850) to you. It could be sent either through a VAN (Value Added Network) or through an FTP server. You would take that 850 and convert it either into and ODBC database, a flat file or XML document to be imported into your Order System with the use of EDI Software such as PassportXchange.. Using EDI communication software, which is part of the PassportXchange package you would pull down data at set intervals from the VAN or FTP. These documents are then processed through EDI translation software and output to our order entry system. Finally, an EDI document called a functional acknowledgment (997) is sent to your customer.
    check this.
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm
    https://www.2020software.com/products/Fourth_Shift_Edition_for_SAP_Business_One_Electronic_Data_Interchange.asp
    http://downloads-zdnet.com.com/SoftwareandWebDevelopment/SoftwareDevelopmentTools/ElectronicData+Interchange/
    http://www.erpgenie.com/sapedi/index.htm
    http://www.kostal.com/english/downloads/EDI_AGB_eng.pdfd
    cheers,
    sowjanya.

  • Message type ,IDOC TYPE , PROCESS CODE for Edi 990

    Hi ,
    Please provide the Message type ,IDOC TYPE , PROCESS CODE for Edi 990 (Response to a Load Tender).
    Thanks in Advance.
    Ajay Kolla

    Hi
    Pls check the below links
    1. http://www.erpgenie.com/sap/sapedi/ansi.htm
    2. http://www.erpgenie.com/sap-technical/ale-edi-b2b/master-data-message-types-idoc-types
    Hope this may helps you.
    Regards
    Sirigiri

Maybe you are looking for