MB_CREATE_GOODS_MOVEMENT with Reservation reference

Dear,
I want to create good movement with Reservation reference and use T_MS1INT structure. Here is my way, but it does not work. Pls check and tell me why!
Thanks a lot,
DATA: IMKPF TYPE IMKPF,
        EMKPF TYPE EMKPF,
        EMSEG TYPE TABLE OF EMSEG WITH HEADER LINE,
        IMSEG TYPE TABLE OF IMSEG WITH HEADER LINE,
        T_MS1INT TYPE TABLE OF MSEGO1 WITH HEADER LINE.
  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
      INPUT  = RESERVATION_NO
    IMPORTING
      OUTPUT = IMKPF-XBLNR.
  T_MS1INT-MTTMP = '29'.
  T_MS1INT-TSTMP = '15'.
  T_MS1INT-TDICH = 1.
APPEND T_MS1INT.
  CALL FUNCTION 'MB_CREATE_GOODS_MOVEMENT'
    EXPORTING
      IMKPF                     = IMKPF
*   XALLP                    = ' '
*   XALLB                    = ' '
*   XALLR                    = ' '
*   CTCOD                    = ' '
*   XQMCL                    = ' '
*   OLD_SUBRC                = ' '
*   IPKCOM                   =
*   X_AUTHORITY              = ' '
*   XLISU                    = 'X'
*   XQMSR                    = ' '
*   OIA_PASS                 =
*   I_OIA_ASTM_VALUES        =
*   I_OIA_PO_GREC_CALL       =
*   I_OIB_CALCULATE          =
*   OI_SHPMT                 =
IMPORTING
   EMKPF                    = EMKPF
*   E_LVS_TAFKZ              =
*   ES_MKPF                  =
    TABLES
      EMSEG                    = EMSEG
      IMSEG                    = IMSEG
*   IMSEG_CSL_TOKEN          =
*   ET_MSEG                  =
     T_MS1INT                 = T_MS1INT   "IS-OIl
*   T_MS2INT                 =
*   I_OIAACCGI               =
*   I_OIA_KOMF               =
*   I_YOIA06                 =
*   E_OIA_XMSEG              =
*   T_OIB_EMSEGQTY           =
  COMMIT WORK.
Edited by: Rob Burbank on Dec 6, 2010 11:24 AM

Dear,
I want to create good movement with Reservation reference and use T_MS1INT structure. Here is my way, but it does not work. Pls check and tell me why!
Thanks a lot,
DATA: IMKPF TYPE IMKPF,
        EMKPF TYPE EMKPF,
        EMSEG TYPE TABLE OF EMSEG WITH HEADER LINE,
        IMSEG TYPE TABLE OF IMSEG WITH HEADER LINE,
        T_MS1INT TYPE TABLE OF MSEGO1 WITH HEADER LINE.
  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
      INPUT  = RESERVATION_NO
    IMPORTING
      OUTPUT = IMKPF-XBLNR.
  T_MS1INT-MTTMP = '29'.
  T_MS1INT-TSTMP = '15'.
  T_MS1INT-TDICH = 1.
APPEND T_MS1INT.
  CALL FUNCTION 'MB_CREATE_GOODS_MOVEMENT'
    EXPORTING
      IMKPF                     = IMKPF
*   XALLP                    = ' '
*   XALLB                    = ' '
*   XALLR                    = ' '
*   CTCOD                    = ' '
*   XQMCL                    = ' '
*   OLD_SUBRC                = ' '
*   IPKCOM                   =
*   X_AUTHORITY              = ' '
*   XLISU                    = 'X'
*   XQMSR                    = ' '
*   OIA_PASS                 =
*   I_OIA_ASTM_VALUES        =
*   I_OIA_PO_GREC_CALL       =
*   I_OIB_CALCULATE          =
*   OI_SHPMT                 =
IMPORTING
   EMKPF                    = EMKPF
*   E_LVS_TAFKZ              =
*   ES_MKPF                  =
    TABLES
      EMSEG                    = EMSEG
      IMSEG                    = IMSEG
*   IMSEG_CSL_TOKEN          =
*   ET_MSEG                  =
     T_MS1INT                 = T_MS1INT   "IS-OIl
*   T_MS2INT                 =
*   I_OIAACCGI               =
*   I_OIA_KOMF               =
*   I_YOIA06                 =
*   E_OIA_XMSEG              =
*   T_OIB_EMSEGQTY           =
  COMMIT WORK.
Edited by: Rob Burbank on Dec 6, 2010 11:24 AM

