Create PRogram for VL01N and LT03

Dear Experts,
I have a requirement wherein the user will give the Item Details alongwith the Sales Order in an Excel File for DELIVERY creation. This is because the SO's are prepared through EDI. When doing a delivery for the same in some cases materials might not have to be delivered because of some reason such as non-availability,delivery time etc.... Hence the same has to be deleted from the Delviery.
After that the Delivery is saved and then the user goes to Transaction LT03 for Picking where the Batches are allocated against the material.
Now we want to automate the process through an ABAP Program.
Can you give me a guidance as to how to go about it since in this after the delivery the system will have to call another transaction with the reference of the Delivery no.
any suggestions welcome.
Thanks

Hi,
You need to use BDC for this. Refer to this link.
http://help.sap.com/saphelp_47x200/helpdata/en/fa/097008543b11d1898e0000e8322d00/frameset.htm
http://abap-gallery.blogspot.com/2007/08/bdc-batch-data-communication-tutorial.html
http://www.sap-img.com/bdc.htm
Regards
Prasenjit

Similar Messages

  • How to create program for bapi?

    hi all,
    how to create program for bapi?
    reply me soon now.....
    can anybody help me.....
    thanks,
    S.Suresh.
    Title was edited by:
            Alvaro Tejada Galindo

    Hi ...Here is the step by step procedure for creating BAPIs.
    There are 5 different steps in BAPI.
    - Create BAPI Structure
    - Create BAPI Function Module or API Method.
    - Create BAPI object
    - Release BAPI Function Module.
    - Release BAPI object.
    Step1. Creating BAPI Structure:
    - Go to <SE11>.
    - Select Data Type & Enter a name.
    - Click on Create.
    - Note: Always BAPI should be in a development class with request number (Not Local Object).
    - Select Structure & hit ENTER.
    - Enter the fields from your database. Make sure that the first field is the Primary Key Field.
    - Then SAVE & ACTIVATE.
    Step 2. Creating BAPI module:
    - Enter TR.CODE <SE37>.
    - Before entering any thing, from the present screen that you are in, select the menu
    Goto -> Function Groups -> Create Group.
    Enter a name (Note: This name Must start with ZBAPI)
    Let this screen be as it is and open another window and there, enter TR.CODE <SE80).
    Click on the Third ICON that says Inactive Objects.
    Select the group that you just created and click on Activate.
    Notice that the group you created will disappear from the list of inactive objects.
    - Go back to ><SE37> screen and enter a name and hit <ENTER>. Then enter the group name that you just created and activated.
    NOTE: When you release a function module the respective group will be attached to that particular application. It cannot be used for any other application. NEVER include an already existing group that is attached to another module.
    Now click on the first Tab that says [ATTRIBUTES] and select the radio button that says remote-enabled module since we will be accessing this from any external system.
    Then click on the second tab that says [IMPORT].
    Enter a PARAMETER NAME, TYPE and the structure you created in the first step. Also select the check box ‘Pa’. All remotely enabled functional modules MUST be Pa enabled, where Pa means ‘Passed by Value’ and if you don’t select ‘Pa’, then that means it will be passed by reference..
    Then click on tab that says [EXPORT].
    Enter the following as is in the first three fields
    RETURN TYPE BAPIRETURN (These 3 field values are always same)
    Here also select ‘Pa’ meaning Pass by value.
    Note: BAPIRETURN contains structure with message fields.
    Then SAVE and ACTIVATE.
    Step 3. Creating BAPI object:
    - Enter Tr.Code <SWO1> (Note. It is letter ‘O’ and not Zero).
    - Enter a name and then click on create. Enter details.
    NOTE: Make sure that that Object Type and Program name are SAME.
    - Enter Application ‘M’, if you are using standard table Mara. If you are using your own database then select ‘Z’ at the bottom.
    - Then hit <ENTER>.
    - Now we have to add ‘Methods’. High light METHODS and then select the following from the menu:
    Goto Utilities -> API Methods -> Add Methods.
    - Enter function Module name and hit <ENTER>.
    - Select the second FORWARD ARROW button (>)to go to next step.
    - Check if every thing looks ok and again click on FORWARD ARROW button (>).
    - Then select ‘YES’ and click on <SAVE>.
    - Now on a different screen goto TR.CODE <SE37>. Enter Function Module name and select from the top menu Function Module -> Release -> Release.
    - Goback to TR.CODE <SWO1>.
    Here select the menu combination shown below in the same order.
    - Edit -> Change Release Status -> Object Type Component -> To Implemented.
    - Edit -> Change Release Status -> Object Type Component -> To Released.
    - Edit -> Change Release Status -> Object Type -> To Implemented.
    - Edit -> Change Release Status -> Object Type -> To Released.
    - Then click on <SAVE>.
    - Then click on Generate Button (4th button from left hand side looks like spinning wheel).
    - Then Click on the button that says ‘PROGRAM’ to see the source code.
    To check if this is present in work flow goto TR.CODE <BAPI>.
    Here it shows business object repository.
    - First click on the middle button and then select “ALL” and hit ENTER.
    - Goto tab [ALPHABETICAL] and look for the object that you created. This shows that the BAPI object has been created successfully
    Overall Info :
    http://help.sap.com/saphelp_47x200/helpdata/EN/00/32a43697bc11d1acf9080009b0fb56/frameset.htm
    BAPI Creation Info :
    http://help.sap.com/saphelp_47x200/helpdata/EN/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm
    Reference :
    http://help.sap.com/saphelp_47x200/helpdata/EN/00/32a43697bc11d1acf9080009b0fb56/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/EN/00/32a43697bc11d1acf9080009b0fb56/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/EN/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm

  • How to create schema for Header and Footer with pipe delimiter file BPEL11g

    Hi all,
    I have issule creating Schema for Header and Footer with body file .The file format is Pipe delimiter.The following format below like is...
    Softeware Components:File Adapter(Read) 11g,
    1|1211|000|577|5444
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|4544|000|yted
    I hope get the sollution for this from this Forum..Please help me out..Thankyou.

    You mean how many rows or columns..?
    If coloumns means 5 and rows only one(1).

  • Best workflow for creating games for pc and starling games in AIR

    best workflow for creating games for pc and starling games in AIR.
    I need to develop for tablets with starling and AIR as well as for pc without starling ie: downloading from a server.
    In starling you have to
    1. instantiate starling
    2. use texture atlases for loading graphic assets - well its the recommended way
    3. use juggler
    etc...
    ie: with all these differences is it best to:
    1. create completely different projects
    2. just create different classes for the starling specific parts
    3. use a conditional compile constant
        eg: CONFIG::STARLING
                "then do this"
    or      CONFIG::CPU
              "then do this"
    I currently have the latter but it feels a little messy. I would prefer separate classes for each platform where the image loading is concerned.
    There must be so many game developers out there but in large gaming companies that know exactly what to do. Perhaps you can point me in the right direction with a book or something.
    CHEERS

    The other thing is that I can't see the games being very different as you suggest. I have downloaded Lee Brimelows tut on creating a starling game on Lynda.com and the code is great for creating games using states for menu, play, gameover etc... The only difference is that he uses texture atlas and there is a great difference in loading them etc... so technically you would only need to handle them in a different class as collision and the rest of game play should be the same in both. I think!!!
    Well, actually not exactly but near enough - maybe it might be easier to create separate projects and just cut and paste the new code introduced.

  • What's the best approach/program for finding and eliminating duplicate photos on my hard drive?

    What's the best approach/program for finding and eliminating duplicate photos on my hard drive? I have a "somewhat" older version of iPhoto (5.0.4), and it doesn't seem to offer anything like that except during the importing phase of syncing my phone...

    I wonder, is there room to transfer them to your phone, & then back to filter them?

  • ABAP program for BAPI and convert DB into XML

    ABAP program for BAPI and convert DB into XML
    Thank you,
    Regards,
    Jagrut BharatKumar Shukla

    Refer the link -
    give an example of bapi coding?
    how can we transfer huge amount of data from database server to xml format
    Regards,
    Amit
    Reward all helpful replies.

  • Where can we find the standard program for scripts and smartform for vl02

    where can we find the standard program for scripts and smartform for vl02
    regard,
    anil

    If it is a standard Script Output see that all config in NACE tcode was done correctly and in the Application document the output type was properly defined and attached to a medium, partner and all communication related things like printer name, when to print the output and number of messages etc are entered in the document
    the go to the related application Tcode
    (for sales order goto VA02 or VA03)
    (delivery -VL02N or VL03N)
    for Invoice VF02 or VF03
    for PO -goto ME9F
    enter doc number, Issue Output to -> screen/printer
    then see the output
    step 1 : copy the z layout into testing client thru SCC1.
    step2 : go to se71 and check modified layout.
    step3 : if it is under logistics.. go to TCODE "NACE".
    u will see various applictions for each business process.
    there u have configure ur related layout according to requirments,
    for example u consider for Request fo Quatation..
    there is APPLICATION called "EA"
    click and enter into it. configure it with ur requirments, for help consult with ur functonal consaltant, and save it.
    step 4 : goto tcode ME9A for requst for quatation(RFQ).
    step 5 : enter test data avalable and check it with message display.
    it is same for other applications like Contract agreament --> ME9k
    invoice --> vl02n
    and goes on..
    Reward points for useful Answers

  • Creating filters for tRFC and qRFC (SM58).

    Hi All,
    I am trying to create filters for qRFC and tRFC as per OSS note 441269 - Setting up tRFC/qRFC monitoring in the alert monitor. When I try to create/copy owner I am getting error "_not in name space_" in task bar when I try to save the changes, I tried all kinds of naming convection still unable to proceed. Pls tell me how can I resolve this issue.
    System:-
    Kernel version 700
    Support pack 13
    Regards,
    kurma

    Hi Jordan,
    We used to 'reorganize' the tRFC/qRFC LUWs via sm58.
    Your found note is ok and try to refer some other notes as well.
    Note 375566 - Large number of entries in tRFC and qRFC tables
    Note 760113 - Delete unprocessed LUWs in the qRFC
    Following similar thread might also help -
    how to delete error entities in TRFC queue to clear stuck
    Thanks

  • BDC Program for FCH5 and FCH6

    Hi ALL,
    Pls send me BDC program for FCH5 and FCH6 in function module it self..
    How to write BDC the program in function module for FCH5 and FCH6..
    Thanks

    HI ,
    Thanks for your message,
    I'm doing the one bank payment(Out Sourcing Cheque) (ZCITI)transaction so in that implementation i need the FCH5 and FCH6 BDC programs.
    can you send me the sample code of BDC programs => thread locked  for above tcodes bcz i haven't done BDC programs in Function modules.
    Thanks in advance.
    Edited by: kishan P on Oct 15, 2010 4:00 PM

  • Firefox no longer creates previews for videos and music posted on my Facebook Timeline

    after its latests update to the Version 32, Firefox no longer creates previews for videos and music posted on my Facebook Timeline. in earlier Firefox versions there was no such problem. it started to happen exactly after its update, and it still works perfectly well in Chrome and other browsers.

    to make it clear, just look at the picture attached, which describes the process of posting the same video on my Facebook Timeline in Firefox and in Chrome:

  • What is the best All in One program for picture and video editing?

    Hello i am new to photoshop and would like to really make some fantastic photos and video for my family and friends. I want to add effects to video and Edit photos to the 10th degree. Can someone please recommend an Adobe program. Should i get CS4 extended should i get master suite? Also where can i watch Video Tutorials that start from the basic and lead to the complex. Thanks in advance

    What is the best All in One program for picture and video editing?
    There is no such thing. If there were, nobody would bother writing different applications. If you are primarily focused on still image editing and video, Adobe Production Premium is the way to go. You can find any number of tutorials just by searching Google and many good ones are linked from the Adobe help systems as well.
    Mylenium

  • Best program for monitoring and blocking internet use on my kids mobile devices, iPads, iPhones from my MAC

    Whats the best program for monitoring and blocking internet sites and usage for my kids on their mobile devices ipads, iphones and ipods, all from my desktop mac?

    Can't be done from your Mac remotely.
    But you can enable parental controls directly on iOS devices.
    iOS: Understanding Restrictions (parental controls)

  • Create program for existing partner

    Hi
    Please tell me how to create the Partner Program for the Existing Partner in My Partner list in Channel Manager.
    I Referred the partner document there is no specific setup for the existing partner. But After creating a new partner program can not able to Invite the partner, Because the new program can not be displayed in the inviting program list.
    Please tell me Solution for this as soon as possible.
    I am using the R12 server please tell me some solution or reference.
    Thanks
    Vivek

    What is the apps release ? and in which module you are trying this ?
    can you give us some more details.
    regards,

  • Does apple have program for kids and adults with learning disabilities

    My daughter has learning disabilities and we were wondering if Apple has program that supports adults with disabilities. We thought that the gps function and Siri would be a wonder tool to help her if she gets lost.  We want to teach her independence and so that means letting her do things on her own. We want to get her an Iphone but have to wait untill our contract comes due. Any suggestions on who to contact at Apple?

    I don't believe that Apple makes any specific programs for "people with disabilities". That is term covers such a broad range of issues! People who are blind have different needs than people with autism or people with spinal cord damage. Apple does include various accessibility options as part of the iOS.
    However, just because Apple doesn't create such apps doesn't mean they don't exist. I would start be looking around the App Store (which you can do by downloading iTunes to your computer). There will no doubt be general purpose apps that can be useful as well as apps designed for specific needs. Also, contact a support group for whatever specific disabilities your daughter has. They may have a forum or blog where useful apps are discussed. Do an Internet search for apps and her specific issues.
    Best of luck.

  • Why do we create indexes for DSOs and Cubes.What is the use of it?

    Hi All,
    Can you please tell me why are indexes created for DSOs and Cubes.
    What is the use with the creation of indexes.
    Thanks,
    Sravani

    HI ,
    An index is a copy of a database table that is reduced to certain fields. This copy is always in sorted form. Sorting provides faster access to the data records of the table, for example, when using a binary search. A table has a primary index and a secondary index. The primary index consists of the key fields of the table and is automatically created in the database along with the table. You can also create further indexes on a table in the Java Dictionary. These are called secondary indexes. This is necessary if the table is frequently accessed in a way that does not take advantage of the primary index. Different indexes for the same table are distinguished from one another by a separate index name. The index name must be unique. Whether or not an index is used to access a particular table, is decided by the database system optimizer. This means that an index might improve performance only with certain database systems. You specify if the index should be used on certain database systems in the index definition. Indexes for a table are created when the table is created (provided that the table is not excluded for the database system in the index definition). If the index fields represent the primary keys of the table, that is, if they already uniquely identify each record of the table, the index is referred to as an unique index.
    they are created on DSO and cube for the performance purpose ..and reports created on them wil be also more efficent ..
    Regards,
    shikha

Maybe you are looking for

  • Production order status and MRP planning - CNF and DLV

    I am confirming a production order using CO15. I have a single operation. The control key of the operation says that there will be no goods receipt. The GR will be done seperately using MIGO to order. My order is for 24000. I do a GR for 23000 using

  • Secure disk image

    In previous versions of OSX, a person could create a custom sized, secure disk image for storing sensitive data, info, or whatever, using disk copy. In OS 10.4.8, I don't see how I can do this now. Does anyone have any ideas? I need to be able to cre

  • Serialport readbyte not reading the correct data

    Hello everybody I'm writing a software in VB.net to communicate with an external device with modbus I have a problem while reading data received from the device , to put it in example , using sp1.ReadByte() the data sent from the device is this : 05-

  • Ip to port location

    I have 2950 switches. There is an suspicious ip address on my network that I would like to track down. Is there a way to look at the switching tables and determine what port a specific IP address is connected to? Thanks!

  • Movie Files Lost

    Here's the short version. .. Bought a WD 2tb exterior hard drive. The only files ever written to it were some movie files made in iMovie. They were inadvertently selected.. deleted and the trash emptied. The drive was plugged into my iMac when this h