Whre to see the contract number in sales order
Hi All,
I created conrtact thruogh T.code:va41,based on this number,i create sales order.But my question is where can i see the contract number in sales order(va01).Pls suggest.
Thanks,
GTNR
Hi GTNR,
This is not possible to see in VA01 while creating the sale order,because the system taking the reference document no form buffer,so it is not possible to see in VA01.While creating the order you select create with reference there it self you will tell the system through which contract you want to create the sale order.
Once you save the order in change mode VA02 you can see that through document flow or form table also you can see
as Mr.Ravi mentioned above.
Regards
Ram
Similar Messages
-
Serial number in sales order creation
HI all,
please help to me........
My requirement a add the serial number BAPI sales order.
problem is their no serial number in bapi structure.
How to add serial number crate a salesorder bapi.
serial number is RIPW0-SERNR.
Thanks & Regards,
SReddy.hi,
refer to this link
http://help.sap.com/saphelp_nw04/helpdata/EN/3e/0e1089c24611d1ad09080009b0fb56/content.htm
refer to this code...
Also if you set the * CONVERT_PARVW_AUART = 'X' parameter to 'X' you can use sold to party as SP and ship to party as SH.
REPORT ZEX_BAPISALESORDCRT .
--Data Declaration--
Data: st_BAPISDHEAD like BAPISDHEAD, " Sales Order Header Data
ta_BAPIITEMIN like BAPIITEMIN occurs 0 with header line, " Ln item
ta_BAPIPARTNR like BAPIPARTNR occurs 0 with header line, " Partner
d_BAPIRETURN1 like BAPIRETURN1, " Bapi return msg
d_vbeln like bapivbeln-VBELN. " Sales Order Number
Move the data to create sales order in the repective parameters------*
move: 'TA' to st_BAPISDHEAD-DOC_TYPE, " Sales document type
'15493' to st_BAPISDHEAD-PURCH_NO_C,
'00010' to ta_BAPIITEMIN-ITM_NUMBER,
'Y-351' to ta_BAPIITEMIN-MATERIAL,
'1100' to ta_BAPIITEMIN-PLANT,
'1' to ta_BAPIITEMIN-REQ_QTY,
'AG' to ta_BAPIPARTNR-PARTN_ROLE, " Sold to Party
'0000007777' to ta_BAPIPARTNR-PARTN_NUMB.
Append the internal tables-------------------------------------------*
append ta_BAPIPARTNR.
clear ta_BAPIPARTNR.
append ta_BAPIITEMIN.
clear ta_BAPIITEMIN.
Move ship to party---------------------------------------------------*
move: 'RG' to ta_BAPIPARTNR-PARTN_ROLE, " Ship to party
'0000007777' to ta_BAPIPARTNR-PARTN_NUMB.
Append the internal tables-------------------------------------------*
append ta_BAPIPARTNR.
clear ta_BAPIPARTNR.
Call the Bapi to create the sales order
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
EXPORTING
ORDER_HEADER_IN = st_BAPISDHEAD
WITHOUT_COMMIT = ' '
CONVERT_PARVW_AUART = ' '
IMPORTING
SALESDOCUMENT = d_vbeln
SOLD_TO_PARTY =
SHIP_TO_PARTY =
BILLING_PARTY =
RETURN = d_BAPIRETURN1
TABLES
ORDER_ITEMS_IN = ta_BAPIITEMIN
ORDER_PARTNERS = ta_BAPIPARTNR
ORDER_ITEMS_OUT =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CCARD =
ORDER_CFGS_BLOB =
ORDER_SCHEDULE_EX =
if d_vbeln <> space.
write: 'Sales order No. ', d_vbeln.
endif. -
User Exit in the change mode of Sales Order
Dear Guru's
In my requirement I want to stop the user from editing the status of Delivery block and Billing Block into the change view of Sales Order.
I have 2 users for them whenever they may see the change mode of sales order they should see Delivery and Billing Block in gray
that they should not be able to remove the block or change the block.
But I have two other users also who can release and change the Blocks.
Therefore I think mine is the User Exit case but I dont know which is the User Exit I have to give to the ABAPer
Please suggest me the User Exit, Thanks in advance for answer and Suggestions.
regards,
VojasDear Vojas,
As per me User exit will be used, as there are check about the users in your requirement. Please try with in MV45AFZZ, there are seceral user exit, I guess in USEREXIT_READ_DOCUMENT may be used, ask your abaper to put a check on the current user and if the user which is not in your list of authorized one then change the Blocks in Display mode, or uneditable mode.
Thanks,
Raja -
BAPI to get delivery number and Sales order
Dear all,
Is there a standard BAPI that would help me get the delivery number and sales order number when Shipment number is given as an input?
Regards,
Neha.BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales and Distribution Document
BAPI_SALESORDER_GETSTATUS Sales Order: Display Status
BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
Reward Points if useful. -
How to restrict the Number of sales orders in theTCode:VL10A whil creation
I'm creating the Delivery by using the batch job with program: RVV50R10C Here I need to restrict the number of sales orders numbers while creating deliveries for sales orders
Like system should pick the sales orders (sales documents) from 1 to 100 OR 100 to 200
Please advise me how to do it and what changes I need to do itHi,
Aslo, you can see Note 198137 - VL10: Customer-specific enhancements / user exits. As is for SO, check subroutine LV50R_VIEWG03. If cf_subrc = 1 thin this SO isn't seen in list.
***INCLUDE LV50R_VIEWG03 .
*& Form POSTAB_VEPVG_FILL_USER
FORM POSTAB_VEPVG_FILL_USER
USING IX_LIST_PROFIL TYPE SHP_VL10_LIST_PROFIL
IX_PARAMETERS TYPE SHP_VL10_PARAMETERS
IX_SELECT_OPTIONS TYPE SHP_VL10_SELECT_OPTIONS
IT_ENQUEUE TYPE SHP_VL10_PACKAGE_T
IX_SD_ORDER TYPE SHP_VL10_SD_ORDER
IS_VEPVG TYPE VEPVG
CHANGING CS_POSTAB TYPE SHP_VL10_ITEM
CF_SUBRC TYPE SYSUBRC.
CF_SUBRC = 0.
* cs_postab-zzfield = ...... "add new field to List
* if xxxxxxx = yyyyyyy.
* cf_subrc = 1. "Exclude this index from List
* endif.
ENDFORM. " POSTAB_VEPVG_FILL_USER
I hope this helps you
Regards
Eduardo -
How to get the contract number selected on VA01.
Hello Experts,
While creating a sales order a contract number is selected.
ie to which contract this SO is being created.
We get a ALV list with list of contract number and we select one.
But no where this contract number is displayed.
I have a placed a input/output box on additional tab header leve of VA01.
I need to display the contract number selected by the user for that sales order on to that box.
and this should happened the moment the user copies the contract number from the ALV list
any functon exit or badi's which could be used to get the value.
right now iam using the include MV45AFZZ
I know the table getting used.
Thanks in advance.
Regards,
RanjithYou can put your code into the MOVE_FIELD_TO_VBAP userexit in include MV45AFZZ. The contract information is stored on item level (VBAP) in fields WKTNR (contract number) and WKTPS (contract item). If you can have more than one contract in a sales order you should display that information on item level rather than header level, if you always reference one contract only per sales order header should be fine.
Hope that helps,
Michael -
I have installed iBooks on both my iMac (main library) as well as on my iPad Mini Retina. I can't seem to find where to see the total number of books in each library? Can anyone enlighten me please? I can see the covers, lists etc. but nowhere how many books I have total in each library (Total: X number of books stored) or something like that. Can someone point me where this information is viewable?
Did you have 'find my iPhone' activated on it? Because if you go to iCloud.com you can log in there and you can remotely lock or wipe your device. From what I hear, the police won't do anything about going and fetching stolen iPads and iPhones, but if you have find my iphone/ipad/ipod/mac turned on then it will give you a map of where it is.
Just keep in mind that sometimes iTunes does ask you for your password regardless, and only a few weeks ago apple brought in security questions, so everyone had to fill in security questions for their iTunes account to make it more secure If all else fails, ring Apple cusomer support and they might be able to bar your account or something, however you may have to make a new account (the might be able to set it up so you have all your previous information on a new account)
Hope this helps! -
How can I see the phone number that a contact used to call me?
I have several contacts in the addressbook of my iPhone 4 (iOS 5.0.1) for which I have entered multiple phone numbers. In the call history the names of my contacts are shown, which is fine. To call someone back based on the history I would like to know which number was used to call me. Is there a way to get to this information?
It will say "mobile" Home", etc under the name.
You can also tap the blue arrow and see the highlighted number.
iPhone User Guide (For iOS 5.0 Software) -
My iPod touch screen just turned a white-ish green color and I can't turn it on or off. I can't connect it to iTunes, and the back is too scratched up to see the serial number so I have no way of getting it. Can someone tell me how to fix it? Please tell me quickly! I was right in the middle of something!
Did you try a reset?
iPod touch User Guide (For iOS 5.1 Software) -
HOW TO SEE THE JOB NUMBER IN DISPLAY MODE?
Hi all,
I am new to apo and how to see the job number in display mode?
i can see a couple of trns for create, delete and change and not to display it?
Can anyone tell me abt it?
Thanks
poojaHi Pooja,
I assume your query is on identifying job ID in display mode
To find out that, goto sm37, execute it and double click on
the job, and then click on job details, you will get the
job id (job number) in display mode
Regards
R. Senthil Mareeswaran. -
Userexits/BADI in ME31K for getting the contract number created.
Dear Experts,
Is there any userexits/BADI available in ME31K , for getting the contract number once it is created.
Thanks&Regards,
AnvershaHi
find the BADI:
1. Goto SE24
2. Open the class "CL_EXITHANDLER"
3. Open the Metnod "GET_INSTANCE"
4. Put a Break point in the " CASE sy-subrc."
CALL METHOD cl_exithandler=>get_class_name_by_interface
EXPORTING
instance = instance
IMPORTING
class_name = class_name
CHANGING
exit_name = exit_name
EXCEPTIONS
no_reference = 1
no_interface_reference = 2
no_exit_interface = 3
data_incons_in_exit_managem = 4
class_not_implement_interface = 5
OTHERS = 6.
CASE sy-subrc.
WHEN 1.
RAISE no_reference.
WHEN 2.
RAISE no_interface_reference.
WHEN 3.
RAISE no_exit_interface.
WHEN 4.
RAISE data_incons_in_exit_managem.
WHEN 5.
RAISE class_not_implement_interface.
ENDCASE.
5. Come Back and Execute the Transaction Code
6. In the Debugging screen "exit_name" having the BADI Name for that Tcode. -
UserExit/BADI for getting the contract number in ME31K
Dear Experts,
Is there any userexits/BADI available in ME31K , for getting the contract number once it is created.
Thanks&Regards,
AnvershaHi
find the BADI:
1. Goto SE24
2. Open the class "CL_EXITHANDLER"
3. Open the Metnod "GET_INSTANCE"
4. Put a Break point in the " CASE sy-subrc."
CALL METHOD cl_exithandler=>get_class_name_by_interface
EXPORTING
instance = instance
IMPORTING
class_name = class_name
CHANGING
exit_name = exit_name
EXCEPTIONS
no_reference = 1
no_interface_reference = 2
no_exit_interface = 3
data_incons_in_exit_managem = 4
class_not_implement_interface = 5
OTHERS = 6.
CASE sy-subrc.
WHEN 1.
RAISE no_reference.
WHEN 2.
RAISE no_interface_reference.
WHEN 3.
RAISE no_exit_interface.
WHEN 4.
RAISE data_incons_in_exit_managem.
WHEN 5.
RAISE class_not_implement_interface.
ENDCASE.
5. Come Back and Execute the Transaction Code
6. In the Debugging screen "exit_name" having the BADI Name for that Tcode. -
Under what condition does SAP populate the Contract number during dunning
Hi,
Would anyone possibly know under what condition SAP populates the Contract number in the Dunning history transaction(FPM3). We have seen some examples in our production environment where dunning populated the Contract number(VTREF) in the dunning history header table FKKMAKO but there are other examples where the VTREF is blank in FKKMAKO.
Thanks,
Tarunavo BhattacharyaHi,
Please check if the contract is populated for the document posted for which the dunning is executed.
As per my understanding, If the document is posted at contract level, the document would have the contract populated, and the dunning basically is executed at CA level, but if the document is having the contract populated, it should be displayed once the dunning is completed for the dunning history. If the contract field is blank, it wont appear for the dunning history details.
Hope this helps!!
Regards,
Rajesh Popat -
Can I use the customer requirement number as sales order in 'Goods issue MB
Can I use the customer requirement number as sales order in 'Goods issue MB1A'?
Thanks,
TigerWhy I used the customer requirement in MB1A as the sales order, Update was terminated.
Thanks,
Tiger -
User-Exit after saving VA01 to get the number of Sales Order.
Hi everyone,
I hope you all fine!
I really need your help to get a user-exit or BADI for the VA01 transaction, because after pushing the save button I need to get the number of sales order, so I can create a header text, but to use a Function Module to do that, I need the sales order first.
I hope You can help me with this.
Thanks for your time.
Regards,Hi,
Goto se38 ,
1. Enter prog. name "MV45AFZZ"
2. Choose "Enhance" from application tool bar,
3. Edit>Enhanc.Operations>Show implicit Enhance...
4.Right click>Enhancement Impliment> Create....,Before that,you have to choose which subroutine is suitable for your scenario...then you can code it .
Also,try this user exit -->"V45E0001"
I hope ,it will help you...
<<=< Sharing Knowlede is a way to Innovative >>=>
By,
Yoga
Maybe you are looking for
-
Error in loading WebUtil package
Dear all, i have the following problem, we have install the application server on one machine Windows server 2003 Enterprise edition (both the infra and middle tier on the same machine), and we wanted to configure the webutil package with this instal
-
Epson 740 wont install - not shown in USB drop down
Sorry to start a new thread here and I see this is an on-going problem. I have looked through masses of threads and think I have tried everything. To clarify; my old Epson 740 printer used to work fine, from my PB, until I stupidly wiped my hard disk
-
Exception = CX_SY_CONVERSION_NO_NUMBER
Hi, May we ask for your assitance, why we are getting this error: Error analysis: An exception occurred. This exception is dealt with in more detail below . The exception, which is assigned to the class 'CX_SY_CONVERSION_NO_NUMBER', was neither caugh
-
Hi Experts, I have a scenario where a BPM is triggered by a Proxy from SAP. Within BPM some Exception Handling takes place and the correcspodng status is sent back to the sender SAP system. I was asked to use an XI adapter for communication b/w BPM a
-
Inspection lot for sale service order
Dear all, Is it possible to create inspection lot for service order created in sale and distribution? I have a sale document type against which services are sold. I want when service order is created inspection lot trigger. Thanks to all.