Method /Event for getting all the info passsed on sales order creation/edit
Hi Experts,
I am editing sales order screen on UI, and I need all the inputs that I m passing on the screen.
Can nybody suggest any method or event in which I might catch all the info on clicking the 'SAVE' button.
Hi Asif Khan,
Please check this link
BAPI_SALESORDER_CREATEFROMDAT2 - Sales Order Create
http://sap-img.com/abap/bapi-salesorder-createfromdat2.htm
Best regards,
raam
Similar Messages
-
just bought a new iphone 4s 16gb my sim worked correctly after puting and old profile on the phone so I could get all the info now it says invalid sim what can I do o fix this?
I suspect unless he had some items in iCloud backup then they are gone. Connecting an iPhone to a different library from that to which it was previously connected will result in the device asking if you want to erase it.
-
Function module or BAPI for getting all the Idoc numbers of a sales order
Hi Folks,
Is there any function module or BAPI exists for getting all the Idoc numbers which are generated for a Sales order.
Thanks in advance.
Regards,
Sarath.....Hi Sarath,
try this function module...
BAPI_IDOCAPPL_DISPLAY
Regards,
Prabhudas -
Can't seem to get all the bookmark folders in alfabetical order
I have tried just about everything to get my bookmark folders in to alphabetical order most are right but at the bottom of the list there are quit a few folders that are not. I have tried the organize bookmark command than the view than sort than by name but it just wont do it.
I can't get all of my bookmarks in alphabetical order either and I find it utterly preposterous that something as simple as organizing bookmarks turns into a cumbersome search over the internet.
What is maddening is that there is something in Firefox that will alphabetize your bookmarks, but only in half-ass fashion leaving you to scratch your head and ask the question, "what were they thinking?"
What I mean by half-ass is that when I go to "Organize Bookmarks..." highlight the bookmarks menu and then select Views-->Sort-->By name I find that the book marks are not in order after I am done. Why have these buttons if they clearly will not work. I plan to video tape this and put it on YouTube to expose the utter stupidity in something that ought to be trivial.
Has anyone ever considered the case where a user has so many bookmarks that they NEED to be in alphabetical order?
Every computer on the planet organizes ALL files and ALL directories in order. So, tell me, where is the logic in the way Firefox organizes their bookmarks (seems to be chronological)? Chronological might be okay for a small number of bookmarks (like five or so) or recently bookmarked pages, but I have hundreds of bookmarks!
There's a reason why we alphabetize things. How does one find a book in a library?
In Firefox I have organized bookmarks in a directory (and I think this might even work), but this still doesn't address the issue I have with needing to have EVERY file and EVERY folder in ALPHABETICAL order! WTF? This is just idiocy. -
How 2 read all the line of a sales order text ID plz
Dear all
I have the following to read sales order text of single line of limited char(40)
TIDNO = '0003'.
CONCATENATE SSORD
LIPS-POSNR
INTO TNAME.
TOBJT = 'VBBP'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
WA_ITEM-PACKTYP = mslines-tdline(40).
EXIT.
ENDLOOP.
How do i read mutiple lines plz tell me ?
Thnx
Moni
Message was edited by: md monirujjamanHi Md,
sorry I don't understand your question, can you explain more ?
Regards
Frédéric -
Query to check item no in all the rows in a sales order
Dear All,
Please assist me with a query which would be able to check the rows in a sales order to see if a particular item no is present. We are using SAP B1 2005 PL50
Kind Regards,
Monil.Hi !
Try this !
if @object_type = '17' and @transaction_type IN ('A', 'U')
BEGIN
if not exists (select t0.docentry from ORDR T0,RDR1 T1 where
t0.Docentry = @list_of_cols_val_tab_del and
t0.Docentry=T1.Docentry and
T1.Itemcode in (select o1.itemcode from oitm o1) and T1.Itemcode = 'XXXXX'
begin
select @error = 1, @error_message = 'Add the item'
end
end
Replace XXXXXX with your itemcode ! -
Capture the purchase price during sales order creation
Hi,
User wanted to capture the item purchase price when a sales order is raised.
Currently, the sales order capture the VPRS whcih is coming from the material valuation (MAP) price.
Is there a standard condition type that will captured the purchase price in the PIR record or the PP condition?
ThanksHi
As far as i know it is not possible to fetch the purchase price in sales order.
May be you can define an another condition type asa statistical and maintain the condition records for that. But it will be a tedious job for maintaining all the things.
regards
Prashanth -
Userexit/Badi for vendor or enduser addition/change in sales order creation
Hello Gurus,
I need a userexit/badi that gets triggered on the addition/change of partners in sales orders
I need to make some validations when the user adds/changes the vendor or
enduser in the sales order creation.
I tried many exits that I could find from forum but they were not able to asist.
Any help would be much appreciated.
Thanks in Advance,
Sumit.Well, if all else fails, USEREXIT_MOVE_FIELD_TO_VBAK will definitely be called when you change partners... but of course it will be called much more often than at only partner changes. Still, internal table XVBPA shows the current partners, so you could compare its content with the earlier state of the table to recognize a partner change you're interested in.
Strangely, the usual Y-table (YVBPA) is not populated, not sure why, otherwise the comparison would be even easier. -
How do I get ALL the info records for a materials plants using an SAP FM?
I need to get all of the info records from the EINE table for a material - all of its sites (plants, we are using SAP retail).
The problem is this: I call the FM MD_INFORECORDS_READ - here is the code for my call:
CALL FUNCTION 'MD_INFORECORDS_READ'
EXPORTING
imatnr = t_output_data-article <-- the material number
iliefnr = lv_eina_key < -- see below on how I get this
importing
eeine =
TABLES
exp_eina = it_eina
exp_eine = it_eine
EXCEPTIONS
no_eina_record_found = 2
no_eine_record_found = 3.
lv_eina_key is taken from this call:
SELECT SINGLE altkn INTO lv_vendor_no
FROM lfb1
WHERE lifnr = lv_site (plant)
AND bukrs = t_output_data-company_code.
The probelm is it only returns the first record it finds for each site. There could be multiple info records, each one based a a different Valid From date for each site. I need either ALL of the EINE records for each site OR the most current one
I know I am not using ALl of the parms in the FM - but are there maybe there are other ones should I be using.
Perhaps there is there another FM I should be using - cause I do not have the info record number to pass.
Thanks.
ScottNever mind - the FM does work - this was bad data.
-
I didn't get all the songs from my pre order
I pre-ordered daft punk's new album a few days ago, and today I got an email confirming it was now available for download. When I visited iTunes on my mac, it only showed 3 things in my recently purchased, I ordered all the songs in the album. I got Beyond, Contact, and the iTunes EP. Nothing else. I am hesitant to press the buy now button, because I don't want to be charged again. Can someone please tell me what is wrong?
Thanks!
SFound a fix, I went to "my account" and typed in my password, and hidden along the top of the screen is a message "8 items to be downloaded" then I clicked download now, and all better. Apple, please give these kinds of instructions in the email!
-
Create a new entry for zfield in the CDHDR table when sales order is create
Hi,
We have some custom field added to table VBAP and that field need is updated thorugh transaction VA01 or VA02.
The Function poeple is asking to Update the CDHDR table for the ztable when ever the field is updated ,and they want
the changes to appear in the sales order changes Log.
PrabhudasProblem solved.
By using the ..
Used this FM "VERKBELEG_WRITE_DOCUMENT" in MV45AFZZ in exit...DOCUMENT_SAVE.
by passign the only VBAK and VBAP table structure of XVBAP and YVABP and field name as ZZFIELD.
Prabhudas. -
How to get called from R3 on a Sales Order creation
Hi,
I'm completely new on SAP NetWeaver technology.
My domain is SAP Business One SDK development and .NET Technologies.
What I'm trying to do is some kind of integration between B1 and R3 and for that I need to get called in my .NET application by an event or something similar coming from and R3 system everytime a new Sales Order is created.
Could some of you as NetWeaver experts give me a hint on how to do it? Right now I'm looking at ALE and IDocs but I cannot find a concrete sample of a .NET application. Do you have some useful links to .NET samples?
Thanks,
Trinidad.Use ERP Connect.
Apart from the client functionality that allows function modules or BAPIs to be accessed in
the SAP system, ERP Connect also offers the possibility of easily developing a server
function.
For example, if you have a .net application which adds 2 numbers sent by R/3, you can call that .NET function using ABAP code like this one:
REPORT z_add_test .
DATA result TYPE i.
CALL FUNCTION 'Z_ADD' DESTINATION 'YAHOO'
EXPORTING
number1 = 13
number2 = 31
IMPORTING
res = result.
WRITE result.
Looks simple, right?
But don't forget that you still have to do something from the .net realm.
Code something like this:
using ERPConnect;
static void Main(string[] args)
RFCServer s = new RFCServer();
s.GatewayHost = "ides";
s.GatewayService = "sapgw13";
s.ProgramID = "YAHOO";
s.IncomingCall += new ERPConnect.RFCServer.OnIncomingCall(s_IncomingCall);
RFCServerFunction f = s.RegisteredFunctions.Add("Z_ADD");
f.Imports.Add("NUMBER1",RFCTYPE.INT);
f.Imports.Add("NUMBER2",RFCTYPE.INT);
f.Exports.Add("RES",RFCTYPE.INT);
s.Start();
Console.Write("Service is ready.");
Console.ReadLine();
private static void s_IncomingCall(RFCServer Sender, RFCServerFunction CalledFunction)
if (CalledFunction.FunctionName=="Z_ADD")
Int32 i1 = (Int32)CalledFunction.Imports["NUMBER1"].ParamValue;
Int32 i2 = (Int32)CalledFunction.Imports["NUMBER2"].ParamValue;
Int32 erg = i1 + i2;
CalledFunction.Exports["RES"].ParamValue = erg;
Console.WriteLine("SAP did a call at " + DateTime.Now.ToString());
else
throw new Exception("Something bad happened!!!");
That... should be working
Reward points when you find usefull. -
How to export the material list during sales order creation
Hello,
In VA01 while creating Sales Order is there are an option to export a list of material numbers at one shot?
I have about 400 materials to create in 1 sales order. It's time consuming to enter one by one manually.
Please help. Will reward points.
PriHi Pri,
Go to VOV8 transaction check the document type PV -Itemproposal if not there then define the document type for Itemproposal.
You copy the Standard OR type do these settings only
Sales document type PV Item proposal
SD document categ. D
Screen sequence grp. MA
Transaction group 5
Doc. pric. procedure C
Display Range UALL
FCode for overv.scr.UER1
Propose deliv.date give chek mark
Define the number range and assign number range.
Noe you try
I hope it will help you,
Regards,
Murali. -
I backed up my old phone to my computer, but how do i get all the info onto the new phone
i got my new phone. i backed up the old phone onto the competer. everything is in itunes. but when i plugged the new phone and did the sync it didnt back up any newer stuff. just older stuff. i dont wanna lose any pics or info. its acting as if there two different phones and not syncing the old phones info from the computerto the new iphone
iTunes will recognize your new phone as a different device from your old phone. Do you have any information on your new phone that you want to save? Restoring to the backup of your old phone will overwrite your data and settings with those of your old phone. If you want to save any data on your new phone, you'll need to do this first. After doing so, connect it to iTunes, right-click on the name of your phone on the left side and select Restore from Backup, when prompted, selecte the backup of your old phone to restore from.
-
How do I get all the info in "favourites" in other browsers into Fire Fox?
In my other browsers I have a lot of "favorite" names. In your browser you call them bookmarks.
How can move all my" favorites" to your" bookmarks"?Does this help [[Importing favorites and other data from Internet Explorer]]
Maybe you are looking for
-
Hello, we are currently migrating from Windows Server 2012 to 2012 R2 and are not able to get the new Direct Access Service up and running. Our goal is to establish DirectAccess connection for a handful of clients using the IPHTTPS-adapter on the def
-
Doubt about the settlement rule of the Production ORder
The only default distribution rule allowed for a PP order is PP1 or PP2. We would need to change that to allow settlement to multiple receivers as a default. If that is the case, we may want to look into a user exit to update the settlement rule dur
-
I want to update to iOS 7 when it comes out via iTunes. I gather that I will require iTunes 11.1 to do so, but I recently updated my version (today) to version 11.0.5. Will I be OK or wait until I have a Wi-Fi connection and do it then?
-
Where clause with 3 tables?
hi all can anyone check the following query for me and guide me can we join 3 tables with where clause? SELECT ALL SLIP.NUM, SLIP.NAME, SLIP.NAT, SLIP.JOIN, SLIP.JOB, SLIP.GENDER, SLIP.BANK, SLIP.ACCOUNT, SLIP.YEAR, SLIP1.NUM, SLIP1.BASIC, SLIP1.CODE
-
My iphone 4s is not connecting to home wifi!
My iphone 4s doesn't show my home wifi in the settings, yet my laptop and an old ipod touch of mine are both connected to the home wifi. This happens in my room, and for my iphone to recognize my home wifi, I have to leave my room and move closer to