Data struck up in ALE inbox

Hi,
While tried to load Masterdata from ECC,  Data struck-up in ALE inbox E1RSSH -> E1RSHIE and it is popping up with a error in process monitoring that 21,35 and 65 node id's are missing. PLease help me out with process of eliminating those records and load the data into Info object.

Hi,
Is the job in source system still active. Job name BI_reqnumber
Also check SM66 in both BW and source system. If you are loading hierarchy it generally takse time to load it.
Regards,
Pravin
Edited by: Pravin Karkhanis on May 28, 2010 3:19 AM

Similar Messages

  • Data stuck-up in ALE inbox

    Hi guys,
    The data idoc has arrived for the hierarchy but not available in infobject, infact the update  mode is ale inbox and infoobject, is there a way to push the data from ale
    to the infoobject hierarchy from R/3.
    Thanks,
    Your help is greatly appreciated

    Hi,
    Go to Monitor> Select your request, Go to Environment Menu> Select ALE inbox--> Go to BW and check do you have any IDOCS stuck here and select them and Execute them Manually.
    If they Stuck in R/3 then
    Go to Monitor> Select your request, Go to Environment Menu> Select ALE inbox--> Go to Source System and check do you have any IDOCS stuck here and select them and Execute them Manually.
    regards,
    rik

  • Data Load - ALE inbox of SAP BW is identical to ALE outbox of the SS

    Hello,
    I am doing a init for a cube, and the load is still running without ending.
    no errors given but when I look at the step by stpe analysis it gives the following message.
    Diagnosis
        No errors could be found. The current process has probably not finished
        yet.
    System response
        The ALE inbox of the SAP BW is identical to the ALE outbox of the source
        system
        and/or
        the maximum wait time for this request has not yet run out
        and/or
        the batch job in the source system has not yet ended.
    Thanks,
    VJ

    Hi Vijay,
    The message you are seeing is a standard message that is shown while the data load is in running state in the monitor.
    Periodically refresh the monitor screen and check whether records are getting extracted.Example if records getting extracted really slow,you will see the figure 'XYZ(records) from XYZ' slowly increasing.
    Also keep checking detail tab to see if steps are slowly turning GREEN or not.
    If load still stuck in yellow,maybe u need to re-run it and look into performance tuning options.
    cheers,
    Vishvesh

  • ALE inbox of BI is identical to the ALE outbox of the source system

    Hi experts
    We have BW 7 on ERP (ECC) 6. We have BW and ERP TOGETHER on the same developing system. BW is designed on developing client 100 (it is future productive client on the future productive system). It is of course default "myBI" source system. Upload is correct.
    But because data is only inside clinet 200 (in the same system) I must create SAP source system client 200. It is correct, RFC destination is corect, source system clnt200 is correct and active.  But data I cannot upload from this source system clnt200 - IDOCs are not correct, BW monitor is yellow and message:
    ALE inbox of BI is identical to the ALE outbox of the source system
    Is mistake in situation "the same system - various clients and sourcesystems"? Do you have any experiences with BW on the same system with ERP 6 and client enviroment?
    Thanks
    Ales

    Hi Ales,
    The problem can often be caused due to missing authorizations with the background user used to receive the data in BW or
    the background user in the source system that sends the data to BW. Please check the authorizations as per the note
    150315 , sometimes SAP_ALL profile does not have the required authorizations so please check that the background users
    have the profiles mentioned in the note 150315:
    As per the note:
    Reason and Prerequisites                                             
    a) In the BW there exist two user:                                   
       i)  a human administrator, using S_RS_ALL                         
       ii) a user called BWREMOTE (or similar), used to receive the data 
           from the OLTP, using S_BI-WHM_RFC                             
    b) In the OLTP there exist also two user:                            
       i)  a human administrator, needing authorizations to create users 
           and RFC-destinations.                                         
       ii) a user called ALEREMOTE (or similar), used to ...             
           1) ... connect the OLTP to the BW                             
           2) ... extract the data                                       
           3) ... send the data to the BW                                
           4) ... show monitoring dialogs                                
           for tasks 1 to 4, the profile S_BI-WX_RFC is used (however does
           not suffice on some points since some authorizations are      
           missing in the delivered profile)                             
           5) ... make customizing of OLTP extractors                    
           for this, additionally the authorizations to execute          
           IMG-functionality, to execute Transaction SBIW and            
           to maintain the applications, which shall be customized, must 
           be given during the customizing functionality is used.        
    I hope that this helps.
    Regards,
    Des.

  • Reading ALE inbox

    Hai,
              How can i read ALE INBOX?
    I have the following in error messages after mydata load failed.
    Diagnosis                                 
         The information available is not sufficient for analysis. You must    
         determine whether further IDocs exist in SAP BW that have not yet been processed, and could deliver additional information.                                     
    Further analysis:                               
         Check the SAP BW ALE inbox. You can check the IDocs using the Wizard or     
         the "All IDocs" tabstrip.                                                   Thanks a lot.

    hi Visu,
    I think you just have to check Idocs sent for this request to your BW system
    your infopackage -> monitoring -> failed request -> IDocs List in the warehouse (F9) -> set selection criteria e.g. timeframes of your request -> execute  and you see a list of IDocs with information about data transfer
    Regards,
    Andrzej
    ps. alternatively Eassy Access menu -> tools -> ALE and find info there

  • Data Management Guide and ALE Monitoring Guide

    Hi All,
    I'm looking for two SAP documents (pdf) that have been available in the past.
    Data Management Guide and ALE Monitoring Guide.
    Have scoured the net and sap.service.com, but can't find them anywhere.
    Does anyone know where the latest versions live?
    Thanks,
    Chris

    they are still available:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000695478&
    Systems Operation
    -> Monitoring
    -> setting up your monitoring
    They are also available in solution manger.

  • Transferring Data across servers through ALE

    Hi, I want to send only some fields data of certain infotypes  from  HR server to FICO server through ALE. Please guide me thorugh the steps to do it.
    Regards,
    Vipul

    In your distribution model (which determines which system will send what kind of data to what system) you can state that your receiving system is the same as your sending system. i.e. data will be send to the same client.
    Only problem:
    the idoc will send exactly the same data, so you need to replace the company code with the target company code.
    This means that you need to change the abap code that is used to send idocs (outbound) or to process inbound idocs and addd a new mapping to it.

  • Procedure for transfer data between clients using ALE

    Hi all ,
       I am new to this concept .
       I want to transfer the material master data from quality client (200)  to  Development Client(100) using ALE and IDOC, how to do ?
    What would be the procedure ? plz let them explain step by step of definition along with screenshot / process ....
    Regards
    Deepa.

    T.Code: BD54
    Step 1:create a logical system qaout in quality system
    Step 2:create a logical system devin in quality system
    Step 3:create a logical system qaout in development system
    Step 4:create a logical system devin in development system
    T.Code: SCC4
    Step 5:Assign qaout to 200 client in quality system
    Step 6:Assign qaout to 100 client in development system
    T.Code: SM59
    Step 7: Create R/3 type (or ABAP type in ECC)RFC destination RFCDEV in quality system
    T.Code: WE21
    Step 8: create Port with above rfc reference in quality system
    T.Code:BD64
    Step 9:Create distribution Model (use matmas message type) in quality system
    then  Environment ->Generate Partner profiles
    Then Edit ->modelview -> distribute
    T.Code: BD10
    Step 10: select the material for distribution in Quality System.

  • Customer Master Data via a Bapi/ALE

    Hello All. I am new to this forum. I have a couple of questions.
    What I am trying to do: I have to interface to SAP with Websphere Message Broker which has inbuilt nodes to interface with SAP using BAPI or ALE to send Customer Master Record (create/update/delete)
    The questions I have:
    1/ Has anyone done this? What did you use BAPI or ALE?
    2/ When a Customer Master IDOC is sent to SAP, if successful, a return code is sent back by SAP. This indicates that SAP has received the IDOC successfully. However, our requirement is that we have to know whether the IDOC was successfully posted within SAP. I am of the opinion that this is manual task within SAP and it should not be the function of the middleware layer as its responsibility is only to successfully deliver the IDOC's. I would welcome opinions on this issue. Please let me know If there is a way to determine if the IDOC has been successfully posted in SAP.
    3/ Is there anywhere where I can get an XML representation of the Customer Master Record. I want to see the structure and the available fields. How can I get this info from SAP?
    Thank you

    Hi,
    1/ Has anyone done this? What did you use BAPI or ALE?  ->USE ALE.
    2>When a Customer Master IDOC is sent to SAP, if successful, a return code is sent back by SAP. This indicates that SAP has received the IDOC successfully. However, our requirement is that we have to know whether the IDOC was successfully posted within SAP. I am of the opinion that this is manual task within SAP and it should not be the function of the middleware layer as its responsibility is only to successfully deliver the IDOC's. I would welcome opinions on this issue. Please let me know If there is a way to determine if the IDOC has been successfully posted in SAP.
    Yes u can view the idoc in WE02/WE05 (Idoc monitoring)
    3>3/ Is there anywhere where I can get an XML representation of the Customer Master Record. I want to see the structure and the available fields. How can I get this info from SAP?
    When u ase IDOC for customer , the basic type is DEBMAS05..Goto WE60, specify the basic type as DEBMAS05(latest) and then u have the all the segments , fields used with doucmentation.
    Regards,
    Nagaraj

  • Data struck in R/3

    Hi gurus,
    I am extracting data from r/3. I have missed some records in data packet.but delta was successful.but report is giving wrong due to missing records.how to extract those particular records in to target from r/3.
    please treat as urgent.
    priya.

    Hi Priya,
    Seems that u have missed the same from R3 side...
    Repair Full will work fine when the data is present in the setup tables but here as u have missed the records in the Delta, so ur repair for that selection records will be Zero..
    So repair full in your case doesnt support as the data is related to the Delta...
    About the Selective Setup loads, u need to hadle this activity carefully....as this requires the deletion of setup and then proceed with the selective Setup load for the missed out records...Which again needs approval for the same..
    thanks
    Assign points if this helps..

  • HR: Address data not updated in ALE inbound

    Hello all,
    EBP 5.0, HR R/3 4.7
    In HR system Main addresses are not maintainted. So we create standard partner and in table T77S0 in field HRALX OADBP we maintain its address (with leading zeroes) and in HRALX OADRE we set flag.
    When we replicate org strucutre from HR no address for new BPS are created.
    Any hint?
    TIA
    Gordan

    Hi Gordan,
    I have replicated org structure from one EBP client to another EBP.
    Don't know whether it will help you.
    But for attribute transport I used message type HRMD_B
    after maintaining the disctribution model correctly as guide says.
    The addresses and attributes were correctly seen in new cliet.
    BR
    Dinesh

  • Mail Crashed - Inbox Deleted - Trying Data Recovery - Help

    I am running a G4 Powerbook 10.3.9 and Mail 1.3.11 locked up and crashed. My old Inbox is wiped out. Last July, I accidentally deleted my Sent emails but that was intentional (as in I thought I was in the Trash window, selected All and Deleted but as I was in my Sent window, that's what got deleted). I bought Data Rescue II and was able to restore almost all of my deleted Sent email.
    So I tried to do the same today. I recovered large "mail" files to the CBR folder. These files are marked as Mail-00034.mbox where the number goes up. Some files are 100MB while others are smaller. I also recovered the INBOX.mbox file but I cannot import either file type into Mail (as in the Import Mailbox function).
    I have recovered plenty of big files but none that can be imported into mail. Any thoughts. Thanks in advance

    The current INBOX.mbox contents include
    content_index 128K
    Info.plist 4K
    mbox 236K
    mbox.SKindex 30.3MB
    mbox.SKindex.isValid 0K
    tableofcontents 4K
    The file size of the mbox.SKindex does not make complete sense as I have only about a dozen or so emails currently in my INBOX (those received after the crash). Either way, the entire INBOX file is way too small (compared with a 1.2G SENT box). I believe the INBOX file size was around 900MB prior to the crash.
    As for what the Data Recovery II program found, it recovered a folder called CBR and in it is a folder called Mail, and in that a folder called AppleMail, and in that about 120 files (using the mailbox icon) all labeled "Mail-######.mbox" where the ###### refers to 00001 (the first file) up to 00120 (the last file). File sizes vary from several at 100MB down to 1MB. There is a great deal of data there. When I try and import these files into Mail, the import seems to work but the IMPORT folder is empty.
    Data Recovery also got a INBOX.mbox file that when opened, is blank. It too reads as 30.3MB (vs. the 30.7MB INBOX.mbox file noted above). When this is opened, there are 0 emails in it.

  • ALE/IDoc interface for Special Ledger Data

    Anybody has experience with extracting Special Ledger data from ECC through ALE/IDoc interface?
    Because Special Ledger is cutom to any client, I'm thinking we need to create a custom IDoc type. I didn't notice any standard IDoc type. Any documentation or any tips on this will be appreciated.
    Thanks,
    Srinivas

    problem has been solved
    thanks

  • Data transfer - ALE or idocs and bapis

    hi ,
    thank you guys for the support.
    i am into a data migration project.
    i need the initial setup for the idocs and bapis.
    i dont know anything about these so can u send me the process for the setup and the data migration process too with idocs and bapis.
    i didnt understand when they asked me if we can data migrate with a ALE, is that the same as using idocs and bapis or is it a different approach.
    u can send me at any inofrmation connected to my eamil addr.
    i would really appreciate that.
    thank you.

    have a look at the links
    hope they will help u
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    ALE/ IDOC/ XML
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
    http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
    IDOC Convertion
    /people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
    links on bapis
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    list of all bapis
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    for BAPI's
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    http://www.erpgenie.com/abap/bapi/example.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm
    http://www.allsaplinks.com/bapi_example.html
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    For More Info check this thread.
    https://forums.sdn.sap.com/click.jspa?searchID=2721366&messageID=1761503
    Do reward if helpful

  • Data migration ALE or idocs and bapis

    hi ,
    thank you guys for the support.
    i am into a data migration project.
    i need the initial setup for the idocs and bapis.
    i dont know anything about these so can u send me the process for the setup and the data migration process too with idocs and bapis.
    i didnt understand when they asked me if we can data migrate with a ALE, is that the same as using idocs and bapis or is it a different approach.
    u can send me at any inofrmation connected to my eamil addr.
    i would really appreciate that.
    thank you.

    Hi,
    Outbound:
    Step 1. Application document is created when transaction is saved.
    2. Message control is invoked.
    3. Messages are processed by system.
    4. Messages are Edited (if desired).
    5. Output (ALE / EDI) is checked
    6. Validate against Message control record from Partner Profile
    7. Application Document is saved.
    8. Entry NAST table is created for every selected output program
    along with Medium & Timing.
    9. Check for Process Immediately .
    If (yes)
    Determine Processing Program from TNAPR Table.
    ELSE
    Execute RSNASTED Program.
    10. Read Partner Profile to determine Process Code.
    11. Process Code points to the Function Module & Invoked.
    12. IDoc is generated.
    13. Check for ALE Request.
    if (Yes)
    Perform Filters, Conversions, Version Changes etc.
    Else.
    IDoc is stored in DATABASE.
    INBOUND:
    Step 1. EDI Subsystem creates an IDoc file from EDI Messages
    2. Subsystem calls Functional Module EDI_DATA_INCOMING from startRFC program.
    3. Data in Control Record is validate against the Partner Profile.
    4. IDoc is generated in Database and syntax check is carried out.
    5. IDoc file is deleted once file read.
    6. Event PROCESSSTATE REACHED is triggered in Idoc Object Workflow.
    7. Check for Process Immediately.
    If NO
    Execute RBDAPP01 Program
    Else
    Read Process Code from Partner Profile
    Process Code Points to Function Module
    Application Document Posted.
    further help:
    check url
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/ale/configuration.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapdevelopment.co.uk/training
    And also u can get lots of inof from the below link.
    http://www.sapgenie.com/ale/why_ale.htm
    Just follow the procedure
    Sending System(Outbound ALE Process)
    Tcode SALE ? for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ? Create Model View
    Tcode BD82 ? Generate partner Profiles & Create Ports
    Tcode BD64 ? Distribute the Model view
    Message Type MATMAS
    Tcode BD10 ? Send Material Data
    Tcode WE05 ? Idoc List for watching any Errors
    Receiving System(Inbound ALE )
    Tcode SALE ? for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ? Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 ? Idoc List for inbound status codes
    ALE IDOC Steps
    Sending System(Outbound ALE Process)
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 !V Create Model View
    Tcode BD82 !V Generate partner Profiles & Create Ports
    Tcode BD64 !V Distribute the Model view
    This is Receiving system Settings
    Receiving System(Inbound ALE )
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 !V Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 !V Idoc List for inbound status codes
    Message Type MATMAS
    Tcode BD10 !V Send Material Data
    Tcode WE05 ( )
    The BAPIs Create() and CreateFromData() create an instance of an SAP business object type, for example, a purchase order. These BAPIs are class methods.
    Change( )
    The BAPI Change() changes an existing instance of an SAP business object type, for example, a purchase order. The BAPI Change () is an instance method.
    Delete( ) and Undelete( ) The BAPI Delete() deletes an instance of an SAP business object type from the database or sets a deletion flag.
    The BAPI Undelete() removes a deletion flag. These BAPIs are instance methods.
    Cancel ( ) Unlike the BAPI Delete(), the BAPI Cancel() cancels an instance of a business object type. The instance to be cancelled remains in the database and an additional instance is created and this is the one that is actually canceled. The Cancel() BAPI is an instance method.
    Add<subobject> ( ) and Remove<subobject> ( ) The BAPI Add<subobject> adds a subobject to an existing object inst! ance and the BAPI and Remove<subobject> removes a subobject from an object instance. These BAPIs are instance methods.
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    just refer to the link below
    http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g
    list of all bapis
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    for BAPI's
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    Also refer to the following links..
    www.sap-img.com/bapi.htm
    www.sap-img.com/abap/bapi-conventions.htm
    www.planetsap.com/Bapi_main_page.htm
    www.sapgenie.com/abap/bapi/index.htm
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    Example Code
    U need to give the step_nr, item_nr, cond_count and cond_type so the correct conditon will be updated. If no condition exists for the given parameters, a new condition will be created.
    U can find these parameters for a particular condition type in table KONV.
    *& Form saveTransactionJOCR
    text
    --> p1 text
    <-- p2 text
    FORM saveTransactionJOCR .
    data: salesdocument like BAPIVBELN-VBELN,
    order_header_inx like bapisdh1x,
    order_header_in like bapisdh1,
    return type standard table of bapiret2 with header line,
    conditions_in type standard table of bapicond with header line,
    conditions_inx type standard table of bapicondx with header line,
    logic_switch like BAPISDLS,
    step_nr like conditions_in-cond_st_no,
    item_nr like conditions_in-itm_number,
    cond_count like conditions_in-cond_count,
    cond_type like conditions_in-cond_type.
    salesdocument = wa_order_information-VBELN.
    LOGIC_SWITCH-COND_HANDL = 'X'.
    order_header_inx-updateflag = 'U'.
    conditions
    clear conditions_in[].
    clear conditions_inx[].
    clear: step_nr,
    item_nr,
    cond_count,
    cond_type.
    step_nr = '710'.
    item_nr = '000000'.
    cond_count = '01'.
    cond_type = 'ZCP2'.
    CONDITIONS_IN-ITM_NUMBER = item_nr.
    conditions_in-cond_st_no = step_nr.
    CONDITIONS_IN-COND_COUNT = cond_count.
    CONDITIONS_IN-COND_TYPE = cond_type.
    CONDITIONS_IN-COND_VALUE = 666.
    CONDITIONS_IN-CURRENCY = 'EUR'.
    append conditions_in.
    CONDITIONS_INX-ITM_NUMBER = item_nr.
    conditions_inx-cond_st_no = step_nr.
    CONDITIONS_INX-COND_COUNT = cond_count.
    CONDITIONS_INX-COND_TYPE = cond_type.
    CONDITIONS_INX-UPDATEFLAG = 'U'.
    CONDITIONS_INX-COND_VALUE = 'X'.
    CONDITIONS_INX-CURRENCY = 'X'.
    append conditions_inx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    SALESDOCUMENT = salesdocument
    ORDER_HEADER_IN = order_header_in
    ORDER_HEADER_INX = order_header_inx
    LOGIC_SWITCH = logic_switch
    TABLES
    RETURN = return
    CONDITIONS_IN = conditions_in
    CONDITIONS_INX = conditions_inx
    if return-type ne 'E'.
    commit work and wait.
    endif.
    ENDFORM. " saveTransactionJOCR
    Bdc to Bapi
    The steps to be followed are :
    1. Find out the relevant BAPI (BAPI_SALESORDER_CHANGE for VA02).
    for VA01 use BAPI_SALESORDER_CREATEFROMDAT2
    2. Create a Z program and call the BAPi (same as a Funtion module call).
    2. Now, if you see this BAPi, it has
    -> Importing structures.
    eg: SALESDOCUMENT: this will take the Sales order header data as input.
    -> Tables parameters:
    eg: ORDER_ITEM_IN: this will take the line item data as input.
    Note :
    Only specify fields that should be changed
    Select these fields by entering an X in the checkboxes
    Enter a U in the UPDATEFLAG field
    Always specify key fields when changing the data, including in the checkboxes
    The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
    Maintain quantities and dates in the schedule line data
    Possible UPDATEFLAGS:
    U = change
    D = delete
    I = add
    Example
    1. Delete the whole order
    2. Delete order items
    3. Change the order
    4. Change the configuration
    Notes
    1. Minimum entry:
    You must enter the order number in the SALESDOCUMENT structure.
    You must always enter key fields for changes.
    You must always specify the update indicator in the ORDER_HEADER_INX.
    2. Commit control:
    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.
    For further details... refer to the Function Module documentation for the BAPi.
    Bapi to VB(Visual Basic)
    Long back I had used the following flow structure to acheive the same.
    Report -> SM59 RFC destination -> COM4ABAP -> VB.exe
    my report uses the rfc destination to create a COM session with com4abap. com4abap calls the vb.exe and manages the flow of data between sap and vb exe.
    You need to have com4abap.exe
    If com4abap is installed you will find it in sapgui installatin directory , C:\Program Files\SAPpc\sapgui\RFCSDK\com4abap.
    else refer OSS note 419822 for installation of com4abap
    after making the settings in com4abap to point to the vb program and setting up rfc destination in sm59 to point to com4abap session , you can use the following function modules to call the vb code.
    for setting up com4abap and rfc destination please refer to the documentation for com4abap.
    Invoke NEW DCOM session
    call function 'BEGIN_COM_SESSION'
    exporting
    service_dest = service_dest "(this will be a RFC destination created in SM59)
    importing
    worker_dest = worker_dest
    exceptions
    connect_to_dcom_service_failed = 1
    connect_to_dcom_worker_failed = 2
    others = 3.
    call function 'create_com_instance' destination worker_dest
    exporting
    clsid = g_c_clsid
    typelib = g_c_typelib
    importing
    instid = g_f_oid
    exceptions
    communication_failure = 1 message g_f_msg
    system_failure = 2 message g_f_msg
    invalid_instance_id = 3
    others = 4.
    call function 'com_invoke' destination worker_dest
    exporting
    %instid = g_f_oid
    %method = 'UpdatePDF'
    sntemp = g_v_const_filent
    snsysid = sy-sysid
    snflag = 'N'
    tables
    rssaptable = g_t_pdfdetail1
    %return = g_t_pdfdetail1 "t_test
    exceptions
    communication_failure = 1 message g_f_msg
    system_failure = 2 message g_f_msg
    invalid_instance_id = 3
    others = 4.
    then close the com session , using
    FM delete_com_instance
    FM END_COM_SESSION
    Thanks and regards,
    Sarada

Maybe you are looking for

  • Still no way to remove stripes from list view finder windows?

    Is there really still no way to do get rid of these horrible stripes in list view finder windows? After all the complaints about them? Or has anyone found a way? (Or has apple granted one in one of the last updates?)

  • Xserve raid parts

    Yesterday I took delivery of an Xserve RAID A1009. It was sold for parts but appears to be functionine perfectly so I am pretty happy. However, even though it was packed pretty well with foam all around, UPS must have handled it pretty rough and it w

  • Conversion of sapscripts/smartforms to PDf format

    i want to use the standard program RSTXPDFT4 for converting into pdf format. but i want a way in which the spool number is automatically generated for the current script or smartform opened instead of the manual entry of the spool number by the user.

  • Service tax entries (IMP)

    Hi All The case is such that I have to pay service tax to vendor.If I make part payment then service tax payable to govt.is also proportionate to the value of invoice paid.e.g invoice is of Rs 100 and service tax is Rs 12 on this .if we pay to vendor

  • Calculate single value as ranked number function does not apply in CR

    Hi everybody, I built up a query with the SAP BEx Query designer. For one key figure I enabled the function "Calculate single values" as ranked list. So the query has the following result. Instead of... Score 1220 2032 2390 2389 ...I got... Score 1 2