How to execute the first program without using SUBMIT and RETURN

Hi Experts,
My requirement is , I need to select thet value from VA02 at runtime and need to pass that value to VF01 transaction and press save then it creates proforma document.The created document we can see in VA02 by clicking on document flow.
My program is processed through OUTPUT TYPE.
To get this functionality i written coding like this.
1) i am selecting the value at runtime from VA02  using FORM ROUTINE.Now iam passing this selected value to VF01 for
genarate proforma document using BDC.Here the problem is,first time when i am selecting the value form VA02 at runtime it is in open status,now my BDC code need to update the value in VA02 only.so locking problem occurres  the document is not getting updated.
To overcome this problem i have done changes like this......
2) i splited my program into two parts, that  is into two programs.
a) In first program i am only selecting the value form VA02 at runtime using FORM ROUTINE and in this program i have written SUBMIT statement to call another program there my BDC  code will create documet and update in VA02,upto here everything is doing fine,
     But here again the problem is when i process OUTPUT type my program is triggering and giving correct result but the status is not changing form YELLOW to GREEN.Why means when SUBMIT statement trigger, control is going to second program and creating a new document,but not coming to first program so the status is not changing as the first prohram is still processing. .If i write RETURN along with SUBMIT the VA02 is in open STATUS only, till control comes to first program.so it will not uodate document in VA02.
If i execute all line in my program status will automatically change from YELLOW to GREEN how to acheive this
please suggest me the solution.

I would do 2 things:
1) be sure to do a COMMIT WORK AND WAIT
2) refresh your display in calling program
the point 2) can be done by submitting the program again (or the transaction) with the same parameters

