B1iF File to Sales Order Scenario

Good day all,
Does anyone have scenario steps or templates to create the following scenario in B1iF:
- Incoming .txt file must be transformed using Regular Expressions
- Resulting file must be processed into a Sales Order in SAP Business One.
I have tried a simple scenario that picks up a .xml file and create a Business Partner in SAP Business One just to gain some understanding about how the scenario packages work, but, I'm afraid, without much success.
When I drop the file in the IN folder, it gets picked up, but is then filtered out with the following result message:
no scenario step (vBIU) associated for this step for the incoming system (SysId)
Any guidence to in this regard will be greatly appreciated.
Kind regards,
Rikard

Hi Experts
SAP Version = 8.81 Pl08
I need your help , after i upgraded my B1if framework to higher version i get this error  as shown below( we don't have any customization) all is standard SAP packages.
The Error: Server Side cannot respond your request (no scenario step (vBIU) associated for this step for the incoming system (SYSID)[0009].
what has gone wrong.
Thank you best Regards
Dayal

Similar Messages

  • Problem with attaching file to Sales Order

    Hello,
    In my company we have the possibility to attach files to sales orders, e.g. pdf files with the printing details.
    These files are added by the GUI user, this works fine.
    Now we have an extra order creation stream in which a pdf file has to be added to the SO without user interaction.
    I found a helpful link ( /people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background )
    This program creates URL links with no problem, but the file generation is not implemented yet.
    I tried to add the file functions to his sample report but still have one problem. The file is uploaded, but not reported as a PDF file in sap. If I select the created attachment SAP allows only the saving of the attachment. After saving the created file is a good PDF file, it opens with PDF-viewers.
    Why does SAP not know this is a PDF file and report it as such (and open the pdf viewer when selected).
    Thanks, Frank.
    source-code:
    REPORT  zzfb_brc                                .
    * Report  Z_RMTIWARI_ATTACH_DOC_TO_BO
    * Written By : Ram Manohar Tiwari
    * Function   : We need to maintain links between Business Object and
    *              the attachment.Attachment document is basiclally a
    *              business object of type 'MESSAGE'.In order to maintain
    *              links, first the attachment will be crated as Business
    *              Object of type 'MESSAGE' using Message.Create method.
    *              Need to check if we can also use FM
    *              'SO_DOC_INSERT_WITH_ORIG_API1' or SO_OBJECT_INSERT rather
    *              than using Message.Create method.
    * I took this program and removed all the parts for adding URL's and
    * notes.
    * Include for BO macros
    INCLUDE : <cntn01>.
    * Load class.
    CLASS cl_binary_relation DEFINITION LOAD.
    CLASS cl_obl_object      DEFINITION LOAD.
    PARAMETERS:
    *  Object_a
       p_botype LIKE obl_s_pbor-typeid DEFAULT 'BUS2032',    "SO
       p_bo_id  LIKE obl_s_pbor-instid DEFAULT '0000757830', "example number
    *  Object_b
       p_docty  LIKE obl_s_pbor-typeid DEFAULT 'MESSAGE' NO-DISPLAY,
       p_msgtyp LIKE sofm-doctp        DEFAULT 'EXT'     NO-DISPLAY,
    *  Relationship
       p_reltyp  LIKE mdoblrel-reltype DEFAULT 'ATTA'.
    TYPES: BEGIN OF ty_message_key,
            foltp     TYPE so_fol_tp,
            folyr     TYPE so_fol_yr,
            folno     TYPE so_fol_no,
            doctp     TYPE so_doc_tp,
            docyr     TYPE so_doc_yr,
            docno     TYPE so_doc_no,
            fortp     TYPE so_for_tp,
            foryr     TYPE so_for_yr,
            forno     TYPE so_for_no,
           END OF ty_message_key.
    DATA : lv_message_key TYPE ty_message_key.
    DATA : lo_message TYPE swc_object.
    DATA : lt_doc_content TYPE STANDARD TABLE OF soli-line,
           ls_doc_content TYPE soli-line.
    * Create an initial instance of BO 'MESSAGE' - to call the
    * instance-independent method 'Create'.
    swc_create_object lo_message 'MESSAGE' lv_message_key.
    * Upload the pdf file, for now from the frontend, in the future from
    * the server.
    DATA:
    *  dsn(40) TYPE C VALUE '/usr/sap/trans/convert/1.pdf', "server location
    l_lines TYPE i. "filelenght
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename   = 'c:t1.pdf'
        filetype   = 'BIN'
      IMPORTING
        filelength = l_lines
      TABLES
        data_tab   = lt_doc_content.
    * no exceptions, the file is there in this example
    break brouwersf.
    ** the coding for the server input, for later
    *OPEN DATASET dsn FOR INPUT IN BINARY MODE.
    *IF sy-subrc <> 0.
    *  EXIT.
    *ENDIF.
    *READ DATASET dsn INTO ls_doc_content.
    *WHILE sy-subrc EQ 0.
    *  APPEND ls_doc_content TO lt_doc_content.
    *  READ DATASET dsn INTO ls_doc_content.
    *ENDWHILE.
    *CLEAR ls_doc_content.
    *CLOSE DATASET dsn.
    * define container to pass the parameter values to the method call
    * in next step.
    swc_container lt_message_container.
    * Populate container with parameters for method
    swc_set_element lt_message_container 'DOCUMENTTITLE' 'Title'.
    swc_set_element lt_message_container 'DOCUMENTLANGU' 'E'.
    swc_set_element lt_message_container 'NO_DIALOG'     'X'.
    swc_set_element lt_message_container 'DOCUMENTNAME' p_docty.
    swc_set_element lt_message_container 'DOCUMENTTYPE' p_msgtyp.
    swc_set_element lt_message_container 'DocumentSize'    l_lines.
    swc_set_element lt_message_container 'DocumentContent' lt_doc_content.
    swc_call_method lo_message 'CREATE' lt_message_container.
    * Refresh to get the reference of create 'MESSAGE' object for attachment
    swc_refresh_object lo_message.
    * Get Key of new object
    swc_get_object_key lo_message lv_message_key.
    * Now we have attachment as a business object instance. We can now
    * attach it to our main business object instance.
    * Create main BO object_a
    DATA: lo_is_object_a TYPE sibflporb.
    lo_is_object_a-instid = p_bo_id.
    lo_is_object_a-typeid = p_botype.
    lo_is_object_a-catid  = 'BO'.
    * Create attachment BO object_b
    DATA: lo_is_object_b TYPE sibflporb.
    lo_is_object_b-instid = lv_message_key.
    lo_is_object_b-typeid = p_docty.
    lo_is_object_b-catid  = 'BO'.
    *TRY.
    CALL METHOD cl_binary_relation=>create_link
      EXPORTING
        is_object_a = lo_is_object_a
        is_object_b = lo_is_object_b
        ip_reltype  = p_reltyp.
    * Check if everything OK...who cares!!
    COMMIT WORK.

    Hi,
    Welcome to the SDN Forums!!!
    You need to supply the PC file extension in the container element 'DOCUMENTTYPE'.
    swc_set_element lt_message_container 'DOCUMENTTYPE' p_msgtyp.
    In your case change the above statement as below:
    swc_set_element lt_message_container 'DOCUMENTTYPE' 'pdf'.
    <b>OR</b> change the default value of p_msgtyp to 'PDF'.
    Cheers,
    Ramki Maley.
    Please reward points if the answer is helpful.
    For info on awarding points click on this link: https://www.sdn.sap.com/sdn/index.sdn?page=crp_help.htm
    Message was edited by: Ramki Maley

  • ADDDITIVE COST FOR PRODUCT COST BY SALES ORDER SCENARIO.

    Dear friends,
    We are using costing for sales order & we have maintained the costing variant under the path IMG> Controlling> Product Cost Controlling> cost object controlling> Product cost by sales order >premliminary costing & order based costing>product costing for sales order costing>Costing variant for Product costing >Check costing variant for product costing.
    Under this we have maintained the Costing variant, Now we need to have Additive cost. But didnt found the tab in the costing variant where as when we check in T.code OKKN which is a part of Product cost planning we can find the Additive cost tab.
    How to run addtive costing run for Product cost by sales order scenario & please guide me with one example.
    Or else is there any configuration where we can assign standard costing variant PPC1 instead of Costing variant SOC1 ( which is a costing variant of Product cost by sales order.
    Please guide me
    regards,
    Sandeep

    Hi Sandeep,
    You may please try using Unit Costing for Sale Order.
    It is over an above the sale order costing you have done. So in case you want to post any additional known cost, you may do the unit costing for the sale order after the sale order costing.
    Trust this helps

  • Valuated Sale order Scenario

    Hello Everyone,
    Could any one  tell me In Valuated Sale order Scenario do we have concept of Result Analysis Key if not then what is the reason behind it?
    Thanks,
    Sneha

    Hi,
    Greetings.
    In a Valuated sale order scenario, Values and quantities flow for every posting.
    RA scenario is applicable if Sale order item is cost control object i.e., typically in MTO scenario.
    Thanks - GS Rao

  • How to prepare the Format of Flat file(Excel or Text file) for sales order

    Hi All,
    My requirement is to prepare the Flat File formats(Excel or Text file) for sales order Conversion using BAPI by COB.
    Needed Sample Excel or Text flat file .
    Thanks for all.
    Regards,
    Chowdary
    Moderator message : Search for available information. Thread locked. 
    Your similiar question [Flat files formats|Flat files formats] has been already locked for similiar reason.  Read forum rules before posting.
    Edited by: Vinod Kumar on Jul 8, 2011 9:36 AM

    Hi,
    You can use something like this:
    switch(cell.getCellType()) {
      case Cell.CELL_TYPE_STRING:
        System.out.println(cell.getRichStringCellValue().getString());
        break;
      case Cell.CELL_TYPE_NUMERIC:
        if(DateUtil.isCellDateFormatted(cell)) {
          System.out.println(cell.getDateCellValue());
        else {
          System.out.println(cell.getNumericCellValue());
        break;
        case Cell.CELL_TYPE_BOOLEAN:
          System.out.println(cell.getBooleanCellValue());
          break;
        case Cell.CELL_TYPE_FORMULA:
          System.out.println(cell.getCellFormula());
          break;
        default:
          System.out.println();
    Hope it helps,
    Daniel

  • Sale Order Scenario - Report in PS Budget /Actual/Variance

    Dear Experts,
    Please help me understand solve the scenario given below
    Step 1
    Work order issued to a contractor ( contract includes Service and Material from the contractor) - Service being the labour part
    and Material being the cement
    But cement is supplied by the client as a sale of cement at a basic price agreed between the two parties.
    Eg:
    There are 2 WBS
    WBS 1 - has a PR released converted to PO with value 100 ( inclusive service + material)
    Material procured through me51n , Me21n - GR done and stock has come to GNST ( 40 rs)
    material converted to sale order stock mb1b - 412 E after creating sale order with reference to WBS 2
    WBS 2 -  reports cost incurred for procurement ie; 40rs
    Actual booked against WBS1 based on GR 100
    Once the billing is done for rs 20 ( basic price) report in budget actual variance shows as below
                    Budget    Actual    Variance
    WBS 1      200          100          100
    WBS 2                       40           -40
    Report should show 120 as the project cost rather than 140 - since 20 is lost against selling at lower cost.
    How to get the cost to 120 which is the actual cost for the work

    Dear Experts,
    Please help me understand solve the scenario given below
    Step 1
    Work order issued to a contractor ( contract includes Service and Material from the contractor) - Service being the labour part
    and Material being the cement
    But cement is supplied by the client as a sale of cement at a basic price agreed between the two parties.
    Eg:
    There are 2 WBS
    WBS 1 - has a PR released converted to PO with value 100 ( inclusive service + material)
    Material procured through me51n , Me21n - GR done and stock has come to GNST ( 40 rs)
    material converted to sale order stock mb1b - 412 E after creating sale order with reference to WBS 2
    WBS 2 -  reports cost incurred for procurement ie; 40rs
    Actual booked against WBS1 based on GR 100
    Once the billing is done for rs 20 ( basic price) report in budget actual variance shows as below
                    Budget    Actual    Variance
    WBS 1      200          100          100
    WBS 2                       40           -40
    Report should show 120 as the project cost rather than 140 - since 20 is lost against selling at lower cost.
    How to get the cost to 120 which is the actual cost for the work

  • Capture cost of procured materials in a third party sales order scenario

    Dear Experts,
    I'm developing a third party sales order solution to my company following the recommended third party scenario by SAP.
    Everything is working fine from creation of sales order, automatic creation of purchase requisition, create purchase order using the purchase requisition ect...
    The problem I have is the in the Sales order, the cost of the material is not getting captured correctly. The condition maintained in the sales order is VPRS and it is deriving the material cost from the material master record. Ideally it should be deriving the material cost from the invoiced value or else from the purchase order(which is the actual amount we are spending to buy the items). Deriving the cost from material master depicts an incorrect profit in the sales order.
    Can someone please advice me how to derive the cost(to be shown in the sales order under VPRS condition)from the invoice or the purchase requisition and Not from the material master.
    I'll be grateful if you can describe in a step by step proceedure.
    Thanks in advance

    Hi Lakshmipathi
    Thanks alot for your response.
    As u mentioned, at the point of sales order creation the price does gets picked up from the Material Master.
    But during Billing, it does NOT get updated to reflect the purchase order price. If that happens, then its perfect.
    I did a complete testing cycle and the material master price remains unchanged throught the process upto billing.
    Is there any special parameter that I should maintain in VPRS condition for this to happen?
    Anyway thanks again for ur reply, appreciate it alot. Let me know your views on this.
    As u advise I'll post it on the sales forum as well.
    Regards,
    Randika

  • Inbound Files Create Sales Order With Reference To Quotation

    Dear All,
    I am working one Assignments For Sales Order Creation Through Inbound Files and Its working fine.
    But I have one Issue during creation of Sales Order through inbound files ( Which Contains Quotation Number Which Already Exist in SAP ) and Quotation Number updated in PO Number (BSTKD) filed in Sales Order.
    And My Problem is How we can update Quotation in Document Flow during creation of Sales Order through inbound files..
    Any Help or Suggestion will very helpful for me.
    Thanx in Advance.
    Regards
    Vijay Maurya

    Dear All,
    I am working one Assignments For Sales Order Creation Through Inbound Files and Its working fine.
    But I have one Issue during creation of Sales Order through inbound files ( Which Contains Quotation Number Which Already Exist in SAP ) and Quotation Number updated in PO Number (BSTKD) filed in Sales Order.
    And My Problem is How we can update Quotation in Document Flow during creation of Sales Order through inbound files..
    Any Help or Suggestion will very helpful for me.
    Thanx in Advance.
    Regards
    Vijay Maurya

  • Help needed with RA with Sales order scenario

    Hello Gurus,
    We are using SD-RR right now for our sales orders. We are facing difficulty with timing cost posting in that scenario and need your help with same.
    When we do PGI cogs posting is done. RR usually happens at at later point of time after customer accepts the order. Out cost is booked before revenue recognition, which financially is bothering client. Client wants Cost and revenue recognized at same time.
    I've heard that RA can be used with sales order item as cost collector. I want to understand how will it work functionally and what are the basic config elements.
    If someone can explain step-by step I'd appreciate that very much.

    Hi,
    Follow the step
    1) Create two user defiend Status for Sales order, one like X -Revenue & Cost to be recognised, and Y = ot to be recognised
    2) Use Completed Contract Method in Expert more for Status Y and Revenue Based RA for Status X
    3) Use Y as default Status in Sales Order. When you run RA, system will post costs to WIP and Revenue to Billing in Exess of Revenue. When ever you want to recognise revenue and Cost, change the status of the Sales Order as X, then Revenue based RA will be used.
    Regards,
    Rijo Paul

  • Inbound Files Create Sales Order

    Dear All,
    I am working one Assignments For Sales Order Creation Through Inbound Files and Its working fine.
    But I have one Issue during creation of Sales Order through inbound files ( Which Contains Quotation Number Which Already Exist in SAP ) and Quotation Number updated in PO Number (BSTKD) filed in Sales Order.
    And My Problem is How we can update Quotation in Document Flow during creation of Sales Order through inbound files..
    Any Help or Suggestion will very helpful for me.
    Thanx in Advance.
    Regards
    Vijay Maurya

    HI Vijay,
    Could you please let me know, how are you processing the file to make sales order. In other words are you using BDC or something else for creating sales order.
    If you are using a BDC to create sales order, you need to re-record it so that the sales order is created in reference to the quotation. In this way, the sales order will automatically get linked to sales order. And all the document flows will be updated, also the issues of pricing, delivery date will also be perfectly copied.
    Also since the SAP will update the tables on its own, hence you will not need to direct update any table in SAP.
    Hope this helps,
    Abhishek
    Edited by: Abhishek Purwar on Nov 20, 2008 9:11 PM

  • View attached files for Sales Order in Approbation.

    Hi,
    I have attached a file in a Sales Order. My Sales Order then goes to approbation. Can my approbator open the attached file WITHOUT having to open the Sales Order.
    Thank you !

    Hi Thanh,
    There is no such option to open the attached file without opening the sales order the approver has to open the order to check the attachment.
    Regards,
    Suresh

  • One file - many sales orders

    Hi All,
    I have a question. I have a CSV file that contains data to create Sales Order. I have a BizPackage and define process that creates one Sales Order. I wonder if it's possible to create different Sales Order from one CSV file?
    For example - there are 2 rows in CSV and one row is one Sales Order. Is it possible to create in SAP BO two different Sales Order from that file?
    Regards
    Szymon

    Hi Szymon,
    A complete sales order includes a header and details. If only one header info in one file, you may only create one order.
    Thanks,
    Gordon

  • Order Type Group - CRM 7.0 B2B Ecommerce with ERP Sales Order Scenario

    Hello Experts
    Scenario: CRM 7.0 with ERP Sales Order
    How can we use ORDER TYPE GROUP in CRM 7.0 B2B E-commerce with ERP sales order?
    With CRM as a back end this ORDER TYPE GROUP functionality is available as OOTB, but with ECC as a back end is this available?
    As per out understanding, we can use more than one TRANSACTION TYPE by seperating the TRANSACTION TYPES by COMMA in shopadmin? Is it a right understanding?
    Kindly let us know if we have ORDER TYPE GROUP functionality in CRM 7.0 B2B E-commerce with ERP sales order?
    Thanks and Regards
    DJ

    Hi DJ,
    In fact the Order Type Group is only available when you are connected to CRM Backend. For ERP Webshops, you only have the option to add the Order Types separated by coma.
    In addition, be aware that B2B only supports Sales Document with category "C - Sales Orders" on ERP backends, for example:Credit Memo Requests won't work. For more information, I created Note 1567713 that explain the restrictions.
    Kind Regards,
    Diego Felix.

  • Tab Separated file for Sales Order creation

    Hi,
    I am creating a Z Report which intern calls BAPI BAPI_SALESORDER_CREATEFROMDAT2 for creating Sales Orders.
    Sales Order details I am giving through Tab Separated File which contains all details like
       1) Header Details
       2) Partner Details
       3) Item Details.
    Can any one tell what is the process to convert this file to into Internal Table.....

    This Example is only for three column. If there are more column you can check
    "LOOP AT intern.
        IF intern-col = *.  " * is coulmn number
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
           EXPORTING
                filename                = filename
                i_begin_col             = 1
                i_begin_row             = 1
                i_end_col               = 3
                i_end_row               = 65000
           TABLES
                intern                  = intern
           EXCEPTIONS
                inconsistent_parameters = 1
                upload_ole              = 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.
      LOOP AT intern.
        IF intern-col = '1'.
          l_length = strlen( intern-value ).
          IF l_length > 10.
            l_flag = 'E'.
            wa_error-vbeln  = intern-value.
            wa_error-message = 'Invalid Sales Order'.
            CONTINUE.
          ELSE.
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                 EXPORTING
                      input  = intern-value
                 IMPORTING
                      output = wa_vbeln-vbeln.
            CONTINUE.
          ENDIF.
        ELSEIF intern-col = '2'.
          IF l_flag = 'E'.
            wa_error-posnr = intern-value.
          ELSE.
            CLEAR : l_length.
            l_length = strlen( intern-value ).
            IF l_length > 6.
              wa_error-vbeln = wa_vbeln-vbeln.
              wa_error-posnr = intern-value.
              wa_error-message = 'Invalid item Number'.
              l_flag = 'E'.
            ELSE.
              wa_vbeln-posnr = intern-value.
              APPEND wa_vbeln TO i_vbeln.
              CLEAR : intern,wa_vbeln,l_flag,l_length.
            ENDIF.
          ENDIF.
        ELSEIF intern-col = '3'.
          CLEAR : wa_noti.
          wa_noti-aufnr = intern-value.
          APPEND wa_noti TO i_noti.
          CLEAR : wa_noti.
        ENDIF.
      ENDLOOP.

  • Cost value for third party sales order scenario

    Greetings, I have a cost question involving the Third Party Sales Order (Item category TAS).
    At billing (VF01), the cost being picked up by the system are the value from the PO (PBXX condition type). I would like the system to pick up the entire  COGS value (inclusive of freight values) posted at MIGO.
    Ex. If Purchase price is 100 and freight is 20, I want 120 (the COGS value) to be shown in the cost field. It currently shows 100.
    The steps I follow are
    1) Create OR sales order (item category TAS)
    2) Create PO referencing PR
    3) Goods Receipt  D 120 COGS/ C 100 GRIR /C 20 freight
    4) Outbound Delivery (Confirmation only)
    5) Billing (Costs showing 100?!)
    Again, only the PBXX condition type value (From MM Calculation Schema) is being picked up.
    How can I get the system to pick up the freight value as well?
    Regards
    Ken

    Hi,
    If you bring the Freight condition after PBXX and include in the net value, your problem will be solved.  so it will be 120 in MIGO, MIRO, Dellivery and VPRS in billing.
    We have the same situation and its working fine for us. 
    Thanks
    Krishna.

