on 03-14-2008 7:01 AM
Hi,
I am trying to create customer master record using XD01. I am getting express document error:
"Acct group Sold-to party uses ext. no. assignment. Specify an account number"
I have maintained the external number range from 000000... to ZZZZZZ.... and have also maintained account group.
Below are the error details:
"MESSAGE_TYPE_X" " "
"SAPLSZA0" or "LSZA0U47"
"ADDR_SAVE_INTERN"
Source Code Extract
Line
SourceCde
523
call function 'TR_WRITE_LOG'
524
exporting
525
iv_log_type = 'FILE'
526
iv_logname_file = lv_logfile
527
IV_LOGNAME_DB =
528
iv_logname_memory = lv_protfile
529
iv_append_mode = prot_append_mode
530
iv_condense = ' '
531
tables
532
it_msgs = msg_tab
533
exceptions
534
invalid_input = 1
535
file_access_error = 2
536
db_access_error = 3
537
others = 4
538
.
539
if sy-subrc 0.
540
message id sy-msgid type sy-msgty number sy-msgno
541
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
542
endif.
543
544
545
message x842 with '&1' raising database_error.
546
547
endif.
548
*----
Ende Fangschaltung
-
549
*xxxi-
550
END-OF-DEFINITION.
551
552
write_to_db adrc .
554
WRITE_TO_DB ADRCT . "*912d
555
DELETE adrct FROM TABLE adrct_d. "*912i
556
IF sy-subrc 0. "*912i
557
MESSAGE a840 WITH 'ADRCT' RAISING database_error. "*912i
558
ENDIF. "*912i
559
UPDATE adrct FROM TABLE adrct_u. "*912i
560
IF sy-subrc 0. "*912i
561
MESSAGE a841 WITH 'ADRCT' RAISING database_error. "*912i
562
ENDIF. "*912i
563
MODIFY adrct FROM TABLE adrct_i. "*912i
564
IF sy-subrc 0. "*912i
565
MESSAGE a842 WITH 'ADRCT' RAISING database_error. "*912i
566
ENDIF. "*912i
567
write_to_db adrp .
568
write_to_db adcp .
569
write_to_db adrt .
570
write_to_db adr2 .
571
write_to_db adr3 .
572
write_to_db adr4 .
I will reward all the helpful answers.
Thanks,
Mohit.
Dear Mohit,
This is because the number range setting from FI has to be external and when we create a customer our setting in SD Module would be internal.
Now if you try creating this customer through transaction BP, it should work fine.
You need to get hold of a FI consultant and ensure the number range maintained against the account group in FI is external and your settings for the number range in SD is internal, so that SAP can generate and allocate the numbers internally.
Reward if helpful.
Regards
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in the Number Range Interval remove the tick mark in the Ext colomn.
The system is expecting you to give a external number, while you want to assign Customer Code inernally. If you remove this tick mark, the Number Range given by you would be picked up..
THanks,
Jignesh Mehta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.