Similar Messages

  • I have an apple emac powerpc G4 which is running 10.3.9 software. I downloaded the 10.5 leopard software. Does anyone know how to install the 10.5 without using the dvd installer? In dummy terms please?

    If any one could help me with this. i'd be enternally grateful as i'm getting nowhere on my own!
    I have an apple emac powerpc G4 which is running 10.3.9 software. I downloaded the 10.5 leopard software. Does anyone know how to install the 10.5 without using the dvd installer? In dummy terms please

    The only way to get 10.5 is to purchase it on CD. Such as http://www.amazon.com/Mac-OS-Leopard-10-5-10-51/dp/B0012RAVRC where is being sold for $179.99.
    If your optical drive is broken, you will either need to replace it or get an external. There is no other way.
    Why do wish to upgrade? As you can see it is going to be expensive, probably more the Mac is worth.
    Allan

  • How to know the tcodes/programs that uses a user exit

    Hi, anybody knows given the user exit (function module) how will i know the tcodes/programs that uses it? the where used list doesn't return any.

    Hi,
      You will find the enhancement for the exit EXIT_SAPLCOZF_001 ,go to se11>enetr MODSAP Table name in Memeber postion you can enter your function module name EXIT_SAPLCOZF_001>now you will get the enhancement COZF0001 (trx SMOD)
    yOU will find whre the exit is called from the t.code Try this method:
    All exits have the program name as part of their own name, for eg, EXIT_SAPLCOZF_001. In this, SAPLCOZF is the program that the exit is called in, you can use this program name and search for transaction codes related to the program (in SE93).
    The only hitch in the above method is when the program name is a function group program name (SAPL*), in which case you will have to drill down into the function group to find the corresponding tcode.
    Or
    Go to SMOD transaction.
    Enter the Enhancement Name in SMOD.
    Open in Display mode.
    Now get the package name from the window.
    Now go to transaction SE80.
    Choose package from the listbox
    and enter the package name.
    Now it will display the list of Transactions associated with the project.
    Regards
    Kiran Sure

  • How to get the update file without using Nokia Sof...

    The network connection is unreliable and downloading the firmware update using PC Suite for my Nokia E90 proves difficult. Does anyone know how I can get the firmware version 300.34.84?
    The trouble is Nokia's Software Updater does not accommodate any slight interruption to the connection during the update process. I will update this discussion with what version of PC Suite I have once I get that info.
    Any help is kindly appreciated

    In fact, it is not Possible to get the update file without using Nokia Software Updater or you should search the net to find the update files in another place and even you get them, you can not use them with NSU.
    You can Update your Device with:
    1 - NSU (Nokia Software Update)
    2 - FOTA (Firmware Over The Air) for FP2 devices ONLY.
    3 - Nokia Care Center
    there is not other way to upgrade.
    Hope useful for u.
    regards
    Nokia N79 4GB
    SW Version: 32.001 RM-348 MEA

  • How to trace the iphone 4 without using icloud.

    I need a important information..It´s possible to trace the iphone 4, without using icloud? Cause my friend have an accident and someone instead to help him, someone stole his iphone...but i try to find the iphone with icloud, but someone turned off the icloud...I need to find this person, and where he or she is, cause someone are using the iphone....I try to find using his apple id and password, on the find my iphone but didn´t work..... if someone know something...help me... its important...
    thanks guys.
    Mariana L.

    There is no other way to locate an iPhone.

  • How to Execute a Web Template Without Using the Cache?

    Hi All,
    I am trying to execute a webt emplate to determine performance and optimisation. The trick is that the web template starts using the cache. Is there any way to turn off the cache for the web template? Maybe using a URL parameter or something?
    Thanks in advance for any assistance provided.

    Hi,
    You can do it thru RSRT, choosing HTML, the query and the template, then in the menu you have to check the box dont use cache, aggragates and BIA.
    Regards, Federico

  • How to dismiss the spelling dialogue without using the mouse

    I'd appreciate the right tip from anyone on how to dismiss the spelling dialogue in Mail without using the mouse. (I'm one of those guys who likes to use the keyboard as much as possible.) Here's the scenario:
    I open a new message in Mail, type my text, press Cmd-Shift-D, then (because I have it set to check spelling when I "click send") up pops the spelling dialogue. That's fine as far as it goes, but many times I don't need any corrections because either I don't care or because the words are fine but just not recognized by Mail. So until now what I do is use the mouse to click on the far left one of the three round buttons in the upper left corner of the dialogue. I would like not to have to use the mouse, but pressing Esc or any other keys I try doesn't work to make it go away.
    Your advice is welcome! Thanks.

    Well, that window is actually a floating window, which means that it is meant to hang around. Notice that if you move Mail to the background (without hiding it), the spelling window hides itself, then shows itself again when you bring Mail back to the front. Floating windows are kind of in their own little world, meant to float above windows while not interfering with keystrokes sent to the frontmost window.
    I would argue that it shouldn't be a floater, because nobody's going to want it around once they're done checking spelling. But that's kind of a matter of opinion, and obviously Mail's designers thought differently.
    BTW, in the course of writing this, I discovered something -- if you click in the spelling window, so that you could type in the field there, Command-W will actually close the floater. But, of course, that still requires a click in the window with the mouse.

  • Create Planning Application for the first time without using workspace

    hi,all:
    I come across a problem:The Hyperion Planning Application isn't configured into the workspace,but i have to create a Hyperion Planning Application for the first time.So, have any other methods to solve this problem? Can I use other tools or something to create it?
    thanks very much

    yellow wrote:
    Hi,John,Thanks for your quick reply.
    I think after install Hyperion Planning,at first time can't create application in this address:http://localhost:8300/HyperionPlanning/ ,usually create it in workspace.
    Is the address you said different from http://localhost:8300/HyperionPlanning/?
    thanksI gave you the address to create a planning application directly - http://localhost:8300/HyperionPlanning/AppWizard.jsp
    Notice the AppWizard.jsp on the end.
    If it version 11 you will be able to create your datasource from that location, if it is version 9 then you will have to create a datasource first from the configuration utility.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • My iphone4 keeps shutting off on its own every 24-36 hours and I can't switch it back on unless I plug it into the charger n charge it. I didn't charge the iPhone for a long period the first time I used it and I charge it every night for at least 7 hours.

    My iPhone 4 shuts down automatically and I can't turn it back on unless I plug it into charger and charge it. This happens spontaneously. I didn't charge it for a long time before using it for the first time and I charge it nightly for at least 7 hours. What is the problem?

    My iPhone 4 shuts down automatically and I can't turn it back on unless I plug it into charger and charge it. This happens spontaneously. I didn't charge it for a long time before using it for the first time and I charge it nightly for at least 7 hours. What is the problem?

  • How do I completely turn off the backlit keyboard without using F5 and F6?

    I believe my keyboard short circuited after a spill this weekend. I'm currently using a usb keyboard from Apple. I have disabled the keyboard, on my laptop, now I want to completely turn off the backlight. I've looked in the settings and can't seem to find anything. Thanks.

    hi mtbomb,
    hi Can you while the Power LED is blinking hold the power down don't let it go until the light disappeared.
      Technically the Yoga13 should turn off while holding down the power. at least 10 to 15 sec.
    I would suggest calling Technical Support if the above steps did not resolve the issue.
      It's possible that when you turn on the system, it is not going to sleep but the blinking indicates failure.
    Best regards
    Solid Cruver
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Need help on how to permanently delete applications/programs without using third party applications

    Title says it all...
    Hope you guys can help me out.
    Thanks!

    See Here...
    http://macmost.com/uninstalling-apps-in-mac-os-x-lion.html

  • How do I update ios 7 without using itunes and get rid of this message?

    I pressed update and it has a picture message that won't go saying connect to itunes, but I don;t have itunes installed on my laptop! How do I get this to stop as I need my phone?!
    Help would be much appreciated!

    You'll need to install iTunes on your laptop and restore the Phone there.
    There is no way around it.
    itunes.apple.com
    http://support.apple.com/kb/HT1414

  • HT201210 i 'm very angry with apple is the first time i use ipad and after 2 days i try to follow

    i am very angry with apple. when I tried to syncronize de device with this computer it stopped to run, I spent a lot of money to buit ipad and a lot of money to conect with internet but it was unuseful.

    So what was your question?

  • How to keep the same cost in Sales order and return order?

    Hi experts,
    When I create a sales order with item cost 100 USD.
    Then the cost of item changed and down to 90 USD.
    When I do goods return refer to the sales order. How can I keep the same cost (VPRS) 100 USD but not 90 USD?
    I made a test the cost in sales order is 100 USD but 90 USD in return sales order.
    I want the cost in return sales order is 100 USD.
    How can I do?
    Thanks,
    Lance

    Hi,
    Let me tell u my understanding of your requirement, after the sales the cost of the item is changed to some thing low than it was in sales order or invoice, in this scenario you need to transfer the cost of the material as it is in the sale order or invoice (which you are taking as reference to create a Return Order), am i right?
    If so, you can proceed like this.
    In the copy controls of Billing to Sales orders ( F2 to RE) we have the pricing type N assigned to it ( Transfer pricing components unchanged, New Cost) here the system is reading the change of the cost again from the material master. if you don' t want it to read the material master data again we can have a change try with pricing type 'D'  (Copy Pricing elements unchanged), and try now.
    let me know the result.
    hope this will solve your problem.

  • How AAE call the mapping program?

    Hi Experts,
    i almost have no experience on using AAE. after reading some documents i still have the below questions,
    1. mapping program is happened in integration engine, while AAE is used for integrated scenarios without going into integration engine, then how to execute the mapping program?
    2. till now all the work i have done is using the common scenario, then for which scenarios i can suggest my client that "we should use integrated scenario , and there is no 'side-effect' of using is instead."
    3. in some documents "persistence" is discussed, can someone help me into more details?
    thanks in advance. hope these could be explained.

    > 1. mapping program is happened in integration engine, while AAE is used for integrated scenarios without going into integration engine, then how to execute the mapping program?
    When you implement AAE,Adapter engine will execute your mapping program,that means AE has the capailities , they have copied moved routing ,mapping  features in AE,so no need to interact with IE.
    > 2. till now all the work i have done is using the common scenario, then for which scenarios i can suggest my client that "we should use integrated scenario , and there is no 'side-effect' of using is instead."
    There is no side effects at all,but there are some limitations like in PI7.1 monitoring not possible,ABAP PRoxy,look ups will not supported and only supports AE adapters communication.
    PI7.1 EHP1 some enhacements happend on the same
    search in sdn.
    > 3. in some documents "persistence" is discussed, can someone help me into more details?
    can you explain bit more..
    Regards,
    Raj

Maybe you are looking for