Maybe you are looking for

  • How to modify Apple's "Project Proposal" template in Pages 5.0?

    In Pages 5.0 I want to use Apple's "Project Proposal" template for my project proposals, but I need to modify Apple's original template. Removing the image works in the "Modern Report" template - but does not work in the "Project Proposal" template.

  • Quicktime will not download and install

    I had to reinstall windows and all of my programmes i just downloaded the newest iTunes but Quick time appears not to intall along with it. i tried intalling the stand alone quicktime but all i got was the picture viewer.. Am i missing something wher

  • Internal and External different set of menu for ESS

    Hi We have 2 portal server - Internal and External. The Portal are being used not. We are planning to implement ESS now in Portal. We are planning to provide two different set of options when the same user access internally and externally. For exampl

  • Backup fails with WD-MyBook 3TB USB Harddisk

    We have a SBS Server 2011 and were Always able to create backups with external harddisks. However, we have purchased several WD MyBook 3TB disks and now the backup does not work anymore because of i/o error on external device. We can see the harddisk

  • Preview Print is Boffo (V2)

    Someone tell me if I am doing something wrong of if Preview print just acts whack. I open three images in Preview: I. I do nothing and pulldown to Print and it will print the FIRST image II.I do nothing and pulldown to Print Selected and it will prin