Similar Messages

  • Error while creating the sales order with billing reference

    hi alll
    i am getting error while creating the sales order with billing reference.The line items are coming in grey.I am not able to change the items as well as the quantity field.Can u guide me
    cheers
    shalsa007........

    Dear SAP SD 007
    I can confidently tell that an enhancement or an user exit has been applied in your scenario
    You have to check that
    Normally when creating a sales order with respect or referring billing documents the qty will be in editable mode and it is standard problem
    Your people has solved the standard problem by enhancement
    Usually OR--LF-PGI----F2 (SAY THE QTY IS 25 UNITS)
    Now you are creating returns order with reference to F2 in the return order type Re there is a standard issue that user can edit the qty to 30 from the original 25
    To solve this only your people have used userexit
    Line items and qty greyed out means definately there is some enhancement or user exit applied
    You have to check that
    Regards
    Raja

  • Credit note with invoice reference are not concatenate in F110

    When I create a credit note with invoice reference by VA01, the fields payment term,  Baseline date for due date calculation, Assignment and Payment method are copied correctly from invoice to credit note, but in FI document the field invoice ref.  'BSEG-REBZG' is not filled. So when I run the transaction F110 Automathic Payment (for Italy) the invoice is rigthly payed but the credit not is included into Exceptions with the note 'No pymt possible because items with a credit bal.still exist'. If I put in the field 'BSEG-REBZG'  the reference to  the invoice, the one and credit note are concatenated and I have a rigth parzial payment.
    There is a way to have this link when I post the Fi document by vf01-vf02 without putting it manually using FB03?
    Thank you in advance
    Gianluca.

    hiii
    please refer thi link reconciliation in 2005
    https://websmp208.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000789632007E
    i would suggest you to upgrade your version, as reconciliation is very easy in higher versions
    please refer sap note no 1051038.
    Thanks
    Rizz
    Edited by: Mohammed Riyaz on Apr 24, 2009 4:01 PM

  • Credit Memo with the reference of multiple Billing document

    Hi SD Gurus,
    I wanted to create credit memo with the reference of multiple billing document for a single customer.
    Is it possible in standard SAP? If YES please tell me HOW…
    Thanks in advance...
    Ratish Patil

    hello, friend.
    yes, you actually can.  first you enter VA01 and choose the document type.  press ENTER.
    then in the order Overview screen, go to SALES DOCUMENT > CREATE WITH REFERENCE.  a dialog box will ask you which billing document you want as reference.  enter the document number and press COPY.
    you can repeat this process as many time as you wish.  the items of the referenced documents will be copied into your Sales Document.
    hope this helped.  reward if useful.
    jty

  • What is the best way to for a plugin to wrap a video element in a parallel composition with a reference plugin that points to that Video Element?

    I have a basic reference element loaded as a plugin, which is able to retrieve information about, pause and play video elements while displaying its own overlay content as well.  What it's not currently doing, is automatically positioning itself to the same location and dimensions of the video element that it references.  For some reason, when I try using the layout API to set position and size in the video element metadata, this is not retrieved by the reference element (it returns a null value for the target video element's metadata).
    I wanted to try a different approach, specifically, creating a parallel composition that works as follows:
    1) When a video element is created in the factory, it is automatically wrapped in a parallel composition element along with a reference element, which is passed the video element as a target.
    2) The reference element sets its width and height with the width and height properties of the video element spatial trait and will listen for any changes to that width and height to adjust accordingly.
    3) Now that I think about it, the parallel composition should itself be a proxy for the video element, so other code in the player that moves, resizes, or otherwise alters the dispay of the video element, will if fact be adjusting the whole video element + reference element parallel composition.
    In other words, I want the reference element to be an overlay that is "locked" to the surface of any video element and follows it in size, position, display and even audio traits.
    Suggestions for the best way to approach this within the framework?

    Thanks Wei,
    With some more tweaking, I am able to get and use the layout metadata as you said!  Here is where my issue stands now:
    * My IMediaReferrer element can now look at the layout metadata of the target media element and copy those values, so it has the same width, height, x, and y  properties.  This is great!
    * However, particularly for RelativeLayoutFacet metadata, this is only fully useful if both the target media element and my IMediaReferrer element are in the same composition.  If they are in different compositions which are themselves placed differently, then even identical x and y values don't add up to the same position on the screen.
    So, my challenge is to figure out how to ensure that my IMediaReferrer element is placed in the same composition as the target media element.
    Again, the goal is to write a plugin that will have a reference to an underlying video, and will always have the same width, height, x, and y of the video it is overlaying.  This plugin should not require any additional coding in the player, but should take care of setting itself up as above automatically when loaded.
    There isn't any property on a media element which exposes the "parent" composition element that it is a part of, so I don't know how to get my IMediaReferrer to add itself to the same composition as the reference target automatically.  I'm not sure if it's possible to make my IMediaReferrer element extend ParallelElement and still load in a SWF Element as an overlay, and add that SWF Element and the target Media Element as children with identical layout metadata.
    Do you have any suggestions on how I should proceed?
    Thanks again!

  • Problem in Outbound delivery with order reference

    Hi,
    I am facing problem with creation of outbound delivery with order reference from transaction VL01N. When i enter into the transaction with order key in, but in the tab Picking there is one column Pick quantity which is showing as grey field with zero value(Grey field don't allow to change the quantity). This Pick quantity is always allow to put us required quantity but i come across this kind of scenario very first time. Can you please help.
    Thank you.

    Hi,
    Your combination of Plant+Storage location is enabled for warehouse management. So directly putting the picking value is not possible. You have two options now.
    1. If you know howto put pickign through transfer orders, do it through LT03 and confirm teh TO for picking quantity to be updated in delivery. You have to find out teh stock in the source bin and use it in transfer order. You may get in touch with WM consultant, if you dont know how to do it.
    2. If you are ok with just doing picking without WM, then you can change the storage location in delivery and then try picking in delivery itself. The storage location should not be enabled for WM for the plant.

  • Report to view SO-Invoice-Credit Memo-Debit Memo-with/ without reference

    Hello Gurus,
    Can any one help me for viewing the report where i can see Sales Order Invoice ,Credit Memo & Debit Memo with/without reference .
    We are creating Credit Memo & Debit Memo without reference but uses the same Purchase Order Nos .
    Please guide me on this...
    Thanks.
    Sameer S Barde

    hi
    u can use the standard t-code vf05n to see the list with reference to the document type...
    do revert if question is not answered..
    regards
    Chander

  • Vendor Invoice with Same Reference Number in two fiscal years.

    Vendor Invoice entered in SAP.
    DocumentNum 1600000612  Reference "47026723WA" Vendor Number "637278" Year "2008"
    DocumentNum 1600000667  Reference "47026723WA" Vendor Number "637278" Year "2009"
    We are thinking SAP will not allow/generate invoice with same Reference number. How can we restrict from entering Vendor invoices with Same Reference Number from same Vendor.
    Thanks
    Raghuram

    Restrict it through message control
    Transaction code OBA5
    Message NO.121
    Make it error for batch and online.
    Thanks,
    Ravi

  • Is there any way to link page number with the reference page number within text in InDesign CC and CS6?

    Is there any way to link page number with the reference page number within text in InDesign CC and CS6?

    You should ask in InDesign
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Does BOXI support crystal reports with parameter references in formulas?

    I am designing a report in Crystal Reports XI Developer that contains parameters, which are passed to a stored procedure and are also used within formulas ( in Crystal Syntax ie. {?FORMAT_ID} ) in the report itself.
    I can run the report successfully in CRXI Developer.  The formulas use the correct values from the parameters entered during execution and everything looks good.
    I then deploy the report to Business Objects Enterprise XI.  I do all of the things necessary to manage the report including setting up the proper database connection information and default parameter values.
    When I run the report using the Crystal Report Viewer, I get the following error message:
    Error in File Forecasting.rpt:
    Error in formula <Report Format>.
    'if (not isNull({?FORMAT_ID} ) ) then
    This field name is not known.
    Details: errorKind
    This happens when I press the "Preview" button in the Manage Object dialog from Crystal or when I run the report using InfoView.
    I have changed the formulas and it doesn't seem to matter what the specific content of the formula is; other than the existence of a parameter reference in the formula.  If I comment out the parameter and replace it with a hard-coded value, it gets through the formula fine.
    Does Business Objects Enterprise XI support crystal reports with parameter references in the formulas?
    Thanks,
    Tim H.

    Hi,
       In Crystal Reports under File -> Report Options >check convert Null Values to default > Verify on first refresh > Verify stored procedures on first refresh.
    This corrected the issue by allowing the query engine time to locate those columns and map them to the query being sent by the report.
    The convert null values was added because those field were being used in the record selection and grouping.
    Regards,
    Vinay

  • Insert Textpool with dictionary reference

    Hi!
    I want to translate a textpool per down and upload in excel. I translate the downloaded textpool in excel and upload it for the new language.
    The problem is: if the parameters are with dictionary reference, it doesn´t work - after INSERT TEXTPOOL it shows the parameter-text instead of the Dictionary-text.

    Unfortunately, the checkbox (Dictionary Ref.) is not part of the TEXTPOOL structure. So when you read the text pool and update it using INSERT TEXTPOOL, it will overwrite all your existing settings including this checkbox. You will have manually go into the selection texts and check this box again.

  • Try to load new iPad Mini with reserve copy from my iMac

    Hi,
    Try to load new iPad Mini with reserve copy from my iMac coming from my iPhone 4S.
    When selecting the copy I can not find the just made copy from my iPhone 4S.
    I see tree others, but not the latest from iPhone 4S.
    Is there a max on copies showed ??
    Please advise,

    As far as I know there is no limit to the number of backups that you can store in iTunes as long as you have the available storage capacity on the Mac. I have at least 10 or 12 backups in iTunes for my iPad and iPod Touch. Every time that you restore from a backup - a time and date stamped backup is created that cannot be overwritten. I must have 8 of those backups on my Mac.
    Did you look in iTunes>Preference>Devices to see if the backup is really in there?

  • Change OBD Group with WM reference

    Hi Experts,
    I have created an OBD group with WM reference in VL06P. Next, I tried to create TO for group. However, if there is an OBD being locked and cannot create its follow on TO. I would like to remove that OBD from the OBD group and create another OBD group for it later on.
    The problem is when I execute the first TO for group. The OBD group will marked as active and I cannot remove any OBD from it. (Am I right?)
    I tried to reverse the processing status. However, it seems there's no way to change the group status. Is there any tcode for this?
    Actually, I need to use this OBD group with reference is not due to 2 steps picking but I need to relate other TO with this OBD group. I only want to fill the LTAK-REFNR for other TO not related to any OBD to this OBD group. SAP only allows a OBD group with WM reference in the LTAK-REFNR field.
    Regards,
    Alex

    Ah, yes, Apologies
    I tested the same in lower system and I get message/number:
    Change cannot be made due to status of reference number XXX XXXXXXXX
    Message no. VL826
    I am not aware of anyway to override this behavior. I did test deleting the delivery to confirm it would disappear from the group but that would not help when the delivery is locked, hope some one else can comment
    (please note: as per your comment that the delivery is locked I did not test further to process the group after removing the delivery ((if you are able to delete the delivery I would recommend a quick test to confirm that does not create any challenge with processing the remaining deliveries)

  • Problem with Assign reference document.

    Hi all,
    I defined transaction input parameter type Xml.
    I used Reference Document Loader to load document (structure.xml) below.
    <?xml version="1.0" encoding="UTF-8"?>
    <SO_VALIDATION>
        <L4_SO_ID/>
        <L4_SOI_NO/>
        <PPC_STATUS/>
        <PPC_INFO/>
    </SO_VALIDATION>
    I used menu command Assign Reference Document, to assign above document to transaction input.
    I tryed to use this transaction in vs.net application as a web service.
    But there is no xml structure in InputParams in web service.
    I tryed alot but i did not achieve.
    What must i do?
    Thanks.

    cml_bzl,
    I'm using version 12.04 and I have not had any problems with assigning reference documents and using .NET.
    You should not have to do anyting special to get the transaction inputs to show up in .Net. To map the output I do the following:
    1. Create an output transaction variable and assign it's type as XML
    2. Using a XML document block to create and XML document for your output transaction variable
    3. Assign the XML document as the reference for the output transaction variable.
    THis works for me every time. If you change the transaction parameters, make sure you update the web service form the .NET side.
    Glenn

  • How can I order an iphone 6 and pick it up from one of the apple stores in London. It doesn't work with reserve and pick up because the 64 gb is never in stock.

    How can I order an iphone 6 and pick it up from one of the apple stores in London??? It doesn't work with reserve and pick up because the 64 gb is never in stock.

    Thank you for replying.    Yes I deleted the old email address..   

Maybe you are looking for

  • Add button to a JTable

    i added a button a Jtable.but am not able to dispatch the mouse click event to the button. I am not seeing any change in the button when clicked....its not getting the focus. the code is as below: class TableButtonMouseListener implements MouseListen

  • Desktop Folders not displaying content?

    One of my Designers has developed the following issue on his G5. Folders on his desktop do NOT display all items contained in it? He may see nothing at all or only partial items? However, if I take the Desktop over remotely (Chicken VNC) I see all it

  • Apps gone, not in purchase history

    ok so i backed up, then restored my iphone. everything is back except my apps. they were all downloaded right from my iphone. When i looked at my acct on itunes there are only my 2 most recent downloads in my purchase history. i realize there pry is

  • Delivery Address coming as a default in the home screen for creating a SHC

    Dear Experts I have done some changes in the delivery address and while saving it was asking to maintain as a default address otherwise it was not able to save the changes I made.So I maintained it as a default and saved the changes. Now the issue is

  • Fundamental User Interface Refreshing Problem with Acrobat X

    After installing Acrobat X (both Reader and Standard) I got the problem that over time the refreshing of user interface elements stops, which means that Acrobat gets into a state, where you can't see parts of the toolbar (and search button) any longe