Issue output options for reprinting output for delivery items

Hi Gurus,
I want to create the new output for delivery but at item level.
There is a standard proceduere available for trigger output at item level.
But I am not able to find the option to re-issue or see the print preview as that is not option is available in the standard menu at VL02N.
Due to this I am not able to debug the code as during triggering the output at item level both the program and script are called in background.
So is there any standard option available at item level to see the print preview as we can at header level.
If you requried any additional information then please let me know. Eagerly waiting for the reply.
Regards,
Sagar

Hi Arun,
Yes I want output to be trigger at the item level in the delivery.
If i tirgger the output that output at item level, i see the ouput as green (ie successful)
but when i got menu and try to issue to output i do not see this output type in the list and shows all header output types only..
Due to this i am not able to debug my program when doing print preview..
So i need a way where i can see the my program in debugging mode.
And VT70 is not useful to me i do no shippment no. but I have only delivery with me.
Regards,
Sagar

Similar Messages

  • Goods Issue error - batches not defined for delivery item

    Hi,
    We are getting a Goods Issue error  u201CThe batches are not defined for delivery item 000010u201D.   We are only getting this error for a material that is being shipped against a particular third party sales scheduling agreement.  We went live in 2007 and we had no issues, but when we had to create a new Sched Agreement this year, for third party sales, we started to get this error.  However, if we re-activate the old scheduling agreement we do not get the error.  We have a batch job that executes the following steps:
    1.     VL06IG (collective goods receipt)
    2.     VL10 (collective delivery)
    3.     VL06O (collective GI)
    We have compared the 2 scheduling agreements and see no difference.  We are assuming it has something to do with how the scheduling agreement was setup, but are not sure.  Any suggestions on how to correct this problem would be much appreciated.
    Thanks in advance,
    Helen

    Dear Murali,
    The material has not changed at all.  I'm not sure what you mean by maintaining batches while receipt of the material.
    If I re-open the old scheduling agreement, we do not get the error message.  However, as soon as we use the new SD scheduling agreement, we get the error.  We are using the same material master on both scheduling agreements.
    Thanks,
    Helen

  • Valuation type is not defined for delivery item 000010 (help me)

    hi
        when i  post goods issue in delivery it is  giving error "Valuation type is not defined for delivery item 000010"
    even i have assigned material to valuation class and valuation category , but till it is giving error . plz helm  out

    Hi,
    you need to assign proper G/L accounts in OBYC for your plant/gen modification key/valuation class
    Go to your material master..check the accounting view.See whats the valuation class.
    Now go to OBYC - GBB
    here for the combination of your plant & modification key VAX, VAY & VKA & your valuation class give the resepective G/L accounts.
    this should solve your problem.
    thanks

  • Inspecyion lot for delivery item

    Hi Experts,
    Please help.
    I have created sales order. Then created Production order with reference to that sales order. Processed poduction order. Stock posted to QM stock. Done Result recording & UD. Stock posted to Unres.use stock. Now I want to quality inspect for delivery item of same sales order.and want to create quality certificate. What are setting require.
    Please tell step by step.

    Dear Raja,
    Adding to Shyamal answer for Inspection for delivery you may have to do these steps also
    1) SPRO > QM> Quality Inspection > Inspection lot creation > inspection at shipping > Assign inspection type to delivery type> assign inspection type 10 to the delivery type you need the inspection
    2) Maintain customer info Record. QV51 which is a customer ,material combination. You can specify whether or not an inspection lot is created before or after the goods are shipped, or whether the quality inspection will be carried out by the customer.Also you can maintain default customer specifications for a customer or customer information records for customer/material combinations
    3) Maintain 10 inspection type in MM02.
    4) Create the inspection plan using the relevant Usage
    Hope this helps
    Regards
    gajesh

  • HT4236 I am trying to delete photos from my Ipad. When I go to "sync photos from" my only options are the photo folders on my PC I cannot see the albums on my Ipad. No options for Photoshop items. Help!

    I am trying to delete photos from my Ipad. When I go to "sync photos from" my only options are the photo folders on my PC I cannot see the albums on my Ipad. No options for Photoshop items. Help!

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • Possible to create a form with different options for different items?

    So I want to create a form in DW but the problem is that I have 3 items....and I want different form subjects for each item? Is there a way to do this so that if select item #1 that 1 set of options comes up....if I select item #2 a different set of options etc.??
    thanks much!

    Another simple example that you can style up.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Untitled Document</title>
    <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script>
    $(document).ready(function() {
    $('#option_2, #option_3').hide();
    $('#selectOption_1').click(function() {
    $('#option_1').show();
    $('#option_2, #option_3').hide();
    $('#selectOption_2').click(function() {
    $('#option_2').show();
    $('#option_1, #option_3').hide();
    $('#selectOption_3').click(function() {
    $('#option_3').show();
    $('#option_1, #option_2').hide();
    </script>
    </head>
    <body>
    <form>
    <select>
    <option id="selectOption_1" value="option_1">Option 1</option>
    <option id="selectOption_2" value="option_2">Option 2</option>
    <option id="selectOption_3" value="option_3">Option 3</option>
    </select>
    <div id="option_1">
    <select>
    <option value="option_1_1">Option 1_1</option>
    <option value="option_1_2">Option 1_2</option>
    <option value="option_1_3">Option 1_3</option>
    </select>
    </div>
    <div id="option_2">
    <select>
    <option value="option_2_1">Option 2_1</option>
    <option value="option_2_2">Option 2_2</option>
    <option value="option_2_3">Option 2_3</option>
    </select>
    </div>
    <div id="option_3">
    <select>
    <option value="option_3_1">Option 3_1</option>
    <option value="option_3_2">Option 3_2</option>
    <option value="option_3_3">Option 3_3</option>
    </select>
    </div>
    </form>
    </body>
    </html>

  • Sap script for Delivery(item wise)

    Dear ABAPer's ,
        I am working on a SAP Script for Delivery(<b>Item wise</b>).The requirement is I need a print out for each line item in a delivery.I am using tcode VL71 for taking prinout.
    I have modified the routine <b>RVADDN01</b> according to my requirements.But the problem is i am not able to capture
    which line item is selected.Whichever lineitem i select it is giving the details of all the line items.
    Am I using the correct routine or someother routine is available for item wise details.
    Please clarify.

    hi SAP ,
    u have selected right one , Just Debug the script from which text Element u are getting the data into Form, then check ur Logic.
    Regards
    Prabhu

  • BAPI to Update Country of Origin for Delivery Item

    Hello All,
    I have a requirement as follows.
    For an Outbound delivery item (VL02N), I need to update the 'Country of Origin' (EIPO-HERKL). This will come in 'Origin/Destination/Business' tab under 'Foreign Trade /Customs' tab for the delivery item. Could anyone please tell me if there is
    a BAPI to do the same.
    I think this country of origin is not the country of origin for the material, because even if the material is having a value for country of origin in material master, the same is not reflecting in the delivery.
    Thanks and Regards
    Indrajit

    Hi,
    Try using the FM ''EXPIMP_POSTING".
    Refer to the sample code.
    PARAMETERS p_deliv TYPE vbeln.
    DATA: lt_xeikp TYPE STANDARD TABLE OF eikpvb,
          lt_xeipo TYPE STANDARD TABLE OF eipovb,
          lx_xeikp TYPE eikpvb,
          lx_xeipo TYPE eipovb,
          lv_exnum TYPE exnum.
    SELECT SINGLE exnum
           FROM likp
           INTO lv_exnum
           WHERE vbeln = p_deliv.
    lx_xeikp-exnum = lv_exnum.
    APPEND lx_xeikp TO lt_xeikp.
    lx_xeipo-exnum = lv_exnum.
    lx_xeipo-expos = '000010'.
    lx_xeipo-herkl = 'US'.
    lx_xeipo-updkz = 'U'.
    APPEND lx_xeipo TO lt_xeipo.
    CALL FUNCTION 'EXPIMP_POSTING' IN UPDATE TASK
      TABLES
        fxeikp = lt_xeikp
        fxeipo = lt_xeipo.
    COMMIT WORK.
    Thanks,
    Indrajit

  • Option for "Delivery by Highlighted Bullet" not appearing

    In trying to have a bullet list appear bullet by bullet, and having prior item dim, I am not able to get the "Delivery by HIghlighted Bullet" option.... Only All at Once or By Paragraph ... am sure its a silly error on my part -- but can't figure it out.  Rebuilt slide form scratch and can't get it to work.

    How are you creating the bullet list?  If you're using a standard text box, then the "By Highlighted Bullet" option doesn't come up for a Delivery method.  You have to use one of the master slides that has a bulleted body placeholder.  All of the supplied Keynote themes have a variety of master slides with bullets.  Hope that helps.

  • SAPscript - output of delivery item text field

    Hello,
    I would like to show an item text field of a delivery (VL02n) on one of the output script forms.
    I've used the function read_text in my print program for the output type:
    DATA: BEGIN OF TEXT_CARTONQUAN OCCURS 20.    
          INCLUDE STRUCTURE TLINE.
    DATA: END OF TEXT_CARTONQUAN.
    CALL FUNCTION 'READ_TEXT'
                 EXPORTING
                   ID        = 'Z005'
                   LANGUAGE  = SY-LANGU
                   NAME      = VBDPL-TDNAME
                   OBJECT    = 'VBBP'
                IMPORTING
                   HEADER    = THEAD
                TABLES
                   LINES     = TEXT_CARTONQUAN
                EXCEPTIONS
                   NOT_FOUND = 1.
            READ TABLE TEXT_CARTONQUAN INDEX 1.
            MOVE TEXT_CARTONQUAN-TDLINE TO VBDPL-USR01_VBLB.
    Now I put this code into my sapscript:
    IL    &VBDPL-USR01_VBLB&
    For some reasons, it does not come up on the form, but I know it should have a value.
    Am I missing something?
    Thanks,
    Anne
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jan 7, 2009 11:25 AM

    Hello,
    thanks for the answers!
    @Ramiro Escamilla  
    I've tried that already, but for some reasons, the break point doesn't work, it is not stopping during the print out. I've tested if it is using that print program and uncommented the entry subroutine and I got an error message then, so it's the correct print program. Any suggestions why break point is not working?
    @Pawan Kesari  
    I did that and this is working. But the problem is, I need this value within an IF statement, because I only want to give this and some text out, if  INCLUDE &VBDPL-TDNAME& OBJECT 'VBBP' ID 'Z005' has a value. Unfortunately I cannot use the Include statement within an IF statement.
    Thanks
    Anne

  • Miro for delivery cost

    Hi Experts,
    In miro when logistic invoice is booked for goods/service there is a link with GR document.
    Ref doc field gets updated with GR mat doc also the delivery note field gets populated.
    But when logistic invoice is booked for delivery cost no link with GR found.
    Ref doc field not getting updated, no delivery note or bill of lading field gets updated.
    Please suggest wheteher any customization is missing, or how to achieve the same.
    Regards,

    no it is only picking for goods item for delivery item it is blank
    in PO gr based IV is ticked, also in vendor master
    rgds

  • Unable to create delivery for BOM items not in stock??

    Hi Experts,
    We have created a sales order with Parent item and its 3 BOM items, with pricing doen at BOM items. Of the three BOM items, stock exists for only 1 item. When we are trying to create the delivery, it is bringing only the stock item in delivery overview and not the items without stock. We would like:
    1. System to bring all the items while creating delivery. It may not permit picking and PGI till the stock is brought in system.
    2. System to not allow creating delivery till stock exists for all the required items.
    For the non-stock items, system is not allowing to carry out the availability check also. It can give a future date and confirm the quantity for future delivery!!
    Please provide your expert opinions asap. Points would be awarded to all helpful answers.
    Regards,
    Peeyoosh.

    Hi Peeyoosh,
    had you a look at the customizing of your item categories for delivery? Did you use the standard item category TAN? Perhaps the customizing of "availabilty check for delivery item" and "Check quantity 0" in your category for delivery will bring you forward.
    Regards Thomas

  • Pinting Delivery Item level text in logon langauge

    Hi ,
    I have 1 requirement in Existing script which is maintained in different languages ,  where I have to print the Delivery Item level text in Script to user Logon Langauge.
    Normally Delivery Item level text for the Table control comes from MAKT table at the Item level .The user can change this text at Item level in VL02N  ( Delivery Change ) Transaction and this changed text will be saved in LIPS-ARKTX field.
    Step1:- Suppose I have 1 delivery   50000100 and 2 items 00010  & 00020 , Mat1 & Mat2 are the corresponding Material Numbers.
    for the Mat1 the corresponding text in ( langauge = EN )  MAKT table is    mat1_From_MAKT_text.
    for the Mat2 the corresponding text in  ( langauge = EN ) MAKT table is    mat2_From_MAKT_text.
    now the user1 is login EN langauge and changed Delivery Item level text in VL02n / VL01n for Item no : 00010 to My_Delivery_text  ( from the default value mat1_From_MAKT_text ) . and saved the delivery successfully.
    now for the material Number Mat1 the text in MAKT table ( langauge = EN) is  mat1_From_MAKT_text.
    For Delivery Number : 50000100, Item : 00010 , Material Number : Mat1 , the Field ARKTX value is  My_Delivery_text. (LIPS-ARKTX ).
    Step2 :- User2  is login DE ( GERMAN) langauge and print or issue output for this Delivery Number : 50000100, then the Material text should be translated to DE Langauge from the EN ( in this lang user entered text for Delivery item and saved ) and able to print.
    Here I have 5 similar langauges to print even the user saved text in vl02n but the same or different user login in different langauge and should able to see the translated text in the current user login langauge.
    Is there any standard Function module to translate text from Source language to target language ?
    Please help / possible solutions to solve this problem..
    Thanks
    Parvathi
    Edited by: I Parvathi on May 19, 2011 5:22 PM

    Hi
    As per my understanding you can try se63 option ..

  • Text Determination  - Delivery Items

    Dear Friends,
    I have configured text determination for delivery items for entry of "Case Number", in delivery.
    The text has been kept obligatory, because of which the delivery cannot be issued is text is not entered.
    This works fine when I use transaction VL01N to create delivery. I am facing problem when deliveries are created through VL10A.
    Suppose a single sales order creates three deliveries. All the three deliveries are saved. Now I use transaction VL06 "For Picking" I get a list of all the three deliveries. Now when I select all three deliveries & goto inside first delivery, & check incolpletion log, the log fails for the first delivery. But for next deliveries it works fine.
    This is really amazing.
    Can you please help me in resolving this issue.
    Regards,
    Dhananjay

    Hi,
    Did you make text as mandatory in VOTXN?
    I suggest you use user-exit to check the text field, when a delivery is saved by the system. This way, you can verify the all the deliveries, when it is created either in foreground or back ground.
    I am not sure why, but many enhancements works good in the foreground but in background not working properly.
    Regards,

  • Could not deliver the output for Delivery channel:null

    XML Publisher Report Bursting Program is throwing the following exception
    Log file
    ========
    XML/BI Publisher Version : 5.6.3
    Request ID: 11900899
    All Parameters: Dummy for Data Security=Y:ReportRequestID=11900819:DebugFlag=Y
    Report Req ID: 11900819
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:DB94
    Preparing parameters
    null output =/caop/app02/inst/apps/CAOP_db94/logs/appl/conc/out/o11900899.out
    inputfilename =/caop/app02/inst/apps/CAOP_db94/logs/appl/conc/out/o11900819.out
    Data XML File:/caop/app02/inst/apps/CAOP_db94/logs/appl/conc/out/o11900819.out
    Set Bursting parameters..
    Temp. Directory:/caop/app02/common/caopcomn/temp
    [071713_110919401][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.1.0 - Production
    [071713_110919410][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=11900819, user-variable:cp:language=en, user-variable:cp:responsibility=21540, user-variable.OA_MEDIA=http://db172.coresys.com:17204/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=11900819, user-variable:cp:locale=en-US, user-variable:cp:user=PRAYAPUDI, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=11900899, user-variable:cp:org_id=0, user-variable:cp:reportdescription=Care One Salary Change Approval, user-variable:cp:Dummy for Data Security=Y}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    Output File
    ========
      <?xml version="1.0" encoding="UTF-8" ?>
    - <BURS_REPORT>
      <REQUESTID>11901286</REQUESTID>
      <PARENT_REQUESTID>11901285</PARENT_REQUESTID>
      <REPORT_DESC>Care One Salary Change Approval</REPORT_DESC>
      <OUTPUT_FILE>/caop/app02/inst/apps/CAOP_db94/logs/appl/conc/out/o11901286.zip</OUTPUT_FILE>
    - <DOCUMENT_STATUS>
      <KEY />
      <OUTPUT_TYPE>EXCEL</OUTPUT_TYPE>
      <DELIVERY>email</DELIVERY>
      <OUTPUT>/caop/app02/common/caopcomn/temp/071713_120851408/xdo1_2.xls</OUTPUT>
      <STATUS>fail</STATUS>
      <LOG>Error!! Could not deliver the output for Delivery channel:null . Please check the Log for error details..</LOG>
      </DOCUMENT_STATUS>
      </BURS_REPORT>
    XML File
    ======
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- Generated by Oracle Reports version 10.1.2.3.0 -->
    <CAO_SAL_CHG_APR>
      <LIST_G_EMAIL>
        <G_EMAIL>
          <EMAIL>[email protected]</EMAIL>
          <LIST_G_MESSAGE_NUMBER>
    <G_MESSAGE_NUMBER>
              <MESSAGE_NUMBER>1</MESSAGE_NUMBER>
              <PERCENT_CHANGE>-98.75</PERCENT_CHANGE>
              <SALARY_CHANGE_AMT>-23,621.00</SALARY_CHANGE_AMT>
              <DATE_CHANGE_MADE>07/16/2013</DATE_CHANGE_MADE>
              <APPROVER_NAME>Veluz, Cynthia Avila</APPROVER_NAME>
              <APPROVER_JOB>Administration|Center|Payroll/Benefits Coordinator</APPROVER_JOB>
              <PERSON_NAME>Donet, Andrew P</PERSON_NAME>
              <PERSON_NUM>131996</PERSON_NUM>
              <LOCATION_CODE>HR - CareOne at Morris ALF</LOCATION_CODE>
              <REGION_2>NJ</REGION_2>
              <JOB_TITLE>Administration|Center|Director of Admissions</JOB_TITLE>
              <CURRENT_ANNUAL_SAL>299.00</CURRENT_ANNUAL_SAL>
              <PREVIOUS_ANNUAL_SAL>23,920.00</PREVIOUS_ANNUAL_SAL>
              <PAY_BASIS>PERIOD</PAY_BASIS>
              <CUR_PAY>11.50</CUR_PAY>
              <CHANGE_DATE>07/21/2013</CHANGE_DATE>
              <SALARY_CHANGE_REASON></SALARY_CHANGE_REASON>
              <EMPLOYMENT_CATEGORY>Fulltime-Regular</EMPLOYMENT_CATEGORY>
              <ERIC_WILLIAMS>[email protected]</ERIC_WILLIAMS>
            </G_MESSAGE_NUMBER>
          </LIST_G_MESSAGE_NUMBER>
        </G_EMAIL>
      </LIST_G_EMAIL>
    </CAO_SAL_CHG_APR>
    Control File
    ========
    <?xml version="1.0" encoding="UTF-8" ?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="CAO_SAL_CHG_APR/LIST_G_EMAIL/G_EMAIL">
    <xapi:delivery>
    <xapi:email server="smtp.coresys.com" port="25" from="[email protected]" reply-to="[email protected]">
    <xapi:message id="123" to="[email protected]"
    attachment="true"
    subject="Salaries Changed Yesterday">
    Please do not reply to this email, it is system-generated.
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="Care_One_Salary_Change_Approval" output-type="EXCEL"   delivery="123">
    <xapi:template type="rtf" location="xdo://CAO.CAO_SAL_CHG_APR.en.US/?getSource=true">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    It is greatly apprecaited, if you can take a look the issue.
    Thank you,
    -Pradeep.

    Hello Sir,
    I am hard coding the Email id in the control file. From/To/CC emails I have hard coded. I want to paste the Control file... But I could not because, not allowing me to post XML content.
    Thanks
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
         <xapi:request select="/EMPLOYEE_REPORT/EMPLOYEE">
              <xapi:delivery>
                   <xapi:Email server="mycompanyserver" port="25" From="[email protected]" reply-to ="[email protected]">
                        <xapi:message id="123" to="[email protected]" cc="[email protected]"
                             attachment="true" subject="Employee Details for ${FULL_NAME}"> Mr./Ms. ${FULL_NAME}, Please review the attached document
                        </xapi:message>
                   </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="123">
         <xapi:template type="rtf" location="xdo://XBOL.TEST_ABC_XML.en.US/?getSource=true">
         </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Edited by: user9367932 on Apr 13, 2010 4:59 AM
    Edited by: user9367932 on Apr 13, 2010 4:59 AM

Maybe you are looking for

  • textarea data size limits

    We are using ColdFusion 8 and MS SQL Server 2005. We have a form with a <textarea> tag into which users are cutting and pasting large documents. When the form is saved, the text is truncated at 32,000 characters. We are using the POST method and savi

  • Is it possible the RV320 block some external ip address only to some IP on my LAN ?

    Hello, i have been blocked in firewall rules some external IP address but it will applied for all computers on LAN. I would to know if is possible do it for only group of ip or vlan? Thank you, Raphael Guarita

  • Cursor issue

    Not sure how to describe the problem but ill do my best. my cursor on my mac is the little arrow.  until recently when i would scroll or i should say use the mouse and put the arror on a link from a email or  lets say a discussion on this forum it wo

  • ESS: InvalidUrlRuntimeException depend on the user language !?!

    Hi, I've a strange behaviour apparently related to the user language: - all the ESS JCO connection are set-up with SSO; - with an EN user everithing is OK; - with an EN IT language I get an InvalidUrlRuntimeException when I use "My Trips and Expenses

  • Missing right paranthesis

    CREATE TABLE tbl_room ( room_id NUMBER, accommodation_id NUMBER, floor_area NUMBER, rentable NUMBER(1), type VARCHAR2(20), CONSTRAINT pk_room PRIMARY KEY (room_id), CONSTRAINT fk_room_accommodation FOREIGN KEY (accommodation_id) REFERENCES tbl_accomm