Regarding the script of sales order(customer no. not displaying)
Hai all,
I have made a zcopy of sales order standard program(ZRVADOR01) and sales order standard script(ZRVORDER01). now my requirement is , in the displayed script there is info window. In that window customer number with field vbco3-kunde is displayed. but the requirement is they want this customer number in the address window. but when i run the transaction with debugging , it is not displaying this vbco3-kunde value in the address window.how to transer this value from this info window to address window . i have tried with set parameter but it is not working. i have tried by declaring a variable in the copied z-standard program and calling in z-standard script but still it is not displaying the value. please let me know the solution for this issue as soon as possible.
points will be awarded.
Thanking u in advance,
A.Srinivas
Hello,
Try with using VBDKA-KUNNR instead of the VBCO3-KUNDE.
Regards,
Naimesh Patel
Similar Messages
-
Sales Order no is not displayed in Sales Invoice
Hi Experts,
I want Sales Order No to be displayed in Sales Invoice of PLD. How could be done? Please guide me.Hi Shailesh......
Please do this...........
Create a UDF in SO and apply the below FMS in this created UDF.
Select $[ORDR.U_UDF.0]
This will copy the SO no. in this UDF and when you copy this SO to Delivery or next document this SO in UDF will also flow in Invoice and from there you an get it into PLD......
Regards,
Rahul -
Problem regarding the creation of sales order using bapi.
Hai all,
I am creating sales order using bapi but i am, get following error messages :
TYPE ID NUMBER MESSAGE
E VP 112 Please enter sold-to party or ship-to party
E V4 219 Sales document was not changed
I have entered all the parameters.
my program is as follows :
*& Report ZSD_SALES_ORDER
REPORT ZSD_SALES_ORDER.
Tables
*table definitions
TABLES:vbak, "Sales Document: Header Data
knvv, "Customer Master Sales Data
mara, "General Material Data
t001l, "Plants/Branches
mvke, "Sales Data for Material
vbap, "Sales Document: Item Data
konv. "Conditions (Transaction Data)
Types
*type for upload data
TYPES :BEGIN OF ty_upload,
matnr(20) TYPE c, " Old material number
quantity(20) TYPE c, " Cumulative order quantity in sales units
VALUE TYPE BAPIKWERT1,
value(20) TYPE c, " Condition value
value TYPE konv-kwert, " Condition value
END OF ty_upload.
*type for final output table
TYPES :BEGIN OF ty_main,
bismt TYPE mara-bismt, "Old material number
matnr TYPE vbap-matnr, "Material Number
kunnr TYPE vbak-kunnr, "customer number
auart TYPE vbak-auart, "Sales Document Type
vkorg TYPE vbak-vkorg, "Sales Organization
vtweg TYPE vbak-vtweg, "Distribution Channel
spart TYPE vbak-spart, "Division
vbeln TYPE vbak-vbeln, "Sales document
werks TYPE marc-werks, " Plant
lgort TYPE mard-lgort, "Storage Location
posnr TYPE vbap-posnr, "Sales Document Item
parvw TYPE vbpa-parvw, "Partner function
kwmeng TYPE vbap-kwmeng, "Cumulative order quantity in sales units
kschl TYPE konv-kschl, "Condition type
kwert TYPE konv-kwert, "Condition value
KWERT TYPE BAPIKWERT1,
kwert(20) TYPE c, "Condition value
waers TYPE konv-waers, "Currency
END OF ty_main.
*type for old material number
TYPES: BEGIN OF ty_matnr,
matnr TYPE mara-matnr,
bismt TYPE mara-bismt,
END OF ty_matnr.
*type for order number
TYPES :BEGIN OF ty_output,
vbeln TYPE vbak-vbeln, "Sales Document
END OF ty_output.
Constants Begin with C_ *
CONSTANTS:
c_zpmu(4) TYPE c VALUE 'ZPMU',
c_zpmm(4) TYPE c VALUE 'ZPMM'.
DATA: c_ch(1) TYPE c VALUE 'X'.
Data Begin with W_ *
*global data for validations
DATA: w_count TYPE i,
w_vkorg TYPE vbak-vkorg,
w_vtweg TYPE vbak-vtweg,
w_spart TYPE vbak-spart,
w_werks TYPE t001l-werks,
w_check TYPE c,
w_itemno TYPE posnr_va,
W_COND TYPE C.
w_cond(3) TYPE c.
Internal tables Begin with IT_ *
*internal table definitions
DATA : it_upload TYPE STANDARD TABLE OF ty_upload ,
wa_upload TYPE ty_upload.
DATA : it_main TYPE STANDARD TABLE OF ty_main,
wa_main TYPE ty_main.
DATA: it_matnr TYPE STANDARD TABLE OF ty_matnr,
wa_matnr TYPE ty_matnr.
DATA : it_output TYPE STANDARD TABLE OF ty_output.
Internal table for BAPI.
DATA: it_bapisdhd1 TYPE STANDARD TABLE OF bapisdhd1, "Sales and Distribution Document Header
wa_bapisdhd1 TYPE bapisdhd1.
DATA: it_bapisditm TYPE STANDARD TABLE OF bapisditm , "Sales and Distribution Document Item
wa_bapisditm TYPE bapisditm.
DATA: it_bapiparnr TYPE STANDARD TABLE OF bapiparnr, "SD Document Partner: WWW
wa_bapiparnr TYPE bapiparnr.
DATA: it_bapischdl TYPE STANDARD TABLE OF bapischdl, "Schedule Lines
wa_bapischdl TYPE bapischdl.
DATA: it_bapicond TYPE STANDARD TABLE OF bapicond, "Communication Fields for Maintaining Conditions in the Order
wa_bapicond TYPE bapicond.
DATA: it_bapiret2 TYPE STANDARD TABLE OF bapiret2, "Return Parameter
wa_bapiret2 TYPE bapiret2.
Parameters Begin with PR_ *
*selection screen definition
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME .
PARAMETERS: pr_vkorg TYPE vbak-vkorg OBLIGATORY,
pr_vtweg TYPE vbak-vtweg OBLIGATORY,
pr_spart TYPE vbak-spart OBLIGATORY,
pr_kunnr TYPE kna1-kunnr OBLIGATORY,
pr_werks TYPE marc-werks OBLIGATORY,
pr_lgort TYPE mard-lgort OBLIGATORY.
PARAMETERS: pr_auart TYPE vbak-auart OBLIGATORY,
PR_AUGRU TYPE VBAK-AUGRU OBLIGATORY.
pr_augru TYPE vbak-augru.
SELECTION-SCREEN END OF BLOCK blk1.
SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME.
PARAMETERS : pr_file TYPE ibipparms-path OBLIGATORY.
SELECTION-SCREEN END OF BLOCK blk2.
At selection-screen *
AT SELECTION-SCREEN.
PERFORM f006_validate_vkorg.
PERFORM f007_validate_vtweg.
PERFORM f008_validate_spart.
PERFORM f009_validate_kunnr.
PERFORM f010_validate_werks.
PERFORM f011_validate_lgort.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR pr_file.
*for f4 help----
PERFORM f003_f4_help.
S T A R T O F S E L E C T I O N *
START-OF-SELECTION.
*for material ,quantity and value upload
PERFORM f001_upload_file.
*get data
PERFORM f003_get_data.
*for check the data
PERFORM f002_check_data .
PERFORM f004_process.
*for posting
PERFORM f005_posting.
END-OF-SELECTION.
E N D O F S E L E C T I O N *
*& Form f001_upload_file
upload file
FORM f001_upload_file .
DATA : lw_fname TYPE string.
CLEAR lw_fname.
lw_fname = pr_file.
REFRESH it_upload.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = lw_fname
filetype = 'ASC'
has_field_separator = c_ch
TABLES
data_tab = it_upload
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT it_upload INTO wa_upload.
wa_upload-value = ( wa_upload-value ) / 10.
MODIFY it_upload FROM wa_upload.
ENDLOOP.
ENDFORM. "F001_UPLOAD_FILE
*& Form f003_f4_help
f4 help
FORM f003_f4_help .
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = ' '
IMPORTING
file_name = pr_file.
ENDFORM. " f003_f4_help
*& Form check_data
text
FORM f002_check_data .
DATA: lw_lines TYPE i.
DESCRIBE TABLE it_main LINES lw_lines.
IF lw_lines LE 0.
RETURN.
ENDIF.
SELECT a~matnr
a~bismt FROM mara AS a INNER JOIN mvke AS b
ON amatnr = bmatnr
INTO CORRESPONDING FIELDS OF TABLE it_matnr
FOR ALL ENTRIES IN it_main
WHERE a~bismt = it_main-bismt.
IF sy-subrc = 0.
LOOP AT it_main INTO wa_main.
CLEAR : wa_matnr.
READ TABLE it_matnr INTO wa_matnr WITH KEY bismt = wa_main-bismt.
IF sy-subrc = 0.
MOVE: wa_matnr-matnr TO wa_main-matnr.
ENDIF.
MODIFY it_main FROM wa_main TRANSPORTING matnr WHERE bismt = wa_main-bismt.
ENDLOOP.
ELSE.
MESSAGE e000(zmsd) WITH text-001.
ENDIF.
ENDFORM. "CHECK_DATA
*& Form F009_validate_vkorg
text
FORM f006_validate_vkorg .
CLEAR w_vkorg.
SELECT SINGLE vkorg
INTO w_vkorg FROM tvko
WHERE vkorg EQ pr_vkorg.
IF sy-subrc <> 0.
MESSAGE e000(zmsd) WITH text-012 pr_vkorg.
ENDIF.
ENDFORM. " F009_validate_vkorg
*& Form f007_validate_vtweg
text
FORM f007_validate_vtweg .
CLEAR:w_vtweg.
SELECT SINGLE vtweg
INTO w_vtweg FROM tvtw
WHERE vtweg EQ pr_vtweg.
IF sy-subrc <> 0.
MESSAGE e089(zmsd).
ENDIF.
ENDFORM. " f007_validate_vtweg
*& Form f008_validate_spart
text
FORM f008_validate_spart .
CLEAR:w_spart.
SELECT SINGLE spart
INTO w_spart FROM tspa
WHERE spart EQ pr_spart.
IF sy-subrc <> 0.
MESSAGE e087(zmsd).
ENDIF.
ENDFORM. " f008_validate_spart
*& Form F010_validate_kunnr
text
FORM f009_validate_kunnr .
DATA: l_kunnr TYPE kunnr.
CLEAR: w_vkorg, w_vtweg,w_spart.
SELECT SINGLE kunnr FROM knvv
INTO l_kunnr
WHERE kunnr = pr_kunnr
AND vkorg = pr_vkorg
AND vtweg = pr_vtweg
AND spart = pr_spart.
IF sy-subrc <> 0.
MESSAGE e000(zmsd) WITH text-010 pr_kunnr text-011 pr_vkorg .
ENDIF.
ENDFORM. " F010_validate_kunnr
*& Form f010_validate_werks
text
FORM f010_validate_werks .
CLEAR:w_werks.
SELECT SINGLE werks
INTO w_werks FROM t001w
WHERE werks EQ pr_werks.
IF sy-subrc <> 0.
MESSAGE e088(zmsd).
ENDIF.
ENDFORM. " f010_validate_werks
*& Form F011_validate_lgort
text
FORM f011_validate_lgort .
CLEAR:w_werks .
SELECT SINGLE werks FROM t001l
INTO w_werks
WHERE werks = pr_werks
AND lgort = pr_lgort.
IF sy-subrc <> 0.
MESSAGE e000(zmsd) WITH text-007 pr_lgort text-008 pr_werks .
ENDIF.
ENDFORM. " F011_validate_lgort
*& Form f003_get_data
text
FORM f003_get_data .
CLEAR wa_main.
REFRESH it_main.
LOOP AT it_upload INTO wa_upload.
CLEAR : wa_main.
MOVE: wa_upload-matnr TO wa_main-bismt,
wa_upload-quantity TO wa_main-kwmeng,
wa_upload-value TO wa_main-kwert,
pr_vkorg TO wa_main-vkorg,
pr_vtweg TO wa_main-vtweg,
pr_spart TO wa_main-spart,
pr_kunnr TO wa_main-kunnr,
pr_werks TO wa_main-werks,
pr_lgort TO wa_main-lgort.
APPEND wa_main TO it_main.
ENDLOOP.
ENDFORM. " f003_get_data
*& Form f004_process
text
FORM f004_process .
CLEAR w_check.
LOOP AT it_main INTO wa_main.
IF wa_main-matnr = ''.
WRITE:/ text-006,
wa_main-bismt.
w_check = 1.
ENDIF.
IF wa_main-kwmeng = 0.
WRITE:/ text-005,
wa_main-bismt.
w_check = 1.
ENDIF.
IF pr_auart <> 'ZM01'.
IF wa_main-kwert IS INITIAL.
WRITE:/ text-004,
wa_main-bismt.
w_check = 1.
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM. " f004_process
*& Form f005_posting
text
FORM f005_posting .
CLEAR: w_itemno,
w_cond.
w_itemno = 10.
w_cond = 1.
IF w_check = '' OR w_check = 1.
wa_bapisdhd1-doc_type = pr_auart.
wa_bapisdhd1-ord_reason = pr_augru.
LOOP AT it_main INTO wa_main.
IF w_cond = 1.
CLEAR: it_bapiret2,
it_bapisditm,
it_bapiparnr,
it_bapischdl,
it_bapicond.
REFRESH:it_bapiret2,
it_bapisditm,
it_bapiparnr,
it_bapischdl,
it_bapicond.
MOVE: wa_main-vkorg TO wa_bapisdhd1-sales_org,
wa_main-vtweg TO wa_bapisdhd1-distr_chan,
wa_main-spart TO wa_bapisdhd1-division.
wa_bapisdhd1-wbs_eleM = 'Y561.1'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = pr_kunnr
IMPORTING
OUTPUT = pr_kunnr.
wa_bapisdhd1-PURCH_NO_S = pr_kunnr.
wa_bapisdhd1-PURCH_NO_C = pr_kunnr.
ENDIF.
MOVE: w_itemno TO wa_bapisditm-itm_number,
wa_main-matnr TO wa_bapisditm-material,
wa_main-BISMT TO wa_bapisditm-material,
wa_main-werks TO wa_bapisditm-plant,
wa_main-lgort TO wa_bapisditm-store_loc.
wa_bapisditm-target_qty = '10'.
wa_bapisditm-PURCH_NO_S = pr_kunnr.
wa_bapisditm-PURCH_NO_C = pr_kunnr.
APPEND wa_bapisditm TO it_bapisditm.
IF w_cond = 1.
wa_bapiparnr-partn_numb = pr_kunnr.
wa_bapiparnr-itm_number = 10.
wa_bapiparnr-partn_role = 'SP'.
APPEND wa_bapiparnr TO it_bapiparnr.
wa_bapiparnr-partn_role = 'AG'.
APPEND wa_bapiparnr TO it_bapiparnr.
CLEAR wa_bapiparnr-partn_role.
wa_bapiparnr-partn_numb = pr_kunnr.
wa_bapiparnr-partn_role = 'RE'.
APPEND wa_bapiparnr TO it_bapiparnr.
CLEAR wa_bapiparnr-partn_role.
wa_bapiparnr-partn_numb = pr_kunnr.
wa_bapiparnr-partn_role = 'RG'.
APPEND wa_bapiparnr TO it_bapiparnr.
CLEAR wa_bapiparnr-partn_role.
wa_bapiparnr-partn_numb = pr_kunnr.
wa_bapiparnr-partn_role = 'WE'.
APPEND wa_bapiparnr TO it_bapiparnr.
ENDIF.
wa_bapischdl-itm_number = w_itemno.
wa_bapischdl-req_qty = wa_main-kwmeng.
wa_bapischdl-PURCH_NO_S = pr_kunnr.
APPEND wa_bapischdl TO it_bapischdl.
wa_bapicond-itm_number = w_itemno.
wa_bapicond-cond_type = 'ZECL'.
IF ( wa_bapisdhd1-doc_type = 'ZPMU' ) OR ( wa_bapisdhd1-doc_type = 'ZPMM' ).
wa_bapicond-cond_type = 'ZVAL'.
ELSE.
wa_bapicond-cond_type = 'ZMRP'. "+PK12122006
ENDIF.
wa_bapicond-cond_value = wa_main-kwert.
APPEND wa_bapicond TO it_bapicond.
w_itemno = w_itemno + 10.
w_cond = w_cond + 1.
ENDLOOP.
data : SALESDOCUMENTIN like BAPIVBELN-VBELN.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = wa_bapisdhd1
IMPORTING
salesdocument = SALESDOCUMENTIN
TABLES
return = it_bapiret2
order_items_in = it_bapisditm
order_partners = it_bapiparnr
order_schedules_in = it_bapischdl
order_conditions_in = it_bapicond.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = c_ch.
ENDIF.
LOOP AT it_bapiret2 INTO wa_bapiret2.
DATA : w_err(100) TYPE c,
w_matnr TYPE matnr.
IF wa_bapiret2-type = 'E' AND wa_bapiret2-id = 'V1' AND wa_bapiret2-number = 392.
UNPACK wa_bapiret2-message_v1 TO w_matnr.
READ TABLE it_matnr INTO wa_matnr WITH KEY matnr = w_matnr.
IF sy-subrc EQ 0.
CONCATENATE text-013 wa_matnr-bismt INTO w_err SEPARATED BY space.
MESSAGE w_err TYPE 'S'.
ENDIF.
ENDIF.
IF WA_BAPIRET2-TYPE = 'S'. " Comment
WRITE: 40 TEXT-009, WA_BAPIRET2-MESSAGE_V2+0(10).
ENDIF.
ENDLOOP.
ENDFORM. " f005_posting
I have given all the necessary parameters. it is telling that error is in parameter
sales_header_in.
I have checked it.
i have assigned purch_no_s and purch_no_c of the structure BAPISDHD1(ORDER_HEADER_IN)
in the bapi with customer number.
and also i have assigned the partnumber of the structure BAPIPARNR ORDER_PARTNERS
in the bapi with customer number.
but still , it is diplaying the error message, please enter the sold to or ship to party number.
how to resolve this error.
this is urgent requirement.
points will be awarded.
thanking u in advance,
a.srinivas.Hi,
Did u have a look at the standard programs which make use of BAPI_SALESORDER_CREATEFROMDAT1
Heres a list...
LWSSOU08
MV45WF0S
MWWMJF21_BAPI_SALESORDER_CREAT
RBUS2032
Regards,
Tanveer.
<b>Please mark helpful answers</b> -
Regarding the SMARTFORMS ( Return sales Order Form )
Hi All,
i need to develope a smartform from Scarch onwrds for Return Sales Order form.
If any one have material for how to devleope a SMARTFORM. and also any one idea on standard SMART for Sales order form, please help me.
Regards
GangiHi,
Here are the links for step by step material for SMARTFORMS
http://sap.niraj.tripod.com/id67.html
Check these links for sample program.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/smartform%20in%20abap.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/tutorial%20with%20code%20sample%20on%20smart%20forms.pdf
Regards
Sudheer -
CM: how to block the last new sales order only and not all of them?
Hi,
We are testing the FSCM-CM and try to figure out this:
We have for a customer a number of open sales orders that are all below the credit limit.
Now someone creaetes a new order and with that amount the limit is exceeded.
The system reaction is that all open orders are blocked.
How can we set the system that only the last one is blocked?
Thanks in advance
HeinHein,
I dont think there is any standard function which specially points to the last order. System will consider all the orders in which the customer is involved. I think, the above post suggest the of number of days but not the last order. Try to play with the attributes of system messages and I am sure you will get a clue from it..
Reward if helpful..
Thanks,
Srib -
Sales Order stock E not displayed in Plant stock view MM03
Hello Experts,
I am wondering if it is normal that the sales order stock level (type E) owned by the plant of a material is not displayed in the MM03 view plant stock of the same material. Is it a standard behaviour? Could you please explain why?
Thanks for your help.
RegardsHi
The valuated special stock (sales order stock, project stock) is not
displayed in the material master (Transactions MM01/MM02/MM03).
The valuated special stock is not visible in the accounting view of
the material master because the accounting view shows
MBEW-LBKUM / MBEW-SALK3. Valuated special stock does not update
table MBEW - only EBEW / QBEW. -
Sales order stock does not exists
Dear All:
I have created a sales order with reference to a quotation. the line item in sales order is also with reference to the quotation. and the stock has been assigned to that quotation. But while creating delivery, it is giving the error that sales order stock does not exist. my query is why sales order stock is required when the article is with reference to a quotation?? should not the stock be with reference to quotation??Hi,
Check the Item Category of the Sales order which your using to create the delivery.In the item category confuguration VOV7 the special stock indicator 'E' may be assigned.So without a sales order stock assignement it will not allow you to create a delivery.
GO to Mb1b for the Sales order using 412 E create a stock and see whether the delivery is created or not.If it is creating than that means the sales order stock has to be generated through your process.
If production order confirms then it may generate a sales order stock in MTO scenario.If in your case it has to generated then you have to use MB1B trnasactio code or create your own customized program to create the sales order stock.
Regards,
Saju.s -
Sales Order Stock is not permitted
Hi Gurus,
When I am trying to post the stock againist the Sales Order through movement type 561E ,the system is giving the message that "Sales Order (SOBKZ=) is not provided for this Goods Movement".
After saving this stock is updated with the quantity. After doing PGI the stock is not decrease by the quantity I was issed from the Sales order stock.The stock is stil showing against the Sales order.
Please help me in this regard.
Thanks & Regards
VASUHi,
U r getting that as warning..reason...check ur sales order item category..u have special stock field..which in ur case i assume is blank...and when u try to post the stock to sales order using MB1C..system with obvious reason finds out the difference in special stock(given sales order item category blank meaning unrestricted and manual given E meaning special sales order stock) ...u press enter and system post the stock to sales order
Now when u do post goods issue..for same sales order system check the item category and sees that special stock is blank...resulting reduction of stock from unrestricted rather then special..and ur MMBE shows no updation in sales order stock
Usually..sales order stock conecpt is used in case of individual purchase..where u purchase against sales order and issue from sales order stock OR scenarios like MTO
Hope this clarifies ur doubt
Regards
Jagdish -
dear sir
i check with abaper ,he says the value is updated from sale order
they get the consumption of sales using customized transaction
actual cost is zero
user create the material master withot pricing
we ask to update the material master and they do the costing run
in material master standard costing estimate found
after they run the consumption report ,once again actual cost is zero
i chech\ked in costing status using CK11N ,std cost estimate found
is it possible to update the cost in sales order
(redetermine or recalculate the pricng in sale order)
so that my consumpotion report will update
thanksHi,
Check the following link
http://help.sap.com/saphelp_46c/helpdata/en/90/ba6da4446711d189420000e829fbbd/content.htm
Regards,
Saju.S -
The status of sales order is being in processed
Dear All,
The delivery quantity is fully delivered and it is order related billing, this is a Sales Bom, the header is delivered and the line items are billed, the status of sales order is being in processed after the completion of the subsequent documents,
In the document flow the system is showing that the order is being processed, we have checked the copy control and the relevant assignments. As we are facing the problem while creating sales order system giving an error message that there are open items for the customer. Please tell me if there is any customization is there or is there any other way to achieve.
The other requirement is, if the customer credit limit get exceeds then the system should not save the sales order, if the credit lies within the limit and if the stock is not available in that particular plant, it is a dynamic credit limit.
Thanking you in advance for your valuable time and efforts,
Thanks & Regards,
ManiHI ,
1. For your first issue u201Cstatus of sales order is being in processedu201D
Please check the below settings:
Copy control From Sales order (OR) to Delivery (LF) u2013 T.code: VTLA.
In Item level (TAN) whether u201CUpdate document flowu201D is activated or not.
You should also check in the Item category (VOV7):
Completion Rule: Which one did you maintain?
2. Error message: Open items:
This is related with Credit management. Check whether you maintain any open item days or percentage, please check in OVA8. If you maintain you should get the payment from your customer . This is related with FI ( T.code : F-28 )
Dynamic credit check :
The setting is available in OVA8. Choose your credit control area, Risk category and Credit groups ( Should be Sales order group ). Then select the indicator u201C Dynamic u201C In Reaction you should give B ( Error ). Then the system will not allow to save the sales order if credit limit is exceeded .
3. If the stock is not available in that particular plant, it is a dynamic credit limit.
I think it is not possible . You may use the User exit in OVA8.
Hope this can help you .
Regards
M. Lakshmi Narasimhan -
To Get the list of sales orders for a Business partner in CRM.
Hi all
Is there any Function module or BAPI to get the Sales orders for a Business partner in CRM. I know there is a BAPI to get the list of sales orders for a customer in ECC, but I donu2019t know how to get the list of sales orders for a Business Partner in CRM.
Can anybody tell me if there is an inbuilt function module or BAPI available?
If not how can I pick the sales orders of a business partner in CRM? Between which tables should I apply a join and write SELECT statement to get list of sales orders for a business partner in CRM.Hi Jessica,
Try CRM function module CRM_BUPA_READ_ORDER_OBJECTS.
You'll get a table with the documents associated to that partner, where you can work on.
Kind regards. -
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 -
Changing the payer in sales order other then BDC, LSMW
Hi Friends,
We are working at BHEL,
here we want to change the payer instead of old payer for all open sales orders is , is there any possibility to change the payer in sales order other then LSMW , BDC , those two are not helpful for us because there is lot of incompleteness logs in my incomplete procedure,
please suggest me to proceed further,
regards,
Gangi Reddy.Hi Gangi,
I have explained the CATT procedure, step by step, on 31/03/2007 for another mass updation requirement in the same forum with subject as 'Regarding Customer Master'.
Have a look and let me know if you have further doubts.
Rewards if helps.
Regards
Nadarajah Pratheb -
Recording for Purchase order,Sales order,Customer
Hi Guys,
I have done recording method for Material Master,Vendor,SE11.
I want to practice recording for Purchase order,Sales order,Customer. So can anybody give me the procedure of creating Purchase order,Sales order and Customer with values in the flat file.
Plz help me guys,
Thanks & regards,
Raj.Hi Raj,
Here are the links for creation of purchase order, sales order and customer.
http://web.mit.edu/sapr3/windocs/bpors03m.htm
http://web.mit.edu/CAO/www/SB2002/CR/VA01.htm
http://web.mit.edu/cao/www/AR/ar1/ar_FD01.htm
Hope this will be of some help to you.
Regards,
Vicky
PS: Award points if helpful -
How to create a sap script for sales order header items?
Hi friends i am totally new to scripts i have got a task where i have to create a sap script for sales order header items details, the clue that i have got is to create using MEDRUCK but i have got no idea please can any body help me with this task with any sample sap script?
Points will be rwwared with out fail Thks in advance.Hi,
The Standard Form NAme is RVORDER01
Regards
Sandipan
Maybe you are looking for
-
Problem with installation - Augigy
I have a problem with installation on 32bit Vista. Im downloaded newest drivers (SB24_VTDRV_LB__04_0077) and when the installation start, i receive message "A higher version of driver is found in your system, installation will abort.". Help?
-
I keep getting a pop up stating "uninstall set" it keep coming up over and over, why?
I keep getting a pop up stating "uninstall set" it keep coming up over and over, why?
-
Was I charged twice for my song purchase today
I purchased a song today for .99 cents, I had over $32.00 showing as my balance to use to buy products in Apple Store, and I did see the balance go down after the purchase, so why is there a $1.00 pending charge on my credit card? I don't ever remem
-
Is it a bug in JUCtrlListBinding.java
Hi, I came across the following method in JUCtrlListBinding.java. protected Object findAndUpdateSelectedIndex(Object val, boolean flag) int selIndex = findListIndex(val); Object matchVal = null; if (selIndex >= 0) //this
-
Iphoto not opening and no update to be found on Mac App store
I recently updates my macbook pro to Yosemite and now I cannot open iPhoto. I am redirected to the Mac App Store page. Once on the Mac App Store there is no iPhoto update to be found. What the heck is going on? Please help.