We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

Re: [sap-dev] How to get item value and total value from BAPI in order creation

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by R. N. Wilhite (Senior Project Manager)
on Dec 29 at 12:26 PM
Unfortunately, I haven't done Web Dynpro before, but I'll tell you some
things that you might consider and you can see if they are meaningful in
your situation. Instead of doing test run, try doing it for real. When it
returns, you have neither committed nor rolled back. That is determined on
whether you follow it with bapi commit or bapi rollback... (I of course
don't know how Web Dynpro effects the equation). So, when it comes back, if
you can acquire the values that you need the user to approve, you can roll
back or commit depending on their response. Now that all depends on your
being able to get a hold of the values that you need.

Does that gain you anything?

Neal

---------------Original Message---------------
From: horatiusx
Sent: Wednesday, December 29, 2010 12:14 PM
Subject: How to get item value and total value from BAPI in order creation

Hi all

This is my first post here, and I'm desperate as I am really short on time. SO I need your help:

I am building a Web Dynpro to let some users create sales order in a guided way.
They need to know the values of items and total value of the order before they commit.
I am using BAPI_SALESORDER_CREATEFROMDAT2 and I use the parameter TESTRUN set to 'X'. Funny thing is that if i clear testrun order is correctly created.
No way I find the values anywhere in the output.
Tried to use BAPI_SALESORDER_SIMULATE but nothing changes...

can you please help me with this?

Thanks in advance

__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
  
R. N. Wilhite
SAP Development Helper

Posted helpful replies on 50 threads in a group to earn a Silver Achievement
Most Popular White Papers

In the Spotlight
Toolbox.com for iPhone: Ask Questions & Get Answers Anywhere. Use the New iPhone App
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language